6. Introduction to the Internet Protocol 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  1. 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  1. 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
    e. 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  1. 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  1. You need to log in to a Unix/Linux server across a network that is not secure. Which of the following protocols will allow you to remotely administer 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  1. 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  1. Which of the following describe the DHCP discover message? (choose two)
    a. It uses FF:FF:FF:FF:FF:FF as a layer two 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 two broadcast is all F’s 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
  1. 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
  1. Which statements are true regarding ICMP packets? (choose two)
    a. They acknowledge the 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).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
  1. Which of the following services use TCP? (choose four)
    a. DHCP
    b. SMTP
    c. SNMP
    d. FTP
    e. HTTP
    f. TFTP
A

b, c, d, e. SMTP, SNMP, FTP and HTTP are connection oriented and use TCP.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
  1. Which of the following services uses 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
  1. 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
  1. Which of the following protocols is used by email servers to exchange messages with each other?
    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 servers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
  1. 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
  1. 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?
    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 on network devices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
  1. You need to transfer files between two hosts. Which protocol can you use?
    a. SNMP
    b. RIP
    c. NTP
    d. FTP
A

d. File Transfer Protocol (FTPA) can be used to transfer files between two systems.

17
Q
  1. What layer in the IP stack is equivalent to the Transport layer of the OSI model?
    a. Application
    b. Host-to-host
    c. Internet
    d. Network Access
A

b. The four layers of the IP stack (also called the DoD model) are Application/Process, Host-to-Host, Internet and Network Access. The Host-to-host layer is equivalent of the transport layer in the OSI model.

18
Q
  1. You need to make sure that the time is consistent across all your network devices. What protocol do you need to run on your network?
    a. FTP
    b. SCP
    c. NTP
    d. RTP
A

c. Network Time Protocol will ensure a consistent time across network devices on the network.

19
Q
  1. Which of the following allows a server to distinguish among different simultaneous requests from the same host?
    a. They use different port numbers
    b. A NAT server changes the IP address for subsequent requests
    c. A server is unable to accept multiple simultaneous sessions from the same host. One session must end before another can begin.
    d. The MAC address of each one is unique.
A

a. Through the use of port numbers, TCP and UDP can establish multiple sessions between the same two hosts without creating any confusion. The sessions can be between the same or different applications, such as multiple web browsing sessions or a web browsing session and an FTP session.

20
Q
  1. Which of the following uses both TCP and UDP?
    a. FTP
    b. SMTP
    c. Telnet
    d. DNS
A

d. DNS uses TCP for zone exchanges between servers and UDP when a client is trying to resolve a host name to an IP address.