CCNA Sample Test Questions
Home | CCNA Exam Notes | CCNA Practice Test Providers | CCNA Sample Test Questions | CCNA FAQ
uestion 1: Which layer of the OSI model is responsible for routing and logical addressing?
- A. Data Link
- B. Network
- C. Transport
- D. Application
Answer: B. Network
Explanation: The Network layer (Layer 3) of the OSI model is responsible for logical addressing and routing. It deals with the logical addressing of devices (IP addresses) and determines the best path for data to travel from the source to the destination.
Question 2: What is the purpose of the ARP (Address Resolution Protocol)?
- A. To resolve logical addresses to physical addresses
- B. To resolve physical addresses to logical addresses
- C. To establish secure communication
- D. To encrypt data packets
Answer: B. To resolve physical addresses to logical addresses
Explanation: The Address Resolution Protocol (ARP) is used to map a known IP address to a corresponding MAC (Media Access Control) address on a local network.
Question 3: Which subnet mask is used for Class B private IP addresses?
- A. 255.255.255.0
- B. 255.0.0.0
- C. 255.255.0.0
- D. 255.0.255.0
Answer: C. 255.255.0.0
Explanation: Class B private IP addresses use a subnet mask of 255.255.0.0. This allows for a large number of host addresses within a private network.
Question 4: What is the purpose of the DNS (Domain Name System)?
- A. To map IP addresses to domain names
- B. To map domain names to IP addresses
- C. To secure network traffic
- D. To manage network devices
Answer: B. To map domain names to IP addresses
Explanation: The Domain Name System (DNS) is used to translate human-readable domain names into IP addresses. It enables users to access websites and other resources using easily memorable names.
Question 5: Which transport layer protocol provides connection-oriented and reliable communication?
- A. TCP
- B. UDP
- C. ICMP
- D. SNMP
Answer: A. TCP
Explanation: TCP (Transmission Control Protocol) is a connection-oriented and reliable transport layer protocol. It establishes a connection before data transfer and ensures the reliable delivery of data.
Question 6: What is the default subnet mask for a Class C IP address?
- A. 255.255.255.0
- B. 255.255.0.0
- C. 255.0.0.0
- D. 255.255.255.255
Answer: A. 255.255.255.0
Explanation: A Class C IP address uses a default subnet mask of 255.255.255.0. This allows for up to 254 hosts in a network.
Question 7: Which command is used to display the IP configuration of a Windows device?
- A. ipconfig
- B. ifconfig
- C. netstat
- D. ping
Answer: A. ipconfig
Explanation: The "ipconfig" command in Windows is used to display the IP configuration of a device, including its IP address, subnet mask, and default gateway.
Question 8: What is the purpose of the ICMP protocol?
- A. To provide secure communication
- B. To manage network devices
- C. To troubleshoot network connectivity
- D. To encrypt data packets
Answer: C. To troubleshoot network connectivity
Explanation: The Internet Control Message Protocol (ICMP) is used for network troubleshooting. It includes tools like "ping" and "traceroute" to test connectivity and identify issues in a network.
Question 9: Which device operates at the Data Link layer of the OSI model?
- A. Router
- B. Switch
- C. Hub
- D. Bridge
Answer: B. Switch
Explanation: A switch operates at the Data Link layer (Layer 2) of the OSI model. It uses MAC addresses to forward data within a local network.
Question 10: What is the primary purpose of a router in a network?
- A. To connect devices within the same local network
- B. To connect multiple local networks
- C. To amplify network signals
- D. To manage network traffic
Answer: B. To connect multiple local networks
Explanation: A router connects multiple local networks and directs traffic between them. It makes decisions based on logical addresses (IP addresses) and helps route data between different networks.