Cisco 200-301 Practice Test 35
Question 340
For an existing IPv6 static network route, an engineer needs to examine the router’s installed IPv6 routes and check its prefix/next hop. Which operational command is appropriate?
show ipv6 routeshow ip routeshow mac address-tableshow vlan brief
Explanation
Correct Answer
A:The operational show ipv6 route command displays installed IPv6 prefixes, route source codes, next-hop information, and egress context where supported. It therefore lets the engineer verify that a configured IPv6 static route is actually present in the router's forwarding information. Unlike a running-configuration listing, it shows the active route-table view; if an expected route is missing, next-hop resolution or competition with another route may require further investigation. It does not change configuration.
Incorrect Answers
B:show ip route is the ordinary IPv4 route-table command; the IPv6 question requires the ipv6 variant. A router can have valid IPv4 entries while lacking the corresponding IPv6 static prefix, so an IPv4 output cannot establish the requested route's presence or next hop. Verify the address family before interpreting a table or troubleshooting a seemingly missing destination.
C:show mac address-table lists learned Ethernet destination addresses and associated bridge ports for Layer 2 forwarding on capable switches. A static IPv6 route operates at Layer 3 and references an IPv6 destination prefix and next-hop resolution. MAC learning does not prove that the router installed the requested IPv6 network route.
D:show vlan brief summarizes VLAN database entries and access-port membership, not IPv6 routing prefixes or next-hop associations. Even if an IPv6 router interface is connected to a particular VLAN, the existence of that VLAN does not prove the static route was installed. The engineer needs the routing information base view for the correct address family.
Question 341
A network engineer must distinguish the operational data access VLAN from the voice VLAN configured on interface Gi1/0/21. Which Cisco IOS command directly reports detailed switching mode and access/voice VLAN information for that interface?
- show ip route
- show interfaces gi1/0/21 switchport
- show interfaces gi1/0/21 counters errors
- show spanning-tree summary
Explanation
Correct Answer
B:The detailed show interfaces gi1/0/21 switchport output reports switching parameters for the named Catalyst interface, commonly including its administrative and operational mode, assigned access VLAN, and voice VLAN when configured. That directly distinguishes ordinary untagged workstation traffic from the separate voice VLAN used by an attached phone. It is a read-only inspection; if the output disagrees with the intended policy, inspect the port's running configuration and device-specific support before changing settings.
Incorrect Answers
A:The IP routing table lists Layer 3 destination networks and chosen next hops, rather than Layer 2 data and voice VLAN settings on Gi1/0/21. A switch might have no routed IP interface on that access VLAN while still carrying separate phone and workstation traffic. Reading IP routes therefore cannot establish the operational switchport mode or the configured voice VLAN for this port.
C:Interface error counters reveal issues such as received FCS faults, drops, or other platform-specific port statistics, but they do not normally enumerate the voice VLAN and operational access mode. They can help troubleshoot a physical problem after a client connects, yet that is not what the engineer must verify. The question asks for switching role and assigned VLAN information, not error rates.
D:A spanning-tree summary reports bridge-wide STP state or protocol mode and may help diagnose loop prevention. It does not describe the access and voice VLAN allocation specifically configured on Gi1/0/21. An access port can be forwarding in STP while its phone uses a misconfigured voice VLAN, so an STP summary would miss the requested detail.
Question 342
An administrator needs to use router ID 10.10.10.10 for local OSPF process 10, independent of current interface IP addresses. Which router OSPF configuration command is appropriate?
router-id 10.10.10.10 within router ospf 10ip address 10.10.10.10 255.255.255.255 on an arbitrary LAN portspanning-tree vlan 10 root primaryip default-gateway 10.10.10.10
Explanation
Correct Answer
A:Inside router ospf 10, the router-id 10.10.10.10 command explicitly sets the OSPF router identifier independently of physical or loopback interface addresses. This is a 32-bit dotted-decimal identifier used in OSPF control-plane messages, not necessarily an address assigned to any interface. If the process already selected another ID, the router may require an OSPF process restart or appropriate reset for the new value to take effect; consider adjacency disruption before changing production routing.
Incorrect Answers
B:Assigning 10.10.10.10/32 to an arbitrary physical interface configures a network address and might cause OSPF to consider it when choosing an ID automatically. It does not directly guarantee that value if another ID is already selected or configured. It can also create an unnecessary Layer 3 address and potentially overlapping plan; use the explicit OSPF process command when the task calls for independent identity.
C:The spanning-tree vlan 10 root primary command influences Layer 2 root bridge election for VLAN 10 on supported Catalyst devices. OSPF router IDs are Layer 3 routing-protocol identifiers selected within an OSPF process, not spanning-tree bridge identifiers. The shared numeric 10 in VLAN and OSPF process names does not make their configurations interchangeable.
D:ip default-gateway typically configures a management gateway on devices not routing IP traffic; it does not assign the identity advertised in OSPF hellos or LSAs. Even if 10.10.10.10 were a reachable gateway address, using it here would not set the OSPF router ID. The correct context is the router OSPF process, not a device-wide gateway for management.
Question 343
An IPv6-only application must send a packet to itself using the protocol loopback destination rather than the NIC's GUA. Which address should it use?
- ::/128, the unspecified address used for source initialization or wildcard binding
- ff02::1, the all-nodes multicast group on the local link
- ::1/128 is the IPv6 loopback address
- fe80::1, a possible link-local unicast address on an attached interface
Explanation
Correct Answer
C:IPv6 reserves ::1/128 as its loopback address, analogous to IPv4 127.0.0.1. A packet sent to ::1 is delivered by the local protocol stack and is not forwarded onto an Ethernet link or through a router. That exactly satisfies an application that must communicate with itself without selecting a NIC's global address. A test using the interface global-unicast address may take a different local route and does not express the reserved loopback semantics.
Incorrect Answers
A:The all-zero IPv6 ::/128 is the unspecified address used in initialization or some wildcard local socket bindings. It is not the standardized loopback destination for an application sending a packet back to itself. Loopback adds the last-bit one and stays inside the host's local networking stack rather than going out an interface. Confusing unspecified with loopback can produce invalid destination behavior.
B:ff02::1 is a link-local all-nodes IPv6 multicast address, delivered to a group of listeners on an attached link rather than exclusively to the sending application's host. It is useful in neighbor discovery and local multicast contexts, but it does not replace loopback. An application self-test should target the host-only reserved address instead of potentially addressing all local link peers.
D:fe80::1 is a possible link-local unicast address on a particular interface, but it is not universally assigned and does not mean 'this host' in every context. Link-local destinations need link or interface scope and can address a neighbor, including a router. The required loopback test must be independent of which Ethernet or Wi-Fi interface is active, so it uses ::1 instead.
Question 344
A workstation interface should learn the first legitimate endpoint MAC address and preserve it as a secure address in the running configuration. Which port-security capability supports this?
- Sticky secure MAC learning
- Setting the access VLAN to native VLAN 1
- OSPF network type point-to-point
ip helper-address on the switchport
Explanation
Correct Answer
A:Sticky port-security learning allows supported Catalyst switches to learn secure MAC addresses dynamically and retain them as sticky entries in the running configuration. If the maximum and violation policy are suitable, the first legitimate workstation can become the learned secure address without manually typing its MAC. Save the configuration when persistence across reloads is required, and verify secure address tables after the endpoint first communicates. This feature governs allowed source MACs on the switchport; it is not a substitute for endpoint identity authentication.
Incorrect Answers
B:The native VLAN describes how untagged frames on a trunk are classified, and an access VLAN determines a port's ordinary data membership. Assigning VLAN 1 does not learn or retain a secure source MAC in running configuration. It may even place the workstation on an undesired default segment. The requested function is endpoint MAC admission on the access port, not VLAN tag classification.
C:An OSPF point-to-point network type affects Layer 3 routing adjacency behavior and suppresses DR election on a suitable routed link. It has no role in remembering the first workstation source MAC observed by a Layer 2 access port. A desktop port-security feature operates at the switch MAC-learning and security enforcement layer, independent of OSPF's routing-neighbor protocol.
D:ip helper-address relays selected broadcasts, particularly DHCP client requests, toward servers on other subnets from a routed interface. It does not mark a client's Ethernet MAC as secure or persist it in a port-security configuration. A client may obtain a valid DHCP address while still violating switchport secure-MAC limits, so the two features address distinct controls.
Question 345
A JSON API returns {"ports":[22,443],"device":{"name":"r2"}}. Which statement about the nested structure is correct?
- The value under ports is an object with string keys 22 and 443
- The device member is a string containing all of its braces
- The comma between 22 and 443 indicates two different JSON documents
- The ports value is an array, while device contains a nested object with a name string
Explanation
Correct Answer
D:In the returned JSON, ports maps to an array because its value is [22,443], so indexing yields two numeric port values. The device member maps to a nested object whose name field is the string r2. These are different JSON types, and a correct API client must access them accordingly: iterate the ports array and read device.name as an object property. The outer braces delimit one complete JSON object rather than multiple messages.
Incorrect Answers
A:JSON braces describe objects with named members, whereas square brackets enclose ordered arrays. The ports field uses brackets and contains two numeric elements, 22 and 443; those values are not object member names. Treating them as string keys would lead a parser or automation script to access the wrong structure and fail to iterate the port values as intended.
B:The value for device begins with an opening brace and therefore is a nested JSON object, not a string that merely contains brace characters. The name property within that object has the string value r2. A string literal would be enclosed in quotes and escaped as necessary, while this parsed representation retains structure for property lookup.
C:The comma separates elements within the ports array and does not create a second top-level JSON document. The entire payload is one object with two named members, ports and device, and valid nested values. A JSON parser can traverse both without interpreting the comma as a document boundary; confusing element separators with documents breaks API consumers.
Question 346
SSH works locally from the management LAN but remote administrators receive an authentication failure. The VTY configuration uses login local. What should be inspected first?
- Whether the local username and credential database contain the intended account
- Whether the uplink trunk native VLAN is always VLAN 1
- Whether SNMPv3 privacy is enabled
- Whether the router learned a default route from BGP
Explanation
Correct Answer
A:With login local on the VTY lines, IOS authenticates the remote user's submitted credentials against the local username and secret database unless other configured AAA behavior takes precedence. Check that the intended account exists, has the expected password or secret and usable privilege configuration, and that the remote user is supplying the same identity. This is the most direct response to an authentication failure after an SSH session already reaches the device. Logs can refine the diagnosis without exposing secrets.
Incorrect Answers
B:A trunk native VLAN setting can affect how untagged Ethernet traffic is forwarded between switches, but it is not the local SSH user's credential database. The remote operator is reaching the SSH service and receiving an authentication failure, which points after basic connectivity. A native VLAN mismatch would more commonly cause reachability or segregation symptoms, not specifically reject correct local login credentials.
C:SNMPv3 privacy encrypts SNMP management messages between an SNMP manager and agent; it is not part of authenticating a user's SSH CLI session under login local. Enabling SNMP encryption is good practice where monitoring requires it but will not create a missing IOS local username. The login method in the stem explicitly uses local account data.
D:BGP can supply routes that determine reachability between administrative networks, but the scenario says an SSH login is reached and specifically fails authentication. Once the management TCP session gets to the device, BGP route selection does not decide whether the password matches a local account. A missing return route generally causes a connection failure rather than an explicit account rejection.
Question 347
An IPv6 routing table contains S ::/0 [1/0] via 2001:db8:100::1. Which interpretation is correct?
- This is a static IPv6 default route with a next hop of 2001:db8:100::1
- This is an OSPFv2 host route to one IPv6 address
- This line is an IPv4 connected route hidden in an IPv6 display
- The route only covers IPv6 destinations starting with 2001:db8:100::
Explanation
Correct Answer
A:The S code identifies a static route, and IPv6 ::/0 represents the default prefix that covers destinations lacking a longer installed IPv6 match. The via 2001:db8:100::1 text records its configured next hop, while [1/0] displays route preference and metric values in IOS-style output. This is the IPv6 candidate of last resort, not a host-specific route. Verify next-hop reachability and outgoing interface resolution before relying on it for packet forwarding.
Incorrect Answers
B:OSPFv2 is an IPv4 routing protocol and would not produce an S-coded static IPv6 default entry. A host route would be an exact /128 destination, not ::/0. The presence of an IPv6 literal and the static route code both contradict this interpretation. IPv6 dynamic routing uses mechanisms such as OSPFv3 instead of OSPFv2 host routes.
C:An IPv4 connected route uses dotted-decimal IPv4 destinations and is normally marked with C in the IPv4 table. Here both the destination ::/0 and next hop contain IPv6 notation and the source code is S, so the entry cannot be a concealed IPv4 connected path. Address-family route tables need to be interpreted separately when troubleshooting dual-stack systems.
D:The next-hop address beginning with 2001:db8:100 does not restrict the default route's destination prefix. The destination on the left is ::/0, which is the entire IPv6 address space for fallback lookup. The via value tells where to send a packet after the default is selected, not which destination addresses may match it.
Question 348
A secure distribution uplink will use a permanently configured 802.1Q trunk, but the change standard prohibits sending DTP negotiation frames on this link. Which TWO interface settings are directly relevant on a supported Catalyst switch? Choose TWO.
- switchport mode trunk
- switchport mode dynamic desirable
- switchport nonegotiate
- switchport mode access
- spanning-tree portfast
Explanation
Correct Answers
A:Setting switchport mode trunk statically establishes the intended 802.1Q trunk mode on a compatible Catalyst interface, rather than waiting for dynamic mode negotiation to choose access versus trunk. This is the forwarding role required for the distribution uplink, but by itself it does not ensure that no DTP frames are transmitted. Combine it with the no-negotiation setting where the platform supports both, and configure matching allowed VLANs and native VLAN across the peers.
C:On a compatible Catalyst port configured as a static trunk, switchport nonegotiate suppresses DTP frame transmission and prevents automatic negotiation as required by the change standard. It complements switchport mode trunk; it does not, on its own, set the interface's forwarding mode or guarantee peer configuration. Both ends should be explicitly set for compatible trunk operation because negotiation is disabled. Verify the actual operational mode after applying the change.
Incorrect Answers
B:Dynamic desirable actively attempts to negotiate trunk formation with a peer using Dynamic Trunking Protocol, directly conflicting with the change standard's ban on DTP frames. Although it can form trunks on suitable Cisco peers, the uplink is required to be permanently configured without negotiation. Use static trunk mode instead of an initiating DTP dynamic mode.
D:A static access port carries one ordinary data VLAN and does not provide the requested multi-VLAN distribution trunk. Setting switchport mode access would explicitly prevent normal 802.1Q trunk operation even though it might stop negotiation in some designs. The security requirement is to eliminate DTP while retaining a permanent trunk, not to turn the uplink into a user-facing access port.
E:PortFast is a spanning-tree convergence behavior intended for appropriate edge interfaces; it neither establishes trunk mode nor suppresses DTP negotiation frames. Applying edge assumptions to an interswitch distribution link can be dangerous if unexpected Layer 2 loops exist. The question concerns trunk encapsulation and negotiation policy, so select the actual switchport mode and no-negotiate controls rather than an STP edge setting.
Question 349
A Wi-Fi client sees weak RSSI at the far end of a concrete warehouse even though transmit power is already near the approved maximum. What should be investigated before increasing power further?
- Perform an RF site survey and reassess AP placement and coverage cells
- Increase access-point power above the approved regulatory setting until the concrete becomes transparent to RF
- Disable WLAN authentication so the client receives a stronger RF signal
- Set the widest 5-GHz channel width so weak RSSI automatically becomes strong RSSI
Explanation
Correct Answer
A:An RF site survey measures signal strength, interference, attenuation, client placement and coverage gaps at the warehouse's actual operating locations. Concrete structures can significantly reduce usable signal and create shadow zones; repositioning or adding appropriately planned APs may solve that coverage problem better than increasing already high power. Confirm both downlink and low-power client uplink performance, channel reuse and approved regulatory settings before making design changes. RSSI alone does not measure all aspects of wireless quality.
Incorrect Answers
B:Increasing power above the regulated transmit limit is not an acceptable troubleshooting step and cannot make concrete transparent to 5-GHz radio signals. It can also worsen contention with adjacent cells while the client's lower-power transmitter remains unable to reach the AP reliably. A survey and adjusted access-point placement are better ways to handle physical attenuation and coverage gaps within the permitted power budget.
C:Disabling WLAN authentication changes who may associate and potentially exposes user traffic, but does not strengthen the received radio signal at a distant client. RSSI measures RF power and propagation, not a security handshake success rate. Authentication should remain appropriately protected while physical coverage, obstructions and antenna positioning are investigated separately.
D:A wider channel width changes the amount of spectrum a transmission occupies and may increase peak throughput under suitable RF conditions; it does not automatically increase received signal strength. In dense or reflective environments wider channels can reduce reuse and increase contention. The warehouse's weak RSSI through concrete is a coverage and attenuation issue rather than a reason to maximize channel width.
Question 350
A configuration review finds service password-encryption enabled and a weak line password. What is the important security limitation of this feature?
- It prevents all password guessing attempts on SSH
- It creates a unique client certificate for every network operator
- It provides reversible obfuscation for applicable passwords, not robust credential hashing or transport security
- It disables the router console automatically
Explanation
Correct Answer
C:Cisco IOS service password-encryption applies weak reversible Type 7-style obfuscation to applicable plaintext password fields, helping prevent casual cleartext display but not providing modern cryptographic protection. The weak line password in this audit can still be recovered or guessed, and the feature does not encrypt the remote management session. Use a strong unique secret or modern password storage where supported, and SSH plus AAA for transport and access control. Explain the distinction between configuration obfuscation and secure authentication.
Incorrect Answers
A:service password-encryption does not enforce login rate limits or protect against password guessing on SSH sessions. It acts on stored configuration representations for certain password fields rather than on how often a remote user may attempt a login. A weak password remains guessable, even if its displayed configuration text is obscured. Use strong credentials and appropriate AAA or access restrictions for authentication security.
B:This command does not generate user-specific client certificates or establish a PKI trust relationship for administrators. A certificate-based device login or SSH host-key trust uses separate mechanisms and configuration. Password obscuring in a running configuration should not be confused with cryptographically authenticating each operator as a distinct certificate subject.
D:The setting does not administratively shut down the console line or disable physical management access. Console enablement, login authentication and transport policy are configured separately under the relevant line contexts. The fact that password text becomes obfuscated in the configuration should not be interpreted as a change to which users can connect or whether the console is available.