10/197 questions · Unlock full access
Q1

An automation engineer is developing a Junos event script to automatically disable an interface upon receiving a specific BGP notification log message. The script is written in Python and uses the `jcs.invoke()` function to execute the `set interfaces disable` command. During testing, the event policy triggers the script correctly, but the interface is not disabled. What is the most likely cause of this issue?

Q2

A DevOps team is using the TIG stack (Telegraf, InfluxDB, Grafana) to monitor Junos devices via gNMI. They have configured a sensor path `/interfaces/interface[name='ge-0/0/0']/state/counters/` to stream all counters for a specific interface. However, they only want to receive updates for the `in-octets` and `out-octets` counters to reduce the load on the telemetry collector. Which gNMI mechanism should be used to achieve this selective data streaming?

Q3

When defining a custom YANG module, which statement correctly describes the purpose and relationship between the `grouping` and `uses` keywords?

Q4Multiple answers

A network engineer is using Terraform to manage a fleet of Junos devices. They need to ensure that a specific BGP peer configuration is applied to a group of routers defined in the Terraform configuration. Which components are essential for this task? (Select TWO).

Q5

A developer is writing a Junos commit script in SLAX to prevent configurations where a logical interface (unit) is assigned to a VLAN that is not defined under the `[edit vlans]` hierarchy. Which type of change does the script need to analyze to perform this validation?

Q6

True or False: When using the gNMI `Set` RPC with OpenConfig models to configure a Junos device, the operation is atomic by default, meaning that if any part of the requested configuration change fails, the entire transaction is rolled back.

Q7

A financial services company needs to automate the deployment of standardized BGP configurations across its multi-vendor data center, which includes Juniper and Arista devices. A key requirement is to use a single, vendor-neutral data model to define the BGP policies and peerings to ensure consistency and simplify automation scripts. Which technology is specifically designed to address this requirement?

Q8

An administrator created a Junos op script named `get-high-cpu.slax` to identify processes with high CPU utilization. To make it easier to run, they want to create a CLI alias. Which configuration stanza is used to map the command `show high-cpu` to the execution of this op script?

Q9

A consultant is tasked with choosing between MGD-based and JSD-based automation for a new project on a Junos device. The project requires running a persistent, on-box application that listens for external API calls, performs complex stateful logic, and then modifies the Junos configuration. Which automation approach is better suited for these requirements and why?

Q10

A network automation engineer is building a gRPC client in Python to subscribe to telemetry data from a Junos device. What is the primary role of the Protocol Buffer (`.proto`) file in this process? ```mermaid sequenceDiagram participant Dev as Developer participant ProtoC as protoc Compiler participant Client as Python Client participant Server as Junos gRPC Server Dev->>ProtoC: Input .proto file ProtoC-->>Dev: Generate Python stubs (.py) Dev->>Client: Import generated stubs Client->>Server: Use stubs for RPC calls Server-->>Client: Return structured data ```