Ch. 12
Upon running the ifconfig command, the IP address is listed along with the subnet mask in dotted decimal notation listed as 255.255.255.224. How would this be represented by the ip addr command using CIDR notation?
/27
Which file would you modify to permanently change the IP configuration of a network interface on a modern Fedora Workstation system?
/etc/NetworkManager/system-connections/name.nmconnection
What are two means available to resolve a host name to the appropriate IP address? (Choose two answers.)
/etc/hosts and DNS
Which file holds the methods to be used and the order in which they will be applied for host name resolution?
/etc/nsswitch.conf
You currently have a Linux system configured to check the /etc/hosts file before trying to contact a DNS server to resolve host names. You want to reverse the configuration so that it checks with a DNS server before falling back to the /etc/hosts file. Which of the following files should you modify to make this possible?
/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?
/etc/resolv.conf
Which of the following IPv4 addresses can only be used behind a proxy server or NAT router?
10.4.9.2
Which of the following port numbers is associated with SSH?
22
Which of the following are stand-alone daemons? (Choose all that apply.)
Apache (httpd) and DNS (named)
Which of the following is a media access method?
Ethernet
The NetworkManager or Systemd-networkd components must be installed on a Linux system in order to configure an IP address on a network interface.
False
Which of the following commands will send 4 ICMP echo requests to a remote host named server1 to determine the round trip time it takes a packet to travel?
ping -c 4 server1
The daemons associated with network services listen for network traffic associated with a particular _____.
port
Which commands can be used to display TCP/IP connections on your Linux system? (Choose all that apply.)
ss -t and netstat -t
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.)
ssh-keygen and ssh-copy-id
Which of the following commands can be used to trace an IPv6 route? (Choose two.)
tracepath6 and traceroute6
Doug notices that the DNS server IP address listed in /etc/resolv.conf is 127.0.0.53. What does this indicate?
Name resolution requests will be forwarded to Systemd-resolved.
Which Windows program is often used to connect to a Linux server via SSH?
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.)
SELECT ALL
Network daemons are started on demand using inetd, xinetd, or Systemd socket units.
True
SSH encrypts all traffic that passes across the network, whereas telnet does not.
True
The line that configures the host name for the computer at boot time can be found in /etc/hostname.
True
Which of the following can only be used to remotely administer a Linux machine graphically?
VNC
Which of the following can be used to provide graphical remote administration? (Choose all that apply.)
VNC and ssh -X
Before a computer can use a router, with what configuration information must it be provided?
default gateway
You run the command hostname server1 and then issue the reboot command. You notice that the host name has reverted back to what it was before the reboot. Which of the following commands should you have used to change the host name instead?
hostnamectl set-hostname server1
Which two commands can be used to modify the route table on a Linux computer? (Choose two answers.)
ip and route
The IP address of 127.0.0.1 is also referred to as the _____.
loopback address
Which of the following is a valid DNS server definition in the /etc/resolv.conf file?
nameserver 8.8.8.8
Which of the following utilities can be used to view and configure a network renderer? (Choose all that apply.)
nmcli and networkctl
