Cisco 200-301 Practice Test 52
Question 510
An engineer enables DHCP snooping for VLAN 55 but also marks all employee access interfaces trusted. What is wrong?
- DHCP snooping requires every connected port to be trusted
- Trusting user ports defeats the intended server-message filtering boundary
- The VLAN must be changed to 1 for DHCP snooping to work
- Spanning tree must be disabled when DHCP snooping is enabled
Explanation
Correct Answer
B:Marking employee-facing access ports trusted allows DHCP server responses from those ports, weakening DHCP snooping's protection against a rogue server connected by an end user. The intended configuration is to keep ordinary user ports untrusted while trusting verified uplink or server-facing interfaces as appropriate to the topology. Confirm relay or server paths before setting trust so legitimate DHCP offers can still reach clients. Binding-table functions and optional rate limits may provide additional controls, but the primary error here is overly broad trust.
Incorrect Answers
A:DHCP snooping relies on differentiating trusted paths toward legitimate DHCP servers from untrusted endpoint-facing ports where rogue responses could appear. It is not a requirement to trust all interfaces indiscriminately; doing so would remove the filtering boundary. A properly scoped design typically trusts only the ports through which authorized server messages should enter.
C:DHCP snooping can be enabled for selected legitimate VLAN IDs including VLAN 55, subject to switch-platform support and configuration. VLAN 1 is not a universal requirement for inspecting server and client DHCP traffic. Moving users to another VLAN would alter segmentation without correcting which ports are permitted to originate DHCP server replies.
D:Spanning tree is a separate Layer 2 loop prevention mechanism that can operate alongside DHCP snooping. Disabling STP across a switched LAN may create dangerous loops and broadcast storms. The rogue DHCP problem should be addressed through DHCP snooping trust boundaries rather than by removing loop protection from the topology.
Question 511
A subnet 10.204.8.0/22 must be routed via reachable neighboring router 192.0.2.2 on Ethernet Gi0/2. Which IOS static route accurately specifies the next hop?
- ip route 10.204.8.0 255.255.255.0 192.0.2.2
- ip route 10.204.8.0 255.255.252.0 Null0
- ip route 10.204.8.0 255.255.248.0 192.0.2.2
- ip route 10.204.8.0 255.255.252.0 192.0.2.2
Explanation
Correct Answer
D:The network 10.204.8.0/22 spans addresses from 10.204.8.0 through 10.204.11.255, and its dotted-decimal mask is 255.255.252.0. Configuring ip route 10.204.8.0 255.255.252.0 192.0.2.2 sends matching destinations toward the connected neighbor. The next hop must be reachable through Gi0/2 or another valid resolved path, and the remote router must have the onward and return routes needed for connectivity. This choice preserves the exact requested summary without discarding packets or attracting neighboring /21 space.
Incorrect Answers
A:Mask 255.255.255.0 specifies a /24 destination, which is narrower than the requested 10.204.8.0/22 allocation. Although that route might reach part of the intended network, it would omit addresses in the other three constituent /24 blocks. Static routing must use the correct prefix and next hop for the required full destination range.
B:A /22 destination mask is correct, but Null0 is a discard interface rather than the specified reachable neighboring router 192.0.2.2. A summary route to Null0 is sometimes used to prevent routing loops, yet by itself it would drop matching packets instead of forwarding them to the branch. The problem explicitly requires next-hop delivery over Gi0/2.
C:Mask 255.255.248.0 is /21, covering a larger eight-/24 block than the desired /22. It could capture destinations beyond the intended remote network and change forwarding for adjacent prefixes. Even with a valid next hop, the route is incorrectly broad; the appropriate /22 mask has third octet 252.
Question 512
An access port with an ordinary user PC is using Rapid PVST+ and should transition to forwarding quickly, with no downstream bridge expected. Which feature is appropriate?
- PortFast on the genuine edge-facing switch interface
- Configure the uplink as a standby OSPF neighbor
- Root guard instead of PortFast to speed edge activation
- Disable all STP globally across access and distribution switches
Explanation
Correct Answer
A:PortFast is intended for genuine endpoint-facing switchports with no downstream bridging device, allowing them to transition rapidly into STP forwarding rather than waiting through ordinary edge startup delays. The scenario's single user PC fits that edge role, so enabling the appropriate PortFast behavior on that interface is reasonable. Keep normal spanning tree active in the network, and consider BPDU Guard where policy requires shutdown if an unexpected bridge begins sending BPDUs. Do not apply edge assumptions to links that might form loops.
Incorrect Answers
B:An OSPF neighbor is a Layer 3 routing-protocol peer formed between suitable router interfaces, not a way to accelerate spanning-tree convergence on a workstation switchport. Assigning a user-facing Layer 2 port an OSPF standby role is not ordinary Cisco configuration. The reported need concerns a local access-port state transition, not exchange of IP routes.
C:Root Guard protects designated ports from accepting superior bridge information that could unexpectedly change the STP root position. It does not serve as the edge-port fast-forwarding setting for an ordinary workstation. On a genuine edge port, PortFast handles rapid forwarding, while additional protection may include BPDU Guard if an unauthorized bridge appears.
D:Disabling STP throughout the access and distribution network removes a key safeguard against Layer 2 loops and broadcast storms. One user PC needing faster link activation is not a reason to turn off the spanning-tree system on all other switching paths. Apply the designated edge feature narrowly while retaining normal network loop prevention.
Question 513
An engineer needs to see the next hop the Linux kernel will choose for destination 198.51.100.34. Which diagnostic is most direct?
- chmod 644 /etc/hosts
- dig -t MX 198.51.100.34
- ip route get 198.51.100.34
- arp -d 198.51.100.34
Explanation
Correct Answer
C:On modern Linux, ip route get 198.51.100.34 asks the kernel to resolve the routing decision for that specific IPv4 destination using current policy and route state. The output can show the selected egress interface, next hop and source address, making it more direct than listing every route without applying a lookup. It reports local route selection, not end-to-end application reachability or a guarantee that every intermediate network will forward the packet. Routing policy rules may also influence the result.
Incorrect Answers
A:chmod 644 /etc/hosts changes access permissions on a local hosts file and has no direct function for predicting which next hop the Linux kernel will use for a destination. Altering file permissions is also a state-changing administrative operation. The requested check should inspect the installed routing decision, not change unrelated local file metadata.
B:dig -t MX requests mail-exchanger DNS records for a name, rather than the local IP routing decision toward 198.51.100.34. It could help troubleshoot email routing but cannot reveal the kernel's selected source IP, outgoing interface and next-hop path for this packet. DNS name resolution and IP route selection are separate operations.
D:arp -d attempts to delete a neighbor-cache entry, changing local state and potentially triggering another address resolution. It does not calculate the full destination route chosen by the kernel. ARP concerns translating an on-link IPv4 next hop to a MAC address after a route decision has identified that neighbor, so it is the wrong first tool for this query.
Question 514
An operator wants to make OSPF router ID independent of interface IP changes. Which command type establishes this?
- router-id under the OSPF routing process
- ip route 0.0.0.0 0.0.0.0 under switchport access configuration
- logging buffered as the process ID
- switchport voice vlan under the LAN interface
Explanation
Correct Answer
A:Inside a Cisco IOS OSPF routing process, an explicit router-id A.B.C.D sets the 32-bit identifier independently of whichever interface address happens to be highest. That helps preserve adjacency and LSDB identity when loopback or physical addressing changes. Use a unique router ID within the OSPF domain, and account for whether clearing or restarting the OSPF process is required for a changed value to take effect. A router ID identifies an OSPF speaker rather than an actual packet-forwarding interface.
Incorrect Answers
B:A default static route sends unmatched IPv4 destinations toward a chosen next hop; it has no syntax or effect for setting OSPF router identity on a switchport access interface. The ip route command belongs in global routing configuration and serves forwarding, while the router-id setting belongs to the OSPF routing process. Mixing these concepts would not stabilize router identification.
C:logging buffered controls whether syslog messages are retained in a device's memory log and at what capacity or severity, not the OSPF process identifier. A process number identifies a local OSPF instance, whereas the router ID is a distinct 32-bit value advertised to peers. Changing logging settings cannot prevent router ID changes caused by interface address selection.
D:switchport voice vlan defines a voice VLAN on a suitable Layer 2 access interface, usually for a telephone that tags its voice frames. It does not participate in OSPF router-ID selection. An interface VLAN setting may affect network reachability but cannot replace the explicit identifier configured under the routing process.
Question 515
A controller API should create a new configuration object under the collection endpoint /policies. Which method is commonly used?
- DELETE /policies to create an additional object
- GET with a JSON body that overwrites the collection
- POST to the collection with an authorized JSON body
- HEAD with a new-policy JSON document
Explanation
Correct Answer
C:A REST-style API commonly uses an authenticated POST request to a collection endpoint such as /policies, carrying a valid JSON representation of the new policy. The server validates the request, may allocate a new resource ID, and returns an appropriate status such as 201 Created or another documented success response. Check the specific controller's API documentation, schema, idempotency behavior and access rights before automating production changes. The method alone does not guarantee that an arbitrary JSON document is authorized or safe to install.
Incorrect Answers
A:HTTP DELETE normally requests removal of the resource identified by its URL, not creation of a new member in a policy collection. Calling DELETE on /policies would carry destructive semantics and could be rejected or dangerously interpreted by an implementation. A create request should use the method defined by that API, commonly POST for a collection endpoint.
B:HTTP GET is intended for retrieving a resource representation without requesting a state change. Supplying a JSON body that attempts to overwrite a collection conflicts with the method's ordinary safe read semantics and may be ignored or rejected. Use a documented write method with authorization when the application needs to create configuration rather than merely inspect existing policies.
D:HEAD is used to request response headers without a representation body, often for metadata or existence checks. It is not an ordinary method for sending a new-policy JSON document to create a configuration object. The desired operation changes server state, whereas HEAD is supposed to be safe and read-oriented; the proper endpoint method must follow the controller's specification.
Question 516
A DNS A record for app.example.test currently maps to 192.0.2.16. What service is DNS providing to a client requesting that host?
- Encrypting all application packets like an IPsec tunnel
- Selecting an OSPF path based on shortest network metric
- Mapping a name to an IPv4 address for connection attempts
- Supplying the client's subnet mask through an ARP query
Explanation
Correct Answer
C:A DNS A record maps a host or service name such as app.example.test to an IPv4 address, here 192.0.2.16, so a client can attempt a network connection without remembering numeric addresses. The DNS answer does not prove that the endpoint is reachable, authorized, or authentic; the application still needs routing, transport, and appropriate security checks. DNS TTL, caching and record changes can also affect which address the client observes over time. An AAAA record would instead provide an IPv6 address.
Incorrect Answers
A:An IPsec tunnel can provide packet confidentiality and integrity across a network path, whereas a DNS A record supplies an address mapping. A client resolving app.example.test may subsequently establish a separate protected connection, but DNS itself does not encrypt all application payloads. Conflating name resolution with tunneling can obscure the actual transport security controls.
B:OSPF is an interior routing protocol used by routers to compute reachability based on link-state information and path costs. DNS resolution does not choose the kernel's forwarding next hop or compare OSPF metrics. Once the client obtains the application's IPv4 address, its local network stack and routers perform subsequent forwarding decisions independently of the A record lookup.
D:ARP resolves a directly attached IPv4 neighbor or next hop to a link-layer address; it does not normally deliver the host's subnet mask as a response to a DNS lookup. Address and mask configuration usually comes from static settings or DHCP. An A-record answer is an application naming result, not the interface configuration mechanism mentioned in this choice.
Question 517
A security team needs a durable record of who executed reload on a switch and when. Which AAA function supplies the audit trail?
- Authentication without any record of commands
- DHCP lease renewal for the switch management interface
- Accounting of privileged device actions
- Authorization with no accounting records
Explanation
Correct Answer
C:AAA accounting records administrative activity, potentially including session starts/stops and command execution under supported IOS/TACACS+ or other configured mechanisms. Command accounting can capture which authenticated identity issued a privileged operation such as reload and the associated timestamp, assuming the appropriate accounting method is enabled and records reach durable storage. Authorization is a separate decision about whether the user is permitted to execute the command. Protect centralized logs, synchronize device clocks, and verify the configured accounting scope before relying on the audit trail.
Incorrect Answers
A:Authentication verifies an administrator's identity, but it does not by itself create a durable log of privileged commands executed after login. A username may be valid while the organization still lacks a record of who invoked reload and when. The requirement explicitly asks for an audit trail of an action, not just proof that a session initially authenticated.
B:A DHCP lease renewal records or updates an interface's IP address parameters and lease state. It does not associate a management command with an authenticated administrator or generate a privileged-execution audit record. A switch can renew its management lease independently of whether anyone is connected to its CLI, so this does not answer the accountability requirement.
D:Authorization determines whether an authenticated user may perform a privileged operation, including potentially restricting reload. It is important to prevent unauthorized disruption but is not a substitute for recording the action after it occurs. A command could be allowed correctly yet leave no persistent evidence if accounting is disabled or its log destination is unavailable.
Question 518
A wireless operations group needs APs to spend time detecting neighboring RF interference and rogue devices rather than serving users. Which AP mode fits?
- Monitor mode for radio scanning and monitoring tasks
- Static NAT of the AP management IP for all frequencies
- An OSPF designated router role on the access switch
- Local mode only with no scanning support
Explanation
Correct Answer
A:A controller-managed AP in Monitor mode is used primarily for RF monitoring, detection and assessment rather than serving ordinary associated user clients as a Local-mode access point. That lets the deployment dedicate radio time to scanning channels, detecting rogue devices or interference under the controller's supported monitoring functions. Actual features depend on the AP and WLC platform and licensing. Removing an AP from client service can reduce available coverage, so plan RF capacity before changing operating modes.
Incorrect Answers
B:Static NAT maps an IP address through a translating gateway; it cannot determine which Wi-Fi channels a radio scans or make the AP detect rogue transmitters. AP management addressing may require routing to the controller, but that is distinct from the radio's operating mode. Changing NAT configuration will not replace a controller's RF-monitoring behavior.
C:OSPF designated-router election is a Layer 3 routing-process function on certain multi-access segments and does not control an 802.11 radio's scanning duty cycle. An access switch's routing neighbors may support connectivity to the controller, but they do not turn a client-serving AP into a monitor sensor. WLAN monitoring is configured through AP and controller features.
D:Local mode is a common operating role for a Cisco lightweight AP serving associated clients, and it may perform some background scanning depending on implementation. The requirement is to prioritize dedicated detection rather than client service, so Monitor mode is the clearer fit. Saying Local mode has no scanning support at all is also too broad for many Cisco platforms.
Question 519
A distribution center experiences connection loss around a microwave device despite healthy switch uplinks. What is an appropriate first RF action?
- Add a static OSPF default route to the DHCP server
- Increase the PoE budget for every wired printer
- Set the SSID to a longer string of letters
- Conduct a spectrum survey during the interference event
Explanation
Correct Answer
D:A spectrum survey taken while the connection loss occurs can reveal non-Wi-Fi energy and channel occupation consistent with a microwave device or other interfering source. Capture the affected frequency, timing and location, then compare to the wireless network's channel plan and client signal-quality evidence. This distinguishes RF interference from VLAN, DHCP or wired uplink failures. Appropriate mitigation might include moving radios to a cleaner band, changing channels or locating/removing the interfering appliance, subject to regulatory and operational constraints.
Incorrect Answers
A:A static default route controls how unmatched IP destinations are forwarded and is unrelated to identifying electromagnetic interference from a nearby microwave appliance. Even if the wireless controller is reached through a router, a Layer 3 path change cannot determine which radio-frequency bands are being disrupted. The symptom occurs despite healthy wired uplinks, pointing toward RF investigation.
B:PoE budgets affect whether powered wired or wireless endpoint devices receive enough electrical power, but increasing supply to every printer does not reveal microwave-generated 2.4 GHz interference. A power deficiency would tend to produce device resets or inadequate supply symptoms instead of time-correlated wireless connection loss near one appliance. The first investigation should measure the RF environment.
C:The SSID is a wireless network identifier advertised to clients; its character count does not alter the airwaves occupied by nearby interference sources. Changing it may force client profile updates without improving signal quality or channel utilization. A network can advertise a perfectly valid SSID while a non-Wi-Fi transmitter degrades the same frequencies.
Question 520
A VRRP deployment has multiple routers providing one virtual default gateway to a LAN. What general capability parallels HSRP?
- Failover of a shared first-hop virtual router identity
- Dynamic assignment of VLAN IDs based on host DNS names
- Elimination of the need for any healthy Layer 3 forwarding path
- Replacement of all IPsec encryption keys on connected clients
Explanation
Correct Answer
A:VRRP allows several routers to provide a shared virtual default-gateway IP identity for hosts on a LAN, similar in purpose to HSRP. A master router normally forwards for that virtual router while backup members can take over after a detected failure. Hosts continue using the same gateway address, reducing the need to change their configuration during a first-hop outage. This resilience is limited to gateway availability; the surviving router must still possess healthy routes and interfaces toward remote destinations.
Incorrect Answers
B:VRRP does not allocate data VLANs from endpoint DNS hostnames. VLAN assignment is a Layer 2 access and policy design function, while first-hop redundancy maintains a common gateway address on an existing IP subnet. A host may obtain its VLAN through separate access-control features, but that behavior is not the reason routers participate in VRRP.
C:A virtual router can assume a failed peer's gateway identity only if another member is functioning and can forward traffic. VRRP cannot compensate for a complete lack of an upstream route or a disconnected network beyond the gateway. Default-gateway failover and end-to-end routing availability are related but distinct design concerns.
D:IPsec keys provide encryption and authentication material for protected tunnels and are not automatically rotated merely because VRRP changes which router owns a LAN's virtual gateway. A design might coordinate VPN state during high availability, but VRRP itself is not an IPsec key-management system. The protocol's core task is first-hop virtual router redundancy.