5. You are designing a secure communication system that requires data encryption and compression before transmission. Which OSI layer should handle these tasks, and why?
hard
A. Session layer, because it manages connections
B. Transport layer, because it ensures reliable delivery
C. Presentation layer, because it formats and encrypts data
D. Application layer, because it interacts with user software
Solution
Step 1: Identify layer for encryption and compression
The Presentation layer is responsible for data translation, encryption, and compression before sending data.
Step 2: Differentiate from other layers
Session layer manages connections, Transport layer ensures delivery, Application layer interfaces with users but does not encrypt.
Final Answer:
Presentation layer, because it formats and encrypts data -> Option C
Quick Check:
Encryption/compression = Presentation layer [OK]
Hint: Encryption and compression belong to Presentation layer [OK]
Common Mistakes:
Assigning encryption to Session or Transport layers
Confusing Application layer with Presentation layer
Ignoring Presentation layer's formatting role
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.