Chapter 12 Flashcards
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?
Answer: False
- Which Windows program is often used to connect to a Linux server via SSH?
a. SSHD
b. Putty
c. Rdesktop
d. mstsc
b. Putty
- Standalone daemons are started on demand using xinetd. True or False?
Answer: False
- 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
d. /etc/resolv.conf
- 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. nslookup hostname
b. dig hostname
c. host hostname
- 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. route
c. ip
- 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. /etc/nsswitch.conf
- 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
- SSH encrypts all traffic that passes across the network, whereas telnet does not. True or False?
Answer: True
- 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. ssh-keygen
c. ssh-copy-id
- 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
b. ssh -X
d. VNC
- The daemons associated with network services listen for network traffic associated with a particular _____.
a. station
b. port
c. IP address
d. allocation number
b. port
- 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
d. loopback address
- The line that configures the host name for the computer at boot time can be found in /etc/hostname. True or False?
Answer: True
- 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. netstat -t
d. ss -t
- Which of the following port numbers is associated with SSH?
a. 22
b. 137
c. 49
d. 23
a. 22
- Which file would you modify to permanently change the IP address of a network interface on a Fedora 28 system?
a. /etc/sysconfig/network-scripts/ifcfg-enp8s0
b. /etc/sysconfig/network
c. /etc/netplan/50-cloud-init.yaml
d. /etc/network/interfaces
a. /etc/sysconfig/network-scripts/ifcfg-enp8s0
- Before a computer can use a router, what configuration information must it be provided?
a. routing table
b. subnet mask
c. default gateway
d. default router
c. default gateway
- 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)
a. Apache (httpd)
d. DNS (named)
- Which of the following utilities can be used to check TCP/IP configuration and test network connectivity? (Choose all that apply.)
a. ifconfig
b. iwconfig
c. ping
d. nmcli
a. ifconfig
b. iwconfig
c. ping
d. nmcli
Which commands can you use to find the IP address of a host by name? (Select two)
nslookup
dnslookup
host
server
nslookup
host
The network interface configuration entered by ip or ifconfig command will survive the reboot.
True
False
False
Linux system can function as a router by enabling IP forwarding and entering the static IP routes and/or running a dynamic routing protocol such as RIP.
True
False
True
For the network interface configuration to survive the reboot, it must be saved in a configuration file.
True
False
True