Machine-translated by Google. Questions are authored in English.
Top

TCP/IP Questions and Answers

61.

Which of the following services use TCP?

1.DHCP

2.SMTP

3.HTTP

4.TFTP

5.FTP

Answer: B

Correct answer: 2, 3 and 5

SMTP, HTTP and FTP all use TCP, because each needs delivery guaranteed and in order - a mail message, a web page and a file transfer are all useless with pieces missing. DHCP and TFTP use UDP: DHCP because a client has no address yet and must broadcast, and TFTP because it implements its own simple acknowledgement scheme and was designed to be small enough to fit in boot ROM.

Please log in or register to report this question.

62.

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

Answer: B

Correct answer: Host-to-Host

The DoD model’s four layers map onto the OSI seven as follows: Application covers OSI layers 5 to 7, Host-to-Host corresponds to Transport, Internet to Network, and Network Access to Data Link and Physical. Host-to-Host is where TCP and UDP live, which is the practical way to remember it.

Please log in or register to report this question.

63.

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.

Please log in or register to report this question.

64.

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?

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

Please log in or register to report this question.

65.

Which of the following is private IP address?

Answer: D

Correct answer: 192.168.24.43

The private ranges defined by RFC 1918 are 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. Only the last option falls in one. The trap is 172.15.14.36, which is outside the private block - that range begins at 172.16 and ends at 172.31, so 172.15 and 172.32 are both public.

Please log in or register to report this question.

66.

Which of the following allows a router to respond to an ARP request that is intended for a remote host?

Answer: C

Correct answer: Proxy ARP

Proxy ARP lets a router answer an ARP request on behalf of a host on another network, supplying its own MAC address so that the sender forwards the frame to the router, which then routes it onward. It exists for hosts that have no default gateway configured or that believe the whole address range is local. RARP and inverse ARP work in the opposite direction, resolving an address from a known hardware or circuit identifier.

Please log in or register to report this question.

67.

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

Correct answer: Internet

The Internet layer of the DoD model corresponds to the Network layer of OSI, and it is where IP, ICMP, ARP and RARP operate - logical addressing and routing between networks. Host-to-Host is Transport, one layer above it, and Network Access covers the two OSI layers below.

Please log in or register to report this question.

68.

Which of the following services use UDP?

1.DHCP

2.SMTP

3.SNMP

4.FTP

5.HTTP

6.TFTP

Answer: A

Correct answer: 1, 3 and 6

DHCP, SNMP and TFTP all use UDP. Each has a reason: DHCP must broadcast before the client has an address, SNMP sends small independent polls and traps where a lost one can simply be repeated, and TFTP handles its own acknowledgements. SMTP, FTP and HTTP all need the reliable ordered stream that TCP provides.

Please log in or register to report this question.

69.

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

Answer: C

Correct answer: Class C

A Class C network uses 24 bits for the network and 8 for the host, giving \( 2^8 = 256 \) addresses of which two are reserved - the all-zeros network address and the all-ones broadcast - leaving 254 usable hosts. Class B gives 65,534 and Class A gives 16,777,214, while Class D is multicast and has no host portion at all.

Please log in or register to report this question.

70.

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

Answer: A

Correct answer: Application

Telnet and FTP are application layer protocols, and the Application layer is the highest in the OSI model, so that is the highest layer in use. The question is asking which layer the protocol itself occupies rather than which layers the data passes through - it passes through all seven on the way down.

Please log in or register to report this question.

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