NOS 120 Study Guide Ch. 12

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

What is the complete path and filename of the file where ports and their associated protocols are defined?

/etc/services

Which of the following can be used to graphically remotely administer a Linux machine? Select one: a. VNC b. Telnet c. RDP d. FTP

VNC

On a system running NetworkManager, which of the following commands can be used to view or modify connection information? Select one: a. netctonf b. nmcli c. nm d. netman

nmcli

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

ss

Which of the following commands can be used to trace an IPv6 route? (Choose two.) Select one or more: a. traceroute6 b. trace6 c. tracepath6 d. tracert6

tracepath6 traceroute6

What is the most commonly used LAN protocol? Select one: a. IPX/SPX b. DLC c. UDP/IP d. TCP/IP

TCP/IP

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

/27

Which of the following files does the hostnamectl command modify to set the hostname on a machine? Select one: a. /etc/hostname.conf b. /etc/host.conf c. /etc/hosts.conf d. /etc/hostname

/etc/hostname

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? Select one: a. /etc/resolv.conf b. /etc/nsswitch.conf c. /etc/named.conf d. /etc/hosts

/etc/nsswitch.conf

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

169.254.38.101

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

53

Which of the following types of technologies will create a tunneled encrypted connection from a remote location into a corporate network to be able to access resources as if the user was physically connected to the LAN? Select one: a. VLAN b. VPN c. NTP d. ADSL

VPN

Which of the following is the keyword that should be listed after the hosts statement in the /etc/nsswitch.conf file so that the system will consult the /etc/hosts file to resolve a name to an IP address? Select one: a. etchosts b. hosts c. local d. files

files

Which of the following will display entries from the Name Service Switch libraries? Select one: a. nsslist b. getent c. nss d. dispdet

getent

You run the command hostname server1 and 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? Select one: a. hostnamectl set-hostname server1 b. set hostname="server1" c. ifconfig server1 d. host server1

hostnamectl set-hostname server1

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

ifup eth0

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.

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

nameserver 10.1.1.4 domain comptia.org

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

netstat -u

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

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: a. 128 b. 32 c. 8 d. 48

48

You have set up a TFTP server to support PXE booting of several workstations. Which of the following protocols would this setup make use of? Select one: a. TCP b. ICMP c. IGMP d. UDP

UDP

Which of the following commands will display detailed information for network hardware? Select one: a. hwdisp --network b. lshw --net c. lsnet d. ethtool

ethtool


Ensembles d'études connexes

Lab 24: Endocrine System Physiology I

View Set

Section 28: Pricing and Commission Calculations

View Set

CompTIA Security+ (SY0-601) Practice Exam #6

View Set

Management 3020 Chapters 3, 4 & 5

View Set

Mankiw Brief Principals of Economics Chapter 16

View Set

prep 3 & 4: consequences of climate change

View Set