Which command is used to manually assign an IP address to a network interface?
CORRECT TEXT
Which command is used to manually assign an IP address to a network interface? (Specify ONLY
the command without any path or parameters.)
Which of the following files is consulted when programs like netstat try to match port numbers to names?
Which of the following files is consulted when programs like netstat try to match port numbers to
names?
Which of the following statements is valid in the file /etc/resolv.conf?
Which of the following statements is valid in the file /etc/resolv.conf?
Which of the following is a correct entry in the /etc/hosts file?
Which of the following is a correct entry in the /etc/hosts file?
What is the assigned port number for the HTTP service?
CORRECT TEXT
What is the assigned port number for the HTTP service? (Specify the port number using digits.)
What is the purpose of the dig command?
What is the purpose of the dig command?
which file will be queried first for hostname lookups?
CORRECT TEXT
Given the following line from /etc/nsswitch.conf:
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
By default, which file will be queried first for hostname lookups? (Specify the full name of the file,
including path.)
which of the following happens?
When issuing the command ifconfig eth0 192.168.1.20/24 up, which of the following happens?
(Choose TWO correct answers.)
What is the name of the file that defines the sources (like DNS or local configuration files) and the order in
CORRECT TEXT
What is the name of the file that defines the sources (like DNS or local configuration files) and the
order in which they are consulted when resolving hostnames? (Specify the full name of the file,
including path.)
Why does the command route add default gw 192.168.1.1 fail?
Given the following routing table
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.178.0 0.0.0.0 255.255.255.0 U 9 0 0 wlan0
Why does the command route add default gw 192.168.1.1 fail?