Quiz
Libro T8 - Configuring Basic Networking
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (20)
1Which types of network hardware does Linux support? (Select three.)
- AA. Token Ring
- BB. Ethernet
- CC. DHCP
- DD. NetBEUI
- EE. Fibre Channel
2Which of the following is a valid IPv4 address for a single computer on a TCP/IP network?
- AA. 202.9.257.33
- BB. 63.63.63.63
- CC. 107.29.5.3.2
- DD. 98.7.104.0/24
- EE. 255.255.255.255
3You want to set up a computer on a local network via a static TCP/IP configuration, but
you lack a gateway address. Which of the following is true?- AA. Because the gateway address is necessary, no TCP/IP networking functions will work.
- BB. TCP/IP networking will function, but you’ll be unable to convert hostnames to IP
addresses or vice versa. - CC. You’ll be able to communicate with machines on your local network segment but not
with other systems. - DD. Since a gateway is needed only for IPv6, you’ll be able to use IPv4 but not IPv6
protocols. - EE. Without a gateway address available, you’ll be unable to use DHCP to simplify
configuration.
4Using a packet sniffer, you notice a lot of traffic directed at TCP port 22 on a local computer. What protocol does this traffic use, assuming it’s using the standard port?
- AA. HTTP
- BB. SMTP
- CC. Telnet
- DD. SSH
- EE. NNTP
5What network port would an IMAP server normally use for IMAP exchanges?
- AA. 21
- BB. 25
- CC. 110
- DD. 143
- EE. 443
6Which of the following are not Linux DHCP clients? (Select two.)
- AA. pump
- BB. dhcpcd
- CC. dhcpd
- DD. dhclient
- EE. ifconfig
7Which of the following types of information are returned by typing ifconfig eth0?
(Select two.)- AA. The names of programs that are using eth0
- BB. The IP address assigned to eth0
- CC. The hardware address of eth0
- DD. The hostname associated with eth0
- EE. The kernel driver used by eth0
8Which of the following programs is conventionally used to perform a DNS lookup?
- AA. host
- BB. dnslookup
- CC. pump
- DD. ifconfig
- EE. netstat
9Which of the following commands should you type to add to host 192.168.0.10 a default
gateway of 192.168.0.1?- AA. route add default gw 192.168.0.10 192.168.0.1
- BB. route add default gw 192.168.0.1
- CC. route add 192.168.0.10 default 192.168.0.1
- DD. route 192.168.0.10 gw 192.168.0.1
- EE. route host gw 192.168.0.1
10Which of the following commands might bring up an interface on eth1? (Select two.)
- AA. dhclient eth1
- BB. ifup eth1
- CC. ifconfig eth1
- DD. network eth1
- EE. netstat -up eth1
11What is the purpose of /etc/hostname, if it’s present on the system?
- AA. It holds the hostname of a package repository server.
- BB. It holds a list of servers that resolve hostnames.
- CC. It holds a list of IP addresses and associated hostnames.
- DD. It holds the hostname of the local gateway computer.
- EE. It holds the computer’s default hostname.
12Network accesses to parts of the Internet work fine, but several common sites have stopped
responding (even when addressed via raw IP addresses). Which of the following tools will
be most helpful in diagnosing the source of this problem?- AA. netstat
- BB. ping
- CC. traceroute
- DD. ifconfig
- EE. dig
13What value identifies an IPv6 address as a link-local address?
- AA. The address uses the MAC address of the system.
- BB. The address starts with fe80.
- CC. The address starts with fee.
- DD. The address starts with 2001.
14How can you learn what programs are currently accessing the network on a Linux system?
- AA. Type ifconfig -p eth0.
- BB. Examine /proc/network/programs.
- CC. Type netstat -p
- DD. Examine /etc/xinetd.conf.
- EE. Type dmesg | less.
15To diagnose a problem with an IMAP server (imap.example.com), you type telnet
imap.example.com 143 from a remote client. How can this procedure help you?
(Select two.)- AA. You can verify basic connectivity between the client computer and the server program.
- BB. By examining the output, you can locate intermediate routers that are misbehaving.
- CC. By using an encrypted protocol, you ensure that a packet-sniffing intruder doesn’t
cause problems. - DD. Once connected, you can type IMAP commands to test the server’s response to them.
- EE. Once you’ve logged into the remote system, you can examine its IMAP log files.
16You’re configuring a new system, and your network administrator scribbles its IP address
(172.25.78.89), netmask (255.255.255.0), gateway address (172.25.79.1), and DNS server
address (10.24.89.201) on a piece of paper. You enter this information into your configuration files and type ifup eth0, but you find that you can’t access the Internet with this
computer. Which of the following is definitely true?- AA. Because the DNS server is on a completely different network, it won’t function properly
for your system. You should ask for the local network’s DNS server’s IP address. - BB. The netmask identifies the gateway as being on a different network segment than the
computer you’re configuring, so the two can’t communicate directly. You most likely
misread one address. - CC. Because the IP addresses involved are private IP addresses, there’s no way for them to
access the Internet. You must ask for public IP addresses for this system or use only
your local private network. - DD. The computer’s IP address is a Class B address, but the netmask is for a Class C
address. This combination can’t work together, so you must obtain a new IP address or
netmask. - EE. The ifup utility works only for computers that use DHCP, so using a static IP address
as specified in the question won’t work correctly.
- AA. Because the DNS server is on a completely different network, it won’t function properly
17What is the purpose of the -n option to route?
- AA. It causes no operation to be performed; route reports what it would do if -n
were omitted. - BB. It precedes the specification of a netmask when setting the route.
- CC. It limits route’s output to descriptions of non-Internet routes.
- DD. It forces interpretation of a provided address as a network address rather than a
host address. - EE. It causes machines to be identified by IP address rather than hostname in output.
- AA. It causes no operation to be performed; route reports what it would do if -n
18What is the purpose of /etc/resolv.conf?
- AA. It holds the names of network protocols and the port numbers with which they’re
associated. - BB. It controls whether the computer’s network options are configured statically or via a
DHCP server. - CC. It specifies the IP address of a DHCP server from which the computer attempts to
obtain an IP address. - DD. It holds the routing table for the computer, determining the route that network packets
take to other computers. - EE. It sets the computer’s default search domain and identifies (by IP address) the name
servers that the computer may use.
- AA. It holds the names of network protocols and the port numbers with which they’re
19Which of the following entries are found in the /etc/hosts file?
- AA. A list of hosts allowed to access this one remotely
- BB. Mappings of IP addresses to hostnames
- CC. A list of users allowed to access this host remotely
- DD. Passwords for remote web administration
- EE. A list of port numbers and their associated protocols
20How can you reconfigure Linux to use DNS queries prior to consulting /etc/hosts?
- AA. Edit the /etc/resolv.conf file, and be sure the nameserver dns line comes before
the nameserver files line. - BB. As root, type nslookup dns.
- CC. Edit the /etc/named.conf file, and change the preferred-resolution option from
files to dns. - DD. Edit /etc/nsswitch.conf, and change the order of the files and dns options on the
hosts: line. - EE. As root, type dig local dns.
- AA. Edit the /etc/resolv.conf file, and be sure the nameserver dns line comes before
Information
- Description
- ✓ 109.1 Fundamentals of Internet protocols ✓ 109.2 Basic network configuration ✓ 109.3 Basic network troubleshooting ✓ 109.4 Configure client-side DNS
- Author
- Victor Rodriguez
- Language
- Español
- Views
- 19
- Tags
- Rating
- No ratings yet Rate this quiz
More on Network operating systems and configuration