50 Free CCNA Practice Questions (200-301)
Preparing for the CCNA certification? These 50 free practice questions cover all six domains of the 200-301 exam.
Domain 1: Network Fundamentals (Questions 1–10)
Question 1
Which OSI layer is responsible for logical addressing and routing?
a) Layer 1 — Physical
b) Layer 2 — Data Link
c) Layer 3 — Network
d) Layer 4 — Transport
Show Answer
Answer: c) Layer 3 — Network
Explanation: The Network layer (Layer 3) handles logical addressing (IP addresses), routing between networks, and path determination. Key protocols: IP, ICMP, OSPF, EIGRP.
Question 2
What is the subnet mask for a /27 CIDR notation?
a) 255.255.255.0
b) 255.255.255.192
c) 255.255.255.224
d) 255.255.255.240
Show Answer
Answer: c) 255.255.255.224
Explanation: /27 = 255.255.255.224. The network bits: 8+8+8+3 = 27, leaving 5 host bits. That's 2⁵ = 32 addresses per subnet (30 usable).
Question 3
How many usable host addresses are in a /28 subnet?
a) 14
b) 16
c) 30
d) 62
Show Answer
Answer: a) 14
Explanation: /28 = 255.255.255.240. 32 - 28 = 4 host bits. 2⁴ = 16 addresses, minus network and broadcast = 14 usable hosts.
Question 4
Which port number is used by HTTPS?
a) 80
b) 443
c) 22
d) 53
Show Answer
Answer: b) 443
Explanation: HTTPS (HTTP Secure) uses TCP port 443. HTTP uses 80, SSH uses 22, DNS uses 53.
Question 5
What is the difference between TCP and UDP?
a) TCP is connection-oriented and reliable; UDP is connectionless and faster
b) TCP is faster than UDP
c) UDP provides guaranteed delivery; TCP does not
d) TCP uses broadcast; UDP uses unicast
Show Answer
Answer: a) TCP is connection-oriented and reliable; UDP is connectionless and faster
Explanation: TCP provides reliability (acknowledgments, retransmission, sequencing) but adds overhead. UDP is faster but best-effort, suitable for streaming and real-time applications.
Question 6
Which IPv4 address is a private address per RFC 1918?
a) 172.32.1.1
b) 10.0.0.1
c) 192.167.1.1
d) 8.8.8.8
Show Answer
Answer: b) 10.0.0.1
Explanation: RFC 1918 private addresses: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16. 172.32.1.1 is outside the 172.16-31 range.
Question 7
What does the VLAN trunking protocol 802.1Q do?
a) Routes traffic between VLANs
b) Tags Ethernet frames with VLAN information
c) Encrypts VLAN traffic
d) Creates VLANs dynamically
Show Answer
Answer: b) Tags Ethernet frames with VLAN information
Explanation: 802.1Q inserts a 4-byte VLAN tag into Ethernet frames, allowing multiple VLANs to traverse a single trunk link between switches.
Question 8
Which cable type is most commonly used for Ethernet backbones over longer distances?
a) UTP Cat5e
b) STP Cat6
c) Fiber optic (single-mode)
d) Coaxial
Show Answer
Answer: c) Fiber optic (single-mode)
Explanation: Single-mode fiber supports the longest distances (up to 40+ km) and highest bandwidth, making it ideal for backbone connections.
Question 9
Which topology connects each device to two others, forming a ring?
a) Star
b) Bus
c) Ring
d) Mesh
Show Answer
Answer: c) Ring
Explanation: In a ring topology, each device connects to exactly two neighbors. Data travels in one direction. Examples: Token Ring, FDDI.
Question 10
What is the maximum distance for a UTP Ethernet segment?
a) 50 meters
b) 100 meters
c) 185 meters
d) 500 meters
Show Answer
Answer: b) 100 meters
Explanation: The maximum length for UTP (Cat5e, Cat6, Cat6a) Ethernet is 100 meters (328 feet) before signal degradation requires a repeater or switch.
Domain 2: Network Access (Questions 11–20)
Question 11
What is the purpose of the Spanning Tree Protocol (STP)?
a) Load balancing across switches
b) Preventing loops in a switched network
c) Routing between VLANs
d) Encrypting network traffic
Show Answer
Answer: b) Preventing loops in a switched network
Explanation: STP prevents Layer 2 loops by blocking redundant paths while maintaining multiple connections for fault tolerance. It uses BPDUs to elect a root bridge and determine port states.
Question 12
Which STP port state listens for BPDUs but does not forward traffic?
a) Blocking
b) Listening
c) Learning
d) Forwarding
Show Answer
Answer: a) Blocking
Explanation: Blocking is the initial STP port state. The port listens to BPDUs but doesn't forward traffic or learn MAC addresses. It transitions to listening (15s), then learning (15s), then forwarding.
Question 13
What is the purpose of PortFast in STP?
a) Accelerates convergence on access ports
b) Provides faster trunking
c) Encrypts port traffic
d) Creates redundant links
Show Answer
Answer: a) Accelerates convergence on access ports
Explanation: PortFast immediately transitions a port to forwarding, bypassing the listening/learning states. It's used only on access ports connected to end devices (not switches).
Question 14
Which protocol negotiates EtherChannel automatically?
a) PAgP (Cisco proprietary)
b) LACP (IEEE 802.3ad)
c) Both a and b
d) DTP
Show Answer
Answer: c) Both a and b
Explanation: PAgP (Port Aggregation Protocol) is Cisco proprietary. LACP (Link Aggregation Control Protocol) is the IEEE standard. Both negotiate EtherChannel bundles.
Question 15
Which wireless standard operates at both 2.4 GHz and 5 GHz?
a) 802.11b
b) 802.11g
c) 802.11n (WiFi 4)
d) 802.11ac (WiFi 5)
Show Answer
Answer: c) 802.11n (WiFi 4)
Explanation: 802.11n supports both 2.4 GHz and 5 GHz. 802.11ac is 5 GHz only. 802.11b/g are 2.4 GHz only.
Question 16
What does the DTP command switchport mode dynamic desirable do?
a) Actively tries to form a trunk with the neighboring switch
b) Disables trunking
c) Sets the port to access mode
d) Creates a VLAN
Show Answer
Answer: a) Actively tries to form a trunk with the neighboring switch
Explanation: DTP (Dynamic Trunking Protocol) modes: dynamic desirable actively sends DTP frames to negotiate trunking. dynamic auto responds to DTP but doesn't initiate.
Question 17
What is a VLAN access port?
a) A port that carries multiple VLANs
b) A port assigned to a single VLAN
c) A port used for management
d) A port connected to a router
Show Answer
Answer: b) A port assigned to a single VLAN
Explanation: An access port belongs to only one VLAN and carries traffic for that VLAN only. Trunk ports carry traffic for multiple VLANs using 802.1Q tagging.
Question 18
What is the native VLAN in 802.1Q trunking?
a) A VLAN that is encrypted
b) The VLAN that carries untagged traffic on a trunk
c) The highest numbered VLAN
d) The management VLAN
Show Answer
Answer: b) The VLAN that carries untagged traffic on a trunk
Explanation: The native VLAN (default VLAN 1) is the VLAN that carries untagged frames on a trunk. Both sides must match the native VLAN to avoid misconfiguration.
Question 19
Which frequency band provides longer range but lower speed in WiFi?
a) 2.4 GHz
b) 5 GHz
c) 6 GHz
d) 60 GHz
Show Answer
Answer: a) 2.4 GHz
Explanation: 2.4 GHz has better wall penetration and longer range but lower speed and more interference. 5 GHz is faster but shorter range. 6 GHz (WiFi 6E) is even faster.
Question 20
What is the purpose of a wireless controller (WLC)?
a) Amplifying wireless signals
b) Centralized management of lightweight APs
c) Encrypting wireless traffic
d) Providing internet access
Show Answer
Answer: b) Centralized management of lightweight APs
Explanation: WLCs manage lightweight access points (LAPs) centrally, handling configuration, RF management, roaming, and security policies.
Domain 3: IP Connectivity (Questions 21–30)
Question 21
Which command configures a static default route on a Cisco router?
a) ip route 0.0.0.0 0.0.0.0 10.0.0.1
b) ip default-gateway 10.0.0.1
c) ip route 10.0.0.1 255.255.255.255 0.0.0.0
d) default route 10.0.0.1
Show Answer
Answer: a) ip route 0.0.0.0 0.0.0.0 10.0.0.1
Explanation: The default route (quad-zero) matches any destination. The command syntax: ip route <network> <mask> <next-hop>.
Question 22
Which routing protocol uses cost based on bandwidth as its metric?
a) RIP
b) OSPF
c) EIGRP
d) BGP
Show Answer
Answer: b) OSPF
Explanation: OSPF uses cost = 10⁸ / bandwidth to determine the best path. RIP uses hop count. EIGRP uses a composite metric (bandwidth, delay, load, reliability). BGP uses path attributes.
Question 23
What is the administrative distance of OSPF?
a) 0
b) 20
c) 110
d) 120
Show Answer
Answer: c) 110
Explanation: OSPF has AD 110. Connected routes = 0, Static = 1, EIGRP = 90, RIP = 120, External EIGRP = 170. Lower AD = more trustworthy.
Question 24
Which OSPF router type connects an area to the backbone area (Area 0)?
a) Backbone router
b) Area Border Router (ABR)
c) Autonomous System Boundary Router (ASBR)
d) Internal router
Show Answer
Answer: b) Area Border Router (ABR)
Explanation: ABRs have interfaces in Area 0 and at least one other area. They summarize routes between areas. ASBRs connect OSPF to external routing domains.
Question 25
What is the purpose of inter-VLAN routing?
a) Routing between VLANs on different switches
b) Routing between different VLANs within a network
c) Routing between different networks
d) Routing between OSPF areas
Show Answer
Answer: b) Routing between different VLANs within a network
Explanation: Inter-VLAN routing allows communication between hosts on different VLANs. Methods: router-on-a-stick (subinterfaces), Layer 3 switch (SVIs), or routed ports.
Question 26
Which command configures a router-on-a-stick subinterface for VLAN 10?
a) interface g0/0.10 → encapsulation dot1Q 10 → ip address 10.0.10.1 255.255.255.0
b) vlan 10 → interface g0/0 → ip address 10.0.10.1 255.255.255.0
c) interface vlan 10 → ip address 10.0.10.1 255.255.255.0
d) interface g0/0 → vlan 10 → ip address 10.0.10.1 255.255.255.0
Show Answer
Answer: a) interface g0/0.10 → encapsulation dot1Q 10 → ip address 10.0.10.1 255.255.255.0
Explanation: R-O-A-S creates subinterfaces with 802.1Q encapsulation matching the VLAN number. Each subinterface acts as the default gateway for its VLAN.
Question 27
Which type of IPv6 address begins with fe80::?
a) Global unicast
b) Link-local
c) Unique local
d) Multicast
Show Answer
Answer: b) Link-local
Explanation: IPv6 link-local addresses (fe80::/10) are automatically assigned and used for communication on a single link (no routing). They're used for OSPFv3 neighbor discovery.
Question 28
What is the purpose of OSPF neighborship on a broadcast multi-access network?
a) Forming adjacency for route exchange
b) Electing a DR/BDR to reduce LSAs
c) Establishing a backup link
d) Creating VLANs
Show Answer
Answer: b) Electing a DR/BDR to reduce LSAs
Explanation: On broadcast networks (Ethernet), OSPF elects a Designated Router (DR) and Backup DR to reduce the number of adjacencies and link-state advertisements.
Question 29
Which OSPF state indicates that two routers have fully exchanged link-state databases?
a) 2-Way
b) ExStart
c) Full
d) Loading
Show Answer
Answer: c) Full
Explanation: The Full state means both routers have identical LSDBs and are fully adjacent. Other states: Down → Init → 2-Way → ExStart → Exchange → Loading → Full.
Question 30
What is the purpose of a floating static route?
a) A static route that overrides dynamic routes
b) A static route with a higher AD to serve as a backup
c) A static route that floats between interfaces
d) A route learned from BGP
Show Answer
Answer: b) A static route with a higher AD to serve as a backup
Explanation: A floating static route has a higher administrative distance than the primary route. It only appears in the routing table when the primary route fails.
Domain 4: IP Services (Questions 31–35)
Question 31
What is the purpose of the DHCP ip helper-address command?
a) Assigning IP addresses to devices
b) Forwarding DHCP broadcasts to a DHCP server on another subnet
c) Resolving DNS queries
d) Configuring NTP
Show Answer
Answer: b) Forwarding DHCP broadcasts to a DHCP server on another subnet
Explanation: DHCP uses broadcasts which don't cross routers. ip helper-address converts DHCP broadcasts to unicasts and forwards them to the DHCP server.
Question 32
Which protocol is used for secure device management instead of Telnet?
a) HTTP
b) SSH
c) SNMP
d) FTP
Show Answer
Answer: b) SSH
Explanation: SSH provides encrypted remote access to network devices. Telnet is unencrypted and should be disabled. SSH requires crypto keys to be generated.
Question 33
What is the purpose of NTP in a network?
a) File transfer
b) Time synchronization across devices
c) Name resolution
d) Email delivery
Show Answer
Answer: b) Time synchronization across devices
Explanation: NTP (Network Time Protocol) synchronizes clocks across network devices, critical for accurate logging, authentication, and troubleshooting.
Question 34
What does a NAT overload (PAT) allow?
a) Multiple private IPs to share a single public IP using port numbers
b) Multiple public IPs mapped to a single private IP
c) Translation of IPv4 to IPv6
d) Static mapping of one IP to another
Show Answer
Answer: a) Multiple private IPs to share a single public IP using port numbers
Explanation: PAT (Port Address Translation) maps multiple private IP addresses to a single public IP by using unique port numbers. This conserves public IPv4 addresses.
Question 35
Which SNMP version supports encryption and authentication?
a) SNMPv1
b) SNMPv2c
c) SNMPv3
d) All versions
Show Answer
Answer: c) SNMPv3
Explanation: SNMPv3 provides message integrity, authentication, and encryption. v1 and v2c use community strings in plaintext.
Domain 5: Security Fundamentals (Questions 36–42)
Question 36
Which ACL type filters based on source IP address only?
a) Extended ACL
b) Standard ACL
c) Named ACL
d) Dynamic ACL
Show Answer
Answer: b) Standard ACL
Explanation: Standard ACLs (1-99, 1300-1999) filter only on source IP address. Extended ACLs (100-199, 2000-2699) filter on source/destination IP, protocol, and port.
Question 37
Where should a standard ACL be placed to minimize processing overhead?
a) As close to the destination as possible
b) As close to the source as possible
c) On the core switch
d) On the internet router
Show Answer
Answer: a) As close to the destination as possible
Explanation: Standard ACLs (source-only) should be placed near the destination because they can't distinguish specific traffic types. Extended ACLs should be placed near the source.
Question 38
What is port security in Cisco switches?
a) Encrypting switch ports
b) Limiting the number of MAC addresses allowed on a port
c) Creating VLANs
d) Monitoring traffic
Show Answer
Answer: b) Limiting the number of MAC addresses allowed on a port
Explanation: Port security restricts the number of MAC addresses per port (default 1) and can take action (shutdown, restrict, protect) if violated. It prevents MAC flooding attacks.
Question 39
What is the purpose of DHCP snooping?
a) Filtering DHCP requests from servers
b) Preventing rogue DHCP server attacks
c) Assigning IP addresses to switches
d) Monitoring DHCP traffic
Show Answer
Answer: b) Preventing rogue DHCP server attacks
Explanation: DHCP snooping filters untrusted DHCP messages. Trusted ports (uplinks) can send DHCP offers; untrusted ports (access) cannot, preventing rogue DHCP servers.
Question 40
Which authentication protocol uses the three-way handshake: Username → Challenge → Response?
a) PAP
b) CHAP
c) TACACS+
d) RADIUS
Show Answer
Answer: b) CHAP
Explanation: CHAP (Challenge-Handshake Authentication Protocol) uses a three-way handshake with hashed challenge-response. PAP sends passwords in plaintext.
Question 41
What is the purpose of BPDUguard?
a) Blocking BPDUs on all ports
b) Disabling a port if it receives a BPDU (prevents loop extension)
c) Filtering BPDU messages
d) Encrypting BPDUs
Show Answer
Answer: b) Disabling a port if it receives a BPDU (prevents loop extension)
Explanation: BPDUguard puts the port in errdisable state if a BPDU is received, preventing accidental STP loop extension from unauthorized switches.
Question 42
What is the most secure method for authenticating network device management?
a) Local username/password
b) TACACS+ with AAA
c) Telnet
d) SNMPv2c community string
Show Answer
Answer: b) TACACS+ with AAA
Explanation: TACACS+ encrypts the entire packet and provides AAA (Authentication, Authorization, Accounting) with granular command-level control.
Domain 6: Automation and Programmability (Questions 43–50)
Question 43
What is the purpose of a northbound API in SDN?
a) Communication between controller and network devices
b) Communication between applications and the SDN controller
c) Communication between two SDN controllers
d) Communication between routing protocols
Show Answer
Answer: b) Communication between applications and the SDN controller
Explanation: Northbound APIs allow applications to communicate with the SDN controller. Southbound APIs (OpenFlow, NETCONF) connect the controller to network devices.
Question 44
Which protocol is used by Cisco DNA Center to manage network devices?
a) SNMP
b) NETCONF
c) REST API
d) All of the above
Show Answer
Answer: d) All of the above
Explanation: Cisco DNA Center uses REST APIs for northbound communication and supports NETCONF, SNMP, SSH, and CLI for southbound device management.
Question 45
Which data format uses curly braces and key-value pairs?
a) XML
b) JSON
c) YAML
d) CSV
Show Answer
Answer: b) JSON
Explanation: JSON (JavaScript Object Notation) uses curly braces {}, colons, and key-value pairs. YAML uses indentation and dashes. XML uses angle brackets.
Question 46
What is Ansible's push-based architecture?
a) Agents on devices pull configuration from Ansible
b) Ansible pushes configurations to devices without agents
c) Devices synchronize with a central database
d) Configuration is manually applied
Show Answer
Answer: b) Ansible pushes configurations to devices without agents
Explanation: Ansible is agentless and push-based. It connects via SSH (Linux) or WinRM (Windows) and pushes configurations. Puppet/Chef are pull-based (agents).
Question 47
What is the purpose of a YANG model?
a) A data modeling language for network configuration
b) A scripting language for automation
c) A protocol for device discovery
d) A configuration file format
Show Answer
Answer: a) A data modeling language for network configuration
Explanation: YANG (Yet Another Next Generation) defines data models for network configuration and state data. It's used with NETCONF and RESTCONF protocols.
Question 48
Which HTTP method does a REST API use to retrieve data?
a) POST
b) GET
c) PUT
d) DELETE
Show Answer
Answer: b) GET
Explanation: REST API HTTP methods: GET (read), POST (create), PUT/PATCH (update), DELETE (delete). GET is idempotent and safe.
Question 49
What is a benefit of controller-based networking over traditional networking?
a) Manual configuration of each device
b) Centralized management and policy enforcement
c) No requirement for IP addressing
d) Single point of failure
Show Answer
Answer: b) Centralized management and policy enforcement
Explanation: SDN controllers provide centralized management, consistency, automation, and intent-based networking — reducing manual configuration errors and operational overhead.
Question 50
Which tool is commonly used for configuration management in network automation?
a) Ansible
b) Python
c) REST
d) SNMP
Show Answer
Answer: a) Ansible
Explanation: Ansible is widely used for network automation due to its agentless architecture, YAML-based playbooks, and extensive module support for Cisco, Juniper, Arista, and more.
How Did You Score?
- 0–25 correct: Review the CCNA Exam Guide.
- 26–40 correct: On track. Practice with Packet Tracer.
- 41–50 correct: Ready for the exam!
Access all CCNA practice questions →
Related Articles
Bereit, dein Wissen zu testen?
Probiere unsere Übungsprüfungen mit Hunderten von realistischen Fragen aus.
Üben starten →