Tüm alıştırma soruları

1987 soru

Soru 1941Soru

A network administrator is configuring an extended IPv4 Access Control List (ACL) named `MGMT_FILTER` to implement sequential top-down filtering on a Cisco router interface. The policy requires four explicit criteria:
1. Permit SSH administrative access (TCP port 22) from source subnet `192.168.50.0/24` to target server `10.10.10.25`.
2. Permit SNMP monitoring queries (UDP port 161) from source subnet `192.168.50.0/24` to target server `10.10.10.25`.
3. Deny and log all other IP traffic from source subnet `192.168.50.0/24` destined to target server `10.10.10.25`.
4. Permit all remaining traffic originating from subnet `192.168.50.0/24` to any other destination, overriding the default implicit deny statement for this subnet.

In what top-down sequential order must these ACL statements be placed to satisfy all policy requirements without shadowing rules?

Öğeleri doğru sıraya koymak için sürükleyin

Cevabı ve açıklamayı göster

Cevap

The correct top-down sequence is: 1) permit tcp 192.168.50.0 0.0.0.255 host 10.10.10.25 eq 22, 2) permit udp 192.168.50.0 0.0.0.255 host 10.10.10.25 eq 161, 3) deny ip 192.168.50.0 0.0.0.255 host 10.10.10.25 log, 4) permit ip 192.168.50.0 0.0.0.255 any.
Cisco IOS ACLs process traffic sequentially from top to bottom until the first match occurs. To permit specific services (SSH and SNMP) to host 10.10.10.25 while blocking all other traffic to that host, the explicit permit rules for TCP port 22 and UDP port 161 must appear first. The host-specific deny rule must follow these permits so that non-management traffic to host 10.10.10.25 is logged and dropped. Finally, the general permit statement allowing traffic from subnet 192.168.50.0/24 to any destination must be placed last among explicit rules; this ensures traffic destined for other IP addresses is allowed through while preventing the implicit deny clause from dropping all other traffic.

Adım Adım Çözüm

1
Place specific service permits first
SSH (TCP 22) and SNMP (UDP 161) rules from 192.168.50.0/24 to host 10.10.10.25 are processed at the top of the ACL.
Cisco IOS processes Access Control Lists sequentially from top to bottom. Specific permits must appear before more general deny statements to prevent permitted traffic from being matched and dropped early.
2
Place the host-specific deny rule next
deny ip 192.168.50.0 0.0.0.255 host 10.10.10.25 log is placed after the allowed services for host 10.10.10.25.
Any non-SSH and non-SNMP traffic targeted at 10.10.10.25 will fail to match the first two permits and will be caught by this statement, logged, and dropped.
3
Place the general subnet permit rule at the bottom
permit ip 192.168.50.0 0.0.0.255 any is placed fourth in the order.
If this rule were placed above the host deny rule, all traffic destined for 10.10.10.25 would be permitted, shadowing the deny statement. Placing it fourth ensures subnet traffic to other destinations is allowed while overriding the final implicit deny any clause.

Anahtar Kavram

Top-down sequential evaluation and rule shadowing in IPv4 Access Control Lists
Tahmini Süre:2m 0s
Soru 1942Soru

An enterprise WAN link connects a remote branch office to the primary data center over a service provider connection with a contracted Committed Information Rate (CIR) of 10 Mbps10\text{ Mbps}. The service provider immediately drops any bursts that exceed 10 Mbps10\text{ Mbps} at the ingress port of the provider edge router. To prevent packet drops during short bursts by queuing excess packets in memory and releasing them at a controlled rate, which Quality of Service (QoS) mechanism should be applied to the enterprise egress router interface?

Cevabı ve açıklamayı göster

Cevap: Traffic shaping

Cevap

Traffic shaping
Traffic shaping uses internal memory buffers to store packets that exceed the configured bandwidth limit (such as a 10 Mbps10\text{ Mbps} CIR) during burst periods. It then releases the queued packets onto the physical link at a steady, controlled rate, preventing packet drops at downstream provider interfaces that strictly enforce rate limits.

Adım Adım Çözüm

1
Analyze the operational requirements of the WAN interface scenario.
The service provider enforces a strict limit (10 Mbps10\text{ Mbps}) and drops micro-bursts that exceed the CIR.
Enterprise traffic exceeding the contracted threshold gets dropped at the provider edge unless smoothed prior to egress.
2
Compare traffic conditioning mechanisms (policing vs. shaping).
Traffic policing discards out-of-profile packets or remarks them; traffic shaping buffers excess traffic and queues it for delayed transmission.
Buffering smoothed traffic prevents packet drops at the provider edge during brief micro-bursts.
3
Select the mechanism that buffers excess traffic for egress transmission.
Traffic shaping is the correct mechanism.
It aligns egress transmission rates with the contracted provider rate via packet buffering.

Anahtar Kavram

Traffic Shaping vs. Traffic Policing Mechanisms
Soru 1943Soru

A network engineer configures an extended IPv4 Access Control List (ACL) on a Cisco IOS router interface with the following commands:

text
access-list 105 permit tcp 192.168.10.0 0.0.0.255 172.16.1.0 0.0.0.255 eq 22
access-list 105 permit icmp 192.168.10.0 0.0.0.255 172.16.1.0 0.0.0.255 echo

This ACL is applied in the inbound direction on interface GigabitEthernet0/1 (192.168.10.1/24192.168.10.1/24). Which two statements correctly describe how traffic entering interface GigabitEthernet0/1 is processed by this ACL?

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: An SSH session initiated from host 192.168.10.50192.168.10.50 to destination host 172.16.1.10172.16.1.10 will be permitted.; HTTP requests (TCP port 80) from host 192.168.10.50192.168.10.50 to host 172.16.1.10172.16.1.10 will be dropped because of the implicit deny clause.

Cevap

SSH sessions to 172.16.1.10 are permitted by the explicit TCP port 22 permit statement, and HTTP requests to 172.16.1.10 are dropped due to the implicit deny at the end of the ACL.
The extended access list explicitly permits TCP packets destined for port 22 (SSH) originating from 192.168.10.0/24192.168.10.0/24 toward 172.16.1.0/24172.16.1.0/24. Traffic on unlisted destination ports, such as HTTP port 80, does not match either permit rule and is filtered by the implicit deny any clause at the end of the ACL processing sequence.

Adım Adım Çözüm

1
Analyze rule 1 of ACL 105
Matches TCP traffic from source 192.168.10.0/24 to destination 172.16.1.0/24 on destination port 22 (SSH).
Permits SSH traffic from the internal host subnet to the target destination subnet.
2
Analyze rule 2 of ACL 105
Matches ICMP echo requests from 192.168.10.0/24 to 172.16.1.0/24.
Permits outgoing ping requests from source subnet to destination subnet.
3
Evaluate unlisted traffic types (such as HTTP)
Unlisted traffic reaches the end of the access list without matching any permit statement.
All Cisco IOS ACLs end with an unwritten 'deny ip any any' statement that drops any non-matching packets.

Anahtar Kavram

Extended IPv4 Access Control List matching logic and the implicit deny clause
Tahmini Süre:1m 30s
Soru 1944Soru

A network administrator executes the commands `ip dhcp snooping` and `ip arp inspection vlan 10` on a Cisco Catalyst switch to mitigate Layer 2 ARP spoofing attacks. However, users on VLAN 10 immediately lose all network connectivity because Dynamic ARP Inspection (DAI) drops all incoming ARP requests from client ports. Executing `show ip dhcp snooping binding` displays an empty binding table. Which command was omitted from the switch configuration?

Cevabı ve açıklamayı göster

Cevap: ip dhcp snooping vlan 10

Cevap

The missing command is 'ip dhcp snooping vlan 10'. Enabling DHCP Snooping globally is a two-step process: global activation followed by VLAN-specific activation.
Dynamic ARP Inspection (DAI) depends directly on the DHCP snooping binding database to inspect and validate ARP traffic arriving on untrusted ports. On Cisco Catalyst switches, turning on DHCP snooping globally using `ip dhcp snooping` does not activate DHCP snooping on any VLAN by default. The administrator must also issue `ip dhcp snooping vlan 10` to inspect DHCP packets on VLAN 10 and dynamically build the binding database.

Adım Adım Çözüm

1
Analyze DAI dependencies
DAI inspects incoming ARP requests on untrusted ports by comparing sender IP and MAC addresses against valid entries in the Layer 2 DHCP snooping binding table.
Without valid entries in the binding database, DAI treats all incoming ARP requests on untrusted interfaces as invalid and drops them.
2
Identify the missing DHCP snooping feature configuration
Executing 'ip dhcp snooping' globally enables the feature framework on the switch, but snooping remains disabled on all VLANs until 'ip dhcp snooping vlan <vlan-id>' is configured.
Because VLAN 10 was not explicitly enabled for DHCP snooping, host lease requests were not intercepted, the binding table remained empty, and DAI dropped legitimate host ARP traffic.

Anahtar Kavram

DAI reliance on the DHCP Snooping Binding Database
Tahmini Süre:1m 30s
Soru 1945Soru

A network engineer is hardening access to a Cisco IOS router. The local user account is created using `username admin1 secret P@ssw0rd123`. However, when administrators attempt to log in remotely via SSH, the router requests only a password rather than asking for a username first. Which command must be configured under `line vty 0 4` to force the router to authenticate users against the local user database?

Cevabı ve açıklamayı göster

Cevap: login local

Cevap

The login local command must be configured under line vty configuration mode to enforce local username and password authentication.
The command 'login local' applied under line configuration mode instructs Cisco IOS to prompt remote users for both a username and a password, validating them against credentials stored in the router's local database.

Adım Adım Çözüm

1
Analyze the observed behavior
The router prompts only for a password during remote access, indicating the default line password authentication (login command) is active rather than local user database authentication.
By default, VTY lines configured with the login keyword require a password set on the line itself and do not prompt for a username.
2
Identify the required command for local database authentication
Configuring login local under line vty 0 4 tells the router to prompt for both username and password.
The login local command directs Cisco IOS to verify incoming connection credentials against user accounts configured in the global local database.

Anahtar Kavram

Line VTY Local Authentication Configuration
Soru 1946Soru

Match each Quality of Service (QoS) concept or mechanism on the left to its corresponding operational characteristic or header specification on the right.

Soldaki öğeye tıklayın, sonra eşleşen sağdaki öğeye tıklayın

Öğeler

Expedited Forwarding (EF)
Class-Based Weighted Fair Queuing (CBWFQ)
Traffic Policing
Class of Service (CoS)

Eşleşmeler

Cevabı ve açıklamayı göster

Cevap

Expedited Forwarding (EF) matches DSCP value 46; Class-Based Weighted Fair Queuing (CBWFQ) matches bandwidth allocation without strict priority; Traffic Policing matches dropping or remarking excess packets without buffering; Class of Service (CoS) matches the 3-bit Layer 2 802.1Q header field.
Each QoS concept correctly aligns with its protocol layer, header field, or operational mechanism: Expedited Forwarding (EF) maps to DSCP 46; CBWFQ provides minimum bandwidth guarantees across user-defined classes; Traffic Policing enforces rate bounds by dropping/remarking packets without using buffers; and CoS utilizes the 3-bit field inside IEEE 802.1Q headers.

Adım Adım Çözüm

1
Identify the DSCP Per-Hop Behavior (PHB) designated for delay-sensitive voice payload.
Expedited Forwarding (EF) corresponds to DSCP value 46 (1011102101110_2).
EF PHB ensures a guaranteed service rate with minimal delay and jitter for real-time applications.
2
Analyze how Class-Based Weighted Fair Queuing (CBWFQ) manages bandwidth.
CBWFQ allocates guaranteed minimum bandwidth percentages to defined classes.
Standard CBWFQ guarantees bandwidth per class during congestion but does not offer strict latency prioritization unless paired with Low Latency Queuing (LLQ).
3
Distinguish Traffic Policing from Traffic Shaping mechanics.
Policing enforces rate limits by immediately dropping or remarking excess packets without queue buffers.
Traffic shaping buffers excess traffic to smooth burst profiles, whereas policing acts instantaneously without memory buffering.
4
Evaluate Layer 2 QoS marking standards.
Class of Service (CoS) resides in the 3-bit Priority Code Point (PCP) field within an IEEE 802.1Q Ethernet tag.
CoS operates strictly at Layer 2 across trunk links and allows values from 0 through 7.

Anahtar Kavram

QoS Per-Hop Behaviors, Marking, Queuing, and Traffic Conditioning
Soru 1947Soru

Which TWO operational characteristics accurately describe the RADIUS protocol implementation? (Select TWO)

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: It relies on UDP ports 1812 and 1813 for transport communication.; It couples authentication and authorization together in single protocol transactions.

Cevap

The correct characteristics are that RADIUS relies on UDP ports 1812 and 1813 for transport communication and couples authentication and authorization together in single protocol transactions.
RADIUS utilizes UDP ports 1812 (authentication/authorization) and 1813 (accounting) for transport communication. In addition, RADIUS combines authentication and authorization into unified client-server packet transactions.

Adım Adım Çözüm

1
Analyze transport protocol and port requirements for RADIUS.
RADIUS operates using UDP transport on ports 1812 (Authentication/Authorization) and 1813 (Accounting).
Differentiating transport layer protocols (UDP vs TCP) and port assignments is fundamental to AAA protocol identification.
2
Evaluate how RADIUS handles the AAA architecture pillars.
RADIUS combines authentication and authorization into a single access-request and access-accept workflow.
Unlike TACACS+, which isolates authentication, authorization, and accounting, RADIUS merges authentication and authorization.

Anahtar Kavram

RADIUS Operational Characteristics and AAA Architecture
Soru 1948Soru

A network administrator applies the following IPv4 extended named access control list (ACL) on a Cisco IOS router interface to regulate access from the Sales department (192.168.30.0/24192.168.30.0/24) to the Finance server (10.2.2.5010.2.2.50):

text
ip access-list extended FILTER_SALES
permit tcp host 192.168.30.15 host 10.2.2.50 eq 443
deny ip 192.168.30.0 0.0.0.255 host 10.2.2.50
permit ip 192.168.30.0 0.0.0.255 any

Which two statements correctly describe the operational evaluation and deployment best practices for this ACL configuration? (Select two.)

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: Applying FILTER_SALES inbound on the router interface closest to the 192.168.30.0/24 network minimizes unnecessary traffic processing across the router backplane.; Traffic sent from host 192.168.30.15 to a web server at 10.4.4.100 on TCP port 80 will be permitted by the third ACL rule.

Cevap

The correct statements are that applying the extended ACL inbound on the interface closest to the source subnet optimizes network performance by dropping blocked packets early, and that HTTP traffic from 192.168.30.15 destined to 10.4.4.100 is allowed by the third ACL rule.
Applying Extended IPv4 ACLs inbound on the interface closest to the traffic source adheres to Cisco best practices by dropping unauthorized packets at the edge. Additionally, traffic from host 192.168.30.15 destined to 10.4.4.100 bypasses the first two specific rules (which strictly filter traffic destined to 10.2.2.50) and matches the third rule permitting general egress traffic from the 192.168.30.0/24 subnet.

Adım Adım Çözüm

1
Analyze extended ACL placement guidelines.
Extended ACLs filter based on source/destination IP addresses and layer 4 protocol/port information. Cisco design guidelines state extended ACLs should be applied as close to the traffic source as possible to eliminate prohibited traffic before it traverses the network core.
Applying FILTER_SALES inbound on the ingress interface facing 192.168.30.0/24 complies with standard Cisco architectural recommendations.
2
Evaluate packet matching logic for traffic sent to destination 10.4.4.100.
Line 1 checks for destination host 10.2.2.50 (no match). Line 2 checks for destination host 10.2.2.50 (no match). Line 3 permits any IP traffic from source 192.168.30.0/24 to any destination (MATCH).
Because lines 1 and 2 specify destination host 10.2.2.50, web traffic destined to 10.4.4.100 falls through to line 3 and is explicitly permitted.
3
Evaluate top-down matching for Telnet traffic from 192.168.30.20 to 10.2.2.50.
Line 1 matches only TCP port 443 from host 192.168.30.15 (no match). Line 2 matches all IP traffic from subnet 192.168.30.0/24 to destination host 10.2.2.50 (MATCH -> DENY).
Once a match occurs on line 2, evaluation stops immediately and the packet is dropped. Line 3 is never evaluated for this traffic.

Anahtar Kavram

Extended ACL sequential top-down rule evaluation and optimal interface placement
Soru 1949Soru

A network administrator is configuring initial administrative access security on a Cisco IOS XE router for remote management via SSH. Which TWO commands or configuration actions are required to enforce local database user authentication on the VTY lines and ensure local account passwords are saved using the scrypt (Type 9) hashing algorithm? (Select two.)

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: Execute the username <name> algorithm-type scrypt secret <password> command in global configuration mode.; Execute the login local command under line vty configuration mode.

Cevap

The correct configuration requires executing 'username <name> algorithm-type scrypt secret <password>' in global configuration mode and executing 'login local' under line vty configuration mode.
To secure device access using local accounts with strong password storage, administrators must define local accounts using 'username <name> algorithm-type scrypt secret <password>' in global configuration mode. Furthermore, to instruct VTY lines to authenticate inbound SSH connections against these local accounts, the 'login local' command must be configured under line vty mode.

Adım Adım Çözüm

1
Configure a local user account using scrypt encryption
Creating the user account with 'username <name> algorithm-type scrypt secret <password>' in global configuration mode stores the password as a Type 9 scrypt hash.
Type 9 scrypt hashing offers high resistance to brute-force attacks compared to older hashing types.
2
Enforce local database authentication on VTY lines
Entering line vty configuration mode (e.g., 'line vty 0 4') and applying 'login local' configures the virtual terminal lines to prompt for local credentials.
By default, VTY lines require explicit configuration to check credentials against the local username/password database.

Anahtar Kavram

Device Access Control and Local Password Hashing (Type 9 scrypt and VTY login local configuration)
Soru 1950Soru

A network engineer is comparing default operational behaviors between HSRPv1 and VRRPv2 across Cisco IOS switches. Which two statements accurately describe default characteristics and protocol specifications of these First Hop Redundancy Protocols? (Choose two.)

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: VRRPv2 has preemption enabled by default, whereas HSRPv1 has preemption disabled by default.; VRRPv2 generates virtual MAC addresses using the prefix 0000.5E00.01xx, whereas HSRPv1 uses the prefix 0000.0C07.ACxx.

Cevap

The two correct statements are that VRRPv2 has preemption enabled by default while HSRPv1 has it disabled by default, and VRRPv2 uses virtual MAC addresses formatted as 0000.5E00.01xx while HSRPv1 uses 0000.0C07.ACxx.
VRRPv2 enables preemption by default and uses the virtual MAC prefix 0000.5E00.01xx. HSRPv1 disables preemption by default and uses the virtual MAC prefix 0000.0C07.ACxx.

Adım Adım Çözüm

1
Evaluate default preemption state for HSRP and VRRP.
HSRPv1/v2 has preemption disabled by default (the active router remains active even if a higher-priority router joins). VRRPv2 has preemption enabled by default.
Protocol design choices differ regarding default failback behavior.
2
Analyze virtual MAC address structure for both protocols.
HSRPv1 uses 0000.0C07.ACxx, HSRPv2 uses 0000.0C9F.Fxxx, and VRRPv2 uses 0000.5E00.01xx.
Standardized virtual MAC ranges allow switches to map the virtual IP to unique Ethernet source/destination addresses.
3
Verify virtual IP matching constraints and multicast addresses.
VRRPv2 allows assigning a physical IP as virtual IP (IP address owner). HSRPv1 rejects assigning an interface's physical IP as the virtual IP. HSRPv1 uses multicast 224.0.0.2; VRRPv2 uses multicast 224.0.0.18.
Reversing these rules helps identify common misconceptions regarding protocol multicast endpoints and interface IP assignments.

Anahtar Kavram

HSRPv1 vs VRRPv2 Default Behaviors, Preemption, and Virtual Addressing
Soru 1951Soru

A network administrator is creating an IPv4 extended Access Control List (ACL 101) on a Cisco IOS router to enforce security policies for traffic sent to Web Server 192.168.10.50. The policy requires:

1. Host 10.1.1.5 must be permitted HTTP access (TCP port 80) to Web Server 192.168.10.50.
2. Host 10.1.1.5 must be denied all other IP traffic to Web Server 192.168.10.50.
3. All other hosts in the 10.1.1.0/24 subnet must be permitted full IP access to Web Server 192.168.10.50.
4. All remaining traffic to Web Server 192.168.10.50 must be explicitly denied.

Arrange the ACL statements in the correct sequential top-down order (from line 1 at the top to line 4 at the bottom) to satisfy all security requirements.

Öğeleri doğru sıraya koymak için sürükleyin

Cevabı ve açıklamayı göster

Cevap

The correct order from top to bottom is: access-list 101 permit tcp host 10.1.1.5 host 192.168.10.50 eq 80, followed by access-list 101 deny ip host 10.1.1.5 host 192.168.10.50, followed by access-list 101 permit ip 10.1.1.0 0.0.0.255 host 192.168.10.50, and ending with access-list 101 deny ip any host 192.168.10.50.
Cisco IOS Access Control Lists evaluate rules sequentially from top to bottom until a match is found. Specific rules must always precede broader rules. The specific HTTP permit for host 10.1.1.5 must be line 1; otherwise, a broader deny statement would block it. Next, denying all other IP traffic from host 10.1.1.5 must be line 2, coming before the subnet permit line so that host 10.1.1.5 is restricted. Line 3 permits the rest of the 10.1.1.0/24 subnet. Finally, line 4 explicitly denies all other sources.

Adım Adım Çözüm

1
Identify top-down sequential processing logic for Cisco IOS ACLs.
Router processes rules sequentially from top to bottom and stops at the first match.
More specific rules must precede more general rules to avoid being overridden.
2
Place the most specific permit rule for host 10.1.1.5.
access-list 101 permit tcp host 10.1.1.5 host 192.168.10.50 eq 80 is line 1.
If the host deny statement were placed above this permit, HTTP traffic from host 10.1.1.5 would be matched and dropped.
3
Place the host-specific restriction for host 10.1.1.5.
access-list 101 deny ip host 10.1.1.5 host 192.168.10.50 is line 2.
If the general subnet permit rule were placed above this line, host 10.1.1.5 would match the subnet permit and gain full access.
4
Place the general subnet permit rule for 10.1.1.0/24.
access-list 101 permit ip 10.1.1.0 0.0.0.255 host 192.168.10.50 is line 3.
This allows all remaining hosts in 10.1.1.0/24 (excluding host 10.1.1.5's non-HTTP traffic, which was caught in line 2).
5
Place the explicit catch-all deny rule.
access-list 101 deny ip any host 192.168.10.50 is line 4.
Ensures any traffic not originating from 10.1.1.0/24 destined to the server is explicitly dropped.

Anahtar Kavram

Top-down sequential evaluation in Cisco ACLs (specific host/port rules before broad subnet rules)
Soru 1952Soru

A Cisco router receives an IPv4 packet destined for 172.16.10.45172.16.10.45. Place the routing table lookup and packet forwarding steps in the correct chronological order from first to last.

Öğeleri doğru sıraya koymak için sürükleyin

Cevabı ve açıklamayı göster

Cevap

The correct forwarding sequence begins with parsing the packet header to extract the destination IP, searching the routing table using longest prefix match logic, selecting the most specific matching prefix, identifying the next-hop IP or exit interface, and finally encapsulating the packet into a Layer 2 frame for egress transmission.
The correct order follows standard Cisco IOS router packet forwarding logic: extracting the destination IPv4 address, evaluating routing table prefixes, applying the longest prefix match (LPM) rule to select the best route, resolving the next-hop IP address or exit interface, and performing Layer 2 frame encapsulation prior to egress.

Adım Adım Çözüm

1
Parse packet header
Destination IPv4 address extracted
The router requires the destination address to perform a routing lookup.
2
Perform routing table lookup
Candidate matching routes identified
The routing table contains network prefixes that must be checked against the destination IP.
3
Apply Longest Prefix Match (LPM)
Select most specific route entry
When multiple routes match the destination, the prefix with the most matching leading bits (longest subnet mask) is selected.
4
Resolve forwarding details
Determine next-hop IP address or egress interface
The selected route specifies the exact forwarding path towards the destination.
5
Layer 2 Encapsulation and Egress
Frame transmitted out the outbound interface
Layer 2 headers (such as Ethernet MAC headers) are constructed based on next-hop ARP table resolution before physical transmission.

Anahtar Kavram

IPv4 Routing Table Lookup and Longest Prefix Match Forwarding Logic
Soru 1953Soru

An engineer executes the following interface configuration on a Cisco IOS router:

text
R1(config)# interface GigabitEthernet0/0
R1(config-if)# ip address 10.1.1.1 255.255.255.0
R1(config-if)# standby 10 ip 10.1.1.1

What is the outcome of issuing the `standby 10 ip 10.1.1.1` command?

Cevabı ve açıklamayı göster

Cevap: Cisco IOS rejects the command because HSRP virtual IP addresses cannot match the physical IP address assigned to an interface.

Cevap

Cisco IOS rejects the command because HSRP virtual IP addresses cannot match the physical IP address assigned to an interface.
In Hot Standby Router Protocol (HSRP), the virtual IP address must be unique within the subnet and cannot be identical to the physical IP address assigned to any interface of participating routers. When attempting to configure an HSRP virtual IP address that matches an existing interface IP address, Cisco IOS rejects the command with an explicit error.

Adım Adım Çözüm

1
Analyze the interface IP configuration and the requested HSRP virtual IP.
The physical interface IP is set to 10.1.1.1/24, and the HSRP command attempts to assign 10.1.1.1 as the virtual IP address for HSRP group 10.
Identifying overlapping IP configurations is necessary to determine protocol compliance.
2
Compare HSRP rules against VRRP rules regarding IP address ownership.
In VRRP, a router can be the IP address owner and use its physical IP as the virtual IP (raising priority to 255). In HSRP, the virtual IP address MUST be an unused IP address within the subnet and cannot match any router's physical interface IP.
HSRP implementation rules require an unused virtual IP address on the subnet.
3
Determine CLI output behavior.
Cisco IOS displays an error message rejecting the `standby 10 ip 10.1.1.1` command.
Entering a matching IP address violates HSRP address assignment rules.

Anahtar Kavram

HSRP Virtual IP Address Constraints vs VRRP IP Owner Rules
Tahmini Süre:1m 0s
Soru 1954Soru

A network administrator configures an access port on a Cisco Catalyst switch using the commands `switchport port-security` and `switchport port-security mac-address sticky`. A host connects to the port, and its MAC address is dynamically learned and written to the running configuration. Shortly after, the switch experiences an unexpected reboot due to a brief power failure, before `copy running-config startup-config` or `write memory` was executed. What happens to the learned sticky MAC address on this interface after the switch completes its boot sequence?

Cevabı ve açıklamayı göster

Cevap: The learned sticky MAC address is lost from memory, and the switch port dynamically learns the MAC address of the first frame received post-reboot.

Cevap

The learned sticky MAC address is lost from RAM, causing the port to dynamically re-learn the MAC address of the next device that transmits frames on the link.
Enabling sticky MAC learning (`switchport port-security mac-address sticky`) automatically adds dynamically learned MAC addresses into the volatile `running-config` stored in RAM. If the switch reboots before `copy running-config startup-config` is executed, the learned MAC entries are lost, and the port will learn the MAC address of the next frame transmitted post-reboot.

Adım Adım Çözüm

1
Analyze how sticky MAC address learning operates in Cisco IOS.
When `switchport port-security mac-address sticky` is enabled, dynamically learned MAC addresses are converted into static-like entries added directly into the switch's `running-config` in RAM.
This avoids manual MAC address entry while retaining MAC restrictions during current uptime.
2
Evaluate the effect of a switch reboot without saving the running configuration.
Because RAM is volatile memory, any modifications to `running-config` that were not saved to `startup-config` in NVRAM (via `copy running-config startup-config`) are cleared upon reboot.
The startup configuration restored at boot lacks the dynamically added sticky MAC statement.
3
Determine the state of the interface after rebooting.
The port remains operational with sticky port security enabled, but its learned sticky MAC list is empty, allowing it to learn a new sticky MAC address from incoming frames.
The underlying port security feature configuration remains in startup-config, but the learned operational data was lost.

Anahtar Kavram

Port Security Sticky MAC Address Persistence
Soru 1955Soru

Match each Layer 2 security feature or operational scenario on the left to its corresponding switch behavior or implementation detail on the right.

Soldaki öğeye tıklayın, sonra eşleşen sağdaki öğeye tıklayın

Öğeler

DHCP Snooping Option 82 insertion on untrusted access ports
Dynamic ARP Inspection (DAI) evaluation with static ARP ACLs
Port Security set to 'restrict' violation mode
DHCP Snooping binding database construction

Eşleşmeler

Cevabı ve açıklamayı göster

Cevap

DHCP Snooping Option 82 insertion on untrusted access ports matches appending relay agent information (circuit ID and remote ID) to broadcast client requests before forwarding them upstream. Dynamic ARP Inspection (DAI) evaluation with static ARP ACLs matches checking IP-to-MAC mappings against configured ARP access lists prior to querying the DHCP snooping binding table. Port Security set to 'restrict' violation mode matches dropping frames from unauthorized MAC addresses, incrementing the violation counter, and generating SNMP traps/Syslog messages without disabling the port. DHCP Snooping binding database construction matches recording the host MAC address, leased IP address, lease duration, binding type, VLAN ID, and port interface upon intercepting a DHCPACK.
Each feature corresponds to its specific L2 operational behavior: DHCP Snooping Option 82 appends relay agent sub-options on untrusted ports; static ARP ACLs take precedence in DAI evaluation before querying the snooping database; restrict mode drops violating frames and generates Syslog/SNMP notifications without disabling the port; and the DHCP snooping binding database extracts host mappings from DHCPACK packets received on trusted ports.

Adım Adım Çözüm

1
Analyze DHCP Snooping Option 82 functionality on untrusted ports.
Confirm Option 82 attaches sub-options (circuit ID and remote ID) to client requests on untrusted interfaces.
Option 82 provides relay agent details to the DHCP server to aid subnet allocation and security enforcement.
2
Evaluate Dynamic ARP Inspection (DAI) processing hierarchy.
Confirm static ARP ACLs take precedence over the DHCP snooping binding table during DAI validation.
Configuring `ip arp inspection filter` allows static hosts to pass DAI validation without needing dynamic DHCP snooping entries.
3
Differentiate Port Security violation modes (protect, restrict, shutdown).
Identify 'restrict' mode as dropping unauthorized traffic, logging via Syslog/SNMP, and keeping the interface active.
'Restrict' mode generates alert notifications and tracks violation statistics without causing an error-disabled port shutdown.
4
Examine DHCP Snooping binding table creation criteria.
Verify that snooping tracks DHCPACK messages to store host MAC, IP, lease time, binding type, VLAN, and interface details.
Snooping validates server responses on trusted ports to populate the IP-to-MAC binding database required by features like DAI and IP Source Guard.

Anahtar Kavram

Layer 2 Security Features (Port Security, DHCP Snooping, DAI)
Soru 1956Soru

A network administrator applies the following standard IPv4 access control list (ACL) to a VTY line on a Cisco IOS switch to secure remote management access:

text
ip access-list standard VTY_ACCESS
permit host 192.168.10.25
permit 192.168.20.0 0.0.0.255

A monitoring server with IPv4 address 192.168.10.50192.168.10.50 attempts to initiate an SSH session to the switch. Based on this configuration, what action does the switch take on this traffic, and why?

Cevabı ve açıklamayı göster

Cevap: The traffic is dropped because it does not match any explicit permit entry, triggering the implicit deny clause at the end of the ACL.

Cevap

The traffic is dropped because it does not match any explicit permit entry, triggering the implicit deny clause at the end of the ACL.
Cisco IOS Access Control Lists process statements in sequential order from top to bottom. The source IP address 192.168.10.50 does not match the first entry (which strictly permits only host 192.168.10.25) nor the second entry (which permits the 192.168.20.0/24 subnet). As a result, the packet reaches the end of the ACL where the invisible implicit 'deny any' statement blocks the connection attempt.

Adım Adım Çözüm

1
Evaluate line 1 of the ACL: 'permit host 192.168.10.25'
No match (192.168.10.50 does not equal 192.168.10.25)
The 'host' keyword implies a wildcard mask of 0.0.0.0, matching only that exact single IP address.
2
Evaluate line 2 of the ACL: 'permit 192.168.20.0 0.0.0.255'
No match (192.168.10.50 is in the 192.168.10.0/24 subnet, not 192.168.20.0/24)
The wildcard mask 0.0.0.255 requires the first three octets to match 192.168.20.
3
Evaluate the implicit final clause of the ACL
Match on implicit 'deny any' clause; traffic is dropped.
All IPv4 ACLs in Cisco IOS feature an invisible default statement at the end of the list that blocks all remaining packets.

Anahtar Kavram

Cisco IPv4 ACL sequential top-down evaluation and implicit deny behavior
Tahmini Süre:1m 15s
Soru 1957Soru

An enterprise router learns the path to a remote subnet 192.168.100.0/24192.168.100.0/24 through EIGRP, which operates with a default administrative distance of 9090. A network engineer needs to configure a backup IPv4 static route to reach this subnet using the next-hop IPv4 address 10.0.5.210.0.5.2 so that the backup route remains inactive until the primary EIGRP path fails. Which Cisco IOS command correctly configures this floating static route?

Cevabı ve açıklamayı göster

Cevap: ip route 192.168.100.0 255.255.255.0 10.0.5.2 95

Cevap

The command 'ip route 192.168.100.0 255.255.255.0 10.0.5.2 95' correctly specifies a static route with an administrative distance higher than EIGRP's default AD of 90.
The correct command uses the syntax 'ip route 192.168.100.0 255.255.255.0 10.0.5.2 95'. Because an administrative distance of 95 is higher than EIGRP's default AD of 90, the router keeps this static route in reserve as a floating backup until the primary EIGRP path becomes unavailable.

Adım Adım Çözüm

1
Identify the primary routing protocol's Administrative Distance (AD)
EIGRP internal routes have an AD of 90.
Floating static routes require an administrative distance strictly higher than the active primary routing source.
2
Determine the required AD for the floating static route
An administrative distance value greater than 90 (such as 95) is required.
Routes with lower AD values are preferred in the IP routing table. Setting AD > 90 ensures the route stays hidden until the primary route disappears.
3
Verify Cisco IOS static route syntax
Syntax: 'ip route <prefix> <mask> <next-hop-ip> [distance]'.
The subnet mask must be written in standard dotted-decimal format (255.255.255.0), followed by the next-hop IP and the custom AD value.

Anahtar Kavram

Floating Static Route Administrative Distance Selection
Soru 1958Soru

Following an unexpected reboot of an enterprise access switch, users connected to interface GigabitEthernet1/0/12 report a complete loss of network connectivity. Upon investigation, the network administrator discovers that the dynamically learned MAC address added to the port security table prior to the switch reload is missing, causing the switch to reject traffic from the connected workstation. Which administrative action was omitted prior to the reboot that resulted in the loss of the sticky MAC address?

Cevabı ve açıklamayı göster

Cevap: Saving the running configuration to the startup configuration in NVRAM using the command `copy running-config startup-config`.

Cevap

Saving the running configuration to the startup configuration in NVRAM using the command `copy running-config startup-config`.
The correct answer identifies that executing `copy running-config startup-config` is required to save dynamically learned sticky MAC entries from volatile RAM into NVRAM. Enabling sticky port security causes the switch to dynamically append learned MAC addresses into the running configuration. However, because RAM contents are lost during a reboot, failing to save the running configuration causes the switch to start up without those learned MAC addresses.

Adım Adım Çözüm

1
Analyze how Port Security sticky MAC learning functions during switch operation.
When sticky learning is enabled with `switchport port-security mac-address sticky`, dynamically learned MAC addresses are converted into standard `switchport port-security mac-address sticky <MAC>` lines in the running configuration (RAM).
Sticky MAC learning dynamically converts dynamically learned addresses into running configuration statements so they behave similarly to statically configured addresses.
2
Evaluate the volatility of RAM versus non-volatile RAM (NVRAM) across switch reboots.
The running configuration stored in RAM is cleared whenever the switch reboots or loses power.
Changes in RAM must be explicitly copied to startup-config in NVRAM using `copy running-config startup-config` or `write memory` to survive a system reload.
3
Determine the root cause of the missing MAC address post-reboot.
Because the administrator failed to save the running configuration after the MAC address was learned, the running configuration reverted back to the startup configuration without the learned sticky MAC address entries.
Failing to save running-config to startup-config causes all dynamically learned sticky entries to be wiped upon switch reboot.

Anahtar Kavram

Port Security Sticky MAC Persistence across Reboots
Tahmini Süre:1m 15s
Soru 1959Soru

A network administrator is evaluating the core architectural differences between traditional networking and controller-based software-defined networking (SDN). In a controller-based architecture, how is the control plane managed compared to a traditional network?

Cevabı ve açıklamayı göster

Cevap: Control plane intelligence is centralized on a software controller that dynamically programs forwarding logic onto network devices.

Cevap

Control plane intelligence is centralized on a software controller that dynamically programs forwarding logic onto network devices.
In a controller-based network, control plane functions are decoupled from individual network hardware and centralized into a software-defined controller. The controller maintains a global view of the network topology and uses Southbound APIs (such as OpenFlow, NETCONF, or RESTCONF) to program the forwarding tables of data plane devices.

Adım Adım Çözüm

1
Identify the plane separation characteristics of traditional vs. controller-based networks.
Traditional networks distribute both control and data planes across every node, whereas controller-based networks centralize control plane functions.
Centralizing the control plane allows software controllers (such as Cisco DNA Center) to maintain global network state and push configuration/forwarding rules via Southbound APIs.

Anahtar Kavram

Centralized Control Plane in SDN vs. Distributed Control Plane in Traditional Networking
Tahmini Süre:45s
Soru 1960Soru

A network administrator is upgrading a wireless network from WPA2-Personal to WPA3-Personal to increase client authentication security. Which key exchange protocol does WPA3-Personal introduce to protect against offline dictionary attacks?

Cevabı ve açıklamayı göster

Cevap: Simultaneous Authentication of Equals (SAE)

Cevap

Simultaneous Authentication of Equals (SAE)
Simultaneous Authentication of Equals (SAE) is the core key exchange protocol introduced in WPA3-Personal. Based on the Dragonfly handshake, SAE establishes a secure key exchange that prevents attackers from capturing handshakes over the air to perform offline dictionary attacks.

Adım Adım Çözüm

1
Identify the authentication mechanism change between WPA2-Personal and WPA3-Personal.
WPA2-Personal uses a Pre-Shared Key (PSK) with a 4-Way Handshake, whereas WPA3-Personal upgrades to Simultaneous Authentication of Equals (SAE).
WPA3 mandates higher security standards to prevent offline password guessing attacks.
2
Analyze how SAE protects client authentication.
SAE provides a secure password-authenticated key exchange (based on the Dragonfly handshake) ensuring forward secrecy and resistance to passive capture/dictionary attacks.
Even if an attacker captures the wireless handshake, SAE prevents them from determining the pre-shared key offline.

Anahtar Kavram

WPA3-Personal Key Exchange (SAE vs PSK)
ÖncekiSayfa 98 / 100Sonraki
Tüm alıştırma soruları — Cisco CCNA | Examkin