Exercise: Tcp Ip
Questions for: Tcp Ip
Which layer 4 protocol is used for a Telnet connection?
A:
IP
B:
TCP
C:
TCP/IP
D:
UDP
Answer: B
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.
Which of the following are layers in the TCP/IP model?
- Application
- Session
- Transport
- Internet
- Data Link
- Physical
A:
1 and 2
B:
1, 3 and 4
C:
2, 3 and 5
D:
3, 4 and 5
Answer: B
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).
Discuss About this Question.
Which statements are true regarding ICMP packets?
- They acknowledge receipt of a TCP segment.
- They guarantee datagram delivery.
- They can provide hosts with information about network problems.
- They are encapsulated within IP datagrams.
A:
1 only
B:
2 and 3
C:
3 and 4
D:
2, 3 and 4
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).
Discuss About this Question.
Which of the following is the decimal and hexadecimal equivalents of the binary number 10011101?
A:
155, 0x9B
B:
157, 0x9D
C:
159, 0x9F
D:
185, 0xB9
Answer: B
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.
Hexadecimal is a base-16 number system. The values of hexadecimal are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F-16 characters total, from which to create all the numbers you'll ever need. So, if 1001 in binary is 9, then the hexadecimal equivalent is 9. Since we then have 1101, which is 13 in binary, the hexadecimal answer is D and the complete hexadecimal answer is 0x9D.
Discuss About this Question.
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: 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.
Discuss About this Question.
Ad Slot (Above Pagination)
Discuss About this Question.