Which of the following statements is valid in the file /etc/nsswitch.conf?
Correct Answer: E
In the /etc/nsswitch.conf file, the statement 'hosts: files dns' is valid. This configuration determines the order in which the system should look up hostname information. 'files' typically refers to the local /etc/hosts file, and 'dns' refers to querying the DNS server.
Which of the following connection types, as seen in nmcli connection show, may exist in NetworkManager? (Choose three.)
Correct Answer: BCE
The valid connection types for NetworkManager include ethernet, wifi, and bridge. Ethernet is a common wired network connection. Wifi is the standard wireless network connection type. Bridge connections are used to connect two or more network interfaces together, allowing for network bridging. Tcp and ipv6, on the other hand, are protocols and not considered connection types in nmcli.
On a Linux workstation, the route command takes a long time before printing out the routing table. Which of the following errors does that indicate?
Correct Answer: E
When the route command takes a long time to print out the routing table on a Linux workstation, it likely indicates a problem with DNS resolution. By default, the route command attempts to resolve the names of routers and destinations to provide more readable output. If DNS resolution is not working properly, the command may experience timeouts while trying to lookup these names, leading to a delay in displaying the routing table. This can be bypassed by using the '-n' option with the route command, which tells it not to perform DNS lookups.
What is true about the Hop Limit field in the IPv6 header?
Correct Answer: D
The Hop Limit field in the IPv6 header is similar to the Time to Live (TTL) field in the IPv4 header. Its primary function is to prevent packets from circulating endlessly in the network. Each router that forwards the packet decreases the value of the Hop Limit field by one. If the Hop Limit field reaches zero, the packet is discarded, ensuring it does not loop indefinitely.
Which of the following nmcli subcommands exist? (Choose two.)
Correct Answer: BE
The nmcli tool uses various subcommands to control and report on network connections and devices. Among the options provided, 'nmcli device' allows you to manage and display the status of network devices, while 'nmcli connection' helps to create, display, edit, delete, activate, and deactivate network connections. These are established subcommands used in the nmcli command-line tool.