CCNA · Domain 5 of 6 · 15% of the exam

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

  1. Question 1. What is a vulnerability?

    1. A person or group that could cause harm
    2. The code or technique used to attack a flaw
    3. A control that reduces risk
    4. A weakness that could be exploited to compromise a system
    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.

  2. Question 2. Which element of a security program ensures all staff understand policies and recognize threats such as phishing?

    1. Physical access control
    2. User awareness training
    3. Firewall configuration
    4. Network segmentation
    Show answer

    Answer: B. User awareness training

    Awareness programs teach users to recognize and report threats.

  3. Question 3. Which command encrypts all clear-text passwords in the running configuration with weak Type 7 encryption?

    1. service password-encryption
    2. enable secret
    3. security passwords min-length
    4. login block-for
    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.

  4. Question 4. Which command sets a strongly hashed password for privileged EXEC mode?

    1. enable password
    2. enable secret
    3. line console 0, then password
    4. service password-encryption
    Show answer

    Answer: B. enable secret

    enable secret stores a hashed password. enable password is stored in clear text or weak Type 7 form.

  5. Question 5. Which configuration requires users to log in with local usernames on the VTY lines?

    1. password on the VTY lines with login
    2. transport input none on the VTY lines
    3. login local on the VTY lines, plus username commands
    4. exec-timeout 0 0 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.

  6. Question 6. Which authentication approach replaces passwords with something the user holds, such as a certificate on a smart card?

    1. Certificate-based authentication
    2. A longer password policy
    3. Password expiration every 30 days
    4. A shared password for all admins
    Show answer

    Answer: A. Certificate-based authentication

    Certificates provide strong possession-based authentication and can be combined with a PIN for MFA.

  7. Question 7. Which VPN type connects two office networks permanently through their routers or firewalls?

    1. Remote access client VPN
    2. Clientless SSL VPN for users
    3. A GRE tunnel without encryption
    4. Site-to-site IPsec VPN
    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.

  8. Question 8. A traveling employee connects to the corporate network from a laptop using AnyConnect. Which VPN type is this?

    1. Site-to-site VPN
    2. DMVPN hub tunnel
    3. MPLS VPN
    4. Remote access VPN
    Show answer

    Answer: D. Remote access VPN

    Remote access VPNs connect individual devices to the corporate network.

  9. Question 9. Which type of ACL filters traffic based only on the source IP address?

    1. A standard ACL
    2. An extended ACL
    3. A named extended ACL
    4. A reflexive ACL
    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.

  10. Question 10. Where should a standard ACL generally be placed?

    1. As close to the source as possible
    2. On every interface of every router
    3. Only on the internet-facing interface
    4. As close to the destination as possible
    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.

  11. Question 11. Where should an extended ACL generally be placed?

    1. As close to the destination as possible
    2. As close to the source as possible
    3. Only on loopback interfaces
    4. Only on trunk links
    Show answer

    Answer: B. As close to the source as possible

    Extended ACLs are specific enough to drop unwanted traffic early, saving bandwidth.

  12. Question 12. What is at the end of every ACL?

    1. An implicit deny any
    2. An implicit permit any
    3. An implicit log statement
    4. Nothing; unmatched traffic is forwarded
    Show answer

    Answer: A. An implicit deny any

    Traffic that matches no entry is denied, so an ACL needs at least one permit.

  13. Question 13. Which wildcard mask matches all hosts in 192.168.4.0/22?

    1. 255.255.252.0
    2. 0.0.3.255
    3. 0.0.4.255
    4. 0.0.0.255
    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.

  14. Question 14. Which extended ACL entry permits HTTPS from any host to server 10.1.1.10?

    1. permit udp any host 10.1.1.10 eq 443
    2. permit tcp any host 10.1.1.10 eq 443
    3. permit tcp host 10.1.1.10 any eq 443
    4. permit ip any host 10.1.1.10 eq https
    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.

  15. Question 15. Which command applies ACL 110 to filter traffic entering interface Gi0/0?

    1. access-class 110 in, under interface Gi0/0
    2. ip access-list 110 in globally
    3. ip access-group 110 out, under line vty 0 4
    4. ip access-group 110 in, under 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.

  16. Question 16. Which switch feature blocks rogue DHCP servers by allowing DHCP offers only on trusted ports?

    1. Dynamic ARP inspection
    2. Port security
    3. DHCP snooping
    4. BPDU guard
    Show answer

    Answer: C. DHCP snooping

    DHCP snooping trusts only uplinks toward legitimate servers and builds a binding table used by other features.

  17. Question 17. Which feature uses the DHCP snooping binding table to drop spoofed ARP replies?

    1. Port security with sticky MACs
    2. Storm control on access ports
    3. Root guard on distribution links
    4. Dynamic ARP inspection (DAI)
    Show answer

    Answer: D. Dynamic ARP inspection (DAI)

    DAI validates ARP packets against IP-to-MAC bindings, which stops ARP poisoning attacks.

  18. 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?

    1. The port is err-disabled
    2. The new frames are silently dropped only
    3. The new MAC replaces the old one
    4. The switch logs the event and keeps forwarding
    Show answer

    Answer: A. The port is err-disabled

    The default mode is shutdown. Protect drops silently, and restrict drops and logs.

  19. Question 19. What does the sticky option do in port security?

    1. The port stays up regardless of violations
    2. Dynamically learned MAC addresses are added to the running configuration
    3. The port shares MAC addresses with other ports
    4. MAC addresses are removed after one minute
    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.

  20. Question 20. In AAA, which function determines what an authenticated user is allowed to do?

    1. Authorization
    2. Authentication
    3. Accounting
    4. Auditing
    Show answer

    Answer: A. Authorization

    Authentication proves identity, authorization grants permissions, and accounting records activity.

  21. Question 21. Which protocol is commonly used to authenticate users for network access, such as 802.1X and VPN logins?

    1. RADIUS
    2. TACACS+ only
    3. SNMP
    4. NTP
    Show answer

    Answer: A. RADIUS

    RADIUS combines authentication and authorization and is widely used for network access.

  22. Question 22. Which Wi-Fi security protocol uses AES-based CCMP encryption and is the minimum recommended today?

    1. WEP
    2. WPA2
    3. WPA with TKIP
    4. Open with MAC filtering
    Show answer

    Answer: B. WPA2

    WPA2 uses AES-CCMP. WPA3 improves on it, and WEP and TKIP are broken.

  23. Question 23. What does WPA3 provide over WPA2 for personal networks?

    1. Support for WEP keys on legacy clients
    2. Removal of the need for any passphrase
    3. Faster roaming without encryption
    4. SAE authentication that resists offline dictionary attacks
    Show answer

    Answer: D. SAE authentication that resists offline dictionary attacks

    SAE replaces the PSK four-way handshake vulnerability and adds forward secrecy.

  24. Question 24. When creating a WPA2-Personal WLAN in the WLC GUI, what must be configured under Layer 2 security?

    1. 802.1X with a RADIUS server list
    2. WPA2 with AES and a pre-shared key
    3. Web authentication with a guest portal
    4. WEP with a 104-bit key
    Show answer

    Answer: B. WPA2 with AES and a pre-shared key

    WPA2-Personal uses PSK authentication with AES encryption.

  25. Question 25. Which physical security control prevents unauthorized people from reaching network equipment?

    1. Strong enable secrets on routers
    2. Port security on access ports
    3. Encrypted SNMP traffic
    4. Locked wiring closets with badge access
    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.

  26. Question 26. What is the purpose of a login banner on network devices?

    1. Warn that access is restricted and monitored
    2. Encrypt the login session with SSH keys
    3. Speed up authentication against RADIUS
    4. Hide the device hostname from attackers
    Show answer

    Answer: A. Warn that access is restricted and monitored

    A banner (banner motd or banner login) supports legal action against unauthorized users.

  27. Question 27. Which command limits login attempts to reduce brute-force attacks on a router?

    1. exec-timeout 120 3
    2. login block-for 120 attempts 3 within 60
    3. security passwords min-length 3
    4. ip ssh time-out 60
    Show answer

    Answer: B. login block-for 120 attempts 3 within 60

    This blocks logins for 120 seconds after 3 failures within 60 seconds.

  28. Question 28. What is an exploit?

    1. A weakness in software design
    2. Code or a technique that takes advantage of a vulnerability
    3. A policy that restricts access
    4. An alert from an intrusion detection system
    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.

  29. Question 29. Which ACL entry matches only host 172.16.5.5?

    1. 172.16.5.5 255.255.255.255
    2. any 172.16.5.5
    3. host 172.16.5.5, or 172.16.5.5 0.0.0.0
    4. 172.16.5.0 0.0.0.255
    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.

  30. Question 30. An attacker floods a switch with frames from thousands of fake MAC addresses so it floods all traffic. Which feature mitigates this?

    1. Port security limiting MACs on each port
    2. DHCP snooping enabled on the uplinks
    3. Rapid PVST+ running on all ports
    4. CDP enabled on every access port
    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.