Chapter 5 ( 3) Flashcards

1
Q

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

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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)

A

B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which segment is sent to establish a session in connection-oriented services?
a) ACK
b) FIN
c) SYN
d) RST

A

C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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

A

B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

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

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

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

A

B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

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

A

B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly