Showing 1–10 of 100 questions
Which layer of the OSI model is responsible for routing packets across networks?
A
Network Layer (Layer 3)
B
Data Link Layer (Layer 2)
C
Transport Layer (Layer 4)
D
Application Layer (Layer 7)
Correct Answer:
A. Network Layer (Layer 3)
Explanation:
The Network Layer (Layer 3) handles routing, IP addressing, and logical addressing to move data across different networks using routers.
What is the primary function of the Data Link Layer in the OSI model?
A
Encryption and decryption of data
B
Frame formatting and MAC addressing
C
Session management
D
DNS resolution
Correct Answer:
B. Frame formatting and MAC addressing
Explanation:
The Data Link Layer (Layer 2) uses MAC addresses for physical addressing and creates frames for transmission over physical media.
Which protocol operates at the Transport Layer (Layer 4) of the OSI model?
A
IP and ICMP
B
TCP and UDP
C
HTTP and HTTPS
D
ARP and DHCP
Correct Answer:
B. TCP and UDP
Explanation:
TCP (Transmission Control Protocol) and UDP (User Datagram Protocol) are core Transport Layer protocols that manage end-to-end communication.
The Physical Layer of the OSI model deals with which of the following?
A
Logical addressing and routing
B
User authentication and data encryption
C
Electrical signals, cables, and hardware devices
D
Application-level protocols and services
Correct Answer:
C. Electrical signals, cables, and hardware devices
Explanation:
Layer 1 (Physical Layer) handles the actual transmission of raw bits over physical media like cables, fiber optics, and wireless signals.
Which layer of the OSI model is responsible for managing dialogs and session establishment?
A
Presentation Layer (Layer 6)
B
Session Layer (Layer 5)
C
Transport Layer (Layer 4)
D
Application Layer (Layer 7)
Correct Answer:
B. Session Layer (Layer 5)
Explanation:
The Session Layer (Layer 5) manages, establishes, and terminates communication sessions between applications.
A company wants to convert data formats between different systems. Which OSI layer should handle this?
A
Transport Layer
B
Session Layer
C
Presentation Layer
D
Application Layer
Correct Answer:
C. Presentation Layer
Explanation:
The Presentation Layer (Layer 6) handles data translation, encryption, compression, and format conversion (e.g., ASCII to EBCDIC).
Which of the following is NOT a function of the Application Layer (Layer 7)?
A
Email communication
B
File transfer services
C
MAC address resolution
D
Web browsing services
Correct Answer:
C. MAC address resolution
Explanation:
MAC address resolution (ARP) happens at Layer 2 (Data Link Layer). Layer 7 provides user-facing services like HTTP, SMTP, and FTP.
In the OSI model, which layers are considered the 'Media Layers'?
A
Layers 1, 2, and 3
B
Layers 4, 5, and 6
C
Layers 5, 6, and 7
D
Layers 2, 3, and 4
Correct Answer:
A. Layers 1, 2, and 3
Explanation:
Layers 1-3 (Physical, Data Link, and Network) are called Media Layers as they deal with network transmission and routing.
Which device operates primarily at Layer 3 of the OSI model?
A
Hub
B
Switch
C
Router
D
Repeater
Correct Answer:
C. Router
Explanation:
Routers operate at Layer 3 and use IP addresses to route packets between different networks. Hubs and repeaters work at Layer 1, switches at Layer 2.
TCP/IP model has fewer layers than the OSI model. How many layers does the TCP/IP model have?
A
3 layers
B
4 layers
C
5 layers
D
6 layers
Correct Answer:
B. 4 layers
Explanation:
The TCP/IP model has 4 layers: Link, Internet, Transport, and Application layers. Some variations include 5 layers by splitting the Link layer.