Testout Domain 9: Networking Fundamentals
What is the path and filename of the file in the Linux system that lists all network services, including the port assigned to the service?
/etc/services
Which of the following IP addresses belong to the Class A network 114.0.0.0? (Select three.) Tip: Assume the network is indicated by the default portion of the IP address.
114.58.12.0 114.122.66.12 114.0.0.15 With a Class A network, the first octet indicates the network address. All hosts on the network must have the same value in the first octet (114).
You check the IP address on a host on the network. The address is 122.16.155.71 with a mask of 255.0.0.0. What is the broadcast address?
122.255.255.255 The broadcast address is 122.255.255.255. The network address is 122.0.0.0. Because this is a class A address, the first octet is used for the network address.
Which of the following IP addresses are Class B addresses? (Select three.)
129.0.0.0 190.65.2.0 132.12.0.0 The following are Class B addresses: 129.0.0.0, 132.12.0.0, and 190.65.2.0. The first octet of Class B addresses is in the range of 128 to 191.
Which of the following IP addresses is a valid IP address for a host on a public network?
142.15.6.1 The Internet is an example of a public network. Certain sets of IP addresses are reserved for private networks only and cannot be used on public networks. They are: 10.0.0.0 to 10.255.255.255 172.16.0.0 to 172.31.255.255 192.168.0.0 to 192.168.255.255
Which port number is used by SNMP?
161
Which of the following IP addresses have a default subnet mask of 255.255.0.0? (Select three.)
168.16.5.1 129.0.0.1 191.168.2.15 • Class A networks use a default subnet mask of 255.0.0.0 and have 0-126 as their first octet. • Class B networks use a default subnet mask of 255.255.0.0 and have 128-191 as their first octet. • Class C networks use a default subnet mask of 255.255.255.0 and have 192-223 as their first octet.
You are the administrator for a small network of Linux hosts. Your network does not communicate with the Internet and does not use DNS. When you add a new host named ENERGY7 to the network, which entry should be added to the /etc/hosts files?
192.168.0.34 ENERGY7 #Reception Area
What is the network address for the address 199.78.240.240 if the default subnet mask is used?
199.78.240.0 The network address is 199.78.240.0. The address is a class C address (the first octet is in the range of 192 to 223). The default subnet mask is 255.255.255.0, or in other words the first three octets are used for the network address.
What is the default subnet mask for address 132.44.156.67?
255.255.0.0 The default subnet mask is 255.255.0.0. The address is a class B address. The first octet is in the the range of 128 to 191.
Which of the following are not valid IP addresses? (Select three.)
257.0.122.55 45.22.156.256 145.8.260.7 IP addresses have a value between 0 and 255 within each octet. In this list, 45.22.156.256, 145.8.260.7, and 257.0.122.55 are not valid IP addresses.
Which of the following are valid IPv6 addresses? Select all that apply.
6384:1319:7700:7631:446A:5511:8940:2552 141:0:0:0:15:0:0:1 An IPv6 IP address is a 128-bit address listed as eight 16-bit hexadecimal sections. Leading zeros can be omitted in each section.
Which of the following configuration files holds the name of the host?
/etc/hostname
If you are managing a systemd-based Linux system, which of the following commands cannot be be used to bring the enp2s0 interface down?
/etc/init.d/network stop /etc/sysconfig/network-scripts/ifcfg-enp2s0 down
What is the full path and filename of the file you should edit to determine the order in which name resolution is done?
/etc/nsswitch.conf
Which of the following files contain information that enables a Linux system to resolve IP Which of the following files contain information that enables a Linux system to resolve IP addresses to FQDN/host names. (Choose all that apply.)
/etc/resolv.conf /etc/hosts
You have just finished configuring a new network card in your Linux system. You would like to verify that it is configured to access the Internet. Which of the following solutions would best help you verify that you have Internet access?
Attempt to ping a site on the Internet.
Which network service would you use to get the IP address from the Fully Qualified Domain Name (FQDN) hostname?
DNS
Which of the following is a valid IPv6 address?
FEC0::AB:9007 FEC0::AB:9007 is a valid IPv6 address. The :: in the address replaces blocks of consecutive 0's. The longer form of this address would be FEC0:0000:0000:0000:0000:0000:00AB:9007. Leading 0's within a quartet can also be omitted. You can only omit one block of 0's using the double colon. Each number in the IPv6 address must be between 0-9 or A-F; G is not a valid number for the IPv6 address. An address without double colons should have a total of 32 hexadecimal numbers in 8 blocks.
Which of the following protocols allows hosts to exchange messages to indicate problems with packet delivery?
ICMP
Which of the following describes link-local IPv6 addresses? (Select 3)
Link-local IPv6 addresses are not routable. Link-local IPv6 addresses must be assigned to any network interface on a Linux system. Link-local IPv6 addresses begin with FE8, FE9, FEA, or FEB.
You are attempting to ping the FQDN of a computer on the Internet, but are not getting a response. What is the problem?
Pinging the FQDN of a computer does not give you enough information to know what the problem is.
Your computer has an IP address of 161.13.5.15. Your computer is on a:
Public network
You are attempting to ping another computer on the Internet by its IP address, but you are not getting a response. You do however get a response when pinging a host on your own network. Which of the following commands would help you better determine where the problem is?
Run traceroute traceroute on the IP address of the computer on the Internet.
In which IPv6 configuration method do clients use Neighbor Discovery Protocol to send router solicitation and router advertisement messages as part of the process of automatically generating the interface ID and learning the subnet prefix and default gateway?
Stateless autoconfiguration
You are an application developer and are writing a program to exchange video files through a TCP/IP network. You need to select a transport protocol that will guarantee delivery. Which TCP/IP protocol would you implement that provides this capability?
TCP
You open the /etc/nsswitch.conf file and observe the following line: hosts: files dns What is the result of this configuration?
The /etc/hosts file takes precedence over information obtained from a DNS server when resolving domain names.
IPv6 uses 128-bit addresses. The address contains two 64-bit components. What is the first 64-bit component called? What is the last 64-bit component called?
The prefix The interface ID
You are troubleshooting a workstation that is having trouble while browsing the Internet. You want to perform some tests on name resolution. Which utility would give you the most information?
dig
Which of the following commands can be used to retrieve the IP address and/or FQDN/host name information from a DNS server? (Choose all that apply.)
dig host nslookup
The enp2s0 interface is currently down. What can you enter at the command line to start the enp2s0 interface?
ifup enp2s0
The enp2s0 network interface has already been assigned the IP configuration: 172.16.1.123/16. Which command would you use to temporarily configure a second IP address of 192.168.0.123/24 for this network interface?
ip addr add 192.168.0.123/24 dev enp2s0
You need to set an IP address for enp2s0 to 192.168.15.2 with a subnet mask of 255.255.255.0. Which commands are correct? (Select two)
ip addr add 192.168.15.2/24 dev enp2s0 ifconfig enp2s0 192.168.15.2 netmask 255.255.255.0
A user calls the help desk to report that she is unable to connect to the network after an upgrade A user calls the help desk to report that she is unable to connect to the network after an upgrade of her Linux operating system. You suspect the problem is related to the network configuration. Which commands could you use to quickly see the current IP address(es) assigned to her computer? (Select two.)
ip addr show ifconfig -a
Which commands display the IP address and subnet mask values configured on a workstation? (Select two)
ip addr show ifconfig
You have just made IP configuration changes in the ifcfg-enp2s1 file. You do not want to restart the Linux system or restart the network service to put these changes into effect. There are two the Linux system or restart the network service to put these changes into effect. There are two ip commands you can use to put these changes into effect. What is the first ip command you enter at the command line to put these changes into effect? What is the second What is the second ip ip command you enter at the command line to put these changes into effect?
ip link set enp2s1 down ip link set enp2s1 up
After an acquisition of another company, you are in a position where you must add another network to the existing routing tables. Which of the following commands would you use to accomplish this? (Select two)
ip route add 11.12.13.14/24 via 201.12.3.4 ip route add 11.12.13.14/24 via 201.12.3.4 route add -net 11.12.13.14/24 gw 201.12.3.4
As a system administrator you are going to add a static route for host 195.157.66.221 255.255.255.0. Your default gateway is 192.168.5.1 but you want this route to use gateway 255.255.255.0. Your default gateway is 192.168.5.1 but you want this route to use gateway 192.168.7.1. Which commands will work? (Select two)
ip route add 195.157.66.0/24 via 192.168.7.1 route add -net 195.157.66.0 netmask 255.255.255.0 gw 192.168.7.1
You would like to see how many different computers are currently connected to your local workstation. Which of the following commands would allow you to do this?
netstat
You are troubleshooting a connectivity problem on a Linux server. You are able to connect to another system on the local network, but are not able to connect to a server on a remote network. You suspect that the default gateway information for the system may be configured incorrectly. Which of the following commands would you use to view the default gateway information on the Linux server?
netstat -r
As a system administrator you want to block (reject) any packets from 170.122.0.0 255.255.0.0. Which command will block those packets?
route add 170.122.0.0 netmask 255.255.0.0 reject