10/185 questions · Unlock full access
Q1

A service provider is deploying a new L3VPN service using Cisco NSO. The service model requires that when a customer's bandwidth is modified, a corresponding QoS policy on the PE-CE interface must also be updated. The development team wants to ensure this link between service parameters is automatically enforced within the service logic itself, preventing out-of-sync configurations. Which YANG statement, when used correctly within the service model's data definitions, is the most appropriate tool to create this dependency?

Q2Multiple answers

A network automation engineer is using a Python script with the `ncclient` library to retrieve the running configuration from an IOS XR device. The script successfully connects but fails during the ` ` operation. The engineer suspects a namespace issue in the RPC filter. Which two of the following XML snippets represent a correctly formed filter to retrieve only the BGP configuration, assuming the IETF BGP YANG model is used? (Select TWO)

Q3

A developer is working on a feature branch named `feature-bgp-policy` and needs to incorporate the latest updates from the `main` branch without creating a merge commit. The goal is to maintain a linear project history. Which git command should be executed while on the `feature-bgp-policy` branch?

Q4

A network operator needs to implement model-driven telemetry on an IOS XR router to stream interface counters every 10 seconds. The collector is configured to listen for gRPC dial-out connections. Which configuration snippet correctly establishes a subscription for this purpose? Fill in the blank to complete the subscription configuration: ``` telemetry model-driven subscription S1 sensor-group-id G1 protocol ______ ! (sensor-group and destination-group configured elsewhere) ! end ```

Q5

True or False: When using the Ansible `iosxr_config` module, setting the `diff_replace` parameter to `line` will cause Ansible to generate a configuration that replaces entire configuration blocks (like a full BGP process) rather than just merging the specified lines.

Q6

A financial services company is automating its network infrastructure using a model-driven approach. The core network runs on Cisco IOS XR devices, and the primary goal is to achieve a single source of truth for both intended configuration and operational state. The operations team needs to be able to roll back to any previous valid configuration state with a single atomic transaction. Additionally, the automation platform must be able to validate configurations against YANG models before they are applied. The current automation tooling consists of custom Python scripts that use SSH and NetMiko to push CLI commands. This has led to issues with idempotency and state management. The company wants to adopt a standardized protocol and data store model to solve these problems. Which NETCONF datastore best fulfills the requirement for maintaining a candidate configuration that can be modified and validated in isolation before being committed to the live network?

Q7

An automation script needs to retrieve the BGP neighbor state from an IOS XR router using RESTCONF. The relevant YANG container is `bgp` within the `Cisco-IOS-XR-ipv4-bgp-oper` model. The router's IP is 192.168.1.1. Which URL is the correct RESTCONF API endpoint to access this operational data?

Q8

A developer is writing a Python script using YDK to create a new BGP neighbor on an IOS XR device. The script needs to handle potential errors, such as the device being unreachable or the configuration being invalid. Which YDK exception class should be specifically caught to handle errors related to the NETCONF RPC operation itself?

Q9

A network architect is designing a telemetry collection system. The primary requirement is to stream large volumes of data with minimal overhead and strong data typing. The data format must be binary and efficient for machine-to-machine communication. Which combination of data format and transport protocol meets these requirements most effectively?

Q10

An engineer needs to automate the configuration of an interface description on an IOS XE device using NetMiko. The device is only accessible via a bastion host. Which argument must be included in the `ConnectHandler` dictionary to correctly proxy the SSH connection through the bastion host?