THE FOLLOWING EXAM OBJECTIVES ARE COVERED IN THIS CHAPTER:
Which of the following commands shows the current default route without performing Domain Name System (DNS) lookups on the IP address(es) involved? You are having difficulty with an interface on the server and it is currently down. Assuming that there is no hardware failure on the device itself, which command and option can you use to display information about the interface? Which of the following is not used as a private address for internal, non-Internet, use? Which of the following commands adds a default gateway of 192.168.1.1 for interface eth0? Which option for the host command will query for the authoritative name servers for a given domain? Which port(s) and protocol(s) should be opened in a firewall in order for the primary and secondary name servers to communicate for a given domain? Which option for the ping command enables you to choose the interface from which the Internet Control Message Protocol (ICMP) packets will be generated? You need to split a subnet to enable four subnets with up to 30 hosts each. Which subnet mask, in Classless Inter-Domain Routing (CIDR) notation, facilitates this scenario? Which of the following commands queries for the mail servers for the domain example.com? Which of the following addresses represents the localhost in IPv6? Which option to the traceroute command will use TCP SYN packets for the path trace? Which of the following commands will attempt to bring online all interfaces marked as auto within the networking configuration? In a scripting scenario, which command will return the domain name configured for the server? Which command can be used to listen for netlink messages on a network? If the traceroute6 command is not available, which option to the traceroute command can be used for an IPv6 traceroute? Which of the following configuration lines in /etc/nsswitch.conf causes a lookup for group information to first use local files and then use LDAP? Which of the following dig commands sends the query for example.com directly to the server at 192.168.2.5 rather than to a locally configured resolver? Which ports need to be allowed through the firewall for Simple Network Management Protocol (SNMP) traffic? Which of the following commands will enumerate the hosts database? Which of the following netmasks is used for a subnet described with a /25 in CIDR notation? Which of the following configuration lines will set the DNS server to 192.168.1.4 using /etc/resolv.conf? When examining open ports on the server, you see that TCP port 3000 is listed with no corresponding protocol name, such as SMTP, IMAP over SSL (IMAPS), and so on. In which file would you find a list of port-to-protocol translations that could be customized to add this new port? Which of the following commands adds a route to the server for the network 192.168.51.0/24 through its gateway of 192.168.51.1? Which of the following netstat options displays the send and receive queues for each socket? Which of the following represents a correct configuration line for /etc/hosts? Which of the following commands configures the eth0 device with an IP address of 192.168.1.1 in a /24 network? Which of the following describes a primary difference between IPv4 and IPv6? On which port does ICMP operate? Which of the following commands will change the default gateway to 192.168.1.1 using eth0? Which of the following ports is used for Secure Shell communication? Which options for netcat will create a server listening on port 8080? Which of the following commands displays the Start of Authority information for the domain example.com? Assume that you want to enable local client services to go to hosts on the network without needing to fully qualify the name by adding the domain for either example.com or example.org. Which option in /etc/resolv.conf will provide this functionality? Which of the following commands sends an IPv6 ping to a unique local address? Which of the following commands prevents traffic from reaching the host 192.168.1.3? Which of the following describes a primary difference between traceroute and tracepath? Which of the following commands will emulate the ping command in Microsoft Windows, where the ping is sent for four packets and then the command exits? Which command provides an interface into NetworkManager that works from a terminal window? Which of the following commands configures eth1 with an additional IPv6 address of fdd6:551:b09e::? On which port does LDAP over SSL operate? You need to prevent local clients from going to a certain host, www.example.com, and instead redirect them to localhost. Which of the following is a method to override DNS lookups for the specified host? Which of the following commands should be executed after running ip route change? Which option should be used to send a DNS query for a Sender Policy Framework (SPF) record with dig? Which of the following protocols uses a three-way handshake? How many IP addresses are available in the 172.16.0.0 private range in IPv4? When troubleshooting a connectivity issue, you have found that you can reach a server via the web but cannot ping it. Which of the following best describes a possible cause for this scenario? When viewing the available routes using the route command, one route contains UG flags and the others contain U flags. What do the letters UG signify in the route table? Which of the following commands requests a zone transfer of example.org from the server at 192.168.1.4? Which of the following commands displays the number of packets forwarded by the kernel? When using the ip command, which protocol family is used as the default if not otherwise specified? Which of the following commands changes the Media Access Control (MAC) address of eth0? You are using the route command to view routes. However, name resolution is taking a long time and causing delay in the response from the route command. Which option to route can be added to cause it to not perform name resolution? You have replaced a device on the network but used the IP from another active device. Which command can be run to remove the MAC address entry from your computer so that it performs the address resolution again? Which of the following commands displays information such as link status about the wireless device wlan0? Which command is used for setting parameters such as the essid, channel, and other related options for a wireless device? Which of the following commands can be used to scan for available wireless networks? You need to offer internally facing NTP services. On which protocol and port does NTP listen? You need to set the MTU to a specific value for a network interface. Which option to ifconfig facilitates this? Which option to the arp command creates a new entry for a given IP address-to-MAC address pair? Which of the following commands shows network sockets and their allocated memory? When troubleshooting a potential hardware problem, you need to determine which physical interface is being used for a certain address. One way to accomplish this is with the ping command in order to monitor the activity lights on the device. Which of the following options to ping will flood the interface with ECHO_REQUEST packets? Which of the following commands can be used to test network connectivity at the TCP level instead of telnet? Which option to tcpdump displays a list of available interfaces on which tcpdump can operate? Which command provides a method for sending ICMP requests for IPv6? Which of the following commands displays information about addresses, specifically only IPv6 addresses, currently in use on the computer? Which of the following commands will disable ARP on the interface eth0? Which option to the route command forces the kernel to use the specified device for the route rather than attempting to determine the correct device? Which option to the ss command shows the process IDs associated with the socket? Which option to traceroute causes the command to use ICMP for requests? Which programmatic function is used by the hostname command internally? Which of the following commands will examine the system log for information regarding DHCP activity? Which of the following characters are valid for hostnames in /etc/hosts? Which of the following configuration lines in /etc/resolv.conf enables debugging? Which of the following commands views systemd journal entries for the NetworkManager unit? Which file is read at boot to set the local computer’s hostname? Which traceroute command is used exclusively for IPv6 route traces? Which type can be used with the dig command to test a zone transfer? Which option to the host command sets the query type to ANY? Within which file can per-user default settings be created for the dig command? Which type of DNS record is used for specifying a POP3 server? Which of the following iproute2 commands changes the address of device eth0 to 192.168.1.1 with netmask 255.255.255.0? Which command is used to show the settings for DNS resolution with systemd-resolved? Which of the following commands enables NetworkManager so that it can be used to configure Ethernet and Wi-Fi network devices? You are troubleshooting a DNS problem using the dig command and receive a status: NXDOMAIN message. Which of the following best describes what NXDOMAIN means? Which systemd daemon can be used to manage network interfaces through systemd? Which command for hostnamectl can be used to set the hostname? On which port does IMAP over SSL (IMAPS) listen? When you’re looking to parse the output of the ip command, which option can you set to remove newlines so that the output can be piped to the grep command?