Chapter 5 ( 3) Flashcards
Which of the following is not given to a client computer when it is first installed on a
TCP/IP network so that it has the appropriate routing/addressing information?
a. application layer address
b. subnet mask
c. its own IP address
d. IP address of its DNS server
e. IP address of a gateway, router, or a switch outside of its subnet
A
Which service is commonly used for transmitting data between computers in a connection-oriented manner?
a) User Datagram Protocol (UDP)
b) Transmission Control Protocol (TCP)
c) Internet Control Message Protocol (ICMP)
d) Hypertext Transfer Protocol (HTTP)
B
What is the primary difference between connection-oriented services via TCP and connectionless services via UDP?
a) TCP utilizes a three-way handshake, while UDP does not establish connections.
b) TCP utilizes a four-way handshake, while UDP establishes connections.
c) TCP does not guarantee packet delivery, while UDP ensures reliable delivery.
d) TCP is faster than UDP for transmitting data.
A
Which segment is sent to establish a session in connection-oriented services?
a) ACK
b) FIN
c) SYN
d) RST
C
How is the session closed in connection-oriented services?
a) With a RST segment
b) With a FIN segment
c) With an ACK segment
d) With a SYN segment
B
Which approach is used for handling HTTP packets in the old version?
a) Opening a connection for each HTTP request
b) Opening a connection only for the first HTTP request
c) Leaving the connection open for subsequent HTTP requests
d) Closing the connection after each HTTP request
A
What is the difference between the old and new versions of handling HTTP packets?
a) The old version opens a connection for each HTTP request, while the new version leaves the connection open for subsequent requests.
b) The old version leaves the connection open for subsequent HTTP requests, while the new version opens a connection for each request.
c) Both versions open a separate connection for each HTTP request.
d) Both versions leave the connection open for subsequent HTTP request
A
What happens to the Ethernet header when a packet passes through routers?
a) It is retained throughout the routing process
b) It is removed and replaced with a new Ethernet header for the next node
c) It is modified according to the routing table
d) It is encapsulated within the IP header
B
What happens to the IP packet during transit between nodes?
a) It is modified by each intermediate node
b) It remains unchanged, as created by the original sender and destroyed by the final receiver
c) It is encapsulated within new IP headers at each node
d) It is fragmented into smaller packets for routing purposes
B