Final Exam Ch. 12 Review

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

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?

/27

Which of the following files does the hostnamectl command modify to set the hostname on a machine?

/etc/hostname

10. Which file holds the methods to be used and the order in which they will be applied for host name resolution?

/etc/nsswitch.conf

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?

/etc/nsswitch.conf

13. Which of the following port numbers is associated with SSH?

22

Which of the following ports would be used to resolve a domain name to an IP address?

53

16. What are two means available to resolve a host name to the appropriate IP address? (Choose two answers.)

DNS /etc/hosts

1. The NetworkManager or Systemd-networkd components must be installed on a Linux system in order to configure an IP address on a network interface.

False

20. Standalone daemons are started on demand using xinetd.

False

What is the most commonly used LAN protocol?

TCP/IP

Which of the following can be used to graphically remotely administer a Linux machine?

VNC

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?

VPN

7. Before a computer can use a router, what configuration information must it be provided?

default gateway

Which of the following will display entries from the Name Services Switch libraries?

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?

hostnamectl set-hostname server1

9. Which of the following utilities can be used to check TCP/IP configuration and test network connectivity? (Choose all that apply.)

ifconfig iwconfig ping

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?

ifup eth0

Which of the following are valid statements in the /etc/resolv.conf file? (Choose two.)

nameserver 10.1.1.4 order hosts, bind (one is correct)

Which of the following commands will show active UDP connections on a Linux system? (Choose all that apply.)

netstat --udp netstat -u

On a system running NetworkManager, which of the following commands can be used to view or modify connection information?

nmcli

3. To test DNS configuration by resolving a host name to an IP address, which command or commands can you use? (Choose all that apply.)

nslookup hostname

2. The daemons associated with network services listen for network traffic associated with a particular ____.

port

15. Which two commands can be used to modify the route table on a Linux computer? (Choose two answers.)

route ip

Which of the following commands can be used to display socket information out to the terminal screen?

ss

14. Which commands can be used to display TCP/IP connections on your Linux system? (Choose all that apply.)

ss -t (wrong)

8. Which of the following can be used to provide graphical remote administration? (Choose all that apply.)

ssh -X VNC

11. 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?

/etc/resolv.conf

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

/etc/services

18. Which file would you modify to permanently change the IP address of a network interface on a Fedora 28 system?

/etc/sysconfig/network-scripts/ifcfg-enp8s0

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 (wrong)

17. Which of the following are stand-alone daemons? (Choose all that apply.)

Apache (httpd) DNS (named)

6. Which Windows program is often used to connect to a Linux server via SSH?

Putty

19. SSH encrypts all traffic that passes across the network, whereas telnet does not.

True

5. The line that configures the host name for the computer at boot time can be found in /etc/hostname.

True

12. The IP address of 127.0.0.1 is also referred to as the ___.

loopback address

4. 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.)

ssh-keygen ssh-copy-id

Which of the following commands can be used to trace an IPv6 route? (Choose two.)

traceroute6 tracepath6

Which of the following commands will display detailed information for network hardware?

ethtool

Which of the following is the keyword that should be listed after the hosts statement in the /etc/nsswitch.conf file so that the file system will consult the /etc/hosts file to resolve a name to an IP address?

files

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?

ping -c 4 server1


Ensembles d'études connexes

MGMT 490: Exam 1 - Learnsmart, Activity and Quiz Questions

View Set

Spanish 102 final review Gemma Morawski

View Set

AP Studs Period 5 Prac Quiz 2 and 3

View Set

geografija - ponavljanje - 6.r. Arktik i Antarktika

View Set