NOS 120 CH 12 &14 QUESTIONS WITH VERIFIED
ACCURATE ANSWERS
When connecting to a host via SSH for the first time, the user is prompted to accept the
encryption fingerprint for the target computer which is stored in ___________ in the
~/.ssh/ directory. - Answers -known_hosts
Which of the following are valid statements in the /etc/resolv.conf file? (Choose two.)
Select one or more:
a. 10.1.15.60 server10
b. domain comptia.org
c. nameserver 10.1.1.4
d. order hosts, bind - Answers -nameserver 10.1.1.4
domain comptia.org
Which of the following ports would be used to resolve a domain name to an IP address?
Select one:
a. 23
b. 443
c. 53
d. 69 - Answers -53
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. You have installed a remote
access software that has an address field that requires the address to be configured in
CIDR notation. Which of the following is the equivalent CIDR notation for the subnet
mask listed?
Select one:
a. /24
b. /28
c. /27
d. /23 - Answers -/27
Which of the following commands will show active UDP connections on a Linux system?
(Choose all that apply.)
Select one or more:
a. netstat -t udp
b. netstat -u
c. netstat udp
d. netstat --udp - Answers -netstat -u
Which of the following is a valid APIPA address?
Select one:
a. 169.254.38.101
, b. 192.168.1.17
c. 127.0.0.1
d. 10.11.12.13 - Answers -169.254.38.101
The system administrator has shut ethernet interface eth0 down while making some
changes to the system. Which of the following commands can they use to bring the
network connection back up?
Select one:
a. int eth0 up
b. interface eth0 --status up
c. ifup eth0
d. netctl eth0 up - Answers -ifup eth0
Which of the following commands can be used to display socket information out to the
terminal screen?
Select one:
a. woolsocks
b. opensocks
c. ss
d. sstat - Answers -ss
Which of the following can be used to graphically remotely administer a Linux machine?
Select one:
a. VNC
b. Telnet
c. RDP
d. FTP - Answers -VNC
Which of the following will display entries from the Name Service Switch libraries?
Select one:
a. nsslist
b. getent
c. nss
d. dispdet - Answers -getent
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?
Select one:
a. ping -4 server1
b. ping -n 4 server1
c. ping server1
d. ping -c 4 server1 - Answers -ping -c 4 server1
The output of the ifconfig shows a HWaddr expressed in hexadecimal. How many bits is
the hardware address shown made up of?
Select one:
ACCURATE ANSWERS
When connecting to a host via SSH for the first time, the user is prompted to accept the
encryption fingerprint for the target computer which is stored in ___________ in the
~/.ssh/ directory. - Answers -known_hosts
Which of the following are valid statements in the /etc/resolv.conf file? (Choose two.)
Select one or more:
a. 10.1.15.60 server10
b. domain comptia.org
c. nameserver 10.1.1.4
d. order hosts, bind - Answers -nameserver 10.1.1.4
domain comptia.org
Which of the following ports would be used to resolve a domain name to an IP address?
Select one:
a. 23
b. 443
c. 53
d. 69 - Answers -53
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. You have installed a remote
access software that has an address field that requires the address to be configured in
CIDR notation. Which of the following is the equivalent CIDR notation for the subnet
mask listed?
Select one:
a. /24
b. /28
c. /27
d. /23 - Answers -/27
Which of the following commands will show active UDP connections on a Linux system?
(Choose all that apply.)
Select one or more:
a. netstat -t udp
b. netstat -u
c. netstat udp
d. netstat --udp - Answers -netstat -u
Which of the following is a valid APIPA address?
Select one:
a. 169.254.38.101
, b. 192.168.1.17
c. 127.0.0.1
d. 10.11.12.13 - Answers -169.254.38.101
The system administrator has shut ethernet interface eth0 down while making some
changes to the system. Which of the following commands can they use to bring the
network connection back up?
Select one:
a. int eth0 up
b. interface eth0 --status up
c. ifup eth0
d. netctl eth0 up - Answers -ifup eth0
Which of the following commands can be used to display socket information out to the
terminal screen?
Select one:
a. woolsocks
b. opensocks
c. ss
d. sstat - Answers -ss
Which of the following can be used to graphically remotely administer a Linux machine?
Select one:
a. VNC
b. Telnet
c. RDP
d. FTP - Answers -VNC
Which of the following will display entries from the Name Service Switch libraries?
Select one:
a. nsslist
b. getent
c. nss
d. dispdet - Answers -getent
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?
Select one:
a. ping -4 server1
b. ping -n 4 server1
c. ping server1
d. ping -c 4 server1 - Answers -ping -c 4 server1
The output of the ifconfig shows a HWaddr expressed in hexadecimal. How many bits is
the hardware address shown made up of?
Select one: