Exercise I : Choose the right answer :
1- Which of the following are Application layer protocols that use TCP/IP? (Choose three)
A. ARP
B. HTTP
C. SMTP
D. FTP
2- Which protocol of the Transport Layer doesn’t ensure a reliable end-to-end delivery of data?
A. TCP
B. UDP
C. ARP
D. STP
3- What one of the following is an example of a layer 2 MAC address?
A. 192.201.63.251
B. 19-22-01-63-25
C. 0000.1234.FEG
D. 00-00-12-34-FE-AA
4- What can you use to connect a user’s PC to a switch?
A. Connect the PC's COM port to the switch’s console port using a straight-through cable
B. Connect the PC's Ethernet port to the switch’s Ethernet port using a crossover cable
C. Connect the PC's Ethernet port to the switch’s Ethernet port using a rollover cable
D. Connect the PC's Ethernet port to the switch’s Ethernet port using a straight-through cable
5- Which of the following devices operate at the Network Layer of the OSI Model?
A. HUB
B. Bridge
C. Switch
D. Router
6- Where does the encapsulation process take place?
A. Sender side
B. Receiver side
C. Hub side
D. Repeater side
7- Which three are examples of the functions of connection oriented services?(Choose three)
A. Connection parameters are synchronized.
B. Any loss or duplication of packets can be corrected.
C. The data packet is independently routed and the service does not guarantee the packet will be
processed in order.
D. A data communication path is established between the requesting entity and the peer device on the
remote end system.
8- What is the correct order of PDUs in data encapsulation?
A. Data, Frame, Packet, Segment, Bit
B. Data, Frame, Segment, Packet, Bit
C. Data, Packet, Frame, Segment, Bit
D. Data, Packet, Segment, Frame, Bit
E. Data, Segment, Frame, Packet, Bit
F. Data, Segment, Packet, Frame, Bit
9- If you take a dotted-decimal class A IP address such as 10.0.0.1 and convert the first octet to
binary. Which of the following is the correct bit pattern for the first octet?
A. 0xxxxxxx
B. 10xxxxxx
C. 110xxxxx
D. 1110xxxx
E. 11110xxx
10- What is the network address for a host with the IP address 10.230.80.77/18?
A. 10.230.60.0
B. 10.230.80.0
C. 10.230.0.0
D. 10.230.128.
E. 10.230.64.0
11- You need to segment your network which of the following hardware devices can you use to
segment your network? (Choose three)
A. Hub
B. Repeater
C. Switch
D. Bridge
E. Router
F. Media converter
Exercise 2:
The following figure shows a simple transfer of data between two hosts across the network.
The client requests an HTTP request from the server.
The WAN connection uses the PPP protocol.
1- We assume that a frame is sent from the client to the server
It is assumed that the frame is on the link between Router A and Router B
a) What is the source IP address encapsulated in this frame?
Solution: 10.1.1.1
b) What is the destination IP address encapsulated in this frame?
Solution: 192.0.3.7
c) For this frame to reach the server, which line must appear in the routing table of
“Router B”?
i) Destination address: 192.0.3.7, Next Hop: 192.168.1.5
ii) Destination address: 192.0.3.0, Next Hop: 192.168.1.6
iii) Destination address: 192.0.3.1, Next Hop: 192.168.1.6
iv) Destination address: 192.0.1.6, Next Hop: 192.168.1.5
2- This frame arrives at the link between Router A and the server
a) What source and destination MAC addresses will be used?
Solution: MAC Source: 00-08-A3-79-FF-23
MAC Destination: 00- 1D-17-67-45-FC
3- The previously mentioned frame reaches the server. It contains the Get request in the
Data Field
a) Which OSI Layer 4 protocol will be used in decapsulation?
Solution: TCP
b) The server responds to this request with the appropriate information.
What will be the source IP and destination IP addresses in the response sent from the
server to the client?
Solution: Source IP address: 192.0.3.7
Destination IP address: 10.1.1.1