Network Models and Reference Architectures (OSI, TCP/IP) # MCQs Practice set

Q.1 Which layer of the OSI model is responsible for error detection and correction?

Physical Layer
Data Link Layer
Network Layer
Transport Layer
Explanation - The Data Link Layer provides error detection and correction by using techniques like checksums and CRC.
Correct answer is: Data Link Layer

Q.2 In the TCP/IP model, which layer corresponds to the OSI Network Layer?

Transport Layer
Internet Layer
Application Layer
Data Link Layer
Explanation - The Internet Layer of TCP/IP handles logical addressing and routing, similar to the OSI Network Layer.
Correct answer is: Internet Layer

Q.3 Which OSI layer ensures reliable data transfer through flow control and error recovery?

Network Layer
Transport Layer
Session Layer
Application Layer
Explanation - The Transport Layer provides end-to-end reliability, flow control, and error recovery.
Correct answer is: Transport Layer

Q.4 Which protocol operates at the Transport Layer of the TCP/IP model?

IP
UDP
Ethernet
ICMP
Explanation - UDP is a connectionless protocol that belongs to the Transport Layer of TCP/IP.
Correct answer is: UDP

Q.5 How many layers are there in the OSI reference model?

5
6
7
8
Explanation - The OSI model has 7 layers ranging from Physical to Application layer.
Correct answer is: 7

Q.6 Which OSI layer is responsible for translating data formats between applications and the network?

Session Layer
Transport Layer
Presentation Layer
Network Layer
Explanation - The Presentation Layer translates, encrypts, and compresses data for the Application Layer.
Correct answer is: Presentation Layer

Q.7 In the OSI model, which layer manages logical addressing and routing?

Transport Layer
Network Layer
Data Link Layer
Physical Layer
Explanation - The Network Layer is responsible for logical addressing and routing data between devices.
Correct answer is: Network Layer

Q.8 The TCP/IP Application layer corresponds to which OSI layers?

Physical, Data Link, and Network
Session, Presentation, and Application
Transport and Network
Data Link and Physical
Explanation - The TCP/IP Application Layer combines the functions of OSI’s top three layers.
Correct answer is: Session, Presentation, and Application

Q.9 Which of the following is NOT a function of the OSI Data Link Layer?

Framing
Error detection
Routing
Flow control
Explanation - Routing is the function of the Network Layer, not the Data Link Layer.
Correct answer is: Routing

Q.10 Which protocol is used at the Internet Layer of the TCP/IP model?

IP
TCP
HTTP
FTP
Explanation - The Internet Protocol (IP) is the main protocol at the Internet Layer for addressing and routing.
Correct answer is: IP

Q.11 Which OSI layer defines electrical, mechanical, and procedural interfaces?

Data Link Layer
Transport Layer
Physical Layer
Presentation Layer
Explanation - The Physical Layer deals with hardware-level specifications like cables, connectors, and voltage levels.
Correct answer is: Physical Layer

Q.12 In TCP/IP, which layer ensures end-to-end communication?

Application Layer
Transport Layer
Internet Layer
Link Layer
Explanation - The Transport Layer ensures end-to-end reliable communication using protocols like TCP and UDP.
Correct answer is: Transport Layer

Q.13 Which OSI layer is responsible for dialog control and synchronization?

Presentation Layer
Session Layer
Transport Layer
Application Layer
Explanation - The Session Layer manages dialogs, session checkpoints, and synchronization.
Correct answer is: Session Layer

Q.14 Which of these is a connection-oriented protocol at the Transport Layer?

UDP
IP
TCP
ICMP
Explanation - TCP is a connection-oriented protocol that ensures reliable data transfer.
Correct answer is: TCP

Q.15 Which OSI layer adds headers and trailers to data for error control?

Network Layer
Transport Layer
Data Link Layer
Session Layer
Explanation - The Data Link Layer encapsulates data into frames with headers/trailers for error control.
Correct answer is: Data Link Layer

Q.16 What is the main function of the OSI Presentation Layer?

Routing packets
Data format translation
Error correction
Flow control
Explanation - The Presentation Layer ensures that data is translated into a form usable by the Application Layer.
Correct answer is: Data format translation

Q.17 Which TCP/IP layer corresponds to OSI’s Physical and Data Link Layers?

Application Layer
Transport Layer
Internet Layer
Network Access Layer
Explanation - The Network Access Layer combines OSI’s Physical and Data Link functions.
Correct answer is: Network Access Layer

Q.18 Which OSI layer determines the path a packet should take?

Session Layer
Network Layer
Transport Layer
Presentation Layer
Explanation - The Network Layer decides routing paths using logical addressing and algorithms.
Correct answer is: Network Layer

Q.19 How many layers are there in the TCP/IP model?

4
5
6
7
Explanation - The TCP/IP model has 4 layers: Application, Transport, Internet, and Network Access.
Correct answer is: 4

Q.20 Which OSI layer provides services like email and file transfer?

Session Layer
Transport Layer
Application Layer
Presentation Layer
Explanation - The Application Layer provides services directly to users like HTTP, FTP, and email.
Correct answer is: Application Layer

Q.21 Which TCP/IP protocol is used for error messages and diagnostics?

TCP
UDP
ICMP
IP
Explanation - ICMP is used to send error and diagnostic messages, such as those used in ping.
Correct answer is: ICMP

Q.22 At which OSI layer does encryption typically occur?

Session Layer
Presentation Layer
Transport Layer
Application Layer
Explanation - The Presentation Layer handles encryption and decryption of data.
Correct answer is: Presentation Layer

Q.23 Which layer of OSI is concerned with bit-level transmission?

Physical Layer
Data Link Layer
Transport Layer
Network Layer
Explanation - The Physical Layer transmits raw bits over the communication medium.
Correct answer is: Physical Layer

Q.24 Which layer of TCP/IP is responsible for logical addressing?

Application Layer
Transport Layer
Internet Layer
Network Access Layer
Explanation - The Internet Layer provides logical addressing and routing functions.
Correct answer is: Internet Layer

Q.25 Which OSI layer provides transparent transfer of data between systems?

Transport Layer
Session Layer
Data Link Layer
Presentation Layer
Explanation - The Transport Layer ensures transparent data transfer with reliability and sequencing.
Correct answer is: Transport Layer