Security Fundamentals

298 questions

Question 241Question

A network security engineer is hardening a Cisco IOS router for remote administrative access. The running configuration contains the following entries:

text
username opsadmin privilege 15 secret 9 99 eG8H kQzP8vX...usernameopstechsecret5kQzP8vX... username opstech secret 5 1 mER7mER7 h8GzK2Pq...
username opsguest password 0 Cisco12345!
service password-encryption
!
line vty 0 4
exec-timeout 10 0
privilege level 5
login local
transport input ssh

Based on this configuration, which operational behavior will occur when users authenticate remotely via SSH?

Show answer & explanation

Answer: The account without an explicit privilege level enters privilege level 5 upon successful login because it inherits the line configuration, whereas the administrator account enters privilege level 15.

Answer

The user account without an explicit privilege level definition inherits privilege level 5 from the line VTY configuration upon login, while the administrator account with privilege 15 specified in its username command overrides the line setting and enters privilege level 15 directly.
In Cisco IOS, when VTY lines are configured with 'login local' and a baseline 'privilege level X', any local database account that authenticates without an explicit privilege level defined in its 'username' statement will inherit privilege level X from the line. Accounts configured with an explicit 'privilege Y' attribute in the local database override the line setting and enter privilege level Y immediately upon successful authentication.

Step-by-Step Solution

1
Analyze local database user configuration attributes
The administrator user account specifies explicit privilege level 15. The secondary technical user account specifies no privilege attribute, defaulting to privilege level 1 in its user definition.
Explicit privilege settings tied to a username dictate the user's privilege level unless unassigned.
2
Evaluate line VTY privilege level interaction with local authentication
The line VTY range is configured with 'privilege level 5' and 'login local'.
When authenticating against the local database via VTY lines, Cisco IOS uses the line's configured privilege level as the default EXEC level for any authenticated user account that does not have an explicit privilege level assigned.
3
Determine session privilege outcomes for both accounts
The administrator account enters privilege level 15 (explicit user override). The secondary technical account enters privilege level 5 (inherited from VTY line).
User-specific privilege levels take precedence over line privilege settings, but line privilege settings override the default level 1 for unassigned local accounts.

Key Concept

Interaction between local database username privilege settings, line VTY privilege levels, and Cisco IOS password hashing types
Question 242Question

An organization is updating its network management policy to mitigate the threat of credential sniffing and unauthorized command execution during administrative access to network devices across an untrusted network. Which protocol should be deployed to enforceAAA administrative access while ensuring that the complete payload—including all authorization commands—is fully encrypted in transit?

Show answer & explanation

Answer: TACACS+, because it uses TCP and encrypts the entire body of every packet exchanged between the client and server.

Answer

TACACS+, because it uses TCP and encrypts the entire body of every packet exchanged between the client and server.
The correct answer highlights TACACS+ because TACACS+ utilizes TCP (port 49) and encrypts the entire packet body following the header. This prevents eavesdroppers from viewing user credentials, administrative commands, or authorization responses on the network.

Step-by-Step Solution

1
Analyze the security requirement and threat vector described in the scenario.
The goal is to prevent credential sniffing and unauthorized command execution by choosing a management protocol that encrypts all administrative payload traffic.
Administrative sessions across untrusted networks are vulnerable to packet capture attacks if management traffic or command payloads are sent in cleartext or only partially encrypted.
2
Compare transport protocols and encryption behavior between TACACS+ and RADIUS.
TACACS+ uses TCP port 49 and encrypts the full body of every packet. RADIUS uses UDP (ports 1812/1813) and only encrypts the password in the access-request packet.
Full payload encryption ensures that username, password, authorization attributes, and executed CLI commands remain confidential during transmission.
3
Identify the correct protocol matching all criteria.
TACACS+ is the correct choice because it encrypts the entire payload and runs over TCP.
Only TACACS+ meets the requirement of full packet body encryption and detailed command authorization control.

Key Concept

Mitigating Administrative Sniffing Threats via TACACS+ Full Payload Encryption
Estimated Time:1m 15s
Question 243Question

An enterprise needs to grant external consultants secure access to web-based internal applications from their personal, unmanaged laptops. The security policy strictly forbids requiring local administrative rights or installing persistent client software on the end-user endpoints. Which VPN deployment model best satisfies these operational constraints?

Show answer & explanation

Answer: Clientless SSL/TLS VPN accessed through a native web browser

Answer

Clientless SSL/TLS VPN accessed through a native web browser
Clientless SSL/TLS VPN allows users to securely connect to web-based internal network resources using only a standard web browser. Because the browser handles the SSL/TLS session, no administrative privileges or specialized client applications are required on the host device.

Step-by-Step Solution

1
Analyze the endpoint software and permission requirements
The scenario dictates no local admin rights and no persistent software installation on end-user devices.
Personal unmanaged endpoints cannot run managed client software installations.
2
Evaluate VPN deployment models against endpoint constraints
Clientless SSL VPN uses standard HTTPS browser connections, requiring no client installation.
Browser-based TLS sessions encapsulate application data without needing specialized local drivers or software.
3
Differentiate from Site-to-Site and Client-based IPsec alternatives
IPsec site-to-site connects gateways; IPsec remote access requires software installation.
Only Clientless SSL VPN meets both the application scope (web-based) and device policy constraints.

Key Concept

Clientless SSL VPN vs Client-based Remote Access VPN Architecture
Question 244Question

A company is establishing operational guidelines to meet compliance mandates for its core data facility. The chief security officer highlights the necessity of administrative safeguards working in tandem with physical access mechanisms. Which initiative is properly classified as an administrative element of a security program?

Show answer & explanation

Answer: Mandating quarterly security awareness training sessions and formal clean-desk policies for all staff

Answer

Mandating quarterly security awareness training sessions and formal clean-desk policies for all staff is an administrative security program element.
The option specifying mandatory security awareness training and clean-desk policies represents an administrative security control. Administrative controls consist of policies, regulations, compliance guidelines, and security awareness programs designed to direct human behavior and govern organizational security operations.

Step-by-Step Solution

1
Categorize the options into control categories: Administrative, Physical, and Technical (Logical).
Administrative controls include policies, procedures, and training programs. Physical controls include locks, biometrics, and physical barriers. Technical controls include ACLs, port security, and protocol authentication.
Security program elements are classified based on whether they regulate human behavior/policy (administrative), physical entry (physical), or software/hardware enforcement (technical).
2
Identify which choice represents administrative policy and human behavior governance.
Mandating security awareness training and enforcing clean-desk policies fall squarely under administrative management.
Administrative controls establish the rules of behavior, compliance monitoring, and organizational security awareness.

Key Concept

Classification of Security Program Elements (Administrative vs. Physical vs. Technical Controls)
Estimated Time:1m 0s
Question 245Question

Match each physical access control or security program element to its primary purpose within an enterprise network security framework.

Click a left item, then click its matching right item

Items

Mantrap
Security Awareness Training
Biometric Access Control
Incident Response Plan

Matches

Show answer & explanation

Answer

Mantrap matches with preventing piggybacking/tailgating via interlocking doors. Security Awareness Training matches with educating personnel on social engineering and phishing. Biometric Access Control matches with verifying human biological features for physical entry. Incident Response Plan matches with formal administrative breach response procedures.
Each physical access control (mantrap, biometric scanner) directly mitigates physical entry threats through hardware mechanisms or biological authentication. Each security program element (awareness training, incident response plan) provides administrative structure, human education, and process governance.

Step-by-Step Solution

1
Analyze each physical access control mechanism on the left.
Identify that a mantrap uses interlocking doors to combat tailgating, while biometrics validate biological features like fingerprints.
Physical controls manage direct bodily entry into hardware facilities.
2
Analyze each security program element on the left.
Identify that security awareness training targets human education against phishing, while an incident response plan is an administrative document outlining breach remediation steps.
Administrative elements establish policies, procedures, and human awareness program goals.
3
Pair each item on the left with its corresponding description on the right.
Establish the 4 correct pairings accurately.
Aligning controls with their functional definitions demonstrates mastery of physical and administrative program elements.

Key Concept

Classification and functional roles of physical access controls and administrative security program elements.
Question 246Question

A network security administrator is designing an IPsec site-to-site VPN to interconnect a main office and a remote branch office across the Internet. Which TWO statements correctly describe the operational functions and behavior of IPsec framework protocols in this deployment?

Select all that apply

Show answer & explanation

Answer: ESP in Tunnel mode encrypts the entire original IP packet and adds a new outer IP header for routing across public networks.; ESP provides data confidentiality, data origin authentication, and connectionless integrity for IP packets.

Answer

The two correct statements are that ESP in Tunnel mode encrypts the entire original IP packet with a new outer IP header added, and that ESP provides data confidentiality, origin authentication, and integrity.
ESP (Encapsulating Security Payload) is the core IPsec protocol used when encryption is required. In Tunnel mode, ESP encapsulates and encrypts the complete original IP packet (header and payload) with ESP headers/trailers and prepends a new outer IP header. This provides data confidentiality, authentication, and integrity across public networks.

Step-by-Step Solution

1
Evaluate the capabilities and operation of ESP (Encapsulating Security Payload).
ESP delivers encryption (confidentiality), authentication, and integrity. When configured in Tunnel mode, it protects the entire original IP packet and places a new outer IP header in front of the ESP header.
Gateway-to-gateway VPN tunnels require full packet encapsulation (Tunnel mode) and confidentiality (ESP) to safely transit public networks.
2
Examine statements regarding AH (Authentication Header) features and NAT interaction.
AH provides integrity and authentication but lacks encryption capability. Because AH hashes immutable and mutable outer IP header fields, address modifications by NAT break AH validation.
Recognizing that AH lacks confidentiality and is incompatible with NAT eliminates incorrect protocol claims.
3
Differentiate between Transport mode and Tunnel mode encapsulation.
Transport mode leaves the original IP header unencapsulated (protecting only the payload), whereas Tunnel mode creates a new outer IP header around the entire original IP packet.
This confirms Tunnel mode is the required encapsulation method for site-to-site security gateways.

Key Concept

IPsec Framework Protocols (ESP vs. AH) and Encapsulation Modes (Tunnel vs. Transport)
Question 247Question

Match each VPN operational feature or protocol component on the left with its corresponding functional description on the right.

Click a left item, then click its matching right item

Items

Dead Peer Detection (DPD)
Split Tunneling
Authentication Header (AH)
Dynamic Multipoint VPN (DMVPN)

Matches

Show answer & explanation

Answer

Dead Peer Detection matches with monitoring tunnel liveness via keepalives; Split Tunneling matches with selectively routing corporate traffic through the tunnel while internet traffic bypasses it; Authentication Header matches with providing integrity and authentication without data encryption; Dynamic Multipoint VPN matches with leveraging GRE, NHRP, and IPsec to dynamically establish spoke-to-spoke tunnels.
Each feature corresponds to its specific technical function in VPN architecture: Dead Peer Detection detects dead VPN peers via keepalives; Split Tunneling optimizes bandwidth by routing only targeted subnets over the VPN; Authentication Header provides integrity without encryption; Dynamic Multipoint VPN uses mGRE and NHRP for dynamic spoke-to-spoke WAN connectivity.

Step-by-Step Solution

1
Analyze Dead Peer Detection (DPD)
Identify that DPD handles connection liveness monitoring using hello/keepalive messages between IPsec peers.
VPN gateways need a mechanism to reclaim security association resources when a peer unexpectedly crashes or loses power.
2
Analyze Split Tunneling
Identify that split tunneling separates corporate-bound traffic (sent inside the VPN) from general internet traffic (sent outside the VPN).
This conserves central corporate internet bandwidth while maintaining secure access to private enterprise resources.
3
Analyze Authentication Header (AH)
Identify that AH provides integrity and authentication for the whole packet, but does not provide encryption (confidentiality).
AH (IP protocol 51) computes a hashed MAC over packet headers and payload, whereas ESP (IP protocol 50) is required for encryption.
4
Analyze Dynamic Multipoint VPN (DMVPN)
Identify that DMVPN combines mGRE, NHRP, and IPsec to form on-demand site-to-site tunnels dynamically.
DMVPN scales enterprise WAN topologies by allowing spokes to communicate directly without hair-pinning traffic through the hub.

Key Concept

Remote Access and Site-to-Site VPN Components & Operation
Question 248Question

A network administrator applies the following IPv4 extended named access control list (ACL) inbound on the GigabitEthernet0/1 interface of a Cisco IOS router to restrict access to a server network:

text
ip access-list extended SERVER_POLICY
10 permit tcp 172.16.5.0 0.0.0.255 host 172.20.10.25 eq 22
20 permit tcp 172.16.5.128 0.0.0.127 172.20.10.0 0.0.0.255 eq 443
30 deny tcp host 172.16.5.150 172.20.10.0 0.0.0.255
40 permit ip 172.16.5.0 0.0.0.255 172.20.10.0 0.0.0.255

The router receives two distinct packets on interface GigabitEthernet0/1:
- Packet 1: Source IP 172.16.5.150, Destination IP 172.20.10.25, Protocol UDP (DNS, destination port 53)
- Packet 2: Source IP 172.16.5.150, Destination IP 172.20.10.30, Protocol TCP (HTTP, destination port 80)

Which statement accurately describes how the router processes these two packets?

Show answer & explanation

Answer: Packet 1 is permitted by sequence line 40 because protocol IP encompasses UDP; Packet 2 is denied by sequence line 30 during sequential top-down evaluation.

Answer

Packet 1 is permitted by sequence line 40 because protocol IP encompasses UDP; Packet 2 is denied by sequence line 30 during sequential top-down evaluation.
Cisco IPv4 extended ACLs are processed sequentially from top to bottom until the first match occurs. Packet 1 is a UDP packet. Lines 10, 20, and 30 explicitly match protocol TCP only, so Packet 1 skips them and reaches line 40. Line 40 uses protocol 'ip', which covers all Layer 4 protocols including UDP, so Packet 1 is permitted. Packet 2 is a TCP packet from host 172.16.5.150 to 172.20.10.30. It skips lines 10 and 20 due to non-matching destination parameters, but matches line 30, which explicitly denies all TCP traffic from host 172.16.5.150 to any address in the 172.20.10.0/24 subnet regardless of port number.

Step-by-Step Solution

1
Evaluate Packet 1 (UDP, source 172.16.5.150, destination 172.20.10.25) against ACL entries top-down.
Lines 10, 20, and 30 explicitly match protocol 'tcp'. Because Packet 1 uses 'udp', it skips lines 10, 20, and 30.
Protocol matching in extended ACLs requires an exact protocol match (or broad match under protocol 'ip').
2
Evaluate Packet 1 against line 40.
Line 40 matches source subnet 172.16.5.0/24 (wildcard 0.0.0.255) and destination subnet 172.20.10.0/24 (wildcard 0.0.0.255) under protocol 'ip'.
The 'ip' protocol keyword in Cisco IPv4 extended ACLs acts as a wildcard protocol matching TCP, UDP, ICMP, and all other IP payload protocols. Packet 1 is PERMITTED.
3
Evaluate Packet 2 (TCP, source 172.16.5.150, destination 172.20.10.30, port 80) against ACL entries top-down.
Line 10 requires destination IP 172.20.10.25 and port 22 (no match). Line 20 requires source IP in range 172.16.5.128-172.16.5.255 and port 443 (no match). Line 30 matches TCP traffic from host 172.16.5.150 to destination subnet 172.20.10.0/24.
Line 30 specifies 'deny tcp host 172.16.5.150 172.20.10.0 0.0.0.255' without port restriction, meaning ALL TCP ports are matched and denied. Packet 2 is DENIED.

Key Concept

Top-down sequential evaluation of IPv4 Extended Access Control Lists, protocol suite coverage of the 'ip' keyword, and exact match criteria.
Estimated Time:2m 0s
Question 249Question

A network engineer applies the following local authentication and access configuration to a Cisco IOS XE router:

text
username opsuser privilege 7 secret OpsPass#2026
username auditor privilege 1 secret AuditPass#2026
enable secret EnablePass#2026
!
line vty 0 15
transport input ssh
login local

When `opsuser` successfully establishes an SSH session to the router using local database credentials, which initial operational state and privilege level behavior does the user experience?

Show answer & explanation

Answer: The user is placed directly into EXEC mode at privilege level 7 without needing to issue the enable command.

Answer

The user is placed directly into EXEC mode at privilege level 7 without needing to issue the enable command.
When a local user account is created with an explicit privilege parameter (such as 'privilege 7'), Cisco IOS applies that privilege level immediately upon successful authentication via 'login local'. The user lands directly in EXEC mode at privilege level 7 with access to commands permitted at or below that level.

Step-by-Step Solution

1
Analyze local database user configuration
The user 'opsuser' is defined with explicit privilege level 7 using 'username opsuser privilege 7 secret OpsPass#2026'.
Explicit privilege level keywords in local user creation define the initial privilege level assigned to the session upon authentication.
2
Analyze line VTY access control settings
The VTY lines use 'login local' to authenticate inbound SSH sessions against the local user database.
'login local' instructs Cisco IOS to validate credentials against the local running configuration user database and apply associated user attributes.
3
Determine post-authentication session environment
Upon successful login, Cisco IOS grants the session privilege level 7 immediately with the CLI prompt showing 'opsuser#'.
Users with custom privilege levels defined in the local database bypass default user EXEC (level 1) restriction and enter directly at their configured level without requiring the 'enable' command.

Key Concept

Cisco IOS Local Database User Privilege Level Assignment and VTY Access Behavior
Estimated Time:2m 0s
Question 250Question

A network administrator configures an IPv4 extended named Access Control List (ACL) on router R1 to control access to a server farm located on subnet 10.120.16.0/20, which connects locally to interface GigabitEthernet0/0. The policy requirements state that:
1. Management traffic (SSH and HTTPS) from 192.168.100.0/24 to the server farm must be allowed.
2. ICMP echo requests from host 192.168.200.5 to the server farm must be allowed.
3. All traffic originating inside the server farm (10.120.16.0/20) bound for its default gateway (10.120.16.1) must be allowed.
4. All other IPv4 traffic entering the server farm interface must be denied and logged.

The engineer applies the following configuration:

text
ip access-list extended SEC_SERVER_MGMT
permit tcp 192.168.100.0 0.0.0.255 10.120.16.0 0.0.15.255 eq 22
permit tcp 192.168.100.0 0.0.0.255 10.120.16.0 0.0.15.255 eq 443
permit icmp host 192.168.200.5 10.120.16.0 0.0.15.255 echo
permit ip 10.120.16.0 0.0.15.255 host 10.120.16.1
!
interface GigabitEthernet0/0
ip access-group SEC_SERVER_MGMT in

Which two statements correctly identify flaws or operational outcomes of this ACL deployment?

Select all that apply

Show answer & explanation

Answer: Unlisted denied traffic will be dropped silently without generating log messages because no explicit deny statement with the log keyword was configured.; Traffic sent from the remote admin network (192.168.100.0/24) to the server farm will not match the ACL entries on GigabitEthernet0/0 because it enters R1 through a different interface.

Answer

The configuration fails because unlisted denied packets are dropped silently by the default implicit deny clause rather than logged, and applying the ACL inbound on GigabitEthernet0/0 filters outbound server traffic rather than inbound traffic from remote subnets.
The deployment exhibits two distinct operational flaws. First, applying the ACL inbound on the server-facing interface filters traffic sent by the servers into the router rather than traffic destined to the servers from remote management networks. Second, Cisco IOS ACLs end with an unwritten implicit deny clause that drops unmatched traffic silently. To fulfill the requirement of logging denied traffic, an explicit 'deny ip any any log' entry must be added.

Step-by-Step Solution

1
Analyze the direction of traffic flow and ACL placement.
GigabitEthernet0/0 connects locally to the 10.120.16.0/20 subnet. Traffic coming from remote networks (such as 192.168.100.0/24) toward the server farm travels out of GigabitEthernet0/0. Applying an inbound ACL ('ip access-group SEC_SERVER_MGMT in') on GigabitEthernet0/0 filters traffic originating from the server farm entering the router, not traffic heading to the server farm.
Extended ACLs must be placed as close to the source as possible or configured in the proper direction (outbound on GigabitEthernet0/0) to filter incoming traffic destined to servers.
2
Evaluate the implicit deny clause and logging requirements.
Every Cisco IOS IPv4 ACL ends with an invisible implicit 'deny ip any any' rule. Because this implicit statement drops packets silently, requirement 4 (deny and log all other IPv4 traffic) is not met unless an explicit line 'deny ip any any log' is configured at the end of the ACL.
Logging requires explicit configuration of the 'log' parameter on a matching statement; the implicit deny statement never produces log events.
3
Verify wildcard mask calculations.
For a /20 prefix (255.255.240.0), the wildcard mask is 255.255.255.255 - 255.255.240.0 = 0.0.15.255. Adding 15.255 to 10.120.16.0 yields 10.120.31.255, matching subnet 10.120.16.0/20 accurately.
Validating wildcard calculations ensures that the destination address scope in the permit lines is correct.

Key Concept

ACL Interface Direction and Implicit Deny Mechanics
Question 251Question

An enterprise requires remote employees using corporate laptops to establish a secure network-layer tunnel back to the headquarters firewall. The solution must support all IP-based applications and operate seamlessly across restrictive public networks by encapsulating traffic inside TLS or DTLS on port 443. Which VPN technology should the administrator deploy to satisfy these requirements?

Show answer & explanation

Answer: SSL/TLS remote access VPN utilizing a dedicated software client

Answer

SSL/TLS remote access VPN utilizing a dedicated software client
Client-based SSL/TLS remote access VPNs (such as Cisco Secure Client / AnyConnect) create a virtual network interface on the user's endpoint, encapsulating all network-layer IP traffic inside TLS (TCP 443) or DTLS (UDP 443). This satisfies both requirements: supporting arbitrary IP applications and seamlessly bypassing restrictive firewalls.

Step-by-Step Solution

1
Analyze the access requirement
Individual remote users (teleworkers) need full network-level IP application access from their laptops to headquarters.
Remote access VPNs are designed for individual user-to-network connections, whereas site-to-site VPNs connect entire network segments.
2
Evaluate transport and protocol constraints
Traffic must be encapsulated over SSL/TLS or DTLS using port 443 to traverse restrictive firewalls.
SSL/TLS remote access VPNs use TCP/UDP port 443, which easily passes through NAT and strict firewall rules compared to native IPsec ESP (IP protocol 50).
3
Select the appropriate client deployment model
A dedicated client software (such as Cisco AnyConnect) is required for full network-layer IP encapsulation.
Clientless SSL VPN is limited to web browser access, whereas client-based SSL VPN creates a virtual network interface that tunnels all client IP traffic.

Key Concept

SSL/TLS Remote Access VPN Client-Based Architecture vs Clientless and Site-to-Site VPNs
Estimated Time:1m 15s
Question 252Question

A technician configures initial administrative security on a newly racked Cisco IOS XE switch using the following CLI commands:

text
username netadmin secret C1sco!Pass2026
line console 0
password C1sco!Pass2026
login

During validation, the technician observes that connecting via the serial console prompts only for a password, allowing login without entering the username `netadmin` stored in the local database.

Which command must be executed under `line console 0` to require authentication against the local user database?

Show answer & explanation

Answer: login local

Answer

The 'login local' command must be executed under line console 0 to force the switch to prompt for both a username and password defined in the local user database.
The 'login local' command configures line console 0 to authenticate access using credentials defined in the device's local database (created via 'username' commands). This causes the device to display both 'Username:' and 'Password:' prompts during login.

Step-by-Step Solution

1
Analyze the current line console 0 configuration snippet
The current line configuration contains 'password C1sco!Pass2026' followed by 'login', which configures simple password-only line authentication.
The standard 'login' keyword under line configuration checks only against the line-specific password and ignores local username database entries.
2
Identify the CLI keyword required to consult the local user database
Replacing 'login' with 'login local' instructs Cisco IOS XE to prompt for both username and password credentials.
The 'local' parameter directs authentication requests to user accounts configured via global 'username' statements.

Key Concept

Cisco IOS Line Authentication Modes and Local Database Integration
Estimated Time:1m 0s
Question 253Question

An administrator enables port security on a Cisco switch interface using default settings without specifying a violation mode. What default action will the switch take if an unauthorized device connects to this interface?

Show answer & explanation

Answer: It immediately shuts down the interface, places it into an err-disabled state, and turns off the port LED.

Answer

The switch immediately shuts down the interface, places it into an err-disabled state, and turns off the port LED.
When port security is enabled on a Cisco switch interface, the default violation mode is shutdown. When an unauthorized MAC address triggers a violation, the interface is immediately placed in an err-disabled state, disabling all traffic through the port until manually re-enabled or automatically recovered.

Step-by-Step Solution

1
Identify the default violation mode for Cisco port security.
The default violation mode is shutdown.
When port-security is enabled without specifying a violation action using `switchport port-security violation`, the switch defaults to `shutdown`.
2
Determine the switch reaction when a violation occurs under shutdown mode.
The port transitions to the err-disabled state and stops forwarding all traffic.
Shutdown mode disables the interface entirely, turns off the link LED, increments the violation counter, and generates a syslog message.

Key Concept

Port Security Default Violation Mode
Question 254Question

An enterprise organization is updating security measures for its core telecommunications enclosure to protect critical network hardware. Which mechanism serves as a physical access control specifically designed to prevent unauthorized individuals from tailgating authorized personnel into the facility?

Show answer & explanation

Answer: A mantrap portal equipped with interlocking doors and biometric identity verification

Answer

A mantrap portal equipped with interlocking doors and biometric identity verification
A mantrap portal consists of a small vestibule with two interlocking doors. Once an authorized user enters the outer door, it must close and lock before authentication unlocks the inner door. This structure physically limits entry to one validated person at a time, preventing tailgating.

Step-by-Step Solution

1
Identify the primary threat vector and control category specified in the scenario.
The requirement specifies physical security controls to prevent tailgating into a telecommunications enclosure.
Tailgating occurs when an unauthorized person closely follows an authorized user through a physical entrance without independent authentication.
2
Evaluate the candidate security controls.
Mantrap portals enforce single-person physical access through interlocking doors. Logical controls like ACLs, TACACS+, and port security manage digital network access, not physical perimeter security.
Physical access controls directly restrict physical entry to physical hardware and secure spaces.

Key Concept

Physical Access Controls and Anti-Tailgating Mechanisms
Question 255Question

Match each port security violation mode on the left with its corresponding switch behavior when an unauthorized MAC address is detected on an interface.

Click a left item, then click its matching right item

Items

Protect Mode
Restrict Mode
Shutdown Mode

Matches

Show answer & explanation

Answer

Protect mode matches silent packet dropping without counters; Restrict mode matches packet dropping with violation counter increments and Syslog notifications; Shutdown mode matches error-disabling the port and generating notifications.
Each violation mode dictates how Cisco IOS handles unauthorized frames on a secured port. Protect silently drops unauthorized traffic; Restrict drops unauthorized traffic while logging and counting violations; Shutdown disables the entire port by placing it into the err-disabled state.

Step-by-Step Solution

1
Identify the behavior of Protect mode.
Protect mode drops frames from unauthorized MAC addresses without logging or updating counters.
Protect is designed for silent dropping of unauthorized frames.
2
Identify the behavior of Restrict mode.
Restrict mode drops frames from unauthorized MAC addresses while actively logging Syslog alerts and incrementing violation counters.
Restrict mode alerts administrators while leaving the interface active for authorized traffic.
3
Identify the behavior of Shutdown mode.
Shutdown mode disables the port entirely, transitioning it to the err-disabled state upon a violation.
Shutdown is the most restrictive default mode in Cisco IOS port security.

Key Concept

Port Security Violation Modes (Protect, Restrict, Shutdown)
Question 256Question

A network engineer applies the following IPv4 extended named Access Control List (ACL) inbound on interface GigabitEthernet0/0 of a Cisco IOS router:

text
ip access-list extended SERVER_ACCESS
permit tcp 172.16.10.0 0.0.0.255 host 192.168.50.10 eq 443
permit tcp 172.16.10.0 0.0.0.255 host 192.168.50.10 eq 80

A workstation with IPv4 address 172.16.10.45 attempts to establish an SSH management session (TCP port 22) to the server at 192.168.50.10. Which result describes how the router processes this SSH traffic?

Show answer & explanation

Answer: The router drops the traffic because it fails to match any explicit permit entry and is caught by the implicit deny any clause at the end of the ACL.

Answer

The router drops the traffic because it fails to match any explicit permit entry and is caught by the implicit deny any clause at the end of the ACL.
Cisco IPv4 extended ACLs process rules sequentially from top to bottom. The ACL contains explicit permit entries for TCP port 443 (HTTPS) and TCP port 80 (HTTP). SSH traffic uses TCP port 22, which does not match either line. Because Cisco IOS automatically appends an unwritten implicit deny rule (deny ip any any) to the bottom of every ACL, any packet that reaches the end of the list without matching an explicit permit rule is dropped.

Step-by-Step Solution

1
Evaluate the packet header attributes against the ACL entry conditions.
Source IP is 172.16.10.45, destination IP is 192.168.50.10, protocol is TCP, and destination port is 22 (SSH).
ACL rule matching requires checking source IP, destination IP, L4 protocol, and destination port.
2
Perform top-down sequential processing against line 10 and line 20.
Line 10 matches TCP port 443 only. Line 20 matches TCP port 80 only. Neither line matches destination TCP port 22.
Cisco IOS ACL rules are evaluated sequentially in top-down order until a match occurs.
3
Evaluate the unlisted packet against default ACL behavior.
The packet encounters the implicit 'deny ip any any' statement at the end of the ACL and is dropped.
All Cisco IOS IPv4 standard and extended access control lists conclude with an unwritten, implicit deny all traffic statement.

Key Concept

Sequential evaluation and implicit deny behavior in Cisco IPv4 Extended ACLs
Estimated Time:1m 15s
Question 257Question

A network administrator is auditing the infrastructure security measures for a newly constructed enterprise data center facility. Which two measures represent physical access controls specifically designed to protect physical hardware and prevent unauthorized physical entry? (Select two.)

Select all that apply

Show answer & explanation

Answer: Implementation of a dual-door mantrap portal that requires sequential credential authentication for entry; Installation of biometric door scanners paired with electronic smart card badge readers at facility entryways

Answer

The two correct physical access controls are the implementation of a dual-door mantrap portal with sequential credential authentication, and the installation of biometric door scanners paired with electronic smart card badge readers.
Physical access controls are mechanisms designed to guard physical spaces, facilities, and network infrastructure hardware. A dual-door mantrap portal prevents unauthorized tailgating by locking one door until the person inside is verified before opening the inner door. Biometric scanners and electronic badge readers serve as physical access controls that validate identity before permitting entry to server rooms.

Step-by-Step Solution

1
Categorize each security measure in the options as physical, administrative, or technical.
Mantrap portals and biometric badge readers are physical controls; security training is an administrative program control; ACLs and TACACS+ are technical controls.
The question specifically asks for physical access controls that restrict physical access to facilities.
2
Select the controls that physically prevent unauthorized individuals from gaining physical access to network equipment.
Dual-door mantraps and biometric badge readers directly enforce physical perimeter security.
Physical controls rely on physical barriers, hardware devices, and mechanical or electronic entry locks to guard facilities.

Key Concept

Physical access controls involve physical barriers, biometric locks, badge readers, and mantraps to protect facilities and network hardware from unauthorized physical access.
Question 258Question

A network administrator needs to configure an extended IPv4 ACL (ACL 101) on a Cisco router to control access from the User Subnet (10.2.2.0/2410.2.2.0/24) to the Server Subnet (10.1.1.0/2410.1.1.0/24) according to the following security requirements:

1. Host 10.2.2.5010.2.2.50 must be permitted SSH access (TCP port 22) to Server 10.1.1.1010.1.1.10.
2. Host 10.2.2.5010.2.2.50 must be denied all other IP traffic to any destination on the Server Subnet (10.1.1.0/2410.1.1.0/24).
3. All other hosts on the User Subnet (10.2.2.0/2410.2.2.0/24) must be permitted HTTP access (TCP port 80) to Server 10.1.1.2010.1.1.20.
4. All other traffic from the User Subnet to the Server Subnet must be explicitly denied.

Arrange the given ACL statements in the correct top-down evaluation order (from first line processed to last line processed) to successfully enforce these security requirements.

Drag items to arrange them in the correct order

Show answer & explanation

Answer

The correct order from top to bottom is: 1) access-list 101 permit tcp host 10.2.2.50 host 10.1.1.10 eq 22, 2) access-list 101 deny ip host 10.2.2.50 10.1.1.0 0.0.0.255, 3) access-list 101 permit tcp 10.2.2.0 0.0.0.255 host 10.1.1.20 eq 80, 4) access-list 101 deny ip 10.2.2.0 0.0.0.255 10.1.1.0 0.0.0.255.
Cisco IOS ACLs evaluate packets sequentially from top to bottom until a match is found. To properly isolate host 10.2.2.50 while permitting host-specific SSH and allowing general subnet HTTP access, host-specific rules must be placed above subnet-level rules. Placing the host SSH permit first guarantees SSH traffic passes. Placing the host subnet deny second ensures host 10.2.2.50 cannot reach any other server or port (including HTTP on 10.1.1.20). Placing the subnet HTTP permit third allows remaining hosts on 10.2.2.0/24 to reach the web server. Finally, placing the general subnet deny fourth explicitly blocks all other inter-subnet traffic.

Step-by-Step Solution

1
Identify the most specific requirement for host 10.2.2.50 SSH access.
Place 'access-list 101 permit tcp host 10.2.2.50 host 10.1.1.10 eq 22' first so SSH traffic from host 10.2.2.50 is matched and allowed immediately.
Cisco IOS processes ACL entries sequentially from top to bottom; the first matching rule dictates the packet disposition.
2
Enforce the specific restriction on host 10.2.2.50 for the rest of the target subnet.
Place 'access-list 101 deny ip host 10.2.2.50 10.1.1.0 0.0.0.255' second.
If the general HTTP permit statement for 10.2.2.0/24 was placed above this line, host 10.2.2.50 would be allowed HTTP access to Server 10.1.1.20, breaking Requirement 2.
3
Permit HTTP traffic for all remaining hosts in the subnet.
Place 'access-list 101 permit tcp 10.2.2.0 0.0.0.255 host 10.1.1.20 eq 80' third.
Having blocked host 10.2.2.50 in step 2, this rule applies to all other 10.2.2.0/24 hosts trying to access web services on 10.1.1.20.
4
Catch all remaining traffic between the two subnets.
Place 'access-list 101 deny ip 10.2.2.0 0.0.0.255 10.1.1.0 0.0.0.255' fourth.
This explicitly drops any other IP traffic from 10.2.2.0/24 to 10.1.1.0/24.

Key Concept

Sequential Top-Down ACL Processing and Rule Shadowing
Question 259Question

A network administrator enables Dynamic ARP Inspection (DAI) on VLAN 20 of a Cisco Catalyst switch. DHCP Snooping is enabled on VLAN 20, but several legacy printers on untrusted access ports use static IPv4 addresses and are not recorded in the DHCP snooping binding database. Consequently, DAI drops legitimate ARP packets originating from these printers. Which two configuration actions must the administrator perform to allow ARP traffic from the static hosts while maintaining DAI inspection on those untrusted ports? (Select two.)

Select all that apply

Show answer & explanation

Answer: Define an ARP Access Control List (ARP ACL) using `arp access-list` that maps the static host IP addresses to their corresponding MAC addresses.; Apply the ARP ACL to VLAN 20 using the global configuration command `ip arp inspection filter <acl-name> vlan 20`.

Answer

To support static hosts with Dynamic ARP Inspection (DAI) without disabling security on untrusted ports, the administrator must create an ARP ACL containing static IP-to-MAC mappings and apply that ARP ACL to the VLAN using the `ip arp inspection filter` command.
Dynamic ARP Inspection relies on the DHCP snooping binding database to validate ARP packets on untrusted ports. When hosts are configured with static IP addresses, their bindings are absent from the DHCP snooping table. The standard Cisco IOS solution is to create an ARP ACL containing static IP-to-MAC permits and apply it to the VLAN using `ip arp inspection filter <acl-name> vlan <vlan-id>`.

Step-by-Step Solution

1
Identify the cause of packet drops under Dynamic ARP Inspection
DAI inspects incoming ARP requests and responses on untrusted ports against the DHCP snooping binding database. Statically addressed hosts lack entries in this database, causing DAI to mark their ARP packets as invalid.
DAI default behavior drops all ARP traffic on untrusted interfaces if the IP-to-MAC mapping is not verified.
2
Create an ARP Access Control List (ARP ACL)
Define an ARP ACL using `arp access-list <acl-name>` and permit ARP traffic matching the static IP address and MAC address of each static host.
ARP ACLs provide a mechanism to manually define valid static bindings for endpoints that bypass DHCP.
3
Filter DAI traffic on the target VLAN using the ARP ACL
Apply the ACL using `ip arp inspection filter <acl-name> vlan 20`.
This command instructs DAI to check the ARP ACL first when validating ARP frames on untrusted interfaces within VLAN 20.

Key Concept

Dynamic ARP Inspection (DAI) static host support via ARP ACLs
Question 260Question

A network administrator is evaluating local password storage mechanisms on a Cisco IOS XE device to align with security hardening standards. Arrange the following Cisco IOS password storage types in order from WEAKEST security protection to STRONGEST security protection.

Drag items to arrange them in the correct order

Show answer & explanation

Answer

The correct order from weakest to strongest security protection is: Type 0 (Plaintext), Type 7 (Reversible Vigenère Cipher), Type 5 (MD5 Hash), Type 8 (PBKDF2 with SHA-256), and Type 9 (scrypt Hash).
The correct sequence ranks Cisco IOS password protection from weakest to strongest based on cryptographic robustness: Type 0 is plain text, Type 7 uses a reversible obfuscation cipher, Type 5 uses standard MD5 hashing, Type 8 uses PBKDF2 with SHA-256 key stretching, and Type 9 uses memory-hard scrypt hashing.

Step-by-Step Solution

1
Identify unencrypted storage types
Type 0 is the weakest because it stores passwords in plain cleartext.
Cleartext offers zero protection against unauthorized configuration viewing.
2
Identify weak obfuscation mechanisms
Type 7 is slightly above Type 0 because it uses a weak, trivially reversible cipher generated by 'service password-encryption'.
Type 7 is simple obfuscation intended to prevent shoulder surfing, not secure password hashing.
3
Identify standard cryptographic one-way hashes
Type 5 uses a one-way MD5 hash.
MD5 is non-reversible, making it significantly stronger than Type 7, though more vulnerable to brute-force attacks compared to modern algorithms.
4
Compare modern key derivation functions
Type 8 uses PBKDF2 with SHA-256, while Type 9 uses the scrypt algorithm.
PBKDF2 (Type 8) provides strong key stretching, but scrypt (Type 9) adds memory hardness, making Type 9 the strongest against specialized hardware brute-force attacks.

Key Concept

Cisco IOS local password storage algorithm security hierarchy (Type 0 < Type 7 < Type 5 < Type 8 < Type 9).
Estimated Time:1m 30s
PreviousPage 13 / 15Next
Security Fundamentals Practice Questions — Cisco CCNA — Page 13 | Examkin