Top

TCP/IP

1.

Which of the following describe the DHCP Discover message?

1.It uses FF:FF:FF:FF:FF:FF as a layer 2 broadcast.

2.It uses UDP as the Transport layer protocol.

3.It uses TCP as the Transport layer protocol.

4.It does not use a layer 2 destination address.

Answer: 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.

Enter details here

2.

Which of the following protocols uses both TCP and UDP?

Answer: D

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

Enter details here

3.

Which class of IP address provides a maximum of only 254 host addresses per network ID?

Answer: C

A Class C network address has only 8 bits for defining hosts: 28 - 2 = 254.

Enter details here

4.

What layer in the TCP/IP stack is equivalent to the Transport layer of the OSI model?

Answer: B

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

Enter details here

5.

If you use either Telnet or FTP, which is the highest layer you are using to transmit data?

Answer: A

Both FTP and Telnet use TCP at the Transport layer; however, they both are Application layer protocols, so the Application layer is the best answer.

Enter details here

6.

Which of the following services use TCP?

1.DHCP

2.SMTP

3.HTTP

4.TFTP

5.FTP

Answer: B

SMTP, HTTP and FTP use TCP.

Enter details here

7.

Which statements are true regarding ICMP packets?

1.They acknowledge receipt of a TCP segment.

2.They guarantee datagram delivery.

3.They can provide hosts with information about network problems.

4.They are encapsulated within IP datagrams.

Answer: C

Internet Control Message Protocol (ICMP) is used to send error messages through the network, but they do not work alone. Every segment or ICMP payload must be encapsulated within an IP datagram (or packet).

Enter details here

8.

The DoD model (also called the TCP/IP stack) has four layers. Which layer of the DoD model is equivalent to the Network layer of the OSI model?

Answer: C

The four layers of the DoD model are Application/Process, Host-to-Host, Internet, and Network Access. The Internet layer is equivalent to the Network layer of the OSI model.

Enter details here

9.

What protocol is used to find the hardware address of a local device?

Answer: B

Address Resolution Protocol (ARP) is used to find the hardware address from a known IP address.

Enter details here

10.

Which of the following are TCP/IP protocols used at the Application layer of the OSI model?

1.IP

2.TCP

3.Telnet

4.FTP

5.TFTP

Answer: C

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.

Enter details here

Loading…
Tags: TCP/IP Questions and Answers || TCP/IP MCQ Questions and Answers || TCP/IP GK Questions and Answers || TCP/IP GK MCQ Questions || TCP/IP Multiple Choice Questions and Answers || TCP/IP GK || GK on TCP/IP || Computer Networking Questions and Answers || Computer Networking MCQ Questions and Answers || Computer Networking GK Questions and Answers || GK on Computer Networking