Network Daemons  «Prev  Next»

TCP IP Conclusion - Quiz

Each question is worth one point. Select the best answer for each question, then click Submit.

 
1. Which two transport-layer protocols are used in the TCP/IP suite for client/server communication?
Please select the best answer.
  A. The Network Time Protocol (NTP) and the User Datagram Protocol (UDP)
  B. The Network News Transport Protocol (NNTP) and the User Datagram Protocol (UDP)
  C. The User Datagram Protocol (UDP) and the Transmission Control Protocol (TCP)
  D. The Transmission Control Protocol (TCP) and the Network Time Protocol (NTP)

2. Where would you find a list of conventional names for TCP/IP services and associated well-known port numbers?
Please select the best answer.
  A. In the file /etc/services
  B. In the file /etc/inetd.conf
  C. In the file /etc/hosts
  D. In the nsswitch.conf file

3. On a legacy system using inetd, users cannot telnet into a server and TCP port 23 is not listening. Which file would you edit to enable the telnet service through inetd?
Please select the best answer.
  A. /etc/services
  B. /etc/inetd.conf
  C. /var/log/messages
  D. /var/rpcbind

4. What is the purpose of the protocol field in an inetd.conf service definition?
Please select the best answer.
  A. To display the name of the service the line controls
  B. To display the user ID that will own the server process started by inetd
  C. To specify whether the service uses TCP or UDP
  D. To display any arguments to the server started by inetd

5. What is the purpose of the Remote Procedure Call (RPC) protocol?
Please select the best answer.
  A. To verify that the rpcbind process is running on a machine
  B. To allow a program to call procedures on one machine that execute on a remote machine
  C. To perform bulk data transfer across the Internet
  D. To convert between IP addresses and host names across the Internet

6. What is the chief difference between iterative and concurrent servers?
Please select the best answer.
  A. An iterative server handles one request at a time; a concurrent server can handle multiple clients (forking, threading, or async I/O).
  B. An iterative server uses TCP, and a concurrent server uses UDP.
  C. A concurrent server handles one request at a time; an iterative server handles multiple clients concurrently.
  D. An iterative server uses UDP, and a concurrent server uses TCP.

7. You try to connect to an FTP server but cannot. What are the well-known port numbers for FTP (control and data)?
Please select the best answer.
  A. 23 and 512
  B. 23 and 21
  C. 512 and 513
  D. 20 and 21

8. What is the purpose of the ls command when using FTP?
Please select the best answer.
  A. To change the directory on a remote machine
  B. To transfer a file from a local machine to a remote machine
  C. To list the directory on a remote machine
  D. To change the directory on a local machine