LX0-104 Flashcards - Networking Fundamentals
What can be stored in the dhcpd.conf file?
a list of IP addresses leased to the DHCP clients
A client reports that he is having a problem communicating on the network. You discover that the computer is configured with a static IP address. However, you want the Linux computer to be assigned a dynamic IP address. Which command should you use?
dhcpcd
What is one of the functions of the netstat command?
displaying information regarding open sockets
What is NOT a function of the netstat command?
displaying the route taken by data packets to reach a network host
What is NOT an FTP configuration file?
ftpd
Which command is used to determine whether network interfaces are up and running?
ifconfig
A Linux administrator wants to move a Linux computer to a different subnet. Which command should the administrator issue to assign a new IP address and subnet mask to the system through the CLI mode?
ifconfig eth0 192.168.0.9 netmask 255.255.0.0
Which parameter should be used with the netstat command to view a list of the listening and nonlistening sockets?
-a
Which is NOT a valid parameter to be used with the route command?
-network
What is the network prefix that is used to denote an unsubnetted Class C IPv4 address?
/24
Observe the following entry: ALL: .samplewebsite.com EXCEPT myserver.samplewebsite.com In which file will this entry NOT be found?
/etc/hosts
You need to restart the Linux network service on a Debian Linux computer. Which command should you use?
/etc/init.d/networking restart
When queried, which file will specify the order in which to resolve a domain name?
/etc/nsswitch.conf
Which file is used to configure the host name of the Linux system?
/etc/sysconfig/network
Which file should be updated if a route for wlan0 is deleted?
/etc/sysconfig/network-scripts/route-wlan0
Which private IP address range is the Automatic Private IP Addressing (APIPA) range?
169.254.0.0 through 169.254.255.255
What is the base network ID for the address 196.11.200.71/18?
196.11.192.0
A Linux administrator is troubleshooting a computer with an IP address of 192.168.10.240/29 and a default gateway of 192.168.10.1. The computer is able to communicate with all hosts on its own subnet, Subnet 1. However, when it attempts to communicate with computers on the 192.168.1.0/24 subnet, Subnet 2, communication fails. All the other computers on Subnet 1 can communicate with the computers on Subnet 2. The default gateway on the computer experiencing the problem is 192.168.10.1. The default gateway on Subnet 2 is 192.168.1.1. What should the administrator do to the computer that is having communication problems?
Change the subnet mask to 255.255.255.0.
A user knows a server's IP address but does not know its hostname. When the user performs the lookup using the host command, the user receives a not found message. You need to ensure users are able to lookup the server hostnames using their IP addresses. What should you do?
Create a pointer (PTR) record for the server in the reverse lookup zone.
You have been asked to implement a protocol that will manage the fully qualified domain name (FQDN) to IP address mappings. Which protocol should you implement?
DNS
Sally, a Linux administrator, changes the IP address of a host. Sally then changes the relevant A record in the DNS zone file and restarts the named service. However, queries for the server's IP address continue to receive the server's old IP address. Why is the problem occurring?
Sally has forgotten to increment the Serial number parameter in the zone file.
A system administrator issues the ifconfig eth0 down command. What will be the result of the command?
The eth0 network interface will be temporarily disabled.
A system administrator issues the dig -t MX kaplanit.com command. What will be the outcome of the command?
The presence of kaplanit.com's mail exchange DNS records will be checked.
A user loads a driver module for the Ethernet card eth0 on a Linux system. The user verifies the eth0 configuration by issuing the ifconfig eth0 command on the system but does not see any change in the network configuration. What could be a possible cause of the error?
The user did not restart the network services on the system.
You install a second NIC in your Linux computer, then log on to the computer as root. You want to configure the new NIC with the IP address 192.168.0.1 and the subnet mask 255.255.255.0.
ifconfig eth1 192.168.0.1 netmask 255.255.255.0 up
Which parameter is enabled by default when an Ethernet card is configured using the ifconfig command?
multicast
Which TCP/IP utility displays the current protocol statistics and port connections for Windows and UNIX/Linux computers?
netstat
A system administrator wants to see the network statistical information on each network protocol being used by a Linux server. Which command should the system administrator use?
netstat -s
Which tool or protocol uses Internet Control Message Protocol (ICMP)?
ping
Which command will ping the IP address 192.168.1.10 ten times?
ping -c 10 192.168.1.10
Which port is used by Postfix for e-mail transfer?
port 25
Which port is used by SMTP?
port 25
Which command will remove the default gateway, 192.168.0.1, in Linux?
route del default gw 192.168.0.1
Which command will allow an administrator to change the Samba password?
smbpasswd
Which statement describes the contents of the resolv.conf file?
stores the IP address of the name servers
What is the function of the rarp command?
to perform a reverse lookup of an IP address
You are the network administrator for your company. You are in the process of verifying the configuration of the network devices to ensure smooth network connectivity. You want information on the routes taken by packets from a Linux server that serves as a router so that you are able to identify the network points where packets are being dropped. Which command should you use to accomplish this task in the most efficient manner?
traceroute
Michael, a Linux administrator, wants to enable Telnet on the Linux system. To do this, Michael makes the desired changes to the Telnet configuration file. Which service should Michael restart to reflect the changes made to the configuration file?
xinetd