CCNA Domain 5: Security Fundamentals
30 free practice questions for Security Fundamentals in the Cisco Certified Network Associate (CCNA 200-301) exam. Try each question first, then open "Show answer" for the correct option and explanation.
Security Fundamentals practice questions
-
Question 1. What is a vulnerability?
Show answer
Answer: D. A weakness that could be exploited to compromise a system
A threat is a potential source of harm, an exploit uses a vulnerability, and a mitigation reduces the risk.
-
Question 2. Which element of a security program ensures all staff understand policies and recognize threats such as phishing?
Show answer
Answer: B. User awareness training
Awareness programs teach users to recognize and report threats.
-
Question 3. Which command encrypts all clear-text passwords in the running configuration with weak Type 7 encryption?
Show answer
Answer: A. service password-encryption
service password-encryption hides passwords from casual viewing but is easily reversed. Use enable secret and hashed user secrets.
-
Question 4. Which command sets a strongly hashed password for privileged EXEC mode?
Show answer
Answer: B. enable secret
enable secret stores a hashed password. enable password is stored in clear text or weak Type 7 form.
-
Question 5. Which configuration requires users to log in with local usernames on the VTY lines?
Show answer
Answer: C. login local on the VTY lines, plus username commands
login local checks the local user database instead of a single shared line password.
-
Question 6. Which authentication approach replaces passwords with something the user holds, such as a certificate on a smart card?
Show answer
Answer: A. Certificate-based authentication
Certificates provide strong possession-based authentication and can be combined with a PIN for MFA.
-
Question 7. Which VPN type connects two office networks permanently through their routers or firewalls?
Show answer
Answer: D. Site-to-site IPsec VPN
Site-to-site VPNs link networks gateway to gateway, so hosts don't need VPN clients.
-
Question 8. A traveling employee connects to the corporate network from a laptop using AnyConnect. Which VPN type is this?
Show answer
Answer: D. Remote access VPN
Remote access VPNs connect individual devices to the corporate network.
-
Question 9. Which type of ACL filters traffic based only on the source IP address?
Show answer
Answer: A. A standard ACL
Standard ACLs (1–99, 1300–1999) match only source addresses. Extended ACLs also match destination, protocol, and ports.
-
Question 10. Where should a standard ACL generally be placed?
Show answer
Answer: D. As close to the destination as possible
Because standard ACLs match only source, placing them near the source could block traffic to other destinations.
-
Question 11. Where should an extended ACL generally be placed?
Show answer
Answer: B. As close to the source as possible
Extended ACLs are specific enough to drop unwanted traffic early, saving bandwidth.
-
Question 12. What is at the end of every ACL?
Show answer
Answer: A. An implicit deny any
Traffic that matches no entry is denied, so an ACL needs at least one permit.
-
Question 13. Which wildcard mask matches all hosts in 192.168.4.0/22?
Show answer
Answer: B. 0.0.3.255
The wildcard is the inverse of the mask 255.255.252.0, which is 0.0.3.255.
-
Question 14. Which extended ACL entry permits HTTPS from any host to server 10.1.1.10?
Show answer
Answer: B. permit tcp any host 10.1.1.10 eq 443
HTTPS uses TCP 443. The destination is the server, and ports can only be matched with tcp or udp.
-
Question 15. Which command applies ACL 110 to filter traffic entering interface Gi0/0?
Show answer
Answer: D. ip access-group 110 in, under interface Gi0/0
ip access-group applies ACLs to interfaces. access-class applies them to VTY lines.
-
Question 16. Which switch feature blocks rogue DHCP servers by allowing DHCP offers only on trusted ports?
Show answer
Answer: C. DHCP snooping
DHCP snooping trusts only uplinks toward legitimate servers and builds a binding table used by other features.
-
Question 17. Which feature uses the DHCP snooping binding table to drop spoofed ARP replies?
Show answer
Answer: D. Dynamic ARP inspection (DAI)
DAI validates ARP packets against IP-to-MAC bindings, which stops ARP poisoning attacks.
-
Question 18. Port security is set with a maximum of one MAC address and the default violation mode. What happens when a second device connects?
Show answer
Answer: A. The port is err-disabled
The default mode is shutdown. Protect drops silently, and restrict drops and logs.
-
Question 19. What does the sticky option do in port security?
Show answer
Answer: B. Dynamically learned MAC addresses are added to the running configuration
Sticky learning saves learned MACs as secure addresses. Save the configuration to keep them after a reload.
-
Question 20. In AAA, which function determines what an authenticated user is allowed to do?
Show answer
Answer: A. Authorization
Authentication proves identity, authorization grants permissions, and accounting records activity.
-
Question 21. Which protocol is commonly used to authenticate users for network access, such as 802.1X and VPN logins?
Show answer
Answer: A. RADIUS
RADIUS combines authentication and authorization and is widely used for network access.
-
Question 22. Which Wi-Fi security protocol uses AES-based CCMP encryption and is the minimum recommended today?
Show answer
Answer: B. WPA2
WPA2 uses AES-CCMP. WPA3 improves on it, and WEP and TKIP are broken.
-
Question 23. What does WPA3 provide over WPA2 for personal networks?
Show answer
Answer: D. SAE authentication that resists offline dictionary attacks
SAE replaces the PSK four-way handshake vulnerability and adds forward secrecy.
-
Question 24. When creating a WPA2-Personal WLAN in the WLC GUI, what must be configured under Layer 2 security?
Show answer
Answer: B. WPA2 with AES and a pre-shared key
WPA2-Personal uses PSK authentication with AES encryption.
-
Question 25. Which physical security control prevents unauthorized people from reaching network equipment?
Show answer
Answer: D. Locked wiring closets with badge access
Physical access to devices can bypass many logical controls, so wiring closets must be secured.
-
Question 26. What is the purpose of a login banner on network devices?
Show answer
Answer: A. Warn that access is restricted and monitored
A banner (banner motd or banner login) supports legal action against unauthorized users.
-
Question 27. Which command limits login attempts to reduce brute-force attacks on a router?
Show answer
Answer: B. login block-for 120 attempts 3 within 60
This blocks logins for 120 seconds after 3 failures within 60 seconds.
-
Question 28. What is an exploit?
Show answer
Answer: B. Code or a technique that takes advantage of a vulnerability
Exploits use vulnerabilities to cause unintended behavior, such as running code or gaining access.
-
Question 29. Which ACL entry matches only host 172.16.5.5?
Show answer
Answer: C. host 172.16.5.5, or 172.16.5.5 0.0.0.0
A wildcard of 0.0.0.0 (or the host keyword) matches a single address.
-
Question 30. An attacker floods a switch with frames from thousands of fake MAC addresses so it floods all traffic. Which feature mitigates this?
Show answer
Answer: A. Port security limiting MACs on each port
MAC flooding overflows the CAM table. Port security caps the number of MACs learned on each port.
Cisco and CCNA are trademarks or registered trademarks of Cisco Systems, Inc. These questions are original study material, not questions from the real exam.