Question 1 · Difficulty 3/5
A network engineer is reviewing a protocol stack and notes that one layer is handling JPEG image compression and ASCII-to-EBCDIC character code translation before handing data to the layer below it. Which OSI layer is performing these functions? (Select the best answer.)
Show answer & explanation
Correct answer: D
Layer 6. Presentation
Layer 6 (Presentation) is responsible for data formatting, translation between character sets (such as ASCII and EBCDIC), and compression/decompression of data formats such as JPEG or MPEG before passing the data to the Session layer below. Layer 7 (Application) provides network services directly to user applications (HTTP, FTP, SMTP) but does not perform encoding translation. Layer 5 (Session) manages communication sessions and synchronization checkpoints. Layer 4 (Transport) handles segmentation, flow control, and reliable delivery, it does not perform character translation or media compression.