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
c. ssh-copy-id
[The ssh-keygen command can be used to generate SSH user keys, while the ssh-copy-id command can be used to copy SSH user keys to a remote server for authentication.]
Network daemons are started on demand using inetd, xinetd, or Systemd socket units.
True
[Internet super daemons started by inetd/xinetd are started on demand, as are Systemd socket units.]
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
a. nslookup hostname
b. dig hostname
c. host hostname
[The nslookup, dig, host, and resolvectl query commands can all be used to test name resolution on a system.]
Which of the following can be used to provide graphical remote administration? (Choose all that apply.)
B. ssh -X
d. VNC
[You can use the -X option of the ssh command to tunnel X Windows traffic through an SSH session. Virtual Network Connection (VNC) servers can also be used to provide a remote desktop to VNC viewer software running on remote systems.]
Which file holds the methods to be used and the order in which they will be applied for host name resolution?
D. /etc/nsswitch.conf
[The methods and order of name resolution are listed in /etc/nsswitch.conf.]
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
Both NetworkManager and Systemd-networkd are optional components that help configure network interfaces and connections.
Which of the following port numbers is associated with SSH?
A. 22
Before a computer can use a router, with what configuration information must it be provided?
B. default gateway
[The default gateway specifies the router to which a system sends traffic destined for remote networks.]
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?
C. /etc/resolv.conf
[The DNS servers used on the system are listed in /etc/resolv.conf.]
Which file would you modify to permanently change the IP configuration of a network interface on a modern Fedora Workstation system?
C. /etc/NetworkManager/system-connections/name.nmconnection
[Modern Fedora systems store their network configuration in .nmconnection files under the /etc/NetworkManager/system-connections directory.]
SSH encrypts all traffic that passes across the network, whereas telnet does not.
True
[Secure Shell (SSH) is a secure replacement for telnet that encrypts all traffic.]
Which Windows program is often used to connect to a Linux server via SSH?
C. Putty
[The Putty program can be used on a Windows system to connect to a Linux server using telnet or SSH.]
Which commands can be used to display TCP/IP connections on your Linux system? (Choose all that apply.)
C. netstat -t
d. ss -t
[The netstat -t command displays TCP/IP connections on a system with the net-tools package installed, while the ss -t command displays TCP/IP connections on a system with the iproute/iproute2 package installed.]
The IP address of 127.0.0.1 is also referred to as the _____.
A. loopback address
[The IPv4 loopback address is 127.0.0.1.]
The daemons associated with network services listen for network traffic associated with a particular _____.
B. port
[Each network service on a server listens to a unique port number.]
The line that configures the host name for the computer at boot time can be found in /etc/hostname.
True
[The system host name is stored within the /etc/hostname file.]
Which of the following are stand-alone daemons? (Choose all that apply.)
D. Apache (httpd)
d. DNS (named)
[The httpd and named daemons are stand-alone daemons.]
Which two commands can be used to modify the route table on a Linux computer? (Choose two answers.)
D. route
c. ip
[The route command can be used to modify the route table on a system that has the net-tools package installed, while the ip command can be used to modify the route table on a system that has the iproute/iproute2 package installed.]
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
c. networkctl
d. nmcli
[You can use the nmcli command to view and configure NetworkManager, and the networkctl command to configure Systemd-networkd.]
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
b. DNS
c. /etc/hosts
[Lines within /etc/hosts and DNS servers can be used to resolve host names to IP addresses.]