Courseiva

CCNA Automation and Assurance Questions

42 questions · Automation and Assurance · All types, answers revealed

1
MCQmedium

An engineer configures model-driven telemetry on a Cisco XR router to send data to a collector. After configuring, the collector receives no data. The engineer verifies that the collector IP and port are reachable. What is the next step to troubleshoot?

A.Check if the YANG model is valid
B.Verify that the router has a route to the collector
C.Check that the sensor-group and destination-group are correctly associated and committed in the subscription
D.Reboot the router
E.Check the SNMP community strings
AnswerC

The subscription must link the sensor-group and destination-group; if misconfigured, no data is sent.

Why this answer

In model-driven telemetry on Cisco XR, a subscription must explicitly associate a sensor-group (which defines the data to collect) with a destination-group (which defines where to send it). If these are not correctly associated and committed, the router will not stream any telemetry data to the collector, even if the collector is reachable. The verification of reachability confirms the network path is fine, so the next logical step is to check the subscription configuration.

Exam trap

Cisco often tests the misconception that reachability alone guarantees telemetry data flow, when in fact the subscription's sensor-group and destination-group association is the critical link that must be correctly configured and committed.

How to eliminate wrong answers

Option A is wrong because the YANG model validity is typically checked during configuration commit; if the model were invalid, the router would reject the configuration, not silently fail to send data. Option B is wrong because the engineer already verified that the collector IP and port are reachable, which implies a route exists; checking the route again is redundant. Option D is wrong because rebooting the router is a drastic, unnecessary step that does not address the configuration issue and would cause service disruption.

Option E is wrong because SNMP community strings are used for SNMP-based telemetry, not for model-driven telemetry which uses gRPC or TCP-based dial-out with YANG models.

2
MCQeasy

Which tool is used to validate YANG data models against device capabilities and to generate Python bindings for automation scripts?

A.RESTCONF
B.pyang
C.Ansible
D.NETCONF
AnswerB

Validates YANG models and can generate Python bindings.

Why this answer

B is correct because pyang is a YANG data modeling language validator and converter that can validate YANG modules against device capabilities (e.g., via RFC 7895 YANG Library) and generate Python bindings (e.g., using the `--plugindir` or `pyang --format pybind` options) for use in automation scripts. It directly supports the task of validating YANG models and producing Python code, unlike the other options which are protocols or automation frameworks.

Exam trap

Cisco often tests the distinction between a protocol (NETCONF/RESTCONF) and a tool (pyang), so the trap here is that candidates confuse the transport or automation framework with the actual YANG validation and binding generation tool.

How to eliminate wrong answers

Option A is wrong because RESTCONF is an HTTP-based protocol for accessing data defined in YANG, not a tool for validating YANG models or generating Python bindings. Option C is wrong because Ansible is an automation engine that can use YANG models via modules like `ios_config`, but it does not validate YANG data models or generate Python bindings natively. Option D is wrong because NETCONF is a network configuration protocol that transports YANG-defined data, but it is not a tool for YANG model validation or Python code generation.

3
MCQeasy

A service provider wants to stream interface counters from a Cisco router to a collector using model-driven telemetry. The collector is behind NAT and cannot be reached from the router. Which telemetry model should be used?

A.Dial-out
B.SNMP traps
C.gNMI
D.NETCONF
E.Dial-in
AnswerA

Dial-out lets the router push telemetry to the collector, working even if the collector is behind NAT.

Why this answer

Dial-out telemetry is the correct model because it allows the router to initiate a TCP connection to the collector, even when the collector is behind NAT and cannot be reached from the router. In dial-out mode, the router acts as the client and pushes telemetry data to the collector's configured IP address and port, bypassing the need for the collector to initiate the connection. This contrasts with dial-in models where the collector must reach the router, which is impossible when the collector is behind NAT.

Exam trap

Cisco often tests the distinction between dial-in and dial-out telemetry, and the trap here is that candidates assume gNMI or NETCONF can be used for streaming telemetry in any network topology, forgetting that these protocols require the collector to initiate the connection, which fails when the collector is behind NAT.

How to eliminate wrong answers

Option B (SNMP traps) is wrong because SNMP traps are a legacy, pull-based or event-driven notification mechanism that does not support model-driven telemetry streaming and still requires the collector to be reachable from the router for trap delivery, which fails when the collector is behind NAT. Option C (gNMI) is wrong because gNMI is a dial-in model where the collector (client) initiates a gRPC connection to the router (server), which is impossible when the collector is behind NAT and cannot reach the router. Option D (NETCONF) is wrong because NETCONF is typically used for configuration management and, when used for telemetry, operates in a dial-in model where the collector connects to the router, again requiring reachability from the collector to the router.

Option E (Dial-in) is wrong because dial-in telemetry requires the collector to initiate the connection to the router, which is not possible when the collector is behind NAT and the router cannot be reached from the collector.

4
Multi-Selectmedium

Which THREE technologies or protocols are used to implement automated service provisioning in a Cisco service provider network?

Select 3 answers
A.Cisco NSO
B.SNMP
C.YANG
D.RIP
E.NETCONF
AnswersA, C, E

NSO is an orchestration platform that automates service provisioning across multi-vendor networks.

Why this answer

Cisco NSO (Network Services Orchestrator) is a key technology for automated service provisioning because it provides a multi-vendor, service-oriented orchestration layer that uses YANG models and NETCONF to manage device configurations and service lifecycles. It enables operators to define services as templates, then push consistent configurations across the network, drastically reducing manual CLI-based provisioning.

Exam trap

Cisco often tests the distinction between monitoring protocols (SNMP) and model-driven automation protocols (NETCONF/YANG), leading candidates to incorrectly include SNMP as a provisioning tool when it is only used for monitoring and telemetry.

5
MCQeasy

Refer to the exhibit. An engineer configures IP SLA for UDP jitter. The operation completes successfully, but the customer reports voice quality issues. What should the engineer check next?

A.The packet loss is 0%
B.The frequency is too low
C.The jitter value is within threshold
D.The destination is unreachable
E.The threshold is set too high
AnswerE

A 100 ms threshold is too high for jitter; it should be lowered to trigger alerts when jitter impacts voice quality.

Why this answer

The IP SLA UDP jitter operation completed successfully, meaning the destination is reachable and the operation is running. However, if the threshold is set too high, the IP SLA will not trigger a reaction (e.g., an SNMP trap or route change) even when jitter exceeds acceptable levels for voice quality. The customer reports voice quality issues, so the engineer must check if the jitter threshold is configured too high, masking the problem.

Exam trap

Cisco often tests the misconception that a successful IP SLA operation implies no issues, when in fact the threshold configuration can hide performance problems that affect voice quality.

How to eliminate wrong answers

Option A is wrong because 0% packet loss does not guarantee good voice quality; jitter and delay can still cause issues. Option B is wrong because the frequency being too low affects how often the probe is sent, but the operation completed successfully and voice quality issues are reported, so frequency is not the immediate check. Option C is wrong because the jitter value being within threshold would mean no issue, but the customer reports voice quality problems, so the jitter value is likely exceeding the threshold.

Option D is wrong because the destination is unreachable would cause the IP SLA operation to fail, but the exhibit states the operation completes successfully.

6
MCQmedium

A team uses Ansible to automate configuration of Cisco devices. They want to ensure that configurations are applied only if the device is reachable and the current configuration differs from the intended. Which Ansible module or feature is best suited for this?

A.ios_system
B.net_get
C.ios_config with check_mode
D.ios_command
E.ios_facts
AnswerC

check_mode performs a diff and only applies changes when there is a difference, ensuring idempotency.

Why this answer

The `ios_config` module with `check_mode` (enabled via the `--check` flag or `check_mode: yes`) allows Ansible to first verify device reachability and then compare the intended configuration against the running configuration without making changes. Only when a difference is detected and `check_mode` is disabled will the module apply the configuration changes. This directly meets the requirement of applying configurations only when the device is reachable and the current configuration differs from the intended.

Exam trap

The trap here is that candidates often confuse `check_mode` with `ios_command` or `ios_facts`, assuming that simply gathering facts or running a command can determine configuration drift, but only `ios_config` with `check_mode` provides the idempotent diff-and-apply workflow required by the question.

How to eliminate wrong answers

Option A is wrong because `ios_system` is used to manage system attributes like hostname, domain name, and DNS servers, not to compare or apply general configuration changes. Option B is wrong because `net_get` is designed to copy files from a network device to the control node, not to manage or compare device configurations. Option D is wrong because `ios_command` sends arbitrary Cisco IOS commands and returns output, but it lacks built-in idempotency or configuration comparison logic.

Option E is wrong because `ios_facts` gathers device facts (e.g., version, interfaces) but does not apply or compare configurations.

7
MCQhard

A service provider operates a large MPLS network with Segment Routing (SR) and BGP-LS enabled on all routers. They have deployed a centralized Path Computation Element (PCE) to compute SR-TE policies for optimal traffic engineering. The PCE is configured to receive the network topology via BGP-LS from a route reflector (RR). Recently, the PCE has been unable to compute paths for certain destinations, and logs show that the topology database is missing some links and nodes. The engineer verifies that all routers have BGP-LS configured and are peering with the RR. The RR's BGP table shows the BGP-LS NLRI received from all routers. However, the PCE sees only a subset of the topology. Which action should the engineer take to resolve the issue?

A.Check the IGP (OSPF/IS-IS) configuration on the routers. BGP-LS relies on IGP to obtain link-state information, and if IGP does not have full visibility, BGP-LS will not either.
B.Apply a prefix-list on the PCE to filter out unwanted BGP-LS prefixes, as the PCE may be overwhelmed.
C.Configure the RR to send BGP-LS routes to the PCE. Verify that the RR has a BGP session with the PCE in the address-family link-state.
D.Verify that the PCE itself has a BGP-LS adjacency to each router, bypassing the RR.
AnswerC

The PCE needs to receive BGP-LS updates from the RR. If the RR is not configured to advertise BGP-LS to the PCE, the PCE's topology will be incomplete.

Why this answer

The PCE is not receiving the full topology because the Route Reflector (RR) is not sending BGP-LS routes to the PCE. The most likely cause is that the RR is not configured to advertise BGP-LS to the PCE. Option C is correct: the engineer should verify that the RR has a BGP session with the PCE in the address-family link-state and ensure that BGP-LS routes are being sent.

Option A is wrong because BGP-LS relies on IGP for link-state information, but the issue is not with IGP visibility; the RR already receives BGP-LS from all routers. Option B is wrong because filtering out prefixes would reduce topology information, not solve missing data. Option D is wrong because the PCE does not need direct BGP-LS adjacency to each router; it can receive topology via the RR.

8
MCQmedium

An automation engineer uses RESTCONF to configure a Cisco ASR 9000 router. When sending a PATCH request to update an interface description, the API returns 404 Not Found. What is the most probable issue?

A.HTTP authentication is required.
B.The YANG module is not supported.
C.The interface does not exist on the device.
D.The RESTCONF username/password is incorrect.
AnswerC

A non-existent interface results in a 404 because the resource URI points to a path that does not exist.

Why this answer

A 404 Not Found response to a RESTCONF PATCH request targeting a specific interface indicates that the resource (the interface) does not exist at the given URI. RESTCONF uses the URI path to identify the exact YANG data node; if the interface name in the URI does not match any configured interface on the Cisco ASR 9000, the server returns 404. This is consistent with RFC 8040, where 404 is used when the target resource cannot be found.

Exam trap

Cisco often tests the distinction between HTTP status codes (404 vs 401 vs 501) to see if candidates understand that a 404 specifically points to a missing resource, not an authentication or module support issue.

How to eliminate wrong answers

Option A is wrong because HTTP authentication issues (e.g., missing or invalid credentials) would result in a 401 Unauthorized or 403 Forbidden response, not 404. Option B is wrong because if the YANG module were not supported, the server would typically return a 501 Not Implemented or a 400-level error indicating the module is unknown, not a 404 for a specific resource. Option D is wrong because incorrect username/password would cause an authentication failure (401), not a 404 Not Found; the 404 is independent of authentication status.

9
MCQhard

You are responsible for network assurance for a Tier-1 ISP that has deployed model-driven telemetry using gNMI with ON_CHANGE subscriptions on all core routers. Recently, the NMS team reported that some BGP route flaps are not being captured in the telemetry data, even though the routers' syslogs show the flaps occurred. The telemetry subscription is for the path '/bgp/neighbors/neighbor/state/messages/received'. The NMS is using a gNMI collector that supports both ON_CHANGE and SAMPLE subscriptions. You suspect the issue is with the subscription configuration. Upon reviewing the router configuration, you see that the telemetry subscription uses the SAMPLE mode instead of ON_CHANGE. What is the most appropriate action to ensure all BGP route flap events are captured?

A.Configure the router to send syslogs to the NMS and parse them for BGP flaps.
B.Add a second subscription with ON_CHANGE for the same paths to ensure redundancy.
C.Change the subscription to SAMPLE with a 1-second interval to capture flaps more frequently.
D.Modify the subscription to use ON_CHANGE mode for the BGP neighbor paths.
AnswerD

ON_CHANGE ensures every state change is reported.

Why this answer

The gNMI ON_CHANGE subscription mode is designed to stream telemetry updates only when the value of a subscribed path changes. Since the NMS is missing BGP flap events, the subscription must be using SAMPLE mode, which periodically polls the state and can miss transient events between sampling intervals. Changing the subscription to ON_CHANGE ensures that every state transition (e.g., BGP session up/down) is immediately pushed to the collector, capturing all flaps.

Exam trap

Cisco often tests the misconception that increasing SAMPLE frequency (e.g., 1-second interval) is sufficient to capture all events, when in fact only ON_CHANGE guarantees event-driven capture for state transitions.

How to eliminate wrong answers

Option A is wrong because relying on syslog parsing is a workaround that adds complexity and latency, and it does not leverage the model-driven telemetry architecture that provides structured, real-time data. Option B is wrong because adding a second subscription with ON_CHANGE for the same paths is redundant and does not fix the root cause—the existing subscription must be changed to ON_CHANGE, not supplemented. Option C is wrong because even a 1-second SAMPLE interval can miss BGP flaps that occur and resolve within that second, and it increases CPU/bandwidth overhead without guaranteeing event capture; ON_CHANGE is the only mode that guarantees event-driven updates.

10
MCQhard

A large SP is using model-driven telemetry to collect interface statistics from 5000 routers to a centralized collector. The collector is deployed on two servers with load balancing. Recently, the operations team noticed that some router telemetry streams are missing data for intervals of up to 5 minutes during peak hours. The engineer suspects packet loss between the routers and collector. The routers are sourced from different vendors but all support gRPC dial-out telemetry. The engineer wants to identify which routers are affected. The current configuration uses a single telemetry collector IP with port 5000. What step should the engineer take to isolate the problematic routers?

A.Use a packet capture on the network to identify drops.
B.Enable telemetry debugging on each router and review logs.
C.Check the telemetry subscription statistics on each router for drops and errors.
D.Configure a second collector on a different port and split the routers across two collectors.
AnswerC

Routers maintain per-subscription counters (e.g., sent packets, dropped packets, sequence errors) that directly pinpoint problematic devices.

Why this answer

Checking telemetry subscription statistics on each router (e.g., using show telemetry statistics) provides per-router counters for drops, errors, and sequence gaps. This directly identifies which routers are experiencing loss. Other options are either too manual, network-wide, or do not isolate individual routers.

11
MCQhard

A Cisco XR router is configured to stream telemetry via gRPC with TLS. The collector can connect but receives empty data. The telemetry configuration is as follows: sensor-group with 'openconfig-interfaces' paths. What is the likely cause?

A.The router's CPU is overloaded
B.The sensor-group path is not supported by the device
C.The collector does not support TLS
D.The telemetry interval is too short
E.The destination group is missing the 'encoding' configuration
AnswerB

An unsupported YANG path results in an empty subscription; the device may not implement openconfig-interfaces.

Why this answer

The collector can establish a gRPC-TLS connection but receives empty data because the sensor-group path 'openconfig-interfaces' is not supported on the Cisco XR router. Cisco IOS XR supports OpenConfig paths only if the corresponding YANG models are loaded and the device implements those models; if the path is unsupported, the router will accept the subscription but send no telemetry data for that path. This is a common misconfiguration when using gRPC telemetry with OpenConfig models on platforms that may not fully support all OpenConfig paths.

Exam trap

Cisco often tests the distinction between a successful connection (TCP/TLS handshake) and actual data delivery, trapping candidates who assume a working connection implies correct path configuration.

How to eliminate wrong answers

Option A is wrong because CPU overload would cause delayed or dropped telemetry messages, not consistently empty data with a successful connection. Option C is wrong because the collector connects successfully via gRPC with TLS, proving TLS support is present. Option D is wrong because a short telemetry interval would produce frequent data updates, not empty data; empty data indicates no data is generated for the subscribed path.

Option E is wrong because the 'encoding' configuration (e.g., JSON or GPB) is optional in gRPC telemetry; the default encoding is used if omitted, and missing it does not cause empty data—it would still send data in the default format.

12
MCQeasy

What is the primary benefit of using model-driven telemetry over traditional SNMP polling for network assurance?

A.Provides real-time data streaming without polling overhead
B.Reduces the need for YANG models
C.Increases security by using SSH
D.Simplifies device configuration
AnswerA

Push-based telemetry eliminates polling.

Why this answer

Model-driven telemetry uses a push model where network devices continuously stream structured data (e.g., YANG-encoded) to a collector, eliminating the need for periodic SNMP polling. This provides real-time visibility with minimal CPU overhead on the device, as the device itself initiates the data export based on configured subscriptions, rather than responding to repeated GET requests.

Exam trap

Cisco often tests the misconception that model-driven telemetry is primarily about security or simplicity, when the core differentiator is the shift from pull-based (SNMP) to push-based (telemetry) data collection for real-time, low-overhead streaming.

How to eliminate wrong answers

Option B is wrong because model-driven telemetry actually relies on YANG models to define the data being streamed, so it increases, not reduces, the need for YANG models. Option C is wrong because while telemetry can use secure transports like gRPC over TLS or SSH (NETCONF), the primary benefit is not security; traditional SNMPv3 also provides encryption and authentication. Option D is wrong because model-driven telemetry does not simplify device configuration; it requires additional configuration for subscriptions, destinations, and encoding (e.g., GPB, JSON), which can be more complex than enabling SNMP.

13
MCQmedium

A service provider uses RESTCONF to automate interface configuration. They need to add a new IPv4 address to an existing interface. Which HTTP method and URI should be used?

A.DELETE /restconf/data/ietf-interfaces:interfaces/interface=GigabitEthernet0/1
B.PATCH /restconf/data/ietf-interfaces:interfaces/interface=GigabitEthernet0/1/ietf-ip:ipv4/address
C.POST /restconf/data/ietf-interfaces:interfaces/interface=GigabitEthernet0/1/ietf-ip:ipv4
D.PUT /restconf/data/ietf-interfaces:interfaces/interface=GigabitEthernet0/1/ietf-ip:ipv4/address
AnswerB

PATCH merges the new address into the list.

Why this answer

PATCH is the appropriate HTTP method for a partial update to an existing resource, and the URI targets the IPv4 address list under the specific interface. This allows adding a new IPv4 address without replacing the entire interface configuration, which aligns with RESTCONF's support for partial resource modification as defined in RFC 8040.

Exam trap

Cisco often tests the difference between PATCH (partial update) and PUT (full replacement), where candidates mistakenly choose PUT thinking it 'updates' the resource, but it actually replaces the entire list.

How to eliminate wrong answers

Option A is wrong because DELETE removes the entire interface resource, not adds an address. Option C is wrong because POST is used to create a new data resource (e.g., a new interface), not to add an address to an existing list; the URI also points to the ipv4 container, not the address list. Option D is wrong because PUT replaces the entire address list resource with the payload, which would overwrite any existing addresses instead of adding a new one.

14
Multi-Selecthard

Which TWO statements about Cisco NSO (Network Services Orchestrator) are true? (Choose two.)

Select 2 answers
A.NSO automatically generates Python scripts for device configuration.
B.NSO provides northbound APIs using NETCONF and RESTCONF.
C.NSO eliminates the need for SNMP in network management.
D.NSO only supports CLI-based device management.
E.NSO uses YANG models to define service parameters.
AnswersB, E

NSO exposes NETCONF and RESTCONF northbound.

Why this answer

NSO provides northbound APIs using NETCONF and RESTCONF, enabling integration with higher-level orchestration and management systems. These standard protocols allow external systems to interact with NSO for service lifecycle management, configuration, and operational data retrieval, making B correct.

Exam trap

Cisco often tests the misconception that NSO only supports CLI-based management or that it eliminates SNMP entirely, when in fact NSO is protocol-agnostic and can leverage multiple southbound protocols including NETCONF, CLI, and SNMP for different device types.

15
MCQmedium

Refer to the exhibit. An engineer configured a telemetry subscription to push interface state data to a collector. The subscription shows 'State: Invalid'. What is the most likely cause?

A.The encoding 'encode-kvgpb' is not supported; must use 'encode-json'.
B.The collector at 192.168.1.1:57500 is not reachable or the service is down.
C.The xpath filter is malformed; it should be /interfaces/interface/state.
D.The periodic update interval of 500 ms is too fast causing subscription failure.
AnswerB

The last error directly states 'Connection refused', meaning the receiver is not accepting connections. The engineer should check the collector's status.

Why this answer

The 'State: Invalid' with an associated error such as 'Connection refused' indicates that the subscription cannot reach the collector. This is typically due to the collector not being reachable or the service not listening on the specified port. Therefore, option B is correct.

Option A is incorrect because 'encode-kvgpb' is a valid encoding for gRPC telemetry. Option C is incorrect because the xpath '/interfaces/interface/state' is correctly formatted. Option D is incorrect because a periodic update interval of 500 ms is acceptable and not the cause of the invalid state.

16
MCQhard

An SP engineer is configuring model-driven telemetry (MDT) to monitor interface utilization on Cisco routers. The telemetry receiver uses gRPC and is experiencing high CPU load due to excessive subscription data. Which MDT subscription parameter should be adjusted to reduce the data rate without losing critical threshold events?

A.Use a smaller path XPath.
B.Increase the sensor-group period.
C.Increase the sample-interval.
D.Enable on-change reporting with suppression.
AnswerD

On-change reporting sends updates only when the value changes, and suppression limits the update frequency, reducing load while still reporting events.

Why this answer

On-change reporting with suppression reduces data rate by sending updates only when values change, and suppression prevents too-frequent updates. Increasing sample interval risks missing threshold events. Other options do not effectively reduce data rate while preserving event detection.

17
MCQmedium

You are a network automation engineer for a large service provider. Your team is tasked with automating the provisioning of new MPLS L3VPN services across a multi-vendor environment (Cisco and Juniper). The automation framework uses Ansible with Jinja2 templates and NETCONF as the transport protocol. During a pilot deployment, the automation successfully configures the Cisco devices but fails on Juniper devices with a 'syntax error' when applying the generated XML configuration. The Jinja2 templates are designed to generate Cisco-style configuration. You need to modify the automation to support both vendors. Which approach is most effective?

A.Use IETF YANG models and create separate Jinja2 templates for Cisco and Juniper that map to their respective native YANG models.
B.Write a Python script that translates Cisco XML to Juniper XML before sending.
C.Switch to CLI-based automation using SSH to avoid XML syntax issues.
D.Create a single Jinja2 template that uses conditional statements to generate different XML for each vendor.
AnswerA

Vendor-neutral models with separate templates ensure compatibility.

Why this answer

Using IETF YANG models (e.g., RFC 8299 for L3VPN) provides a vendor-neutral data model that both Cisco and Juniper support via NETCONF. Creating separate Jinja2 templates for each vendor ensures the generated XML conforms to each device's native YANG models, avoiding syntax errors. This approach maintains automation consistency while respecting vendor-specific implementations.

Exam trap

Cisco often tests the misconception that a single template or translation script can handle multi-vendor environments, but the correct approach is to use IETF YANG models with vendor-specific templates to ensure schema compliance.

How to eliminate wrong answers

Option B is wrong because translating Cisco XML to Juniper XML post-generation is fragile, error-prone, and does not leverage standardized YANG models; it introduces an unnecessary translation layer that can break with firmware updates. Option C is wrong because switching to CLI-based automation with SSH abandons the structured, programmatic benefits of NETCONF and YANG, leading to brittle scripts that are harder to maintain and validate. Option D is wrong because a single Jinja2 template with conditionals for different XML structures becomes complex and unmanageable, especially as the number of vendors or service variations grows; it also does not address the root cause of using vendor-native YANG models.

18
Multi-Selecteasy

Which TWO statements about YANG data models are true? (Choose two.)

Select 2 answers
A.YANG models can be directly converted to SNMP MIBs.
B.YANG models define only configuration data, not state data.
C.YANG models define CLI commands.
D.YANG models are used to model data for NETCONF and RESTCONF.
E.YANG models can be augmented to extend existing models.
AnswersD, E

YANG is the data modeling language for NETCONF/RESTCONF.

Why this answer

YANG (RFC 6020/7950) is a data modeling language specifically designed to model configuration and state data for network management protocols like NETCONF and RESTCONF. YANG defines the structure, constraints, and semantics of data that can be exchanged via these protocols, making it the standard for model-driven network automation.

Exam trap

Cisco often tests the misconception that YANG is only for configuration data, but candidates must remember that YANG explicitly supports both config and state data via the 'config false' statement.

19
MCQmedium

A service provider is deploying a new automation framework using Ansible to configure MPLS VPNs. They need to ensure that the Ansible playbook can handle configuration rollback in case of failure. Which Ansible feature should be used?

A.Use the 'backup' option in the ios_config module
B.Use 'tags' to selectively apply tasks
C.Use 'check_mode' to validate changes before applying
D.Set 'ignore_errors' to true
AnswerA

Backs up running config before changes for rollback.

Why this answer

The 'backup' option in the ios_config module instructs Ansible to save a copy of the running configuration to a local file before making any changes. If the playbook fails or produces an undesired state, the operator can restore the device to the previous configuration using that backup file. This provides a straightforward rollback mechanism for MPLS VPN deployments without requiring external version control or manual snapshots.

Exam trap

Cisco often tests the distinction between validation (check_mode) and actual rollback (backup), so the trap here is assuming that a dry run or ignoring errors provides a safety net for reverting changes after they have been applied.

How to eliminate wrong answers

Option B is wrong because 'tags' are used to selectively run or skip tasks in a playbook, not to provide any rollback capability. Option C is wrong because 'check_mode' (dry run) only simulates changes and does not create a backup or enable rollback after actual changes are applied. Option D is wrong because setting 'ignore_errors' to true causes Ansible to continue executing tasks even after a failure, which does not roll back changes and can leave the device in a broken state.

20
MCQhard

A large SP plans to deploy SR-TE tunnels across the backbone using an SDN controller for path computation. To ensure fast convergence and scalability, which automation approach should be used for tunnel creation?

A.Static configuration on each router
B.PCEP with stateful delegation to controller
C.RSVP-TE tunnels
D.NetFlow-based path selection
E.SNMP traps
AnswerB

Stateful PCEP enables the controller to optimize and update SR-TE paths in real time, improving convergence.

Why this answer

B is correct because PCEP with stateful delegation allows the SDN controller to compute and instantiate SR-TE tunnels dynamically, while the router delegates control to the controller for path updates. This approach ensures fast convergence by enabling the controller to react to network changes in real time and scales efficiently by centralizing path computation, avoiding per-router configuration overhead.

Exam trap

Cisco often tests the distinction between PCEP for dynamic path control versus RSVP-TE for signaled tunnels, and the trap here is that candidates confuse RSVP-TE's stateful nature with scalability, not realizing that SR-TE with PCEP delegation offloads computation to the controller for better scale.

How to eliminate wrong answers

Option A is wrong because static configuration on each router is manual, slow to converge, and does not scale for large SP backbones with dynamic traffic engineering. Option C is wrong because RSVP-TE tunnels require per-tunnel signaling and state maintenance on every router, which increases complexity and reduces scalability compared to SR-TE with PCEP. Option D is wrong because NetFlow is a traffic monitoring and analysis tool, not a path computation or tunnel creation protocol.

Option E is wrong because SNMP traps are used for event notification and monitoring, not for dynamic tunnel creation or path computation.

21
MCQhard

Refer to the exhibit. An engineer makes a RESTCONF request to retrieve operational data for all interfaces, but the response shows only one interface. What is the most likely cause?

A.The interfaces are in different VRFs
B.The device does not support the YANG model
C.The request path includes a specific interface key, filtering the result
D.The engineer used the wrong HTTP method
E.The collector is not subscribed to telemetry
AnswerC

The path '/interface=GigabitEthernet0/0/0' selects only that interface; to get all, use '/interfaces'.

Why this answer

If the RESTCONF request path includes a specific interface key (e.g., /restconf/data/ietf-interfaces:interfaces/interface=GigabitEthernet0/0/0), the API will return only that single interface's operational data, even if the engineer intended to retrieve all interfaces. RESTCONF uses URI-encoded keys to filter resources; omitting the key returns the entire list, while including a key narrows the response to that specific instance.

Exam trap

Cisco often tests the nuance that RESTCONF URIs are resource-addressable and that including a key in the path (e.g., /interface=GigabitEthernet0/0/0) filters the result to a single entry, which candidates may misinterpret as a device limitation or configuration issue.

How to eliminate wrong answers

Option A is wrong because VRFs are a Layer 3 virtualization concept and do not affect RESTCONF's ability to retrieve all interfaces; the API returns interfaces from all VRFs unless explicitly filtered. Option B is wrong because if the device did not support the YANG model, the RESTCONF request would return an error (e.g., 404 Not Found or 501 Not Implemented), not a partial response with one interface. Option D is wrong because the HTTP method (GET vs POST/PUT/DELETE) determines the operation type, not the scope of data returned; a GET request correctly retrieves operational data, and using a different method would not yield a filtered response.

Option E is wrong because telemetry subscription (e.g., gRPC or NETCONF call-home) is unrelated to a synchronous RESTCONF GET request; the collector's subscription status does not affect the immediate RESTCONF response.

22
MCQeasy

A network engineer is using Cisco NSO to create a managed L3VPN service. After deploying the service, the engineer notices that the configuration on the devices is not being updated. What is the most likely cause?

A.The service model is not compiled.
B.The service has not been committed.
C.The device is not in the device list.
D.The sync-from command was not run.
AnswerB

In NSO, commit is required to push the configuration to devices; without it, the configuration remains in the candidate.

Why this answer

In NSO, services are committed to push configuration changes to devices. If the commit is not performed, the changes remain in the candidate database and are not applied. Other options are less likely given the symptom.

23
MCQeasy

A network engineer needs to automate configuration of multiple Cisco routers and wants to use a protocol that supports both datastore operations and selective retrieval of configuration. Which protocol should be used?

A.SNMPv3
B.gRPC
C.NETCONF
D.OpenFlow
E.RESTCONF
AnswerC

NETCONF supports full datastore operations and selective retrieval using XPath filters.

Why this answer

NETCONF (RFC 6241) is the correct choice because it is designed specifically for network configuration management, supporting full datastore operations (e.g., <get-config>, <edit-config>, <copy-config>) and selective retrieval of configuration data using subtree or XPath filtering. This aligns directly with the engineer's requirement for both datastore operations and selective retrieval.

Exam trap

Cisco often tests the distinction between NETCONF and RESTCONF, where candidates may pick RESTCONF because it is simpler or more modern, but the question's emphasis on 'selective retrieval' and 'datastore operations' points to NETCONF's richer filtering and transactional capabilities.

How to eliminate wrong answers

Option A (SNMPv3) is wrong because it is primarily a monitoring and fault-management protocol that uses MIBs and OIDs for data retrieval, not a configuration protocol with native datastore operations or selective configuration retrieval. Option B (gRPC) is wrong because it is a high-performance RPC framework that can stream telemetry but lacks standardized datastore operations and selective configuration retrieval as defined in NETCONF. Option D (OpenFlow) is wrong because it is a southbound protocol for controlling forwarding tables in SDN switches, not for managing device configurations or datastores.

Option E (RESTCONF) is wrong because while it supports datastore operations and selective retrieval via RESTful APIs, it is a lightweight alternative to NETCONF that uses HTTP methods and JSON/YANG, but the question specifically asks for a protocol that supports both datastore operations and selective retrieval—NETCONF is the more mature, full-featured protocol for this purpose, and RESTCONF is not the best answer when NETCONF is listed.

24
MCQhard

A network engineer is automating BGP configuration using the Cisco IOS-XE YANG model. They want to enable the 'always-compare-med' feature under BGP. Which XPath expression correctly targets this leaf?

A./bgp/global/always-compare-med
B./native/router/bgp/scope/global/always-compare-med
C./native/router/bgp/always-compare-med
D./router/bgp/global/always-compare-med
AnswerB

Correct path according to Cisco IOS-XE YANG model.

Why this answer

The Cisco IOS-XE native YANG model (urn:cisco:params:xml:ns:yang:cisco-native) structures BGP configuration under /native/router/bgp/scope/global/always-compare-med. The 'scope' container is required to differentiate between global and VRF-specific BGP settings, and 'always-compare-med' is a leaf within the global scope. This path accurately reflects the hierarchical model used by Cisco for BGP automation.

Exam trap

Cisco often tests the exact hierarchical path in the native YANG model, and the trap here is that candidates assume a simplified path like /bgp/global/always-compare-med or forget the mandatory 'scope' container, leading them to choose an incomplete or incorrect XPath expression.

How to eliminate wrong answers

Option A is wrong because /bgp/global/always-compare-med does not match the Cisco IOS-XE native YANG model; the root must be /native/router/bgp and the 'scope' container is mandatory. Option C is wrong because /native/router/bgp/always-compare-med omits the 'scope/global' container, which is required to correctly target the global BGP configuration leaf. Option D is wrong because /router/bgp/global/always-compare-med lacks the /native root and the 'scope' container, and does not follow the Cisco native YANG model structure.

25
MCQmedium

A service provider is implementing network automation using YANG data models. They need to ensure that the automation solution supports both configuration and operational state data retrieval. Which NETCONF operation should be used to retrieve operational state data?

A.<edit-config>
B.<get-config>
C.<get>
D.<lock>
AnswerC

Retrieves both configuration and operational state data.

Why this answer

The <get> NETCONF operation retrieves both configuration and operational state data from a device, making it the correct choice for this requirement. Unlike <get-config>, which only returns configuration data, <get> accesses the running datastore and includes state data such as interface statistics, routing tables, and system status. This aligns with RFC 6241, where <get> is defined as the operation to retrieve combined config and state information.

Exam trap

Cisco often tests the distinction between <get> and <get-config>, trapping candidates who assume <get-config> retrieves all data because it is the most commonly used operation for reading configurations.

How to eliminate wrong answers

Option A is wrong because <edit-config> is used to modify configuration data, not to retrieve any data. Option B is wrong because <get-config> retrieves only configuration data from a specified datastore (e.g., running, candidate), excluding operational state data like counters or status. Option D is wrong because <lock> is used to lock a datastore to prevent concurrent modifications, not to retrieve data.

26
MCQmedium

A network engineer at a service provider is using Cisco NSO to automate the provisioning of VLANs on thousands of access devices. The engineer creates a service using a custom YANG model and deploys it to a set of devices. However, the deployment fails with a 'failed to reach devices' error for some devices, while others succeed. The engineer checks device connectivity and confirms all devices are reachable via SSH and NETCONF. The engineer also verifies that the NSO device list is accurate and includes all target devices. What is the most likely cause of the failure?

A.The service model uses an unsupported feature on those devices.
B.The devices are not in sync with NSO.
C.The devices have insufficient memory to accept the configuration.
D.The NSO package is not loaded on those devices.
AnswerB

Out-of-sync devices prevent NSO from deploying services on them, and the error may manifest as 'failed to reach' because NSO cannot reconcile the configuration.

Why this answer

When NSO deploys a service, it first checks whether the target devices are in sync with the NSO CDB (configuration database). If a device is out of sync (e.g., its running configuration differs from what NSO expects), NSO will refuse to push the new service configuration and will report a 'failed to reach devices' error, even though the device is reachable via SSH/NETCONF. This is a safety mechanism to prevent configuration conflicts or overwriting unmanaged changes.

Exam trap

Cisco often tests the misconception that 'failed to reach devices' always indicates a network connectivity problem, when in fact it can be caused by NSO's synchronization check failing on a reachable device.

How to eliminate wrong answers

Option A is wrong because an unsupported feature would typically cause a validation or commit error, not a 'failed to reach devices' error; NSO would still attempt to connect and then reject the configuration. Option C is wrong because insufficient memory would manifest as a commit failure or device crash, not a connectivity error, and NSO would still establish a session. Option D is wrong because NSO packages are loaded on the NSO server, not on the managed devices; devices only need to support NETCONF or CLI for NSO to manage them.

27
MCQeasy

An SP customer reports intermittent voice quality issues. The engineer wants to measure jitter and packet loss between two remote sites using Cisco IP SLA. Which IP SLA operation type should be configured?

A.DNS Query
B.ICMP Echo
C.HTTP Get
D.TCP Connect
E.UDP Jitter
AnswerE

UDP Jitter measures jitter, packet loss, and one-way delay, ideal for voice quality monitoring.

Why this answer

The UDP Jitter operation (option E) is correct because it measures both one-way jitter and packet loss by sending UDP packets with precise timestamps, which is essential for diagnosing voice quality issues. Unlike other IP SLA operations, UDP Jitter specifically tracks inter-packet delay variation (jitter) and loss patterns that directly impact VoIP and real-time traffic.

Exam trap

Cisco often tests the misconception that ICMP Echo (ping) can measure jitter, but ICMP does not provide per-packet timestamps or loss differentiation between directions, making it unsuitable for voice quality diagnostics.

How to eliminate wrong answers

Option A is wrong because DNS Query measures DNS resolution time, not jitter or packet loss. Option B is wrong because ICMP Echo measures round-trip time and reachability, but it does not provide jitter or packet loss statistics needed for voice quality analysis. Option C is wrong because HTTP Get measures web server response time and application-layer performance, not network-layer jitter or loss.

Option D is wrong because TCP Connect measures TCP handshake completion time and does not capture jitter or packet loss metrics.

28
MCQhard

A network engineer is troubleshooting a NETCONF session that fails to establish between a controller and a router. The router supports NETCONF over SSH on port 830. The controller can reach the router but the session fails. What is the most likely cause?

A.The router's NETCONF capability is disabled
B.The SSH host key of the router is not in the controller's known_hosts file
C.The controller is using the wrong port (e.g., 22)
D.The router does not support YANG models
AnswerB

SSH host key verification failure can cause session failure.

Why this answer

The most likely cause is that the SSH host key of the router is not in the controller's known_hosts file. NETCONF over SSH (RFC 6242) requires SSH transport, and the controller must authenticate the router's SSH host key during session establishment. If the host key is missing or mismatched, the SSH handshake fails, preventing the NETCONF session from starting, even though the router is reachable and NETCONF is enabled.

Exam trap

Cisco often tests the distinction between transport-layer failures (SSH host key) and application-layer failures (NETCONF capability or YANG support), leading candidates to incorrectly choose options related to NETCONF configuration rather than SSH authentication.

How to eliminate wrong answers

Option A is wrong because if the router's NETCONF capability were disabled, the controller would typically receive a capability exchange failure or a clear error, but the question states the session fails to establish, which points to a transport-layer issue rather than an application-layer capability. Option C is wrong because the controller can reach the router, and the question specifies the router supports NETCONF over SSH on port 830; using port 22 would likely result in a connection timeout or refusal, but the session failure here is due to SSH authentication, not port mismatch. Option D is wrong because YANG model support is irrelevant to session establishment; NETCONF sessions can be established without any YANG models, as models are used for data modeling and operations after the session is up.

29
Multi-Selecthard

A network architect is designing a model-driven telemetry solution for a large SP network. Which three factors are critical to consider when configuring telemetry subscriptions? (Choose three.)

Select 3 answers
A.The size of the YANG data model.
B.The collection protocol (gRPC vs gNMI vs native TCP).
C.Network bandwidth to the telemetry collector.
D.The sampling interval for periodic subscriptions.
E.The encoding format (GPB, JSON, XML).
AnswersB, C, D

The protocol determines capabilities like on-change reporting, encoding, and transport efficiency.

Why this answer

The collection protocol (gRPC, gNMI, or native TCP) is critical because it determines the transport mechanism, security model, and compatibility with the telemetry collector. gRPC offers high-performance streaming with TLS, gNMI provides a standardized interface for both telemetry and configuration, and native TCP is simpler but less flexible. Choosing the wrong protocol can lead to interoperability issues or performance bottlenecks in a large SP network.

Exam trap

Cisco often tests the distinction between factors that are critical for subscription configuration versus those that are important for overall telemetry deployment but not directly part of the subscription setup, leading candidates to mistakenly select encoding format or YANG model size.

30
Multi-Selecthard

Which TWO are possible causes for a NETCONF session failing to establish with a Cisco IOS-XE device?

Select 2 answers
A.The device is running IOS-XR
B.The YANG module namespace is incorrect
C.NTP is not synchronized
D.TCP port 830 is blocked by a firewall
E.NETCONF is not enabled or SSH is not configured for NETCONF
AnswersD, E

NETCONF over SSH uses port 830 by default; if blocked, the TCP connection fails.

Why this answer

NETCONF uses TCP port 830 as its default transport port (per RFC 6242). If a firewall blocks this port, the TCP three-way handshake cannot complete, preventing the NETCONF session from establishing. This is a common network-layer cause of session failure.

Exam trap

Cisco often tests the distinction between session establishment failures (caused by transport or authentication issues) and operational failures (caused by incorrect YANG models or data), leading candidates to confuse namespace errors with connectivity problems.

31
Drag & Dropmedium

Drag and drop the steps to configure a static route on a Cisco IOS router into the correct order.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

Static routes require global config mode and must specify the destination network, subnet mask, and next-hop address or exit interface.

32
MCQmedium

A service provider has implemented model-driven telemetry to monitor the health of its core network. The telemetry collector is a single server running a custom application that receives and processes gRPC streams from 200 routers. The collector is experiencing high CPU usage and is falling behind in processing data, causing some telemetry data to be dropped. The engineer decides to offload processing to multiple collectors. The routers support dial-out mode and can be configured with a list of collector IPs. The engineer wants to distribute the load evenly across collectors without manual configuration per router. Which should the engineer implement?

A.Use a load balancer in front of the collectors and configure all routers to send to the load balancer VIP.
B.Use a multicast address for telemetry subscription so all collectors receive all data.
C.Configure each router with a round-robin DNS name that resolves to multiple collector IPs.
D.Divide the routers into groups and assign each group to a different collector IP via the router configuration.
AnswerA

A load balancer provides dynamic distribution and requires no changes to router configuration beyond the VIP.

Why this answer

A load balancer distributes incoming gRPC streams from all 200 routers across multiple collectors based on a configured algorithm (e.g., round-robin or least connections), achieving even load distribution without per-router configuration. The routers simply send telemetry to a single virtual IP (VIP), and the load balancer forwards each stream to an available collector, preventing any single collector from being overwhelmed. This matches the requirement to offload processing and avoid manual configuration per router.

Exam trap

Cisco often tests the misconception that DNS round-robin or multicast can solve load distribution in telemetry, but the trap here is that dial-out gRPC requires TCP unicast connections and DNS round-robin lacks real-time load awareness, making a load balancer the only viable option for even distribution without manual configuration.

How to eliminate wrong answers

Option B is wrong because multicast addresses are not supported for dial-out gRPC telemetry; dial-out mode uses TCP-based unicast connections to specific collector IPs, and multicast would cause all collectors to receive duplicate data, increasing CPU load rather than reducing it. Option C is wrong because round-robin DNS does not provide real-time load balancing; DNS caching by routers and intermediate resolvers can cause uneven distribution, and DNS changes are not immediate, leading to potential overload of some collectors. Option D is wrong because it requires manual configuration per router to assign groups to specific collector IPs, which violates the requirement to distribute load evenly without manual configuration per router.

33
MCQmedium

Refer to the exhibit. A telemetry subscription is configured on an IOS-XR router. The collector at 10.1.1.100 is not receiving data. Which configuration error is present?

A.The destination IP address is incorrect
B.Missing 'protocol' specification in the destination-group
C.The sample-interval is too short
D.The subscription is not committed
E.The sensor-group path is invalid
AnswerB

The destination-group must include 'protocol grpc' or 'protocol tcp'; otherwise, no data is transmitted.

Why this answer

In IOS-XR telemetry, a destination-group must include the 'protocol' keyword (e.g., 'protocol grpc' or 'protocol tcp') to specify the transport protocol for the collector. Without this specification, the router does not know how to send the telemetry data, and the collector at 10.1.1.100 will not receive any data.

Exam trap

Cisco often tests the requirement for the 'protocol' keyword in the destination-group, as candidates may assume that specifying the IP and port alone is sufficient, overlooking this mandatory parameter.

How to eliminate wrong answers

Option A is wrong because the destination IP address 10.1.1.100 is explicitly shown in the exhibit, and there is no indication that it is incorrect; the issue is a missing protocol specification, not a wrong IP. Option C is wrong because the sample-interval being too short would cause high CPU or data loss, but it would not prevent the collector from receiving data entirely; the collector would still receive some data. Option D is wrong because the subscription is shown in the running configuration, implying it is committed; IOS-XR requires an explicit 'commit' for configuration to take effect, and if it were missing, the subscription would not appear in the running config.

Option E is wrong because the sensor-group path is present in the exhibit (e.g., 'Cisco-IOS-XR-infra-statsd-oper:statistics'), and there is no evidence it is invalid; an invalid path would cause a configuration rejection or no data, but the primary error here is the missing protocol.

34
MCQeasy

A junior automation engineer is writing a Python script to configure OSPF on a Cisco IOS-XE router using RESTCONF. The script sends a PUT request to update the OSPF configuration but receives a 401 Unauthorized response. The engineer has configured a local user with privilege 15 on the router and enabled restconf. The engineer verified that the router's RESTCONF API is running on port 443. What is the most likely missing element in the script?

A.The script must include an Accept header.
B.The script must include a Content-Type header set to application/yang-data+json.
C.The script must use HTTP basic authentication with the correct username and password.
D.The script must use HTTPS with a valid certificate.
AnswerC

RESTCONF uses HTTP basic authentication by default; without it, the server returns 401.

Why this answer

A 401 Unauthorized response indicates the request lacks proper authentication. The engineer likely forgot to include HTTP basic authentication headers with the correct username and password. Other options relate to content types or TLS, which would cause different errors (e.g., 415 Unsupported Media Type).

35
MCQmedium

An engineer is using RESTCONF to configure an interface on a Cisco IOS-XE device. The request returns a 400 Bad Request error. What is the most likely cause?

A.The device does not support RESTCONF
B.The user does not have sufficient privileges
C.The URI is incorrect
D.The YANG module is not loaded
E.The JSON payload contains incorrect data types or missing mandatory leafs
AnswerE

400 Bad Request indicates a client-side error; invalid payload is a common cause.

Why this answer

A 400 Bad Request in RESTCONF indicates a client-side error, typically malformed syntax. The most common cause is an invalid JSON payload, such as incorrect data types (e.g., string instead of integer) or missing mandatory leafs defined in the YANG module. RESTCONF validates the payload against the YANG schema before applying the configuration, and any schema violation triggers a 400 error.

Exam trap

Cisco often tests the distinction between HTTP status codes in RESTCONF, where candidates confuse a 400 (client payload error) with a 404 (resource not found) or 401/403 (authentication/authorization), especially when the URI seems correct but the payload is invalid.

How to eliminate wrong answers

Option A is wrong because if the device did not support RESTCONF, the response would be a 404 Not Found or a 501 Not Implemented, not a 400 Bad Request. Option B is wrong because insufficient privileges would result in a 401 Unauthorized or 403 Forbidden error, not a 400. Option C is wrong because an incorrect URI would typically return a 404 Not Found (if the resource doesn't exist) or a 405 Method Not Allowed (if the path is valid but the method is wrong), not a 400.

Option D is wrong because a missing YANG module would cause a 500 Internal Server Error or a 404 if the module's namespace is not recognized, not a 400.

36
MCQhard

When automating configuration changes across a large network using a tool like Cisco NSO, what is the best practice to minimize the risk of negative impact?

A.Rely on rollback automation
B.Use a staging environment with identical configuration to test before production
C.Limit automation to read-only commands
D.Automate only during maintenance windows
E.Apply changes directly to production devices
AnswerB

Testing in a staging environment that mirrors production allows early detection of issues, minimizing production impact.

Why this answer

Using a staging environment with identical configuration to test before production is the best practice because it allows validation of automation scripts and configuration changes in a controlled setting that mirrors the production network. This approach identifies potential errors, compatibility issues, or unintended side effects without risking service disruption, aligning with Cisco NSO's recommended deployment workflow that emphasizes pre-production testing to ensure change reliability.

Exam trap

Cisco often tests the misconception that rollback automation is a sufficient safety net, but the trap here is that candidates overlook the proactive risk mitigation provided by pre-production testing, which is the foundational best practice in network automation change management.

How to eliminate wrong answers

Option A is wrong because relying solely on rollback automation is reactive and does not prevent the initial negative impact; rollback may fail if the network state changes or if the automation tool cannot revert complex transactional changes cleanly. Option C is wrong because limiting automation to read-only commands defeats the purpose of configuration automation, which requires write operations to implement changes; read-only commands are for monitoring, not configuration management. Option D is wrong because automating only during maintenance windows reduces but does not eliminate risk; it ignores the need for thorough testing and validation, and unexpected failures can still occur during the window.

Option E is wrong because applying changes directly to production devices without prior testing violates change management best practices and increases the likelihood of widespread outages or misconfigurations.

37
Matchingmedium

Match each multicast protocol to its role.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Host-to-router protocol for joining multicast groups

Sparse mode multicast routing using RP

Dense mode multicast routing assuming all routers want traffic

Protocol for connecting multiple PIM-SM domains

Bootstrap Router for automatic RP election

Why these pairings

These are essential multicast protocols for service provider IPTV and content delivery.

38
Multi-Selectmedium

A service provider plans to deploy automation using Cisco NSO. Which two benefits does NSO provide for service lifecycle management? (Choose two.)

Select 2 answers
A.Automatic rollback on failed deployment.
B.Multi-vendor device support via NETCONF and CLI.
C.On-device scripting engine.
D.Real-time traffic monitoring.
E.Built-in configuration compliance checks.
AnswersA, B

NSO automatically rolls back changes if a deployment fails, ensuring device consistency.

Why this answer

Cisco NSO provides a built-in transaction management system that automatically rolls back a service deployment to its previous state if any part of the deployment fails. This ensures service lifecycle integrity by preventing partial or inconsistent configurations across devices.

Exam trap

Cisco often tests the distinction between NSO's centralized orchestration capabilities and features that belong to other tools (like monitoring or compliance), leading candidates to mistakenly select options that describe functions of separate Cisco products (e.g., Cisco DNA Center for compliance or Cisco ThousandEyes for monitoring).

39
MCQmedium

A service provider is automating the provisioning of MPLS L3VPNs across multiple devices using NETCONF. During a deployment, the automation script fails with an error indicating that the device does not support the required YANG model. Which action should the engineer take to verify device capabilities?

A.Use the hello message exchange to check supported YANG modules via capabilities.
B.Use CLI show command to list YANG models.
C.Use RESTCONF with GET to retrieve device capabilities.
D.Use SNMP to check device OID.
AnswerA

The NETCONF hello message includes capabilities such as supported YANG models, making this the correct approach.

Why this answer

NETCONF hello message exchange includes the list of supported YANG modules in the capabilities. This is the standard way to discover device capabilities. Other options are either not standard or would not provide the required information.

40
Multi-Selecteasy

Which TWO are benefits of model-driven telemetry over SNMP polling?

Select 2 answers
A.Supports structured data models (YANG)
B.Reduces CPU usage on the device
C.Requires fewer credentials for access
D.Works with legacy devices without modification
E.Uses XML exclusively
AnswersA, B

YANG models provide structured, machine-readable data, enabling easier integration and automation.

Why this answer

Model-driven telemetry uses structured data models defined in YANG, which provides a standardized, hierarchical representation of device state and configuration. This contrasts with SNMP polling, which relies on flat MIB variables and often requires complex parsing of unstructured data. YANG models enable consistent data retrieval across multivendor environments and simplify automation workflows.

Exam trap

Cisco often tests the misconception that model-driven telemetry requires fewer credentials than SNMP, but in reality both methods need authentication, and telemetry may require additional subscription setup; the trap here is assuming that reduced polling overhead translates to reduced security overhead.

41
MCQhard

A network operator uses gRPC Network Management Interface (gNMI) to collect telemetry data from routers. They notice that some updates are missing. Which gNMI mode should be used to ensure that all state changes are captured?

A.ON_CHANGE
B.TARGET_DEFINED
C.POLL
D.SAMPLE
AnswerA

Sends updates only when a value changes, capturing all changes.

Why this answer

ON_CHANGE mode in gNMI ensures that the target device sends a telemetry update immediately whenever a state change occurs, guaranteeing that no updates are missed. This is in contrast to SAMPLE mode, which only sends periodic snapshots and can miss transient changes between intervals. Therefore, to capture all state changes, ON_CHANGE is the correct subscription mode.

Exam trap

Cisco often tests the misconception that SAMPLE mode with a very short interval is sufficient to capture all changes, but the trap is that SAMPLE can still miss state changes that occur and revert between samples, whereas ON_CHANGE guarantees delivery of every transition.

How to eliminate wrong answers

Option B (TARGET_DEFINED) is wrong because it is not a standard gNMI subscription mode; gNMI defines only ON_CHANGE, SAMPLE, and POLL, and TARGET_DEFINED is a misleading distractor. Option C (POLL) is wrong because POLL mode requires the collector to explicitly request data at intervals, which can miss state changes that occur between polls. Option D (SAMPLE) is wrong because SAMPLE mode sends data at a fixed periodic interval, and any state changes that occur and revert within that interval may be lost.

42
Multi-Selectmedium

Which THREE components are required for model-driven telemetry with gRPC? (Choose three.)

Select 3 answers
A.SNMP trap receiver
B.NETCONF session
C.YANG data model
D.gRPC dial-out from the network device
E.Telemetry receiver
AnswersC, D, E

Defines the data to be streamed.

Why this answer

YANG data models (C) are required because they define the structure and semantics of the telemetry data being streamed. gRPC uses YANG as its schema language to encode data in Protocol Buffers (protobuf) or JSON format, ensuring the receiver can parse and interpret the telemetry information correctly.

Exam trap

Cisco often tests the distinction between dial-in (NETCONF/RESTCONF) and dial-out (gRPC) telemetry, and candidates mistakenly think a NETCONF session or SNMP trap is part of the gRPC telemetry stack, but they are separate protocols with different transport and data models.

Ready to test yourself?

Try a timed practice session using only Automation and Assurance questions.