tcpip_questions_Sans Institute
tcpip_questions_Sans Institute
should note that these courses require pre-existing knowledge of basic concepts relating to the
TCP/IP protocol suite.
We encourage students who are considering attending any of the courses listed above to test
their understanding of the prerequisite material using the following quiz.
Read the following questions, note your answers, and then check your results against the
answer sheet provided. While this quiz alone cannot completely measure a student’s readiness,
it should be used as a guide to estimate your preparedness and help you get the most out of
your SANS course.
10. A Class B address has 8 bits to represent the network address and 24 bits to represent the host
address. (T/F)
Answer:_____
11. How does a host that has sent TCP data know that the data has been received?
a) an acknowledgement from the receiver
b) an ICMP echo request from the receiver
c) an ICMP data received from the receiver
d) a SYN/ACK from the receiver
Answer:_____
12. The netmask tells a host what address bits identify the network and what address bits identify the
host. (T/F)
Answer:_____
18. Hosts typically know how to route a packet using a default router. (T/F)
Answer:_____
20. The gethostbyname and gethostbyaddr functions are associated with routing. (T/F)
Answer:_____
21. Which of the following best characterizes TCP versus UDP in most cases?
a) TCP is less reliable and quicker
b) TCP is slower, more reliable and requires more overhead
c) TCP is faster, more reliable and more streamlined
d) TCP is less reliable and connection-oriented
Answer:_____
22. Some top-level DNS domains are .com, .edu, and .mil. (T/F)
Answer:_____
26. The only IP protocols are ICMP, TCP, and UDP. (T/F)
Answer:_____
27. When examining the headers of packets displayed with tcpdump, counting begins with:
a) byte 0
b) byte 1
c) hexadecimal byte 10
d) hexadecimal byte 16
Answer:_____
28. Trusted or "well-known" port numbers are less than 1024. (T/F)
Answer:_____
32. The client sends a RESET to the server to indicate its desire to reopen a half closed session. (T/F)
Answer:_____
34. Because TCP is full duplex both the client and server have to initiate a FIN to close their connection
gracefully. (T/F)
Answer:_____
36. When tcpdump is displayed in hexadecimal you see the entire datagram captured by tcpdump if the
snapshot length (snaplen) parameter is larger than the datagram size. (T/F)
Answer:_____
37. In the tcpdump output shown below, what does 09:32:43:9100000 represent?
39. In the tcpdump output shown below, what does 1173 represent?
40. A value of 6 in the byte 9 of the IP header means that the embedded protocol is TCP. (T/F)
Answer:_____
41. In the tcpdump output shown below, what does dns.net represent?
43. In the tcpdump output shown below, what does the "S" indicate?
44. The tcpdump -s option can change the number of bytes collected. (T/F)
Answer:_____
45. In the tcpdump output shown below, what does 62697789 represent?
46. If a tcpdump record is UDP, tcpdump will always display "UDP" in the output. (T/F)
Answer:_____
47. In the tcpdump output shown below, what does the (0) indicate?
48. The three-way handshake requires the following sequence of flags in the first three exchanges:
record 1: SYN/ACK record 2: SYN record 3: ACK (T/F)
Answer:_____
49. What embedded protocol is used in the tcpdump record shown below?
a) ICMP
b) TCP
c) UDP
d) DNS
Answer:_____
52. Two ways to terminate a TCP session are ICMP echo request and ICMP echo reply. (T/F)
Answer:_____
Answer:_____
55. The field that is 9 bytes offset into the IP header is:
a) the embedded IP protocol
b) the destination IP address
c) the source IP address
d) the destination port
Answer:_____
56. The server port in the tcpdump output shown below is 1173. (T/F)
Answer:_____
58. The client port in the tcpdump output shown below is 1173. (T/F)
Answer:_____
59. A server response with the RESET and ACK flags set to an attempted client connection means:
a) the server host is not alive
b) the attempted TCP port connection to the server is listening
c) the attempted TCP port connection to the server is not listening
d) the attempted UDP port connection to the server is not listening
Answer:_____
60. The window size for dns.net in the tcpdump output shown below is 512. (T/F)
Answer:_____