Chapter 12 Flashcards
1
Q
The NetworkManager or Systemd-networkd components must be installed on a Linux system in order to configure an IP address on a network interface.
True or False?
A
Answer: False
2
Q
- Which Windows program is often used to connect to a Linux server via SSH?
a. SSHD
b. Putty
c. Rdesktop
d. mstsc
A
b. Putty
3
Q
- Standalone daemons are started on demand using xinetd. True or False?
A
Answer: False
4
Q
- 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
A
d. /etc/resolv.conf
5
Q
- 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. resolve hostname
A
a. nslookup hostname
b. dig hostname
c. host hostname
6
Q
- 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
A
a. route
c. ip
7
Q
- 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
A
a. /etc/nsswitch.conf
8
Q
- 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
A
b. DNS
c. /etc/hosts
9
Q
- SSH encrypts all traffic that passes across the network, whereas telnet does not. True or False?
A
Answer: True
10
Q
- 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
A
a. ssh-keygen
c. ssh-copy-id
11
Q
- 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
A
b. ssh -X
d. VNC
12
Q
- The daemons associated with network services listen for network traffic associated with a particular _____.
a. station
b. port
c. IP address
d. allocation number
A
b. port
13
Q
- 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
A
d. loopback address
14
Q
- The line that configures the host name for the computer at boot time can be found in /etc/hostname. True or False?
A
Answer: True
15
Q
- 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
A
a. netstat -t
d. ss -t