Chapter 14
Which of the following are valid IPv4 addresses? (choose two) 192.105.10.10.2 192.301.25.25 10.33.55.77 192.105.10.10
10.33.55.77 192.105.10.10
Which of the following files contains the IP addresses of the name servers the system should consult in any attempt to resolve names to IP addresses? /etc/nsswitch.conf /etc/resolve.conf /etc/hosts /etc/resolv.conf
/etc/resolv.conf
Which of the following commands will display the IP address on a Linux system? ifconfig dig route ipconfig
ifconfig
Only servers have hostnames. True or False?
False
The RSA key fingerprint allows the dig command to connect to remote systems. True or False?
False
When looking at the primary IPv4 configuration file, if the device was configured to be a DHCP client, then the BOOTPROTO value would be set to none. True or False?
False
Which of the following protocols defines how network communication functions? DHCP DNS TCP/IP SSH
TCP/IP
What option to the netstat command has information shown as numbers rather than names? -name -r -t -n
-n
A service is... ...like an IP address. ...a file that contains configuration information. ...another name for a computer's hostname. ...a feature provided by one computer to another.
...a feature provided by one computer to another.
When issuing the service network restart command, which of the following occurs? ...brings up all network interfaces, re-reads all related configuration files and then the networking for the system is restarted. ...the networking for the system is stopped and then started back up. ...takes down all network interfaces, re-reads all related configuration files and then the networking for the system is restarted.
...takes down all network interfaces, re-reads all related configuration files and then the networking for the system is restarted
A network packet contains ... (choose two) ...the IP address of the source machine. ...a hard drive partition. ...the name of the router. ...the IP address of the destination machine.
...the IP address of the source machine. ...the IP address of the destination machine.
Which of the following would be considered a host? A printer attached to the network via an IP address A network cable A CD-ROM The computer's hard drive
A printer attached to the network via an IP address
Which of the following commands will display the routing table? (choose two) dig netstat -r ifconfig route
netstat -r route
Which of the following commands can be used to display socket statistics, and supports all major packet and socket types? ss ifconfig route top
ss
Which of the following commands will allow you to log into a remote machine? dig netstat route ssh
ssh
Which of the following commands will allow you to log into the machine server1 with the account name nick? ssh nick&server1 ssh nick-server1 ssh nick@server1 ssh nick->server1
ssh nick@server1