CompTIA Linux+ Chp12-Homework
Which file holds the methods to be used and the order in which they will be applied for host name resolution? a. /etc/nsswitch.conf b. /etc/resolve.conf c. /etc/hosts d. /etc/dns.conf
/etc/nsswitch.conf
Which file stores the IP addresses of the DNS servers used to resolve host names if no DNS servers are specified within the network configuration file for the network interface? a. /etc/hosts b. /etc/host.conf c. /etc/resolve d. /etc/resolv.conf
/etc/resolv.conf
Which of the following port numbers is associated with SSH? a. 22 b. 137 c. 49 d. 23
22
Which Windows program is often used to connect to a Linux server via SSH? a. SSHD b. Putty c. Rdesktop d. mstsc
Putty
To test DNS configuration by resolving a host name to an IP address, which command or commands can you use? (Choose all that apply.) a. nslookup hostname b. dig hostname c. host hostname d. resolvectl query hostname
dig hostname resolvectl query hostname nslookup hostname host hostname
The IP address of 127.0.0.1 is also referred to as the _____. a. local address b. lookup address c. local host d. loopback address
loopback address
Which of the following utilities can be used to view and configure a network renderer? (Choose all that apply.) a. ifconfig b. ip c. networkctl d. nmcli
networkctl nmcli
The daemons associated with network services listen for network traffic associated with a particular _____. a. station b. port c. IP address d. allocation number
port
Which of the following can be used to provide graphical remote administration? (Choose all that apply.) a. telnet b. ssh -X c. ssh d. VNC
ssh -X VNC
You want to generate SSH keys for your user account and copy them to a remote computer to simplify future SSH authentication. What two commands can you use to perform these actions? (Choose two answers.) a. ssh-keygen b. ssh-add c. ssh-copy-id d. ssh-agent
ssh-keygen ssh-copy-id
Which of the following are stand-alone daemons? (Choose all that apply.) a. Apache (httpd) b. Washington University FTP (in.ftpd) c. telnet (in.telnetd) d. DNS (named)
DNS (named) Apache (httpd)
Which commands can be used to display TCP/IP connections on your Linux system? (Choose all that apply.) a. netstat -t b. mtr c. traceroute show d. ss -t
ss -t netstat -t
Which two commands can be used to modify the route table on a Linux computer? (Choose two answers.) a. route b. ipconfig c. ip d. traceroute
route ip
Before a computer can use a router, with what configuration information must it be provided? a. routing table b. subnet mask c. default gateway d. default router
default gateway
The NetworkManager or Systemd-networkd components must be installed on a Linux system in order to configure an IP address on a network interface. a. True b. False
False
Which file would you modify to permanently change the IP configuration of a network interface on a modern Fedora Workstation system? a. /etc/NetworkManager/system-connections/name.nmconnection b. /etc/sysconfig/network c. /etc/netplan/00-installer-config.yaml d. /etc/network/interfaces
/etc/NetworkManager/system-connections/name.nmconnection
Network daemons are started on demand using inetd, xinetd, or Systemd socket units. a. True b. False
True
SSH encrypts all traffic that passes across the network, whereas telnet does not. a. True b. False
True
The line that configures the host name for the computer at boot time can be found in /etc/hostname. a. True b. False
True
What are two means available to resolve a host name to the appropriate IP address? (Choose two answers.) a. DHCP b. DNS c. /etc/hosts d. /etc/resolve.conf
DNS /etc/hosts
