0 оценок0% нашли этот документ полезным (0 голосов)
980 просмотров3 страницы
This document contains 16 multiple choice questions and answers about Linux networking concepts like hosts, services, network packets, IP addresses, configuration files, and commands. Key topics covered include the definition of a host, the purpose of services, what information is contained in network packets, valid IP address formats, commands to display IP addresses and routing tables, and files used for DNS name resolution configuration.
This document contains 16 multiple choice questions and answers about Linux networking concepts like hosts, services, network packets, IP addresses, configuration files, and commands. Key topics covered include the definition of a host, the purpose of services, what information is contained in network packets, valid IP address formats, commands to display IP addresses and routing tables, and files used for DNS name resolution configuration.
This document contains 16 multiple choice questions and answers about Linux networking concepts like hosts, services, network packets, IP addresses, configuration files, and commands. Key topics covered include the definition of a host, the purpose of services, what information is contained in network packets, valid IP address formats, commands to display IP addresses and routing tables, and files used for DNS name resolution configuration.
1. 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 2. 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. 3. 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. 4. Only servers have hostnames. True or False? True False 5. Which of the following protocols defines how network communication functions? DHCP DNS TCP/IP SSH 6. 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 7. Which of the following commands will display the IP address on a Linux system? ifconfig dig route ipconfig 8. Which of the following commands will display the routing table? (choose two) dig netstat -r ifconfig route 9. Which of the following commands will allow you to log into a remote machine? dig netstat route ssh 10. What option to the netstat command has information shown as numbers rather than names? –name -r -t -n 11. 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 12. The RSA key fingerprint allows the dig command to connect to remote systems. True or False? True False 13. 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? True False 14. 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. 15. 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 16. Which of the following commands can be used to display socket statistics, and supports all major packet and socket types? ss ifconfig route top