Medium 350-401 practice questions
Applied — put a concept to work in a realistic situation. 100 medium questions available — no sign-up, always free.
Two Catalyst switches, DSW1 and ASW1, are connected by a manually configured 802.1q trunk. Users in VLAN 1 on ASW1 can reach the network, but the switches log repeated '%CDP-4-NATIVE_VLAN_MISMATCH' messages every 60 seconds. On DSW1 the trunk port shows 'switchport trunk native vlan 99'; on ASW1 the same port shows 'switchport trunk native vlan 1'. Tagged VLANs 10 and 20 pass traffic correctly. What is the effect of this condition, and how should you resolve it?
A network engineer configures AAA on a Catalyst switch to authenticate administrative logins against a RADIUS server. During a maintenance window the RADIUS server becomes unreachable, and the engineer is now completely locked out of the console and VTY lines even though a local username exists. The relevant configuration is: 'aaa authentication login default group radius'. Which change ensures the engineer can still log in with the local database when RADIUS is unreachable?
A network administrator wants junior technicians to log into a Catalyst switch and be able to run all show commands and clear counters, but NOT enter global configuration mode or reload the device. The administrator prefers a solution local to the device that avoids assigning each command an individual privilege level. Which approach best meets this requirement?
A network automation team must choose an orchestration tool for a fleet of 400 Cisco IOS-XE routers. The security team has a strict policy prohibiting the installation of any persistent third-party software daemons on the network devices, and the devices already have SSH enabled for management. Which characteristic of an agentless orchestration tool best satisfies these requirements?
A network engineer wants to proactively identify recurring client connectivity issues across a large campus without manually parsing individual device logs. Management asks for a solution that uses machine learning to establish baselines and flag anomalies against normal behavior. Which Cisco Catalyst Center (formerly Cisco DNA Center) capability specifically provides this AI-driven baseline comparison and anomaly detection?
A network engineer is writing a Python script that calls the Cisco Catalyst Center Intent API endpoint GET /dna/intent/api/v1/network-device to retrieve the full inventory. The lab has 850 managed devices, but each API response only returns the first 500 devices. The engineer must retrieve all devices without changing the endpoint. What is the most appropriate way to obtain the remaining records?
A network engineer is troubleshooting intermittent PPP authentication failures on a router that terminates hundreds of dialer sessions. Enabling 'debug ppp authentication' globally would overwhelm the console with output from all sessions. The engineer wants to capture debug output only for traffic related to interface Dialer1 without impacting other sessions. Which set of commands correctly restricts the debug output to only that interface?
A network engineer notices that a Catalyst switch experiences high CPU utilization during a burst of ARP and routing protocol traffic directed at the device itself, causing management sessions to time out. The engineer wants to rate-limit traffic destined to the router's control plane without affecting transit data traffic. Which feature should be implemented to accomplish this?
A network engineer is hardening a Catalyst 9300 switch. Corporate policy requires that only the management subnet 10.50.10.0/24 be permitted to reach the device management plane, and that any denied management attempt be recorded for the SOC. The engineer has already configured SSHv2. Which additional configuration correctly restricts and logs remote management access to the VTY lines?
During a security audit of a new Catalyst 9300 switch, you are asked to reduce the device's attack surface before it is placed into production. The switch currently has its factory-default configuration for management services. Which action most directly hardens the management plane by removing a plaintext, legacy remote-access protocol that transmits credentials in clear text?
A network engineer connects two Catalyst switches with a single link and expects an 802.1Q trunk to form dynamically. On both switches the interface is configured with 'switchport mode dynamic auto' and no other switchport commands. After the link comes up, VLAN traffic from non-native VLANs is not passing between the switches. 'show interfaces switchport' on both sides shows the operational mode as 'static access'. What is the cause of this behavior?
You are configuring eBGP between two directly connected routers, R1 and R2. R1 uses 'neighbor 10.1.1.2 remote-as 65002' pointing at R2's directly connected interface IP, and R2 uses 'neighbor 10.1.1.1 remote-as 65001'. However, an engineer changed R1 to peer with R2's Loopback0 address (192.168.2.2) instead, using 'neighbor 192.168.2.2 remote-as 65002' with a static route to reach the loopback. The session fails to establish. What is the MOST likely cause, and what corrects it?
A network engineer manages an eBGP edge router (AS 65010) that advertises the 203.0.113.0/24 prefix to two directly connected upstream ISPs: ISP-A (AS 64500) via GigabitEthernet0/0 and ISP-B (AS 64501) via GigabitEthernet0/1. The company wants ISP-A to be the primary path for all INBOUND traffic to 203.0.113.0/24, using ISP-B only if the ISP-A link fails. The engineer cannot influence the ISPs' local policies. Which action taken on the edge router will best achieve this goal?
A network engineer writes an EEM applet named GATHER-STATE that should collect 'show tech-support' output and write it to flash whenever the engineer manually invokes it during a troubleshooting session, rather than being triggered automatically by any system event. Which event detector configuration statement should be used in the applet?
A network engineer needs an EEM applet on a core switch that automatically bounces GigabitEthernet1/0/24 whenever the interface goes into an err-disabled state. The engineer wants the applet to trigger off the syslog message that is generated at that moment and then issue a shutdown followed by a no shutdown on the interface. Which EEM configuration correctly accomplishes this?
A network engineer wants an IOS device to automatically archive its running configuration to a TFTP server every day at 2:00 AM without any manual intervention or external scheduler. Which EEM applet configuration correctly accomplishes this?
A network engineer notices that a route in the EIGRP topology table shows no feasible successor after the primary path failed. The router sends queries to its neighbors and waits for replies before installing a new path. Which statement best explains why this behavior occurs and its consequence?
A network engineer is documenting the differences between EIGRP and OSPF for a design review. Both protocols are being evaluated for a campus WAN with links of varying bandwidth. Which statement correctly describes a fundamental difference in how these two protocols select the best path?
A network engineer is evaluating whether to deploy EIGRP or OSPF in an enterprise campus. A key requirement is the fastest possible reconvergence after a primary path failure WITHOUT any recomputation delay, provided a precomputed loop-free backup path already exists in the topology. Which statement correctly compares how each protocol meets this requirement?
A network engineer is documenting the differences between EIGRP and OSPF for a design review. A senior architect asks how each protocol determines the best path and reacts to topology changes. Which statement accurately compares the two protocols?
A network engineer is comparing routing protocol behavior on two identical routers. On Router-A running EIGRP and Router-B running OSPF, both connect the campus to remote branch networks. The engineer needs route summarization applied close to the source networks to minimize routing table size. Which statement correctly describes a fundamental difference between where these two protocols allow summarization to be configured?
A network engineer is hardening a Catalyst switch and wants to protect privileged EXEC mode. The running configuration currently contains both 'enable password Cisco123' and 'enable secret Str0ngP@ss'. When the engineer types 'enable' at the user EXEC prompt, which behavior occurs, and why?
A regional office is being redesigned. It currently has 3 access switches connecting to a pair of distribution switches, which in turn connect to a separate pair of core switches. The network team notes that the entire site fits in a single building with fewer than 400 users, and they want to reduce cost, cabling complexity, and the number of managed devices while maintaining redundancy. Which enterprise campus design change best satisfies these requirements?
A network engineer needs to capture traffic from a distribution switch in Building A and forward that mirrored traffic to a packet analyzer that resides on a subnet reachable only through a routed Layer 3 path in the data center. The source and destination are in different IP subnets separated by multiple router hops. Which monitoring feature must the engineer configure to accomplish this?
A network engineer is configuring ERSPAN on a Catalyst switch to send a copy of traffic from GigabitEthernet1/0/10 to a monitoring appliance located across a routed Layer 3 network at IP address 10.50.50.100. The engineer has entered the following on the source switch: monitor session 1 type erspan-source source interface Gi1/0/10 destination erspan-id 100 ip address 10.50.50.100 After committing the configuration, no traffic is arriving at the monitoring appliance. Which additional configuration step under the destination sub-mode is required for the ERSPAN session to become operational?