Midterm exam Flashcards
Typically, a network service is a running daemon (e.g., a thread/process). Such a daemon listens for network traffic on a particular _______, which is associated with the service.
Port number
The TCP/IP address of 127.0.0.1 is commonly referred to as the __________.
loopback address
Which of the following devices forwards data (IP) packets from an internal subnet to an external router?
Gateway
Which of the following commands can be used to modify the route table on a Linux computer?
IP
route
The line that configures the hostname for a Fedora Linux machine at boot time can be found in which of the following files?
/etc/hostname
Which of the following can be used to resolve a hostname to the IP address? (Choose all that apply.)
DNS service
/etc/hosts
Which file holds the methods to be used and the order in which they will be applied for host name resolution?
/etc/nsswitch.conf
Which of the following commands can be used to send data to a specific port on a server from a client.
netcat
Which of the following utilities can be used to download data/file from a web link?
wget
curl
Which of the following directories stores the connection profiles for NetworkManager?
/etc/NetworkManager/system-connections/
Which of the following can be used to change the hostname of a linux server
nmcli
hostnamectl
Which of the following can be used to store the DNS server’s IP address?
/etc/resolv.conf
Assume that each lab has 31 hosts. If each lab needs to have its own subnet, what is the minimum number of bits required for the subnet mask?
26
Suppose you have 360 hosts and want to have no more than 60 hosts per subnet. How many class C addresses would you need? How many subnets would you have left over from your allocation?
2,2
Which of the following can be a function of the DHCP service?
Provide the DNS server address to a DHCP client
Provide the gateway address to a DHCP client
Which of the following are optional in the DHCP lease process?
DHCPDISCOVER
DHCPOFFER
DHCP stands for Dynamic host configuration protocol as a result it only assigns dynamic IP address to clients but not static IP addresses
false