Ch. 2 Flashcards
1
Q
1. Host 1 sent a SYN packet to Host 2. What will Host 2 send in response? A. ACK B. NAK C. SYN-ACK D. SYN-NAK E. SYN
A
- C. A connection-oriented session is set up using what is called a three-way handshake. The transmitting host sends a SYN packet, the receiving host sends a SYN-ACK, and the transmitting host replies with the last ACK packet. The session is now set up.
2
Q
2. TCP and UDP reside at which layer of the OSI model? A. 1 B. 2 C. 3 D. 4
A
- D. TCP and UDP are Transport layer protocols. The Transport layer is Layer 4 of the OSI model.
3
Q
3. Which layer of the OSI model provides a user interface in the form of an entry point for programs to access the network infrastructure? A. Application B. Transport C. Network D. Physical
A
- A. The top layer of the OSI model gives applications access to the services that allow network access.
4
Q
4. You are connected to a server on the Internet and you click a link on the server and receive a time-out message. What layer could be the source of this message? A. Application B. Transport C. Network D. Physical
A
- A. If the remote server is busy or does not respond to your web browser request, this is an Application layer problem.
5
Q
5. Which layer of the OSI model is responsible for code and character-set conversion as well as recognizing data formats? A. Application B. Presentation C. Session D. Network
A
- B. The Presentation layer makes data “presentable” for the Application layer.
6
Q
6. At which layers of the OSI model do bridges, hubs, and routers primarily operate, respectively? A. Physical, Physical, Data Link B. Data Link, Data Link, Network C. Data Link, Physical, Network D. Physical, Data Link, Network
A
- C. Bridges, like switches, are Data Link layer devices. Hubs, like repeaters, are Physical layer devices. Routers are Network layer devices.
7
Q
7. Which layer of the OSI model is responsible for converting data into signals appropriate for the transmission medium? A. Application B. Network C. Data Link D. Physical
A
- D. The Physical layer’s job is to convert data into impulses that are designed for the wired or wireless medium being used on the attached segment.
8
Q
8. A receiving host has failed to receive all the segments that it should acknowledge. What can the host do to improve the reliability of this communication session? A. Send a different source port number. B. Restart the virtual circuit. C. Decrease the sequence number. D. Decrease the window size.
A
- D. A receiving host can control the transmitter by using flow control (TCP uses windowing by default). By decreasing the window size, the receiving host can slow down the transmitting host so the receiving host does not overflow its buffers.
9
Q
9. Which Layer 1 devices can be used to enlarge the area covered by a single LAN segment? (Choose two.) A. Firewall B. NIC C. Hub D. Repeater E. RJ-45 transceiver
A
- C, D. Not that you really want to enlarge a single collision domain, but a hub (multiport repeater) will provide this functionality for you.
10
Q
10. Segmentation of a data stream happens at which layer of the OSI model? A. Physical B. Data Link C. Network D. Transport
A
- D. The Transport layer receives large data streams from the upper layers and breaks these up into smaller pieces called segments.
11
Q
11. When data is encapsulated, which is the correct order? A. Data, frame, packet, segment, bits B. Segment, data, packet, frame, bits C. Data, segment, packet, frame, bits D. Data, segment, frame, packet, bits
A
- C. The encapsulation order is data, segment, packet, frame, bits.
12
Q
12. What are two purposes for segmentation with a bridge? A. To add more broadcast domains B. To create more collision domains C. To add more bandwidth for users D. To allow more broadcasts for users
A
- B, C. Bridges and switches break up collision domains, which allow more bandwidth for users.
13
Q
13. Acknowledgments, sequencing, and flow control are characteristic of which OSI layer? A. Layer 2 B. Layer 3 C. Layer 4 D. Layer 7
A
- C. A reliable Transport layer connection uses acknowledgments to make sure all data is received reliably. A reliable connection is defined by the use of acknowledgments, sequencing, and flow control, which is characteristic of the Transport layer (Layer 4).
14
Q
- Which if the following is true regarding sequencing and acknowledgments?
A. The segments delivered are acknowledged back to the sender upon their reception.
B. If a segment is not received, the virtual circuit must be restarted from the beginning at a slower transmit interval.
C. Any segments not acknowledged are retransmitted.
D. Segments are sequenced back into their proper order upon arrival at their destination.
E. All segments are retransmitted on time slot intervals.
A
- A, C, D. When using sequencing and acknowledgments, the segments delivered are acknowledged back to the sender upon their reception. At this point, any segments not acknowledged are retransmitted, and segments are sequenced back into their proper order upon arrival at their destination.
15
Q
- What is the purpose of flow control?
A. To ensure that data is retransmitted if an acknowledgment is not received
B. To reassemble segments in the correct order at the destination device
C. To provide a means for the receiver to govern the amount of data sent by the sender
D. To regulate the size of each segment
A
- C. Flow control allows the receiving device to control the pace of the transmitting device so the receiving device’s buffer does not overflow.