Home Subjects Networking

Networking

OSI, TCP/IP, protocols, routing, security

45 Q 1 Topics Take Test
Advertisement
Difficulty: All Easy Medium Hard 21–30 of 45
Topics in Networking
All OSI Model 100
Q.21 Medium OSI Model
A developer needs to ensure data compression before transmission over a network. Which OSI layer should handle this function?
A Application Layer (Layer 7)
B Presentation Layer (Layer 6)
C Session Layer (Layer 5)
D Transport Layer (Layer 4)
Correct Answer:  B. Presentation Layer (Layer 6)
EXPLANATION

The Presentation Layer (Layer 6) handles data formatting, compression, encryption, and translation between different data formats. It prepares data for transmission.

Test
Q.22 Medium OSI Model
In a complex network architecture, data flows through multiple devices: modem → switch → router → firewall → server. Which device primarily operates at Layer 3?
A Modem
B Switch
C Router
D Firewall
Correct Answer:  C. Router
EXPLANATION

Routers operate at Layer 3 (Network Layer) to route packets based on IP addresses, while other devices operate at lower layers.

Test
Q.23 Medium OSI Model
A firewall is configured to block traffic on specific ports. At which minimum OSI layer must the firewall operate to enforce this rule?
A Network Layer
B Transport Layer
C Session Layer
D Presentation Layer
Correct Answer:  B. Transport Layer
EXPLANATION

Port-based filtering requires inspection at the Transport Layer (Layer 4) where ports (TCP/UDP) are defined and identified.

Test
Q.24 Medium OSI Model
During a network troubleshooting session, a technician finds that DNS resolution fails while DHCP assignment succeeds. Which layers are functioning and which is failing?
A Layers 1-3 working; Layer 7 failing
B Layers 1-2 working; Layer 3 failing
C Layers 1-4 working; Layer 7 failing
D All layers working; application configuration issue
Correct Answer:  C. Layers 1-4 working; Layer 7 failing
EXPLANATION

DHCP (Layer 4) works, so Layers 1-4 are functional. DNS resolution failure indicates an issue at the Application Layer (Layer 7) or network configuration.

Test
Q.25 Medium OSI Model
A company deploys a VPN solution. At which OSI layer does the VPN primarily encrypt data before transmission?
A Physical Layer
B Network Layer
C Presentation Layer
D Session Layer
Correct Answer:  C. Presentation Layer
EXPLANATION

VPNs perform encryption/decryption at the Presentation Layer, though some VPN implementations also work at Layer 3 for IP-level protection.

Test
Q.26 Medium OSI Model
Which statement correctly describes the relationship between protocols and OSI layers?
A Each protocol operates at only one OSI layer
B Some protocols span multiple OSI layers
C All protocols operate at the Application Layer
D Protocols cannot cross layer boundaries
Correct Answer:  B. Some protocols span multiple OSI layers
EXPLANATION

Protocols like TCP/IP stack operate across multiple layers; HTTP spans layers 6-7, while TCP operates at layer 4.

Test
Q.27 Medium OSI Model
When a web browser displays encrypted HTTPS content correctly on the user's screen, which layers have successfully completed their functions in the correct sequence?
A Layers 4, 5, 6, 7 only
B Layers 1 through 7
C Layers 3, 4, 5, 6, 7 only
D Layers 2, 4, 6, 7 only
Correct Answer:  B. Layers 1 through 7
EXPLANATION

All seven layers must function correctly: physical transmission (1), framing (2), routing (3), TCP connection (4), session (5), decryption (6), and HTML rendering (7).

Test
Q.28 Medium OSI Model
A network administrator notices that devices can connect physically but cannot communicate. After checking cables and signals, the issue remains. Which layers should be investigated?
A Layers 1 and 2 only
B Layers 3 and 4 only
C Layers 2 and 3
D All layers from 1 to 7
Correct Answer:  C. Layers 2 and 3
EXPLANATION

Physical connectivity (Layer 1) works, so the issue is likely at Layer 2 (MAC addressing/switching) or Layer 3 (IP routing/addressing).

Test
Q.29 Medium OSI Model
An organization implements Quality of Service (QoS) policies for video streaming. At which OSI layer would bandwidth prioritization rules primarily be enforced?
A Physical Layer
B Data Link Layer
C Transport Layer
D Application Layer
Correct Answer:  C. Transport Layer
EXPLANATION

QoS policies are typically enforced at the Transport Layer using protocols like DSCP and traffic shaping techniques to prioritize critical traffic.

Test
Q.30 Medium OSI Model
In a scenario where a web server receives requests from multiple clients simultaneously, at which OSI layer would connection management and multiplexing be handled to ensure proper session isolation?
A Layer 3 - Network Layer
B Layer 4 - Transport Layer
C Layer 5 - Session Layer
D Layer 7 - Application Layer
Correct Answer:  B. Layer 4 - Transport Layer
EXPLANATION

The Transport Layer (Layer 4) uses port numbers to manage multiple simultaneous connections and ensures proper multiplexing and demultiplexing of data streams.

Test
IGET
iget AI
Online · Ask anything about exams
Hi! 👋 I'm your iget AI assistant.

Ask me anything about exam prep, MCQ solutions, study tips, or strategies! 🎯
UPSC strategy SSC CGL syllabus Improve aptitude NEET Biology tips