Last updated: May 2026
350-401 ENCOR — Cisco Certified Network Professional (CCNP) Enterprise
Test your knowledge with official exam-style questions
Questions and options are shuffled each attempt
▶Cisco Certified Network Professional (CCNP) Enterprise — Practice Set 1: All Questions & Explanations
Full question text, answer options, and explanations for this practice set — a spoiler-free alternative is the interactive quiz above for scored, shuffled practice.
. A network architect is designing a new campus network using the three-tier hierarchical model. Which layer is responsible for high-speed switching between distribution layer devices and provides redundant connections to the distribution switches?
- A. Access layer — connects end-user devices to the network
- B. Distribution layer — aggregates access layer traffic and enforces policies
- C. Core layer — provides high-speed, low-latency switching between distribution layers(correct)
- D. Spine layer — connects leaf switches in a data center fabric
Explanation: The core layer in the three-tier hierarchical model (core/distribution/access) provides high-speed, resilient switching between distribution layer devices. It is designed for maximum throughput with minimal latency and should not perform complex policy operations. The access layer connects endpoints. The distribution layer aggregates access traffic and enforces policies (routing, ACLs, QoS). The spine layer is part of the leaf-spine (Clos) data center fabric model, not the traditional three-tier campus model.
. An enterprise deploys Cisco SD-WAN. A network engineer needs to identify which SD-WAN component is responsible for centralized policy configuration and is the single management plane for the entire SD-WAN overlay.
- A. vEdge — customer premises edge device that forwards data plane traffic
- B. vBond — orchestrator that authenticates and onboards new vEdge devices
- C. vSmart — distributes routing and security policies to vEdge devices via OMP
- D. vManage — provides the centralized management GUI and is the single management plane(correct)
Explanation: vManage is the centralized NMS (Network Management System) for Cisco SD-WAN and serves as the single management plane — providing the GUI for policy configuration, device onboarding, monitoring, and troubleshooting. vEdge (or Cisco IOS-XE SD-WAN devices) are the data plane devices at customer sites. vBond is the orchestration plane component that authenticates and facilitates the initial connection between vEdge and vSmart/vManage. vSmart is the control plane controller that distributes routing and security policies to vEdge devices using OMP (Overlay Management Protocol).
. An enterprise deploys Cisco SD-Access. A network engineer is reviewing the fabric role assignments. Which SD-Access fabric node is responsible for mapping endpoint IP addresses and MAC addresses to fabric node locations using the LISP control plane?
- A. Edge Node — connects endpoints to the fabric
- B. Border Node — connects the SD-Access fabric to external networks
- C. Control Plane Node — runs LISP Map-Server and Map-Resolver functions(correct)
- D. Cisco DNA Center — stores all endpoint mapping information
Explanation: In SD-Access, the Control Plane Node runs the LISP (Locator/ID Separation Protocol) Map-Server (MS) and Map-Resolver (MR) functions — it maintains the mapping database (EID-to-RLOC) that maps endpoint identifiers (IP/MAC) to the fabric node locations (RLOCs). Edge Nodes connect endpoints to the fabric and register their endpoints with the Control Plane Node. Border Nodes connect the fabric to external Layer 3 networks (such as the WAN or non-fabric subnets). Cisco DNA Center is the management and automation platform, not the LISP mapping database.
. A network engineer needs to compare HSRP, VRRP, and GLBP for First Hop Redundancy. Which statement CORRECTLY differentiates GLBP from HSRP and VRRP?
- A. GLBP is an open standard; HSRP and VRRP are Cisco proprietary
- B. GLBP provides both gateway redundancy and load balancing across multiple routers; HSRP and VRRP have only one active forwarder at a time(correct)
- C. GLBP supports only IPv4; HSRP and VRRP support both IPv4 and IPv6
- D. GLBP uses a virtual IP address shared by all routers; HSRP uses separate IP addresses per router
Explanation: GLBP (Gateway Load Balancing Protocol) is Cisco-proprietary and uniquely provides both redundancy and load balancing by allowing multiple routers to simultaneously forward traffic as active virtual forwarders (AVFs) under a single virtual IP — each AVF responds to ARP requests with a different virtual MAC. HSRP (Cisco-proprietary) and VRRP (IEEE open standard — RFC 5798) both use a single active/master forwarder while other routers remain in standby/backup, with no native load balancing. HSRP supports HSRPv2 for IPv6; VRRP supports VRRPv3 for IPv6. GLBP also supports IPv6.
. A network engineer configures VRF (Virtual Routing and Forwarding) on a Cisco router to support multiple customers on shared infrastructure. Which IOS command creates a VRF named 'CUSTOMER_A' and assigns it a route distinguisher of 65000:1?
- A. ip vrf CUSTOMER_A rd 65000:1
- B. vrf definition CUSTOMER_A rd 65000:1 address-family ipv4(correct)
- C. ip vrf CUSTOMER_A rd 65000:1
- D. vrf CUSTOMER_A route-distinguisher 65000:1
Explanation: Modern Cisco IOS/IOS-XE uses `vrf definition <name>` (replacing the legacy `ip vrf <name>` command). Within the VRF definition, `rd <ASN:nn>` sets the Route Distinguisher, and `address-family ipv4` activates the VRF for IPv4 routing. The legacy `ip vrf <name>` followed by `rd <value>` (Option A) is valid on older IOS but does not support multi-protocol VRFs. Option C puts the rd on the same line as `ip vrf`, which is not valid IOS syntax. Option D uses `route-distinguisher`, which is not the correct IOS subcommand (it is `rd`).
. An enterprise data center network uses VXLAN with BGP EVPN as the control plane. What is the primary role of the BGP EVPN control plane in a VXLAN fabric?
- A. To encapsulate Layer 2 frames in UDP packets for transport across the IP underlay
- B. To distribute MAC/IP address information between VTEPs, eliminating flood-and-learn for endpoint discovery(correct)
- C. To assign VNI (VXLAN Network Identifier) numbers to each VLAN
- D. To encrypt the VXLAN data plane traffic between VTEPs
Explanation: In VXLAN with BGP EVPN (Ethernet VPN), the BGP EVPN control plane distributes MAC and IP address reachability information (EVPN Type-2 routes) between VTEPs (VXLAN Tunnel Endpoints), replacing the traditional flood-and-learn mechanism. This allows VTEPs to build their forwarding tables proactively without flooding unknown unicast traffic. VXLAN encapsulation (Layer 2 over UDP) is the data plane function, not BGP EVPN. VNI assignment is a configuration task done by the operator. VXLAN itself does not provide encryption — MACsec is used for data plane encryption.
. A network engineer is troubleshooting OSPF. Two routers are connected on a broadcast multi-access network. The engineer runs `show ip ospf interface` and sees the following: Router1: Priority 0 Router2: Priority 1 What is the result of the DR/BDR election on this segment?
- A. Router1 wins the DR election because it has a higher router ID
- B. Router1 cannot become DR or BDR because its OSPF priority is 0(correct)
- C. There is no DR/BDR election on a broadcast network; it only applies to NBMA
- D. Both routers become DR simultaneously because there is no tie-breaker
Explanation: An OSPF interface priority of 0 explicitly excludes a router from participating in DR/BDR elections — it can only become a DROther (non-DR/BDR neighbor). Router2 with priority 1 will be elected DR (the only eligible candidate). If another router with a higher priority were on the segment, it would win. OSPF DR/BDR elections do apply to broadcast networks (and NBMA). With only Router2 eligible, it becomes DR and there is no BDR (there is no second eligible candidate). Priority takes precedence over Router ID in the election process.
. An OSPF network has the following area types. A router receives a Type 3 (Summary) LSA but does not receive Type 5 (AS External) LSAs. It also does not originate a default route automatically. In which OSPF area type is this router MOST likely located?
- A. Backbone area (Area 0)
- B. Stub area(correct)
- C. NSSA (Not-So-Stubby Area)
- D. Totally stubby area
Explanation: A Stub area blocks Type 5 AS External LSAs (redistributed external routes) from entering the area, reducing the LSDB size. Type 3 Summary LSAs are still allowed. The ABR automatically originates a Type 3 default route (0.0.0.0/0) into the stub area so internal routers can reach external destinations. A Totally Stubby area blocks both Type 3 and Type 5 LSAs, with only a single Type 3 default route injected. An NSSA blocks Type 5 LSAs but allows Type 7 LSAs (converted at the ABR) and may or may not have an automatic default route. Area 0 has no restrictions.
. A network engineer configures eBGP between two routers and observes that the BGP session is established but routes from the peer are not being installed in the routing table. The engineer runs `show ip bgp` and sees the routes are present in the BGP table with a next-hop of 203.0.113.1. The local router has no route to 203.0.113.1. Which BGP feature should the engineer configure to resolve this?
- A. next-hop-self — configures the router to advertise itself as the next-hop for routes sent to iBGP peers
- B. next-hop-self is not relevant; the engineer should redistribute BGP into OSPF
- C. The engineer should add a static route to 203.0.113.1 or ensure it is reachable via the IGP(correct)
- D. The engineer should configure `bgp next-hop unchanged` to preserve the original next-hop
Explanation: BGP installs a route in the routing table only if the BGP next-hop is reachable (resolvable in the routing table). If the next-hop 203.0.113.1 is not reachable, the route is marked as invalid and not installed. The fix is to ensure next-hop reachability — either by adding a static route to 203.0.113.1 or by having the IGP advertise a route to it. `next-hop-self` is used in iBGP scenarios where the eBGP-learned next-hop is not reachable by iBGP peers — it is not directly applicable here. Redistributing BGP into OSPF would cause route loops and is not a recommended fix. `bgp next-hop unchanged` preserves the original eBGP next-hop when advertising to iBGP peers.
. An enterprise BGP network has multiple exit points to the internet. The network engineer wants iBGP peers within the AS to prefer one specific exit router for all outbound traffic. Which BGP attribute should the engineer manipulate to influence outbound path selection from within the AS?
- A. MED (Multi-Exit Discriminator) — influences how external ASes enter the local AS
- B. Local Preference — influences outbound path selection within the AS; higher value is preferred(correct)
- C. AS Path — prepending AS numbers to make a path appear longer and less preferred
- D. Weight — a Cisco-proprietary attribute that is locally significant to a single router only
Explanation: Local Preference is a well-known discretionary BGP attribute used to influence outbound traffic from within an AS. It is shared with all iBGP peers (but not sent to eBGP peers), and the path with the highest Local Preference is preferred. The default value is 100. Setting a higher Local Preference on the preferred exit router causes all iBGP peers to prefer that path. MED influences how traffic enters the AS from a neighboring AS (inbound influence on the neighbor). AS Path prepending is also used to influence inbound traffic from other ASes. Weight is Cisco-proprietary and is only locally significant to the router on which it is configured — it does not propagate to iBGP peers.
. A network engineer is reviewing RSTP (Rapid Spanning Tree Protocol, 802.1w) port roles. A switch port that is neither a root port nor a designated port, and provides an alternate path to the root bridge, is in which RSTP port role?
- A. Backup port — provides redundancy for a designated port on the same segment
- B. Alternate port — provides an alternate path to the root bridge in case the root port fails(correct)
- C. Non-designated port — discards traffic to prevent loops
- D. Disabled port — administratively shut down
Explanation: In RSTP (802.1w), port roles are: Root Port (best path to root bridge), Designated Port (best port on each segment toward leaves), Alternate Port (alternate path to root bridge — equivalent to STP blocking state, replaces failed root port immediately), and Backup Port (redundant path to the same segment as a designated port on the same switch). A non-designated port is not an RSTP role term — it is used in legacy 802.1D. The Alternate port is the key RSTP innovation enabling rapid convergence because it can transition to Root Port without waiting for a timer.
. A network engineer is implementing QoS using MQC (Modular QoS CLI). The policy must match all traffic with DSCP EF (46) and place it in a Low Latency Queue (LLQ) with a guaranteed bandwidth of 1 Mbps. Which IOS configuration correctly implements this?
- A. class-map match-all VOIP match dscp ef policy-map QOS_POLICY class VOIP priority 1000 interface GigabitEthernet0/0 service-policy output QOS_POLICY(correct)
- B. class-map match-all VOIP match dscp 46 policy-map QOS_POLICY class VOIP bandwidth 1000 interface GigabitEthernet0/0 service-policy output QOS_POLICY
- C. class-map VOIP match dscp ef policy-map QOS_POLICY class VOIP llq 1000 interface GigabitEthernet0/0 service-policy output QOS_POLICY
- D. qos class VOIP dscp ef priority 1000 interface GigabitEthernet0/0 qos apply VOIP
Explanation: In Cisco MQC, LLQ (Low Latency Queuing) is configured using the `priority <kbps>` command under the class in a policy-map — this allocates guaranteed bandwidth with strict priority queuing. `match dscp ef` matches traffic marked with DSCP EF (value 46). The `service-policy output` applies the policy to outbound traffic. Option B uses `bandwidth` instead of `priority` — `bandwidth` provides CBWFQ (Class-Based Weighted Fair Queuing), which allocates minimum bandwidth but does not provide strict priority (no LLQ). `match dscp 46` is also valid (numeric form), but `match dscp ef` with the named keyword is the preferred form. Option C uses `llq` which is not a valid MQC subcommand. Option D is not valid IOS syntax.
. An enterprise network redistributes OSPF into BGP and BGP into OSPF on the same router. A network engineer is concerned about routing loops. Which mechanism does OSPF use to prevent routes learned from BGP (via redistribution) from being redistributed back into BGP?
- A. OSPF automatically tags external routes with a domain tag (BGP AS number) and filters them at redistribution
- B. Administrative distance — BGP routes have AD 20/200, which prevents OSPF from preferring them over internal routes
- C. Route maps with match conditions on the OSPF external tag can be used to filter BGP-originated routes during redistribution back into BGP(correct)
- D. OSPF Type 5 LSAs are automatically filtered from being redistributed into eBGP
Explanation: When redistributing from OSPF into BGP and from BGP into OSPF on the same router, potential loops arise because OSPF may re-learn routes it originally sent to BGP. The recommended prevention mechanism is to use route-maps with `match tag` statements during redistribution: when redistributing BGP into OSPF, set a specific OSPF tag on the routes; when redistributing OSPF into BGP, use a route-map to deny routes with that tag. OSPF does not automatically tag routes with the BGP AS number. Administrative distance controls route preference in the local routing table but does not prevent redistribution loops. OSPF Type 5 LSAs are not automatically filtered at the BGP redistribution boundary.
. A network engineer configures multicast routing on a Cisco router using PIM Sparse Mode. Which statement correctly describes PIM Sparse Mode operation?
- A. PIM Sparse Mode floods multicast traffic to all interfaces by default and then prunes unwanted branches
- B. PIM Sparse Mode requires a Rendezvous Point (RP) and uses explicit join messages from receivers to build the shared distribution tree(correct)
- C. PIM Sparse Mode does not require a Rendezvous Point and builds source-based trees only
- D. PIM Sparse Mode and PIM Dense Mode are functionally identical except for the timer values
Explanation: PIM Sparse Mode (PIM-SM) uses an explicit join model — routers send PIM Join messages toward the Rendezvous Point (RP) to join the shared (*,G) tree. Multicast traffic is only sent to branches where receivers have explicitly joined; no flooding occurs by default. PIM Dense Mode (PIM-DM) uses a flood-and-prune model. The RP is a required component in PIM-SM — it acts as the meeting point for sources and receivers. PIM-SM can build source-specific shortest-path trees (SPTs) after initial traffic flows through the RP, but it does not build only source-based trees and it still requires an RP.
. A network engineer configures IP SLA to continuously monitor the reachability of a remote host at 10.1.1.1 using ICMP echo. Which IOS commands correctly configure an IP SLA operation with ID 10, set a frequency of 30 seconds, and schedule it to start immediately?
- A. ip sla 10 icmp-echo 10.1.1.1 frequency 30 ip sla schedule 10 life forever start-time now(correct)
- B. ip sla monitor 10 type icmp-echo dest-ipaddr 10.1.1.1 frequency 30 ip sla monitor schedule 10 start-time now
- C. ip sla 10 icmp-echo 10.1.1.1 frequency 30 ip sla start 10
- D. sla operation 10 probe icmp 10.1.1.1 interval 30 start sla 10
Explanation: Modern Cisco IOS IP SLA configuration uses `ip sla <id>` to enter the SLA configuration context, `icmp-echo <destination>` to define the operation type, `frequency <seconds>` to set the probe interval, and `ip sla schedule <id> life forever start-time now` to start the operation immediately and run indefinitely. Option B uses the legacy `ip sla monitor` syntax (deprecated in IOS 12.4+). Option C incorrectly tries to configure everything on one line. Option D is not valid IOS syntax.
. A network engineer needs to capture traffic on a switch for analysis but cannot connect a sniffer directly to the source port. Which Cisco switch feature mirrors traffic from a source port to a monitoring port on the same switch?
- A. RSPAN — mirrors traffic across multiple switches using a special VLAN
- B. SPAN (Switched Port Analyzer) — mirrors traffic from a source port to a local destination port(correct)
- C. IP SLA — measures traffic statistics on the source port
- D. NetFlow — exports flow records to an external collector for analysis
Explanation: SPAN (Switched Port Analyzer) is a local port mirroring feature that copies traffic from one or more source ports (or VLANs) to a destination port on the same switch, where a protocol analyzer can be connected. RSPAN (Remote SPAN) extends mirroring across multiple switches using a dedicated RSPAN VLAN — it is used when the analyzer is not on the same switch as the source. IP SLA measures performance metrics but does not capture raw packet traffic. NetFlow exports flow statistics to a collector but does not provide full packet captures.
. A network engineer deploys 802.1X port-based authentication on a Cisco Catalyst switch. A supplicant connects to the switch. Which component in the 802.1X framework is the switch acting as?
- A. Supplicant — the entity requesting network access
- B. Authentication Server — validates credentials against a user database
- C. Authenticator — the network device that enforces authentication between the supplicant and authentication server(correct)
- D. RADIUS Client — directly authenticates the user without involving a server
Explanation: In 802.1X, the three entities are: the Supplicant (end device requesting access), the Authenticator (network device — the switch — that enforces access control and relays credentials between supplicant and server via EAPOL and RADIUS), and the Authentication Server (typically a RADIUS server such as Cisco ISE that validates credentials). The switch is the Authenticator — it controls physical access to the network based on the authentication server's decision. The RADIUS client functionality is part of the Authenticator role, but the switch does not authenticate users directly — it forwards credentials to the server.
. A network engineer configures DHCP Snooping on a Cisco switch to prevent rogue DHCP servers. Which statement CORRECTLY describes DHCP Snooping operation?
- A. All switch ports are trusted by default; untrusted ports must be explicitly configured
- B. Untrusted ports block DHCP server responses (OFFER and ACK); only trusted ports can forward DHCP server messages(correct)
- C. DHCP Snooping operates at Layer 3 and requires a routed interface to function
- D. DHCP Snooping only protects against rogue DHCP clients, not rogue DHCP servers
Explanation: DHCP Snooping works by classifying switch ports as trusted or untrusted. By default, all ports are untrusted. Untrusted ports drop DHCP server messages (OFFER, ACK, NAK) — only ports explicitly configured as trusted (typically uplinks toward the legitimate DHCP server) can forward DHCP server replies. Untrusted ports can still forward DHCP client messages (DISCOVER, REQUEST). This prevents rogue DHCP servers connected to untrusted ports from assigning addresses. DHCP Snooping operates at Layer 2. The DHCP Snooping binding table (IP-to-MAC-to-port mappings) is also used by Dynamic ARP Inspection (DAI).
. A security engineer configures Control Plane Policing (CoPP) on a Cisco router to protect the router's CPU from DoS attacks. In the MQC-based CoPP policy, how is the policy applied?
- A. The policy-map is applied to each physical interface using `service-policy input`
- B. The policy-map is applied globally under `control-plane` using `service-policy input`(correct)
- C. The policy-map is applied to the loopback interface only
- D. CoPP policies are automatically applied by IOS and do not require explicit configuration
Explanation: Control Plane Policing (CoPP) uses the Modular QoS CLI (MQC) framework, but the policy-map is applied to the logical `control-plane` entity (accessed via the `control-plane` global configuration command) using `service-policy input` — not to physical interfaces. This protects the route processor by rate-limiting or dropping traffic destined for the control plane (e.g., routing protocol packets, SSH, ICMP, BGP). Applying to individual physical interfaces would be interface-level policing, not CoPP. The loopback interface is not the correct application point. CoPP requires explicit configuration — it is not automatically enabled.
. A network engineer enables uRPF (Unicast Reverse Path Forwarding) on an internet-facing interface to prevent IP address spoofing. Which uRPF mode is MOST appropriate for an internet edge router with asymmetric routing paths?
- A. Strict mode — the source IP must be reachable via the same interface the packet arrived on
- B. Loose mode — the source IP must exist anywhere in the routing table (on any interface)(correct)
- C. Feasible mode — the source IP must match an EIGRP feasible successor
- D. Network mode — applied at the network level rather than per-interface
Explanation: uRPF loose mode verifies that the source IP address exists somewhere in the routing table (via any interface) — it does not require the packet to arrive on the same interface as the best return path. This makes it suitable for internet-edge environments where asymmetric routing is common (traffic arrives on a different interface than it would leave). Strict mode requires the source to be reachable via the exact same interface the packet arrived on — it drops packets where asymmetric routing exists, causing false positives on asymmetric paths. Feasible mode and Network mode are not valid uRPF modes in Cisco IOS.
. A security engineer needs to mitigate ARP spoofing attacks on a Cisco switch. Which feature inspects ARP packets on untrusted ports and validates them against the DHCP Snooping binding table?
- A. Port Security — limits the number of MAC addresses per port
- B. Dynamic ARP Inspection (DAI) — validates ARP packets against the DHCP Snooping binding table on untrusted ports(correct)
- C. IP Source Guard — filters IP packets based on the DHCP Snooping binding table
- D. DHCP Snooping — filters ARP requests to prevent spoofing
Explanation: Dynamic ARP Inspection (DAI) mitigates ARP spoofing (ARP poisoning) by intercepting ARP packets on untrusted switch ports and validating the sender's IP-to-MAC binding against the DHCP Snooping binding table. ARP packets that do not match the binding table are dropped. Port Security limits MAC addresses but does not validate ARP content. IP Source Guard uses the DHCP Snooping binding table to filter IP packets (not ARP) — it prevents IP address spoofing. DHCP Snooping prevents rogue DHCP servers but does not inspect ARP packets.
. A network engineer uses an Ansible playbook with the `cisco.ios.ios_config` module to push configuration to multiple Cisco IOS devices. Which Ansible parameter ensures that the module only makes changes if the configuration is not already present (idempotent behavior)?
- A. The `ios_config` module is always idempotent by default — it checks the running config before pushing
- B. The `lines` parameter combined with the `parents` parameter allows the module to check context — if the lines already exist, no change is made(correct)
- C. Setting `check_mode: yes` in the playbook prevents any changes from being applied
- D. The `replace: block` parameter forces a complete config block replacement, ensuring idempotency
Explanation: The `cisco.ios.ios_config` module achieves idempotency by comparing the `lines` to be configured against the current running configuration. When `parents` is specified, the module checks whether the given lines exist under the specified configuration context. If the lines are already present, no change is made and the task reports 'ok' rather than 'changed'. Using `lines` and `parents` correctly is key to idempotent IOS configuration via Ansible. `check_mode: yes` performs a dry run (reports what would change but makes no changes) — it does not make the module idempotent in subsequent runs. `replace: block` replaces the entire configuration block and can cause unintended changes.
. A network engineer uses NETCONF to retrieve the running configuration of a Cisco IOS-XE router. Which NETCONF operation and RPC element correctly retrieves the running datastore?
- A. <get-config><source><running/></source></get-config>(correct)
- B. <get><filter type='running'/></get>
- C. <get-running-config/>
- D. <copy-config><source><running/></source><target><startup/></target></copy-config>
Explanation: The NETCONF `<get-config>` operation is used to retrieve configuration data from a specific datastore. The `<source>` element specifies `<running/>` to retrieve the running configuration. The complete RPC is wrapped in `<rpc>` and `</rpc>` tags with a message-id attribute. `<get>` (Option B) retrieves both configuration and state data but does not take a datastore source — it uses `<filter>` to select specific data, and `type='running'` is not a valid filter attribute. `<get-running-config/>` is not a valid NETCONF operation. `<copy-config>` copies from one datastore to another (e.g., running to startup) — it does not retrieve data.
. A network engineer writes an EEM (Embedded Event Manager) applet on a Cisco router to automatically send a syslog message whenever interface GigabitEthernet0/0 goes down. Which IOS configuration correctly implements this?
- A. event manager applet GIG_DOWN event interface name GigabitEthernet0/0 parameter linkstate value down action 1.0 syslog msg 'GigabitEthernet0/0 is down'
- B. event manager applet GIG_DOWN event syslog pattern 'GigabitEthernet0/0.*down' action 1.0 syslog msg 'Interface down alert'(correct)
- C. event manager applet GIG_DOWN event track 1 state down action 1.0 syslog msg 'Interface down'
- D. event manager applet GIG_DOWN event none action 1.0 cli command 'shutdown GigabitEthernet0/0'
Explanation: The EEM `event syslog pattern` event detector triggers the applet when a syslog message matching the specified regular expression appears. IOS generates syslog messages such as '%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to down' when an interface goes down — matching this with a pattern is the standard EEM approach. Option A attempts to use `event interface` with `parameter linkstate`, which is not valid EEM syntax in standard IOS (the correct IOS event is `event syslog` or `event track`). Option C uses IP SLA tracking, which requires a separate `track` object configuration. Option D uses `event none` (manual trigger) and an invalid `cli command` syntax.
. A Python script uses the `ncclient` library to connect to a Cisco IOS-XE router via NETCONF and edit the device configuration. The script calls `manager.edit_config(target='running', config=xml_payload)`. Which NETCONF capability must the device advertise (in its hello message) for the script to edit the running datastore directly?
- A. urn:ietf:params:netconf:capability:writeable-running:1.0(correct)
- B. urn:ietf:params:netconf:base:1.0
- C. urn:ietf:params:netconf:capability:candidate:1.0
- D. urn:ietf:params:netconf:capability:rollback-on-error:1.0
Explanation: The NETCONF `writable-running` capability (urn:ietf:params:netconf:capability:writeable-running:1.0) allows a NETCONF client to write directly to the running datastore using `<edit-config>`. Without this capability, only the candidate datastore can be written to (if supported). The base capability (1.0 or 1.1) is required for basic NETCONF operation but does not specifically allow editing the running datastore. The `candidate` capability allows edits to a candidate datastore (a copy of running) which can then be committed. The `rollback-on-error` capability defines error handling behavior on edit-config failures.