Linux Chapter 12 / bdale

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 commands can be used to display socket information out to the terminal screen? Group of answer choices ss woolsocks opensocks sstat

ss

Which of the following commands can be used to trace an IPv6 route? (Choose two.) Group of answer choices tracert6 tracepath6 trace6 traceroute6

tracepath6 traceroute6

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? Group of answer choices /27 /24 /28 /23

/27

What is the most commonly used LAN protocol? Group of answer choices UDP/IP IPX/SPX TCP/IP DLC

TCP/IP

Which of the following will display entries from the Name Service Switch libraries? Group of answer choices dispdet nss nsslist getent

getent

On a system running NetworkManager, which of the following commands can be used to view or modify connection information? Group of answer choices nmcli netctonf nm netman

nmcli

Which of the following files does the hostnamectl command modify to set the hostname on a machine? Group of answer choices /etc/host.conf /etc/hostname /etc/hostname.conf /etc/hosts.conf

/etc/hostname

Which of the following is a valid APIPA address? Group of answer choices 10.11.12.13 127.0.0.1 169.254.38.101 192.168.1.17

169.254.38.101

The output of the ifconfig shows a HWaddr expressed in hexadecimal. How many bits is the hardware address shown made up of? Group of answer choices 8 32 48 128

48

Which of the following ports would be used to resolve a domain name to an IP address? Group of answer choices 23 69 53 443

53

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? Group of answer choices IGMP UDP TCP ICMP

UDP

Which of the following are valid statements in the /etc/resolv.conf file? (Choose two.) Group of answer choices nameserver 10.1.1.4 10.1.15.60 server10 domain comptia.org order hosts, bind

domain comptia.org nameserver 10.1.1.4

Which of the following commands will display detailed information for network hardware? Group of answer choices ethtool lshw --net lsnet hwdisp --network

ethtool

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? Group of answer choices set hostname="server1" hostnamectl set-hostname server1 host server1 ifconfig server1

hostnamectl set-hostname server1

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? Group of answer choices /etc/nsswitch.conf /etc/hosts /etc/resolv.conf /etc/named.conf

/etc/nsswitch.conf

Which of the following can be used to graphically remotely administer a Linux machine? Group of answer choices FTP VNC RDP Telnet

VNC

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? Group of answer choices etchosts local files hosts

files

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? Group of answer choices interface eth0 --status up ifup eth0 netctl eth0 up int eth0 up

ifup eth0

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? Group of answer choices ping -n 4 server1 ping -4 server1 ping -c 4 server1 ping server1

ping -c 4 server1

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? Group of answer choices ADSL NTP VLAN VPN

VPN

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 commands will show active UDP connections on a Linux system? (Choose all that apply.) Group of answer choices netstat -t udp netstat --udp netstat -u netstat udp

netstat --udp netstat -u


Ensembles d'études connexes

Unit 3 Quiz - Mandatory Disclosures

View Set

Mood, Adjustment, and Dementia Disorders

View Set

Test Bank Q: Chapter 18: Planning Nursing Care

View Set

Code, Standards, and Practices 2, Level II - 2020 Lesson 5

View Set

Subject SAT - US History (Before Contact)

View Set

RN Pharmacology Online Practice 2019 A

View Set

All of the Study sets together. Chapter 7 - Stress Prone and Stress-Resistant Personality Traits" and 19 others

View Set

PSYCHOPHARM (for Bipolar, Schizophrenia, Anxiety, & Depression)

View Set