All practice questions

1987 questions

Question 681Question

A network engineer needs to configure a backup IPv4 static route on router HQ-Rtr to reach the remote LAN 10.220.50.0/2410.220.50.0/24. The primary path to this destination is learned via OSPFv2, which has a default Administrative Distance of 110. The backup static path must be routed through the next-hop IP address 192.168.88.2192.168.88.2 and should only be inserted into the IP routing table if the primary OSPF path fails. Which Cisco IOS command must be configured on HQ-Rtr to achieve this design requirement?

Show answer & explanation

Answer: ip route 10.220.50.0 255.255.255.0 192.168.88.2 120

Answer

The command 'ip route 10.220.50.0 255.255.255.0 192.168.88.2 120' correctly configures a floating static route with an Administrative Distance higher than OSPF.
The command specifying 'ip route 10.220.50.0 255.255.255.0 192.168.88.2 120' uses valid Cisco IOS syntax and assigns an Administrative Distance of 120. Because 120 is higher than OSPF's default Administrative Distance of 110, the static route remains inactive in the routing table until the primary OSPF path is lost.

Step-by-Step Solution

1
Identify the primary routing protocol and its Administrative Distance (AD).
The primary route is learned via OSPFv2, which has a default AD of 110.
To create a floating (backup) static route, its AD must be higher than the AD of the active primary routing protocol.
2
Determine the required Administrative Distance for the backup route.
An AD greater than 110 (such as 120) must be specified at the end of the static route command.
Routes with lower AD values are preferred. An AD of 120 ensures the route stays out of the routing table until the primary OSPF route disappears.
3
Verify Cisco IOS static route syntax.
Syntax format: 'ip route <destination-prefix> <subnet-mask> <next-hop-ip> [distance]'.
Cisco IOS requires subnet masks in dotted-decimal format (255.255.255.0), not wildcard masks.

Key Concept

Floating Static Route Administrative Distance Selection
Question 682Question

A network administrator is configuring static routes on router R1 to provide redundancy for destination network 172.20.50.0/24172.20.50.0/24. The primary path to this network is currently learned via OSPF with an administrative distance of 110110. The administrator wants to add a backup static route via next-hop IPv4 address 192.168.12.2192.168.12.2 and evaluate static route forwarding behavior on broadcast networks. Which two statements regarding static route configuration and forwarding logic are correct? (Select two.)

Select all that apply

Show answer & explanation

Answer: To function as a backup (floating) static route for the OSPF path, the static route must be configured with an administrative distance value greater than 110.; Configuring an IPv4 static route specifying only an exit interface on a broadcast Ethernet link causes the router to issue ARP requests for destination host IPs, relying on proxy ARP from the next-hop router.

Answer

The two correct statements are that a floating static route backing up OSPF must have an administrative distance greater than 110, and that specifying only an exit interface on a broadcast Ethernet link requires proxy ARP on the adjacent router to resolve destination IP addresses.
The statement requiring an administrative distance greater than 110 for a backup route is correct because OSPF has a default AD of 110, so a floating static route must have a higher AD (e.g., 120) to remain inactive until OSPF fails. The statement regarding exit-interface configuration on Ethernet links is also correct because broadcast media require next-hop MAC address resolution, causing the router to send ARP queries for destination IPs which require proxy ARP from the neighboring router.

Step-by-Step Solution

1
Analyze the floating static route administrative distance requirement.
OSPF has a default administrative distance (AD) of 110. For a static route to serve as a backup (floating static route), its AD must be set higher than 110 (e.g., 120). Setting an AD lower than 110 makes it the preferred active route immediately.
Lower administrative distance values indicate higher route trustworthiness in the Cisco IOS routing table.
2
Evaluate exit-interface behavior on Ethernet broadcast networks.
When a static route points only to an Ethernet exit interface (without a next-hop IP address), the router considers the destination network directly connected and sends an ARP request for the destination IP address of every traversing packet, relying on the next-hop device to answer via proxy ARP.
Ethernet is a multiaccess media type, so the router cannot automatically determine the next-hop Layer 2 MAC address without an explicit next-hop IP or proxy ARP response.
3
Verify forwarding precedence rules (Longest Prefix Match vs. AD).
Longest prefix match always takes precedence over administrative distance. A /26/26 route is more specific than a /24/24 route and will always be chosen for packets matching that subnet, regardless of AD.
Administrative distance is only used to select between routes with identical prefix lengths from different sources when populating the routing table.

Key Concept

IPv4 Static Route Administrative Distance and Next-Hop Resolution Mechanics
Question 683Question

A client host on VLAN 20 (172.16.20.0/24172.16.20.0/24) broadcasts a DHCPDISCOVER request to obtain network parameters. The default gateway router R1 forwards this request to a centralized DHCP server at 10.200.1.10010.200.1.100 via an `ip helper-address` statement configured on subinterface GigabitEthernet0/0.20. Which field inside the relayed DHCP payload does R1 populate with its own ingress subinterface IP address to inform the DHCP server which address pool to use?

Show answer & explanation

Answer: Gateway IP Address (giaddr)

Answer

The Relay Agent populates the Gateway IP Address (giaddr) field with its ingress interface IP address.
When a router acts as a DHCP relay agent via the `ip helper-address` command, it receives the client's broadcast DHCPDISCOVER message, inserts its own receiving interface IP address into the Gateway IP Address (giaddr) field, and forwards the packet as a unicast message to the targeted DHCP server. The DHCP server relies on the giaddr field to identify the originating subnet and allocate an IP address from the correct pool.

Step-by-Step Solution

1
Analyze the role of the DHCP relay agent when receiving a broadcast request.
The router receives a Layer 2/3 broadcast DHCPDISCOVER on subinterface GigabitEthernet0/0.20 (172.16.20.1172.16.20.1).
DHCP clients initially broadcast requests because they do not possess an IP address or know the server location.
2
Examine how the helper address processes and encapsulates the packet.
The router converts the broadcast into a unicast packet directed to 10.200.1.10010.200.1.100.
The `ip helper-address` configuration triggers the router to forward the request across Layer 3 boundaries.
3
Identify the specific field used to convey subnet origin context to the server.
The router inserts its interface address (172.16.20.1172.16.20.1) into the `giaddr` field.
The DHCP server reads `giaddr` to match and allocate an available IP address from the corresponding 172.16.20.0/24172.16.20.0/24 pool.

Key Concept

DHCP Relay Agent Operational Mechanics and giaddr Field Population
Question 684Question

A network engineer hardens an enterprise access switch by enabling DHCP Snooping, Dynamic ARP Inspection (DAI), and Port Security. Host A acquires an IPv4 address dynamically via DHCP on interface GigabitEthernet1/0/5, where Port Security is configured with the `switchport port-security mac-address sticky` command. The engineer executes `write memory` to save the running configuration. Later, the switch experiences a power outage and reboots. DHCP Snooping database persistence was not configured with `ip dhcp snooping database`. Upon bootup, Host A attempts to communicate using its active DHCP lease without re-initiating a DHCP DORA sequence. However, all ARP traffic from Host A is dropped by the switch. What is the root cause of these frame drops?

Show answer & explanation

Answer: The DHCP snooping binding table was stored in volatile RAM and cleared upon reboot, leaving Dynamic ARP Inspection with no valid IP-to-MAC binding entry to validate Host A's ARP traffic.

Answer

The DHCP snooping binding database was stored in volatile RAM and cleared upon reboot, leaving Dynamic ARP Inspection with no valid IP-to-MAC binding entry to validate Host A's ARP traffic.
Dynamic ARP Inspection (DAI) relies directly on the DHCP Snooping binding database to validate ARP requests and responses arriving on untrusted ports. By default, the binding table is kept in volatile RAM. If database persistence is not configured via `ip dhcp snooping database <url>`, a switch reload erases all binding entries. When Host A retains its existing IP assignment without issuing a new DHCP request after the switch reboots, DAI finds no matching IP-to-MAC mapping in the binding table and drops Host A's ARP packets.

Step-by-Step Solution

1
Analyze the operational dependency between Dynamic ARP Inspection (DAI) and DHCP Snooping.
DAI inspects ARP packets on untrusted ports by matching their source IP and MAC addresses against the active DHCP Snooping binding table.
DAI cannot make forwarding decisions without a valid binding entry or a manually configured ARP ACL.
2
Evaluate the storage location and persistence of the DHCP Snooping database.
By default, the DHCP Snooping binding table is maintained exclusively in volatile system RAM unless `ip dhcp snooping database` is configured with a persistent URL (such as flash or TFTP/FTP).
A switch reload flushes volatile memory, completely erasing all dynamically learned bindings.
3
Correlate post-reboot client behavior with DAI validation logic.
Because Host A did not perform a new DHCP exchange after the reboot, no new entry was written to the restored empty binding table. DAI compared Host A's ARP traffic against the empty table and dropped the frames.
Saving the running configuration with `write memory` preserves CLI settings and sticky MACs, but it does not store dynamic DHCP Snooping binding database entries.

Key Concept

DAI and DHCP Snooping Database Persistence
Question 685Question

A network technician is configuring Hot Standby Router Protocol (HSRP) on Router R1 to provide default gateway redundancy for hosts in VLAN 20. Interface GigabitEthernet0/0/1 on R1 has been assigned the IPv4 address 172.16.20.1/24172.16.20.1/24. The technician enters the following commands in interface configuration mode:

text
R1(config-if)# ip address 172.16.20.1 255.255.255.0
R1(config-if)# standby 20 ip 172.16.20.1

Which statement accurately describes the outcome of executing these configuration commands?

Show answer & explanation

Answer: Cisco IOS rejects the virtual IP configuration because HSRP does not allow the virtual IP address to match a physical interface IP address on any participating router.

Answer

Cisco IOS rejects the virtual IP configuration because HSRP does not allow the virtual IP address to match a physical interface IP address on any participating router.
In Cisco IOS Hot Standby Router Protocol (HSRP), the virtual IP address must be a unique, unassigned IPv4 address within the same IP subnet as the participating router interfaces. Cisco IOS will generate an error and reject any attempt to configure the virtual IP address to be identical to a physical interface IP address. Therefore, the statement noting that Cisco IOS rejects the configuration because HSRP does not allow matching physical IP addresses is correct.

Step-by-Step Solution

1
Analyze the proposed HSRP configuration command on Router R1.
The command attempts to assign 172.16.20.1172.16.20.1 as the HSRP virtual IP address for group 20, which is already configured as the physical IP address of GigabitEthernet0/0/1.
Identifying potential IP address conflicts between physical interface addressing and FHRP virtual addressing.
2
Evaluate HSRP protocol rules regarding virtual IP address assignment.
HSRP requires the virtual IP address to be an unused IP address within the same logical subnet as the physical interface IP addresses.
HSRP routers share a virtual IP and virtual MAC address. If the virtual IP matches a physical IP, ARP and routing table resolution conflicts occur.
3
Contrast HSRP behavior with VRRP operational rules.
While VRRP permits a router to act as the IP address owner (where the virtual IP matches the physical interface IP and automatically receives priority 255), HSRP strictly prohibits this practice and rejects the command in Cisco IOS.
Distinguishing vendor-standard HSRP mechanics from IEEE standard VRRP mechanics.

Key Concept

HSRP Virtual IP Address Assignment Restrictions
Estimated Time:1m 15s
Question 686Question

An enterprise network administration team is transitioning from manually entering configuration commands on individual switches via SSH to using centralized automation playbooks. Which primary operational benefit does this shift to automated management provide?

Show answer & explanation

Answer: It enforces configuration consistency across all network devices, significantly reducing human error and configuration drift.

Answer

Automating device management enforces configuration consistency across all network devices, significantly reducing human error and configuration drift.
The correct answer highlights that automated network management uses structured templates to deploy changes across devices simultaneously. This eliminates manual per-device CLI entry, drastically reducing human error and configuration drift across the network infrastructure.

Step-by-Step Solution

1
Identify the primary operational challenge of manual per-device CLI management.
Manual CLI changes lead to human error, typos, and inconsistent settings across devices over time (configuration drift).
Each switch must be accessed and configured individually by hand.
2
Analyze how centralized network automation addresses this challenge.
Centralized templates and playbooks push identical configurations across all target devices systematically.
Defining intent in software ensures predictable, repeatable change execution across the enterprise.

Key Concept

Impact of Network Automation on Operational Consistency and Efficiency
Estimated Time:45s
Question 687Question

A host client on VLAN 10 requests an IPv4 address assignment from a centralized DHCP server located across a Cisco router acting as a DHCP relay agent. Arrange the operational steps of the initial address discovery process in the correct chronological sequence.

Drag items to arrange them in the correct order

Show answer & explanation

Answer

The operational sequence begins with the host broadcasting a DHCPDISCOVER message on the local segment. Next, the relay agent populates the giaddr field with its ingress interface IPv4 address and unicasts the request to the central DHCP server. The DHCP server uses giaddr to select the correct IP pool and returns a unicast DHCPOFFER to the relay agent. Finally, the relay agent forwards the DHCPOFFER back onto the client subnet.
The sequence follows standard DHCP relay agent behavior: first the host broadcasts a DHCPDISCOVER on VLAN 10, then the relay agent populates the giaddr field with its local ingress IP and unicasts the packet to the DHCP server. The DHCP server uses giaddr to select the appropriate address pool and returns a unicast DHCPOFFER to the relay agent. Finally, the relay agent forwards the DHCPOFFER out to the host on VLAN 10.

Step-by-Step Solution

1
Identify the initial client message
The host broadcasts a DHCPDISCOVER packet on its local broadcast domain (VLAN 10).
DHCP clients initially have no IP address configuration and must send a Layer 2/3 broadcast to locate a DHCP server.
2
Analyze the relay agent processing step
The router interface configured with ip helper-address intercepts the broadcast, inserts its IP address into the giaddr field, and sends a unicast DHCPDISCOVER to the specified DHCP server IP.
Routers drop broadcast packets by default; the helper function encapsulates the request into a unicast IPv4 packet and identifies the originating subnet via giaddr.
3
Identify server processing and offer response
The central DHCP server receives the unicast packet, matches giaddr to its pool configuration, selects an available lease, and sends a unicast DHCPOFFER to the relay agent's IP address.
The server needs giaddr to know which pool to allocate from when clients are not on the local layer 2 segment.
4
Analyze relay agent client delivery step
The relay agent receives the DHCPOFFER and forwards it out the local client-facing interface onto VLAN 10.
The relay agent completes the initial offer phase by presenting the offered lease parameters back to the client subnet.

Key Concept

DHCP Relay Agent Operation and giaddr Population
Estimated Time:1m 30s
Question 688Question

A network administrator configures an inbound IPv4 extended Access Control List (ACL) on interface GigabitEthernet0/0 to control traffic originating from the engineering subnet 10.50.10.0/2410.50.10.0/24. The objective is to allow HTTP and HTTPS access to an internal web server at 172.16.1.100172.16.1.100, while continuing to allow normal network traffic to all other destinations.

The administrator applies the following configuration:

text
ip access-list extended FILTER_ENGINEERING
permit tcp 10.50.10.0 0.0.0.255 host 172.16.1.100 eq 80
permit tcp 10.50.10.0 0.0.0.255 host 172.16.1.100 eq 443

After applying this ACL to GigabitEthernet0/0 inbound, users in the 10.50.10.0/2410.50.10.0/24 subnet report that while they can access the web server, all access to internet services, DNS, and local file servers is completely blocked. What is the primary cause of this issue?

Show answer & explanation

Answer: The ACL does not include a statement to permit remaining traffic, causing all other traffic from the subnet to be dropped by the implicit deny clause at the end of the ACL.

Answer

The ACL lacks an explicit permit statement for other traffic, causing all unlisted network traffic from the subnet to be dropped by the implicit deny clause at the end of the ACL.
Every IPv4 Access Control List in Cisco IOS contains an implicit 'deny ip any any' statement at the end of the rule list. When creating an ACL intended to selectively allow specific services while permitting general network access, an explicit permit statement (such as 'permit ip 10.50.10.0 0.0.0.255 any') must be placed at the end of the list. Without it, all traffic not explicitly permitted is blocked.

Step-by-Step Solution

1
Analyze top-down processing of the ACL statements
Matches TCP port 80 traffic to 172.16.1.100 and permits it; matches TCP port 443 traffic to 172.16.1.100 and permits it.
Cisco ACLs process packets sequentially from top to bottom until a match occurs.
2
Evaluate handling of non-web traffic or traffic destined to other IP addresses
Traffic to other services (such as DNS on UDP port 53 or ICMP) does not match the first two permit statements.
Traffic that fails to match any explicit statement falls through to the end of the ACL.
3
Identify the final default behavior of Cisco ACLs
The implicit 'deny ip any any' at the end of the ACL drops all remaining packets.
Every Cisco IOS ACL has an unwritten implicit deny clause at the end. To allow other traffic, an explicit 'permit ip 10.50.10.0 0.0.0.255 any' or similar statement must be appended.

Key Concept

Implicit Deny Clause in IPv4 ACLs
Estimated Time:1m 30s
Question 689Question

A network engineer is analyzing connectivity failures on a Cisco Catalyst switch serving VLAN 20. DHCP Snooping and Dynamic ARP Inspection (DAI) are globally enabled and configured on VLAN 20. Users connected to access ports report that they fail to receive DHCP IP addresses, valid ARP requests from hosts are dropped by the switch engine, and port-security sticky MAC addresses learned on access port GigabitEthernet0/2 were lost following a switch reboot.

Which TWO administrative actions are required to resolve the DHCP/DAI packet drops and permanently persist the learned sticky MAC addresses across switch reboots? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Configure `ip dhcp snooping trust` and `ip arp inspection trust` on trunk interface GigabitEthernet0/1 connected to the DHCP server and default gateway.; Execute `copy running-config startup-config` after sticky MAC addresses have been dynamically learned into the running configuration.

Answer

The administrator must trust the uplink trunk port for both DHCP Snooping and Dynamic ARP Inspection, and save the running configuration to the startup configuration so dynamically learned sticky MAC addresses persist across reboots.
Configuring trust settings (`ip dhcp snooping trust` and `ip arp inspection trust`) on the uplink interface allows authorized DHCP responses and ARP packets from the default gateway to pass without being dropped. Additionally, executing `copy running-config startup-config` saves the dynamically learned sticky MAC addresses from RAM into NVRAM, ensuring they persist after a switch reload.

Step-by-Step Solution

1
Identify the cause of DHCP and ARP drops on the uplink trunk interface.
By default, all switch ports are untrusted when DHCP Snooping and DAI are enabled. Untrusted ports block incoming DHCP server responses (OFFER/ACK) and inspect all ARP packets against the DHCP snooping binding database. Because the gateway router ARP responses and DHCP offer packets arrive on untrusted uplink GigabitEthernet0/1, the switch drops them.
Uplink ports connected to authorized infrastructure (DHCP server, default gateway router) must be designated as trusted using `ip dhcp snooping trust` and `ip arp inspection trust`.
2
Determine why sticky MAC addresses were lost on GigabitEthernet0/2 after a reload.
Port security sticky MAC addresses are dynamically learned and written directly to the active `running-config` in volatile RAM. They are not automatically copied to NVRAM startup memory.
Executing `copy running-config startup-config` (or `write memory`) is mandatory after sticky MAC addresses are learned to preserve them in NVRAM across device reboots.

Key Concept

Layer 2 Security Trust Boundaries and Configuration Persistence
Question 690Question

Router R1 contains the following IPv4 routing table entries for destination networks within the enterprise core:

- A static route to 10.10.4.0/2410.10.4.0/24 with a configured administrative distance of 110110
- An OSPF route to 10.10.0.0/1610.10.0.0/16 with an administrative distance of 110110
- A RIP route to 10.10.4.32/2710.10.4.32/27 with an administrative distance of 120120

When Router R1 receives an IPv4 packet destined for host 10.10.4.5010.10.4.50, which route will R1 select to forward the traffic?

Show answer & explanation

Answer: The RIP route to 10.10.4.32/2710.10.4.32/27 because it has the longest prefix match for the destination address.

Answer

Router R1 will select the RIP route to 10.10.4.32/2710.10.4.32/27 because it represents the longest prefix match (27 bits) for the destination host address 10.10.4.5010.10.4.50.
When a router receives an IP packet, it compares the destination IP address against entries in its routing table. The fundamental rule of IP route selection is Longest Prefix Match (LPM). The destination host 10.10.4.5010.10.4.50 matches all three configured routes, but 10.10.4.32/2710.10.4.32/27 has the longest subnet mask prefix length (27 bits vs 24 bits vs 16 bits). Administrative distance is only evaluated when comparing two routes pointing to the exact same prefix and mask length. Therefore, the router forwards traffic using the RIP route despite its higher administrative distance of 120.

Step-by-Step Solution

1
Convert the destination IP and route prefixes to binary or analyze subnet ranges to find matching routes.
Host 10.10.4.5010.10.4.50 falls into all three ranges: 10.10.0.0/1610.10.0.0/16 (range 10.10.0.010.10.0.010.10.255.25510.10.255.255), 10.10.4.0/2410.10.4.0/24 (range 10.10.4.010.10.4.010.10.4.25510.10.4.255), and 10.10.4.32/2710.10.4.32/27 (range 10.10.4.3210.10.4.3210.10.4.6310.10.4.63).
Before comparing administrative distance, the router identifies all routing table entries that match the destination IP address.
2
Apply Cisco IOS forwarding decision logic rule #1: Longest Prefix Match.
The /27/27 mask (27 matching subnet bits) is longer and more specific than /24/24 (24 bits) and /16/16 (16 bits).
The router always prefers the route with the highest number of matching leading bits, regardless of administrative distance or metric.
3
Select the forwarding route.
The RIP route to 10.10.4.32/2710.10.4.32/27 is chosen for packet forwarding.
Administrative distance (120 vs 110) is ignored because the prefix lengths are not identical.

Key Concept

Cisco IPv4 Forwarding Decision Logic: Longest Prefix Match Rule
Question 691Question

A network administrator is implementing Layer 2 security controls on a Cisco Catalyst access switch to defend against rogue DHCP servers, ARP poisoning, and unauthorized MAC address access. Match each Layer 2 security configuration command or feature component on the left to its corresponding operational behavior on the right.

Click a left item, then click its matching right item

Items

DHCP Snooping Binding Database
switchport port-security violation restrict
ip arp inspection validate src-mac
ip dhcp snooping trust

Matches

Show answer & explanation

Answer

DHCP Snooping Binding Database matches storing dynamically learned client MAC-to-IP bindings from untrusted interfaces to validate DHCP and ARP traffic. 'switchport port-security violation restrict' matches dropping unauthorized frames, incrementing the violation counter, and sending syslog alerts without shutting down the interface. 'ip arp inspection validate src-mac' matches checking that the Ethernet header source MAC matches the ARP payload sender MAC. 'ip dhcp snooping trust' matches designating an interface allowed to receive DHCP server responses like DHCP OFFER and ACK.
The correct pairings align each command or component to its exact technical operation under Cisco IOS Layer 2 security. DHCP Snooping Binding Database stores client MAC-to-IP mappings. Restrict mode drops offending traffic while logging alerts. DAI src-mac validation compares Ethernet header MAC with ARP payload MAC. Interface DHCP snooping trust allows server messages through uplink ports.

Step-by-Step Solution

1
Analyze DHCP Snooping Database role
Identify that the binding database stores client IP, MAC, VLAN, and port mapping collected from untrusted ports during DHCP transactions.
This database serves as the authoritative source for validating future IP traffic and ARP inspection requests.
2
Evaluate Port Security Restrict mode behavior
Differentiate restrict mode from protect mode (which drops quietly without logging) and shutdown mode (which disables the port).
Restrict mode drops non-matching MAC frames while generating a log notification and incrementing the violation counter.
3
Examine DAI src-mac validation criteria
Recognize that 'ip arp inspection validate src-mac' explicitly verifies header consistency between Ethernet source MAC and ARP payload sender MAC.
This prevents spoofed MAC attacks where the frame header MAC differs from the internal ARP packet contents.
4
Determine DHCP Snooping Trust configuration requirement
Associate interface-level 'ip dhcp snooping trust' with permitting server-originated messages.
Untrusted ports drop DHCP server packets (OFFER, ACK) by default to prevent rogue DHCP server insertion.

Key Concept

Layer 2 Security Features (Port Security, DHCP Snooping, DAI)
Question 692Question

An enterprise network team is transitioning from legacy per-device CLI administration to an automated network management model. Which TWO statements describe key operational impacts of implementing network automation? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Configuration drift is significantly reduced across network devices through centralized template enforcement.; Configuration changes can be deployed simultaneously across multiple devices using programmatic APIs.

Answer

Network automation reduces configuration drift through centralized template enforcement and enables simultaneous configuration changes across multiple devices via programmatic APIs.
Transitioning to automated network management provides operational efficiency by replacing manual CLI commands with centralized template-based provisioning (minimizing configuration drift) and allowing scalable, concurrent updates across network infrastructure via APIs.

Step-by-Step Solution

1
Analyze operational benefits of template enforcement.
Centralized automation platforms push standardized configurations, preventing localized manual changes that cause configuration drift.
Automation enforces a single source of truth for device configurations.
2
Evaluate scalability of change management via APIs.
API calls execute commands concurrently across many devices instead of requiring sequential hop-by-hop SSH CLI connections.
Programmatic execution significantly reduces human effort and deployment duration.

Key Concept

Impact of Automation on Network Management
Question 693Question

A network administrator needs to restrict which specific CLI commands an engineer can execute on a router after logging in. Which AAA component is responsible for controlling the specific actions and commands a user is allowed to perform?

Show answer & explanation

Answer: Authorization

Answer

Authorization is the AAA component responsible for specifying permissions and restricting user actions or command execution on a network device.
Authorization is the functional pillar of AAA that determines user rights, privilege levels, and allowable commands after identity has been established.

Step-by-Step Solution

1
Identify the primary functions of the three pillars of the AAA framework
Authentication proves identity (Who are you?), Authorization grants permissions (What can you do?), and Accounting tracks actions (What did you do?).
Understanding the separation of roles within the AAA framework is essential for network access administration.
2
Match the administrator's requirement to the correct AAA function
Restricting CLI command execution requires privilege and permission enforcement, which falls under Authorization.
Authorization explicitly defines command access levels and privilege levels for an authenticated user.

Key Concept

AAA Framework Authorization Pillar
Question 694Question

A network administrator inspects a Cisco IOS XE switch and finds the following running configuration snippet:

text
username secadmin privilege 15 password 0 C1sc0123!
!
line vty 0 4
transport input ssh
login local

The organization's security hardening baseline requires all local database user accounts to store credentials using PBKDF2 (Type 8) password hashing rather than unencrypted plaintext (Type 0). Which global configuration command correctly updates the local user credential to meet this security standard?

Show answer & explanation

Answer: username secadmin privilege 15 secret algorithm-type sha256 C1sc0123!

Answer

The correct command is 'username secadmin privilege 15 secret algorithm-type sha256 C1sc0123!'.
The command 'username secadmin privilege 15 secret algorithm-type sha256 C1sc0123!' properly replaces the Type 0 unencrypted local password entry with a secure PBKDF2 SHA-256 (Type 8) hash for the specified local user account.

Step-by-Step Solution

1
Analyze the existing local user configuration statement
The command 'username secadmin privilege 15 password 0 C1sc0123!' uses the 'password 0' syntax, storing the credential as cleartext (Type 0).
Cleartext passwords expose administrative credentials to unauthorized viewing in running configuration files and backups.
2
Identify the Cisco IOS XE command keyword for Type 8 PBKDF2 password hashing
Using 'secret algorithm-type sha256' configures Cisco IOS XE to hash the local user password with SHA-256 based PBKDF2 (Type 8).
The 'secret' keyword replaces weak password storage methods with modern, key-stretching cryptographic algorithms.
3
Formulate the correct global configuration mode command for the specified local user account
'username secadmin privilege 15 secret algorithm-type sha256 C1sc0123!' preserves the username and privilege level while enforcing Type 8 security.
This matches all baseline security requirements specified in the scenario.

Key Concept

Cisco IOS Local Password Hashing Types and Command Syntax
Question 695Question

A network administrator applies a Quality of Service (QoS) policy to an ingress interface of an enterprise router to cap incoming data transfers at a rate of 10 Mbps. During peak usage periods, application traffic exceeding 10 Mbps experiences immediate packet drops rather than transmission delays. Which statement accurately explains why this traffic behavior occurs?

Show answer & explanation

Answer: Traffic policing is configured on the interface, which drops or remarks out-of-profile traffic exceeding the rate limit without buffering packets.

Answer

Traffic policing is configured on the interface, which drops or remarks out-of-profile traffic exceeding the rate limit without buffering packets.
Traffic policing meters bandwidth usage against a specified rate limit. When traffic exceeds this target rate (the Committed Information Rate), the policer immediately drops the non-conforming traffic or remarks its DSCP/IP Precedence value. Because policing does not buffer packets, bursty traffic above the limit experiences immediate packet loss.

Step-by-Step Solution

1
Analyze the observed traffic behavior
Excess traffic exceeding 10 Mbps is immediately dropped rather than delayed.
Identifying whether packets are dropped immediately or held in a queue distinguishes policing from shaping.
2
Compare Traffic Policing vs. Traffic Shaping mechanics
Traffic policing enforces a hard rate limit by dropping or remarking excess packets without buffering. Traffic shaping uses queues/buffers to delay excess packets and smooth out traffic peaks.
Policers do not buffer out-of-profile traffic, whereas shapers do.
3
Select the option describing policing mechanics accurately
The statement explaining that policing drops or remarks out-of-profile traffic without buffering correctly accounts for the immediate packet drops.
This directly aligns with standard Cisco QoS per-hop mechanisms.

Key Concept

Operational differences between QoS Traffic Policing (dropping/remarking without queues) and Traffic Shaping (buffering/smoothing)
Question 696Question

When contrasting traditional networking with a controller-based software-defined architecture, how is control plane intelligence managed across traditional network devices?

Show answer & explanation

Answer: Each network device processes routing logic and maintains its control plane independently.

Answer

In traditional networking, control plane intelligence is distributed, meaning each individual network device independently calculates routing decisions and maintains its local forwarding information.
In traditional networking architectures, the control plane logic is distributed. Each router and switch independently runs routing protocols, builds routing tables (RIB), and computes forwarding decisions locally without relying on a centralized software controller.

Step-by-Step Solution

1
Analyze control plane distribution in traditional networks
In traditional network environments, there is no centralized controller. Every network node (router or switch) runs its own control plane protocols (such as OSPF, EIGRP, or BGP) locally.
Control plane protocol processing is fully decentralized across individual devices.
2
Compare with controller-based network architectures
Controller-based networks decouple the control plane from individual network elements and centralize it onto a software-defined network (SDN) controller.
Centralized controllers replace the need for distributed control plane calculations on each individual node.

Key Concept

Distributed Control Plane in Traditional Networking vs. Centralized Control Plane in SDN
Question 697Question

An enterprise network administrator is implementing Quality of Service (QoS) traffic conditioning mechanisms on WAN edge routers. Which two statements correctly describe the operational differences between traffic policing and traffic shaping? (Select two.)

Select all that apply

Show answer & explanation

Answer: Traffic policing can be configured on both ingress and egress interfaces to drop or remark packets that exceed the specified target rate.; Traffic shaping uses memory queues to temporarily buffer bursty traffic exceeding the configured rate, smoothing outbound traffic flow on egress interfaces.

Answer

The two correct statements are that traffic policing can be applied to both ingress and egress interfaces to drop or remark packets exceeding the target rate, and traffic shaping uses queues on egress interfaces to temporarily buffer bursty traffic and smooth outbound delivery.
Traffic policing and shaping handle non-conforming traffic differently. Policing functions on both ingress and egress directions by dropping or remarking excess packets without buffering. In contrast, shaping is supported strictly on egress interfaces, utilizing memory queues to buffer bursty traffic and smooth outbound flow.

Step-by-Step Solution

1
Evaluate the directional capability and packet handling mechanism of traffic policing.
Policing operates in both ingress and egress directions without buffering, handling excess traffic instantaneously by dropping packets or remarking DSCP/CoS values.
Policing enforces rate boundaries without introducing queuing delay.
2
Evaluate the directional capability and packet handling mechanism of traffic shaping.
Shaping applies strictly to egress traffic and utilizes memory queues to buffer excess packets, smoothing bursts to fit within a configured rate.
Shaping prevents packet drops during brief bursts at the expense of potential queuing delay and jitter.

Key Concept

QoS Traffic Conditioning: Policing vs Shaping Operational Mechanics
Estimated Time:1m 30s
Question 698Question

A network engineer is configuring Layer 2 security controls on access switches to protect against man-in-the-middle attacks and rogue server deployments. Which two statements accurately describe the operational behaviors of DHCP Snooping and Dynamic ARP Inspection (DAI)? (Select two.)

Select all that apply

Show answer & explanation

Answer: By default, switch interfaces are in an untrusted state for both features, requiring incoming traffic on access ports to be validated against the binding database.; Dynamic ARP Inspection intercepts, logs, and discards ARP packets on untrusted ports that fail IP-to-MAC binding verification.

Answer

Switch interfaces default to an untrusted state for both features requiring binding database validation, and Dynamic ARP Inspection intercepts and drops invalid ARP packets received on untrusted ports.
Both DHCP Snooping and Dynamic ARP Inspection default all switch ports to an untrusted state, ensuring that unverified DHCP server messages and invalid ARP packets on access ports are intercepted and validated against the binding database. When DAI processes incoming ARP requests or responses on an untrusted port, it compares the packet's IP and MAC address pairing with the database, dropping any packets that do not match.

Step-by-Step Solution

1
Analyze default port trust state for Layer 2 security features
Confirm that interfaces default to untrusted for both DHCP Snooping and Dynamic ARP Inspection (DAI).
Defaulting access interfaces to untrusted ensures that unauthorized DHCP responses and unverified ARP packets are inspected.
2
Evaluate Dynamic ARP Inspection (DAI) packet processing logic
Identify that DAI intercepts ARP packets on untrusted ports and validates the IP-to-MAC binding.
Packets with invalid or missing bindings in the DHCP snooping table are dropped to prevent ARP poisoning.
3
Evaluate distractor statements regarding configuration persistence and trunking
Rule out non-persistent sticky MAC behavior and unrelated native VLAN mismatch claims.
Sticky MAC addresses reside in volatile RAM running-config until saved, and DAI does not fix native VLAN mismatch errors.

Key Concept

Layer 2 Security Port Trust States and DAI Binding Validation
Question 699Question

Match each AAA framework operational characteristic or protocol mechanism on the left to its corresponding protocol or architectural implementation on the right.

Click a left item, then click its matching right item

Items

TACACS+ Authorization Mechanics
RADIUS Accounting Architecture
TACACS+ Packet Security Architecture
RADIUS Authentication & Authorization Coupling

Matches

Show answer & explanation

Answer

TACACS+ Authorization Mechanics pairs with discrete command verification per transaction over TCP; RADIUS Accounting Architecture pairs with separate UDP transport streams (port 1813/1646); TACACS+ Packet Security Architecture pairs with encrypting the entire payload body over TCP port 49; RADIUS Authentication & Authorization Coupling pairs with combining access-request and response attribute-value pairs while encrypting only the password field over UDP port 1812.
TACACS+ provides full-payload encryption over TCP port 49 and separates AAA pillars, enabling discrete per-command authorization checks. RADIUS couples authentication and authorization into single Access-Request/Accept exchanges over UDP port 1812 (encrypting only the password attribute) and utilizes separate UDP port streams (port 1813) for accounting.

Step-by-Step Solution

1
Analyze transport protocols and functional separation differences between TACACS+ and RADIUS.
TACACS+ relies on reliable connection-oriented TCP (port 49) and separates AAA functions completely. RADIUS relies on connectionless UDP (ports 1812/1813 or 1645/1646) and combines authentication with authorization.
Understanding transport layer and structural coupling determines how requests are framed.
2
Evaluate encryption scope differences across packet payloads.
TACACS+ encrypts the entire payload body of the packet following the TACACS+ header. RADIUS obfuscates only the User-Password attribute using an MD5-based mechanism, leaving username and other attributes in plaintext.
This key security distinction defines how sensitive payload administrative data is protected in transit.
3
Map command-level authorization and transaction flow.
Because TACACS+ isolates authorization from authentication, a network device can send an authorization request for every command entered at the CLI prompt. RADIUS delivers user profile authorization attributes back during the initial access granting phase.
TACACS+ is optimized for device administration due to per-command granularity.

Key Concept

AAA Protocol Architecture: TACACS+ vs RADIUS mechanics, transport protocols, functional coupling, and payload encryption scope.
Question 700Question

A network technician needs to harden local console line access on a Cisco IOS XE switch using the local user database. Arrange the following Cisco IOS CLI commands in the correct sequential order required to perform this configuration, starting from Privileged EXEC mode (`Switch#`).

Drag items to arrange them in the correct order

Show answer & explanation

Answer

The correct command sequence begins with entering global configuration mode (`configure terminal`), creating the local user account (`username admin algorithm-type scrypt secret C1scoPass123!`), accessing the line console context (`line console 0`), enforcing local authentication (`login local`), and exiting line configuration mode (`exit`).
Configuring local user access requires navigating hierarchy levels in Cisco IOS. Starting from `Switch#`, the administrator enters global configuration mode using `configure terminal`. Next, creating the local account with `username ... secret ...` populates the local user database. The technician then transitions into line configuration mode with `line console 0` and binds authentication to the local database using `login local`. Finally, issuing `exit` leaves line configuration mode.

Step-by-Step Solution

1
Transition from Privileged EXEC mode to Global Configuration mode.
Prompt changes to `Switch(config)#`.
Global configuration commands cannot be executed directly from Privileged EXEC mode.
2
Create the local administrator user account using `username admin algorithm-type scrypt secret C1scoPass123!`.
Local database account is created with a strong Type 9 encrypted secret.
The local account must exist in the device configuration so local authentication succeeds.
3
Navigate into line console configuration mode using `line console 0`.
Prompt changes to `Switch(config-line)#`.
Line-specific authentication settings must be applied within the line configuration sub-mode.
4
Apply the `login local` command under line console configuration.
Console prompt prompts for a username and password defined in the local database.
By default, console lines may require only a line password or no authentication; `login local` forces local database verification.
5
Execute `exit` from line configuration mode.
Prompt returns to `Switch(config)#`.
Completes line configuration and returns to global configuration mode.

Key Concept

Local Database Authentication and Line Console Security Configuration
Estimated Time:1m 30s
PreviousPage 35 / 100Next
All practice questions — Cisco CCNA | Examkin