OSS

Ace your homework & exams now with Quizwiz!

What symbol on the command line prompt notifies you that you are using the root account?

#

Given the file listing below, what part is the permissions (mode)?-rw-r--r-- 1 curt Faculty 19663 Aug 13 12:30 ps.txt

-rw-r--r—

In the Vim editor, what key will allow you to search the document?

/

Which of the following is the root of the file system?

/

What directory contains the rc*.d directories?

/etc

What file acts as the main configuration file for Apache in Ubuntu? (State the absolute path)

/etc/apache2/apache2.conf

What is the core BIND9 configuration file that contains include lines to all other BIND9 config files?

/etc/bind/named.conf

What file is used to specify what interfaces the DHCP server (dhcpd) should serve?

/etc/default/isc-dhcp-server

What file contains the list of groups that exist on the Linux system?

/etc/group

What file lists the address to hostname resolution with optional alias?

/etc/hosts

Select the proper command that will tell you if the Apache2 daemon is running.

/etc/init.d/apache2 status

What file stores the list of all Linux user accounts?

/etc/passwd

What file specifies the DNS server settings?

/etc/resolv.conf

What is the primary location for X Windows in the file system?

/usr

What is the location of Ubuntu log files?

/var/log

State the absolute path to the system log file. (please state nothing but the absolute path)

/var/log/syslog

State the absolute path for the Apache2 default web root on Ubuntu.

/var/www

What is the default webroot (DocumentRoot) for Ubuntu's Apache2?

/var/www

What runlevel will halt the system?

0

What is the PID (process ID) of init?

1

Regular user ID numbers range from:

1000-65534

What kill signal will do a SIGTERM?

15

Given the file listing below, what part is the size?-rw-r—r—1 curt Faculty 19663 Aug 13 12:30 ps.txt

19663

What kill signal will do the equivalent of CTRL+C?

2

What runlevel is the default for Ubuntu?

2

What port is for ssh?

22

How many freedoms does the Free Software Definition (FSD) define that must be given to users?

4

What is the octal for the permissions:r----x--x

411

What runlevel will reboot the system?

6

What is the octal notation for the file below?-rw-r—r—1 curt Faculty 19663 Aug 13 12:30 ps.txt

644

What is the octal permissions for: rwxr-xr-x

755

What port is for http?

80

What kill signal will do a SIGKILL?

9

In the Vim editor, what will quit the program without saving changes?

:q!

In the Vim editor, what will quit the program and save changes?

:wq

What record type maps a hostname to an IPv4 address?

A

Child processes of Apache2 normally run as:

A less privileged user specified in the apache conf files

What is an iptables chain?

A list of rules

What does APT stand for in Debian/Ubuntu?

Advanced Packet Tool

What is the name of the most popular web server?

Apache2

You are currently logged in to an Ubuntu Server machine and you have elevated to root. State the complete command to install the Internet Systems Consortium's DNS server.

Apt-get install bind9

What command will uninstall a package and remove config files.

Apt-get purge

What command will uninstall a package but leave behind config files.

Apt-get remove

What command will download the latest list of available software packages?

Apt-get update

What command will cause the system to upgrade all installed packages to the latest version?

Apt-get upgrade

What shell is the most popular for Linux operating systems?

BASH

What locates the kernel on the disk and loads it into RAM?

Boot loader

What record type creates an alias?

CNAME

What DNS record type would be used to alias a name to a name?

CNAME record

What command will move you to a different directory?

Cd

What window manager does Ubuntu Desktop use by default when capable video hardware is present?

Compiz

The main purpose of DNS is for:

Converting human-readable names to the IP addresses that machines use

What /proc file will display the CPU info including speed?

Cpuinfo

What command allows viewing of kernel output after booting?

Dmesg

What command will display the message buffer for the Linux kernel?

Dmesg

What command below will begin the upgrade process to the next version of Ubuntu?

Do-release-upgrade

DNS is short for:

Domain Name Server

What is the full name of the acronym DHCP? (State just the name)

Dynamic Host Configuration Protocol

What MPM initiates listener and worker threads for handling and processing requests?

Event

What are the three types of permissions that can be assigned users? (Select the 3 that apply)

Execute,Write,Read

An idea can be copyright protected.

FALSE

Apache is the second most popular web server on the internet.

FALSE

By default, the root account is enabled on Ubuntu systems.

FALSE

If you are the only person using the computer, you should just log in with the administrator account all of the time.

FALSE

In most Linux configuration files, the @ symbol is used to indicate comments.

FALSE

Over time, Nginx has been decreasing in market share for active websites.

FALSE

SFTP is the same as FTPS.

FALSE

The "restart" command will reboot your computer.

FALSE

The contents of the /etc/resolv.conf file will not be modified when receiving a DHCP configuration.

FALSE

The dhcp daemon does not need to be configured before starting correctly.

FALSE

The first web server was released in 1981.

FALSE

Web developers should always be given full access to the webserver operating system.

FALSE

Given the file listing below, what part is the group?-rw-r—r—1 curt Faculty 19663 Aug 13 12:30 ps.txt

Faculty

Which desktop environment has the goal of creating an easy to use elegant desktop that is consistent and uncluttered?

Gnome

What is the purpose of using groups?

Grant or revoke permissions to a large number of users quickly and easily

What does GUI stand for?

Graphical User Interface

What command will create a new group?

Groupadd

In the Vim editor, what key moves the cursor down?

J

In the Vim editor, what key moves the cursor up?

K

Which desktop environment is developed specifically for use on lower-powered computers?

LXDE

What command will display the contents of a file?

Less

To install a LAMP server you must install:

Linux, Apache2, MySql, PHP

Which of the following Apache2 directives uses the ports.conf file and specifies the port on which you want your server to run?

Listen

A Display Manager is used to (choose all that apply)

Login Graphically, Choose a different window manager

What command below will display the current version of Ubuntu installed on the system?

Lsb_release -a

What contains the bootloader code and the partition table.

MBR

What license is the X Windows System under?

MIT

What command will allow you to read the manual pages?

Man

What does MPM stand for in reference to Apache?

Multi-Processing Module

Which of the below resides in "kernel space"?

Netfilter

Which webserver is fastest at delivering static content?

Nginx

The most common server-side scripting language is:

PHP

What port(s) does passive FTP run on? (Select all that apply)

Port 21

What command will only display BASH process information.

Ps aux | grep bash

What is the file mode of octal 777? (State only the mode)

RWX RWX RWX

Who founded the Free Software Foundation?

Richard Stallman

What is the name of the administrator (super-user) account in Linux.

Root

An administrative account known as a System User Account, is used to:

Run day-to-day daemons/services (programs)

Nginx was originally created for a business in what country?

Russia

What server does file sharing using CIFS?

Samba

What are applications that run at boot time in the background?

Services/Daemons

In Ubuntu, what command lets you run a command with administrative privileges?

Sudo

What records do root internet DNS servers provide?

TLD/Top Level Domain

A firewall is a form of network router.

TRUE

A port number is so data can get to the correct application.

TRUE

A work does not have to be registered to be copyright.

TRUE

Apache's default directory (if installed from source) is /usr/local/Apache2

TRUE

Apache2 and Nginx are the most popular OSS webservers for active websites on the Internet.

TRUE

DNS forms the foundation of mail server lookups.

TRUE

Everything in the UNIX file system is treated as a file. This includes directories and devices.

TRUE

Like Unix, everything in Linux is a file.

TRUE

Linux is closely related to the UNIX operating system.

TRUE

The df command will show the amount of free disk space.

TRUE

The hosts file is stored under /etc

TRUE

The web server configuration in Linux can host multiple virtual sites (multiple web sites).

TRUE

Ubuntu comes with a DHCP client by default.

TRUE

Ubuntu replaced init with ystem.

TRUE

When you change a daemon's configuration you must restart the daemon.

TRUE

What command will allow you to continuously view the contents of a file so the terminal displays new entries as they are made?

Tail -f logfile

What command is also known as tape archive and makes many files into one file?

Tar

What command below will create a tarball compressed with gzip?

Tar -czf logs.tar.gz*.log

What command below will extract a tarball compressed with gzip?

Tar -xzf logs.tar.gz

What command will allow you to change runlevels on-the-fly?

Telinit

What was the original solution to name resolution?

The Host Files

What needs to happen in Ubuntu to make a user able to execute the "sudo" command and run commands with administrative privileges?

The user must be a part of the sudo group

Who released the first ever web server?

Tim Berners-Lee

The .com in the domain google.com is an example of:

Top level domain

What command will show the file location of the executable binary 'ls'?

Type ls

Copyright is grounded in _________

U.S Constitution

Between Ubuntu Software Center and Synaptic, which has a larger software pool to pull from?

Ubuntu Software Center

Which ufw command will unblock ssh traffic from the host?

Ufw allow ssh

Which ufw command will display the existing filter rules?

Ufw status

"Ufw" is an acronym for:

Uncomplicated firewall

What is the Desktop Environment used by default in Ubuntu Desktop?

Unity

In reference to the TCP/IP suite, UDP is short for:

User Datagram Protocol

What is the proper syntax to suppress the output of a command and throw it away?

Verboseprocess > /dev/nul

What text editor is found on nearly every UNIX and Linux system?

Vi

The Desktop Environment refers to: (choose all that apply)

Windows Manager, Related Applications

In the Vim editor, what key deletes a character?

X

What command will check the Apache2 config files for errors?

apache2 -t

What is the default shell for new user accounts in Ubuntu?

bash

What command changes the file access permissions?

chmod

What is the command to change file permissions?

chmod

Given the file listing below, what part is the owner? -rw-r--r-- 1 curt Faculty 19663 Aug 13 12:30 ps.txt

curt

The program nslookup has been depreciated. What command was built to replace it?

dig

What command prints disk usage?

du

What command is used to view and temporarily configure network interface settings?

ifconfig

What command is used to specify Netfilter rules?

iptables

What command creates links between files?

ln

What command is used in Linux to list the contents of a directory?

ls

What command will rename a file?

mv

What command is used to view the status of network sockets and various other options?

netstat

What command creates or modifies a user's password?

passwd

Which MPM is the least efficient yet most backward compatible?

prefork

What command lists processes

ps

What command will delete a normal file?

rm

What command is used to view and temporarily configure the routing table?

route

What device is used to pass data from one logical network to another?

router

What device is used for connecting multiple devices together for communication in a star topology?

switch

What command will display resource usage and process utilization.

top

Identify the term below that best describes a firewall feature that allows established, related traffic through without making the firewall go through all of the rules again to find a match.

ufw firewall

What command will create a new user account?

useradd

What application is useful for viewing a remote Linux system's desktop?

vncviewer

In RHEL, what group must a user be a member of to execute 'sudo' commands?

wheel


Related study sets

Course Point Pathophysiology- Chapter 26

View Set

Whole Life Introduction - New York Life

View Set

Biology - Chapter 16: How Populations Evolve

View Set