CIT 352 Final Exam
What FTP command runs a shell on the local computer?
!
What option can be added to the rpm command to upgrade a specified package only if an older version exists on the system?
-F
What option can be added to the dpkg command to remove a specified package from the system, including any configuration files used by the package?
-P
What option can be used with ssh to enable tunneling of X Windows information?
-X
When used with the uncompress command, what option displays the contents of the compress file to Standard Output?
-c
When used with the compress command, what option below can be used to compress symbolic links?
-f
What option can be added to the netstat command in order to display network statistics?
-i
Select the option that, when used with the gzip command, causes the compression ratio for files that have been compressed to be listed:
-l
What option can be added to the rpm command in order to query packages?
-q
Files that have been compressed using the compress utility typically have the ______ extension.
.Z
When using the compress utility, each file specified for compression is renamed with what extension?
.Z
Which filename extension indicates a tarball?
.tar.gz
Which file contains full and incremental back-up information for use with the dump/restore utility?
/etc/dumpdates
Which files stores the Apache configuration in Fedora 20?
/etc/httpd/conf/httpd.conf
Which file stores the TCP/IP addresses of the DNS servers used to resolve host names if no DNS servers are specified within the network configuration file for the NIC?
/etc/resolv.conf
Which file would you modify to permanently change the TCP/IP address of the first wired NIC on a Fedora 20 system?
/etc/sysconfig/network-scripts/ifcfg-eth0
What directory are you placed in when you log in as the anonymous user to an Ubuntu Server 14.04 FTP server?
/srv/ftp
What zone configuration file contains a PTR record used to identify the loopback adapter?
/var/named/named.local
Where is the default document root directory for the Apache web server?
/var/www/html
In NTP, what stratum consists of atomic devices or GPS clocks?
0
Which dump level indicates a full backup?
0
You have created a full backup and four incremental backups. In which order must you restore these backups?
0, 1, 2, 3, 4
What range of ports is considered to be "well-known"?
0-1023
What is the maximum number of characters that can be used in a NetBIOS name?
15
What well-known TCP port is utilized by the SMTP service?
25
What is the subnet mask for a Class B IP address?
255.255.0.0
What is the subnet mask for a Class C IP address?
255.255.255.0
What is the Advanced Encryption Standard (AES) encryption algorithm's largest key length size?
256-bit
The Adaptive Lempel-Ziv compression algorithm used by the compress utility is capable of an average compression ratio of what percent?
40-50
If no level of compression is specified, the gzip command assumes what compression level?
6
What is the average compression ratio for the gzip utility using the LZ77 compression algorithm?
60-70%
Each octet in an IP address represents a binary number consisting of how many bits / bytes?
8-bit
IPv6 IP addresses are delimited by what character below?
:
How can you specify the intended DNS server to query with the dig command?
@server
Which of the following are stand-alone daemons? (Choose all that apply.)
Apache (httpd), DNS (named)
Which DNS resource record is an alias to other records?
CNAME
What kind of servers resolve fully qualified domain names to IP addresses for a certain namespace on the Internet?
DNS
What are two means available to resolve a host name to the appropriate TCP/IP address? (Choose two answers.)
DNS, /etc/hosts
Select the SQL statement below that can be used to delete a database:
DROP DATABASE
What directive below in Apache's httpd.conf file specifies that the index.html file in the document root directory will be sent to clients who request an HTML document?
DirectoryIndex index.html
Which of the following must you perform to share a directory using NFS? (Choose all that apply.)
Edit the /etc/exports file, Run the exportfs -a command, Start or restart the NFS daemons
When working with Sendmail, what command can be used to test SMTP support?
HELO
You have opened a telnet session on port 25 with your email server. What command can you type within your telnet session to start an email session? (Choose all that apply.)
HELO, EHLO
What DNS resource record type is used to provide the IP address for the e-mail server for a zone?
MX
Which Windows program is often used to connect to a Linux server via SSH?
Putty
Most Linux distributions make use of what package manager?
RPM
Mary is a system administrator in your organization. She has recently made changes to the DHCP configuration file, but the DHCP daemon does not seem to recognize the new changes. What should she do?
Restart the DHCP daemon
What tool below was designed as a secure remote access utility that encrypts information that passes across the network?
Secure Shell (SSH)
The Apache daemon listens for HTTP requests on what port by default?
TCP 80
What is the most commonly used LAN protocol?
TCP/IP
What port is used by the Network Time Protocol (NTP) for communication?
UDP 123
In order to download DPM packages, what command should be used below?
apt-get
Which command below can be used at a BASH command prompt to obtain a web page?
curl
Before a computer can use a router, what configuration information must it be provided?
default gateway
Which option to the rpm command can be used to remove a package from the system?
e
An IPv6 IP address consists of 16-bit numbers in what numbering scheme?
hexadecimal
What command can be used to view and modify the date and time within the BIOS?
hwclock
What command can be used to assign a TCP/IP configuration to a NIC as well as view the current configuration of all network interfaces?
ifconfig
Which command would be used to activate the NIC aliased as eth0?
ifup eth0
Which command within the command-line FTP utility can be used to change the current directory on the local computer?
lcd
What command looks for a Makefile and uses the information within to compile the source code into binary programs using the appropriate compiler program for the local hardware architecture?
make
When compiling source code into a binary program, which command does the compiling using the GNU C Compiler?
make
What ftp command uploads the filename from the current directory on the local computer to the current directory on the remote computer, and allows the use of wildcard metacharacters to specify the filename.
mput filename
After modifying the /etc/aliases file, what command must be run in order to rebuild the aliases database?
newaliases
The dump/restore utility is limited to a maximum of how many different incremental backups?
nine
To test DNS configuration by resolving a host name to IP address, which command or commands can you use?
nslookup hostname, dig hostname, host hostname
Which command can you use to synchronize ntpd with an NTP time source?
ntpq
What command can be used to see what actual time servers are being used for synchronization?
ntpq
RPM packages that require other RPM packages to be installed on a system prior to being installed creates a relationship known as?
package dependency
What PostgreSQL command-line utility backs up PostgreSQL database settings?
pg_dump
Select the command that can be used to send a small TCP/IP packet to another IP address and await a response:
ping
The daemons associated with network services listen for network traffic associated with a particular ______ .
port
Which two commands can be used to modify the route table on a Linux computer (Choose two answers.)
route, ip
Which of the following commands can be used to list the files contained within an installed RPM package?
rpm -ql packagename
Which command can be used to connect to a remote Windows share called data on the server called fileserver?
smbclient //fileserver/data
Which of the following commands creates an archive?
tar -zcvf /dev/st0 *
Which command can be used to connect to check the /etc/samba/smb.conf file for syntax errors?
testparm
How many DNS servers can be configured in the /etc/resolv.conf file?
three
What command can be used to troubleshoot routing by displaying all routers between the current computer and a remote computer?
traceroute
In order to change the time zone of a system after installation, what command must be used?
tzselect
What yum command below can display a list of package group names?
yum grouplist
Which of the following commands can be used to search for packages that contain the word oobla on RPM software repositories?
yum search oobla
What command can be used to display the contents of a file that was compressed with the compress utility?
zcat
What device file below indicates the first ATAPI IDE tape device (nonrewinding)?
/dev/nht0
Select below the configuration file that is used to configure the BIND / DNS server:
/etc/named.conf
The sshd daemon is configured by editing what configuration file?
/etc/ssh/sshd_config
Where are the log files for the Samba daemon located?
/var/log/samba
What command can be used to search for DPM package information?
dpkg-query
In order to enable IP routing on Linux at boot, what setting must be configured in /etc/sysctl.conf?
net.ipv4.ip_forward
An RPM package can be converted to a cpio archive using what command?
rpm2cpio