TCP/IP Model MCQ Quiz: Protocols and Key Differences
Questions: 30
Questions
-
1. How many layers are there in the TCP/IP model?
- a) 3
- b) 4
- c) 5
- d) 7
-
2. Which layer of the TCP/IP model is responsible for end-to-end communication?
- a) Application layer
- b) Transport layer
- c) Internet layer
- d) Network access layer
-
3. What is the primary protocol used at the transport layer of the TCP/IP model?
- a) HTTP
- b) FTP
- c) TCP
- d) IP
-
4. Which protocol is used for email delivery in the application layer of the TCP/IP model?
- a) FTP
- b) SMTP
- c) SNMP
- d) DNS
-
5. The function of the Internet layer in the TCP/IP model is to:
- a) Handle data formatting
- b) Manage IP addressing and routing
- c) Ensure error-free delivery
- d) Provide access to network resources
-
6. Which protocol provides a connectionless service in the transport layer?
- a) TCP
- b) UDP
- c) FTP
- d) SNMP
-
7. What is the purpose of the DNS protocol in the TCP/IP model?
- a) Transmitting web pages
- b) Translating domain names to IP addresses
- c) Managing email communication
- d) Ensuring secure data transfer
-
8. The TCP protocol is classified as:
- a) A connection-oriented protocol
- b) A connectionless protocol
- c) A data-link layer protocol
- d) An application layer protocol
-
9. The IPv4 address is represented in:
- a) Hexadecimal format
- b) Binary format
- c) Decimal format with dots
- d) Alphanumeric format
-
10. Which of the following operates at the application layer of the TCP/IP model?
- a) TCP
- b) HTTP
- c) IP
- d) ARP
-
11. Which protocol resolves MAC addresses from IP addresses?
- a) HTTP
- b) ARP
- c) DHCP
- d) ICMP
-
12. The purpose of the ICMP protocol is to:
- a) Provide secure communication
- b) Enable error reporting and diagnostics
- c) Assign IP addresses dynamically
- d) Establish connections between devices
-
13. Which protocol is used for secure web communication?
- a) HTTP
- b) HTTPS
- c) FTP
- d) SNMP
-
14. The DHCP protocol is used for:
- a) Dynamic allocation of IP addresses
- b) File transfer
- c) Network troubleshooting
- d) Monitoring network devices
-
15. The function of the network access layer in the TCP/IP model is to:
- a) Provide logical addressing
- b) Transmit raw data over the physical medium
- c) Manage transport layer connections
- d) Enable error correction at the data-link layer
-
16. Which protocol ensures packet delivery in the correct order?
- a) UDP
- b) TCP
- c) HTTP
- d) ICMP
-
17. Which protocol translates a URL into an IP address?
- a) HTTP
- b) FTP
- c) DNS
- d) DHCP
-
18. Which of the following protocols is used to transfer files between systems?
- a) FTP
- b) SMTP
- c) SNMP
- d) HTTPS
-
19. The purpose of the NAT (Network Address Translation) is to:
- a) Resolve domain names
- b) Provide dynamic IP addressing
- c) Map private IP addresses to a public IP address
- d) Encrypt data for secure transmission
-
20. Which of these is a core feature of the TCP protocol?
- a) Low latency
- b) Connection establishment and termination
- c) Connectionless transmission
- d) Minimal header overhead
-
21. What type of IP address is 192.168.0.1?
- a) A public IP address
- b) A private IP address
- c) A broadcast address
- d) A loopback address
-
22. The port number for HTTP is:
- a) 21
- b) 23
- c) 80
- d) 443
-
23. Which of the following is a Layer 4 protocol?
- a) TCP
- b) ARP
- c) IP
- d) DNS
-
24. What is the purpose of the SNMP protocol?
- a) Monitor and manage network devices
- b) Secure communication over the Internet
- c) Transfer files between devices
- d) Provide error-free data transfer
-
25. Which protocol uses port 22 for secure communication?
- a) FTP
- b) SSH
- c) Telnet
- d) DNS
-
26. The maximum size of an IPv4 packet is:
- a) 16 KB
- b) 32 KB
- c) 64 KB
- d) 128 KB
-
27. The primary function of the application layer in the TCP/IP model is to:
- a) Handle end-user interactions
- b) Route data packets
- c) Manage connections
- d) Assign IP addresses
-
28. Which protocol allows devices to automatically discover their network configuration?
- a) DHCP
- b) DNS
- c) ICMP
- d) ARP
-
29. The loopback IP address 127.0.0.1 is used for:
- a) Communicating with other networks
- b) Testing network interfaces
- c) Addressing remote devices
- d) Network broadcasting
-
30. Which layer of the TCP/IP model handles routing of data packets?
- a) Application layer
- b) Transport layer
- c) Internet layer
- d) Network access layer
Ready to put your knowledge to the test? Take this exam and evaluate your understanding of the subject.
Start Exam