Which of The Following Services Use TCP? 1. DHCP 2. SMTP 3. HTTP 4. TFTP 5. FTP
Which of The Following Services Use TCP? 1. DHCP 2. SMTP 3. HTTP 4. TFTP 5. FTP
1.
A. 1 and 2
B. 2, 3 and 5
C. 1, 2 and 4
D. 1, 3 and 4
Answer: Option B
Solution:
SMTP, HTTP and FTP use TCP.
2.
B. Host-to-Host
C. Internet
D. Network Access
Answer: Option B
Solution:
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.
3.
A. 1 only
B. 1 and 2
C. 3 and 4
D. 4 only
Answer: Option B
Solution:
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 FF:FF:FF:FF:FF:FF, 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.
4.
A. SMTP
B. SNMP
C. DHCP
D. ARP
Answer: Option C
Solution:
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.
5.
A. 12.0.0.1
B. 168.172.19.39
C. 172.15.14.36
D. 192.168.24.43
Answer: Option D
Solution:
Class A private address range is 10.0.0.0 through 10.255.255.255. Class B private address range
is 172.16.0.0 through 172.31.255.255, and Class C private address range is 192.168.0.0 through
192.168.255.255.
6.
A. Gateway DP
Answer: Option C
Solution:
Proxy ARP can help machines on a subnet reach remote subnets without configuring routing or a
default gateway.
7.
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?
A. Application
B. Host-to-Host
C. Internet
D. Network Access
Answer: Option C
Solution:
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.
8.
A. 1, 3 and 6
B. 2 and 4
C. 1, 2 and 4
Answer: Option A
Solution:
DHCP, SNMP, and TFTP use UDP.
9.
B. Class B
C. Class C
D. Class D
Answer: Option C
Solution:
A Class C network address has only 8 bits for defining hosts: 2 - 2 = 254.
8
10.
If you use either Telnet or FTP, which is the highest layer you
are using to transmit data?
A. Application
B. Presentation
C. Session
D. Transport
Answer: Option A
Solution:
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.
11.
A. 155, 0x9B
B. 157, 0x9D
C. 159, 0x9F
D. 185, 0xB9
Answer: Option B
Solution:
To turn a binary number into decimal, you just have to add the values of each bit that is a 1. The values of 10011101
are 128, 16, 8, 4, and 1. 128 + 16 + 8 + 4 + 1 = 157.
A. 1 only
B. 2 and 3
C. 3 and 4
D. 2, 3 and 4
Answer: Option C
Solution:
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).
13.
A. 1 and 2
B. 1, 3 and 4
C. 2, 3 and 5
D. 3, 4 and 5
Answer: Option B
Solution:
This seems like a hard question at first because it doesn't make sense. The listed answers are
from the OSI model and the question asked about the TCP/IP protocol stack (DoD model).
However, let's just look for what is wrong. First, the Session layer is not in the TCP/IP model;
neither are the Data Link and Physical layers. This leaves us with the Transport layer (Host-to-
Host in the DoD model), Internet layer (Network layer in the OSI), and Application layer
(Application/Process in the DoD).
14.
A. IP
B. TCP
C. TCP/IP
D. UDP
Answer: Option B
Solution:
Although Telnet does use TCP and IP (TCP/IP), the question specifically asks about layer 4, and
IP works at layer 3. Telnet uses TCP at layer 4.
15.
A. 1 only
B. 2 and 3
C. 1 and 4
Answer: Option B
Solution:
ICMP is used for diagnostics and destination unreachable messages. ICMP is encapsulated
within IP datagrams, and because it is used for diagnostics, it will provide hosts with information
about network problems.
16.
A. 1 and 3
B. 1, 3 and 5
C. 3, 4 and 5
Answer: Option C
Solution:
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.
17.
A. RARP
B. ARP
C. IP
D. ICMP
Answer: Option B
Solution:
Address Resolution Protocol (ARP) is used to find the hardware address from a known IP
address.
18.
A. FTP
B. SMTP
C. Telnet
D. DNS
Answer: Option D
Solution:
DNS uses TCP for zone exchanges between servers and UDP when a client is trying to resolve a
hostname to an IP address.
19.
A. 01xxxxxx
B. 0xxxxxxx
C. 10xxxxxx
D. 110xxxxx
Answer & Solution Discuss in Board Save for Later
Answer: Option C
Solution:
The range of a Class B network address is 128-191. This makes our binary range 10xxxxxx.