Ch. 6 Flashcards
1
Q
1. The OSI model has seven layers and the DoD has four. At which layer does SMTP work in both models? A. Network B. Transport C. Session D. Application E. Internet
A
- D. SMTP resides at the Application layer of the OSI and DoD models.
2
Q
2. You need to have secure communications using HTTPS. What port number is used by default? A. 69 B. 23 C. 21 D. 443
A
- D. HTTPS, or Secure HTTP, uses port 443 by default.
3
Q
3. You want to implement a mechanism that automates the IP configuration, including IP address, subnet mask, default gateway, and DNS information. Which protocol will you use to accomplish this? A. SMTP B. SNMP C. DHCP D. ARP
A
- C. Dynamic Host Configuration Protocol (DHCP) is used to provide IP information to hosts on your network. DHCP can provide a lot of information, but the most common is IP address, subnet mask, default gateway, and DNS information.
4
Q
4. What protocol is used to find the hardware address of a local device? A. RARP B. ARP C. IP D. ICMP E. BootP
A
- B. Address Resolution Protocol (ARP) is used to find the hardware address from a known IP address.
5
Q
5. You need to log in to a Unix server across a network that is not secure. Which of the following protocols will allow you to remotely administrator this server securely? A. Telnet B. SSH C. SFTP D. HTTP
A
- B. Secure Shell (SSH) allows you to remotely administer router, switches, and even servers securely.
6
Q
6. If you can ping by IP address but not by hostname, or FQDN, which of the following port numbers is related to the server process that is involved? A. 21 B. 23 C. 53 D. 69 E. 80
A
- C. The problem is with DNS, which uses both TCP and UDP port 53.
7
Q
- Which of the following describe the DHCP Discover message? (Choose two.)
A. It uses FF:FF:FF:FF:FF:FF as a Layer 2 broadcast.
B. It uses UDP as the Transport layer protocol.
C. It uses TCP as the Transport layer protocol.
D. It does not use a Layer 2 destination address.
A
- A, B. A client that sends out a DHCP Discover message in order to receive an IP address sends out a broadcast at both Layer 2 and Layer 3. The Layer 2 broadcast is all Fs in hex, or FF:FF:FF:FF:FF:FF. The Layer 3 broadcast is 255.255.255.255, which means all networks and all hosts. DHCP is connectionless, which means it uses User Datagram Protocol (UDP) at the Transport layer, also called the Host-to-Host layer.
8
Q
8. What Layer 4 protocol is used for a Telnet connection, and what is the default port number? A. IP, 6 B. TCP, 21 C. UDP, 23 D. ICMP, 21 E. TCP, 23
A
- E. Telnet uses TCP at the Transport layer with a default port number of 23.
9
Q
- Which statements are true regarding ICMP packets? (Choose two.)
A. They acknowledge receipt of a TCP segment.
B. They guarantee datagram delivery.
C. They can provide hosts with information about network problems.
D. They are encapsulated within IP datagrams.
E. They are encapsulated within UDP datagrams.
A
- C, D. Internet Control Message Protocol (ICMP) is used to send error messages through the network, but ICMP does not work alone. Every segment or ICMP payload must be encapsulated within an IP datagram (or packet).
10
Q
10. Which of the following services use TCP? (Choose three.) A. DHCP B. SMTP C. SNMP D. FTP E. HTTP F. TFTP
A
- B, D, E. SMTP, FTP, and HTTP use TCP.
11
Q
11. Which of the following services use UDP? (Choose three.) A. DHCP B. SMTP C. SNMP D. FTP E. HTTP F. TFTP
A
- A, C, F. DHCP, SNMP, and TFTP use UDP. SMTP, FTP, and HTTP use TCP.
12
Q
12. Which of the following TCP/IP protocols are used at the Application layer of the OSI model? (Choose three.) A. IP B. TCP C. Telnet D. FTP E. TFTP
A
- C, D, E. Telnet, File Transfer Protocol (FTP), and Trivial FTP (TFTP) are all Application layer protocols. IP is a Network layer protocol. Transmission Control Protocol (TCP) is a Transport layer protocol.
13
Q
13. Which of the following protocols is used by email servers to exchange messages with one another? Choose all that appply. A. POP3 B. IMAP C. SMTP D. HTTP
A
- C. SMTP is used by a client to send mail to its server and by that server to send mail to another server. POP3 and IMAP are used by clients to retrieve their mail from the server that stores it until it is retrieved. HTTP is only used with web-based mail services.
14
Q
14. You need to have a connection to run applications that are installed on only your desktop computer at your office. Which protocol will provide a GUI interface to your work computer? A. Telnet B. FTP C. RDP D. IMAP E. SMTP
A
- C. Remote Desktop Protocol (RDP) allows you to connect to a remote computer and run programs, as Telnet does. However, the large advantage that RDP has over Telnet is that RDP allows you to have a GUI interface connection.
15
Q
15. Which of the following protocols can use TCP and UDP, permits authentication and secure polling of network devices, and allows for automated alerts and reports on network devices? Choose all that appply. A. DNS B. SNMP C. SMTP D. TCP
A
- B. Simple Network Management Protocol is typically implemented using version 3, which allows for a connection-oriented service, authentication and secure polling of network devices, and alerts and reports on network devices.