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