Free Automation and DevOps, Specialist (JN0-423) Practice Questions
100 free questions · Answer explanations · No signup required
View examination details, outline and sourcesLoading selected examination banks…
Sample Practice Questions
Try these 10 sample questions from the Automation and DevOps, Specialist (JN0-423) practice bank. Each includes the answer and explanation. Continue with the interactive practice above to review the full question set.
1How does the Junos XML API represent the Junos configuration hierarchy?
- A. As XML equivalents of all configuration statements
- B. As JSON equivalents of operational commands only
- C. As text transcripts of configuration-mode sessions
- D. As protocol buffer messages for configuration leaves
Answer: A
Explanation: The guide states, "The Junos XML API defines an XML equivalent for all statements in the Junos OS configuration hierarchy". Thus configuration statements have structured XML representations; the API is not a CLI transcript, a JSON-only interface, or a protobuf model.
Reference: Understanding the NETCONF XML Management Protocol — NETCONF and the Junos XML API Overview
2Before using a data model through gNMI, which RPC discovers the models and encodings supported by the target?
- A. Capabilities
- B. Get
- C. Set
- D. Subscribe
3Which Ansible file defines the managed Junos devices and their host groups?
- A. The inventory file
- B. The module source file
- C. The task result file
- D. The configuration template
Answer: A
Explanation: Juniper states, "The Ansible inventory file defines the hosts and groups of hosts upon which commands, modules, and tasks in a playbook operate." Inventory supplies the managed targets rather than module implementation, results, or rendered configuration.
Reference: Understanding the Ansible Inventory File When Managing Junos Devices — Inventory File Overview
4When are enabled commit scripts invoked relative to standard Junos OS configuration validity checks?
- A. After the new configuration becomes active
- B. Only when standard validity checks fail
- C. After standard validity checks complete
- D. Before standard validity checks are performed
Answer: D
Explanation: Juniper states that the system invokes commit scripts "during the commit process before the standard Junos OS validity checks are performed." Script-generated configuration must therefore still pass the standard checks.
Reference: How Commit Scripts Work — How Commit Scripts Work — opening description
5What is YANG's role in managing Junos devices?
- A. It transports RPC messages over an encrypted session
- B. It executes scripts when operational events occur
- C. It serializes every telemetry update into binary bytes
- D. It models configuration, state, RPCs, and notifications
Answer: D
Explanation: RFC 7950 states, "YANG is a data modeling language used to model configuration data, state data, Remote Procedure Calls, and notifications for network management protocols." It describes the data and operations; it is not itself a transport, event-script runtime, or binary serializer.
Reference: RFC 7950 — The YANG 1.1 Data Modeling Language — Abstract
6Which CLI command reveals the XML RPC request corresponding to show interfaces?
- A. show interfaces | display set
- B. show interfaces | display xml rpc
- C. show interfaces | display json
- D. show interfaces | display inheritance
Answer: B
Explanation: The documentation instructs, "to retrieve the operational request tag for a given command, issue command | display xml rpc in the CLI." The rpc modifier reveals the request rather than merely serializing the command output.
Reference: Understanding the NETCONF XML Management Protocol — NETCONF and the Junos XML API Overview — discovering request tags
7For the Junos gNMI Get implementation documented in Understanding Dial-in Telemetry, which type value is valid for retrieving configuration?
- A. STATE
- B. CONFIG
- C. ALL
- D. OPERATIONAL
Answer: B
Explanation: The Junos implementation note specifies, "The valid type option is CONFIG." A protocol enum can contain additional values without the device implementation accepting them for this Get operation.
Reference: Understanding Dial-in Telemetry — gNMI Service — Get, implementation note
8In an INI inventory, which section header assigns variables to every host in the junos group?
- A. [junos:children]
- B. [junos:vars]
- C. [junos]
- D. [all:children]
Answer: B
Explanation: Juniper shows "[junos:vars]" followed by "ansible_connection=local". The vars suffix defines group variables; a plain group lists hosts and children defines nested groups.
Reference: Understanding the Ansible Inventory File When Managing Junos Devices — Sample Inventory File for the juniper.device Modules
9What configuration view is provided as input to a Junos commit script?
- A. The post-inheritance candidate configuration
- B. The unexpanded configuration-group definitions
- C. The most recent rollback configuration
- D. The active configuration before candidate edits
Answer: A
Explanation: The guide states, "The input for a commit script is the post-inheritance candidate configuration in Junos XML API format." Inherited group values have been applied and inactive portions removed; the input is not the old active or rollback configuration.
10A custom nonnative YANG model extends Junos configuration syntax. What is the primary role of its required translation script?
- A. Map nonnative configuration to Junos syntax and add it transiently to checkout
- B. Map nonnative configuration to Junos syntax and permanently rewrite the candidate
- C. Map native Junos configuration to nonnative syntax before installing the model
- D. Map operational state to nonnative syntax without processing configuration
Answer: A
Explanation: Juniper lists two translation-script functions: "Convert the configuration data corresponding to the nonnative YANG data models into Junos OS syntax" and "Add the translated configuration data as a transient change in the checkout configuration during the commit operation". The mapping is toward native configuration and its translated output is transient, rather than a permanent candidate rewrite or an operational-state translation.
Reference: Create Translation Scripts for YANG Configuration Models — Create Translation Scripts for YANG Configuration Models — introduction
Topics in this practice bank
These topics describe the available practice for Automation and DevOps, Specialist (JN0-423). Review the examination outline and its sources for scope and allocation details.
Platform Automation Overview
- Management process (MGD-based) automation
- Terraform
- Juniper Extension Toolkit (JECT) service process (JSD-based) automation
gRPC
- gRPC/gNMI for automating Junos
- gRPC/gNMI for Junos telemetry
Ansible
- Supported files
- Play books
- Vault
- JSNAPy
- Templates (Jinja2)
Junos Automation Scripts
- Commit scripts
- Op scripts
- Event scripts
- SNMP scripts
YANG
- Implementation concepts
- OpenConfig
- YANG syntax and data types
How to use these free practice questions
Choose an answer, check the explanation, and review your progress by chapter. Practice questions and explanations are free to access without signing up.
These are independent study questions, not actual examination items. For examination requirements and official information, view Automation and DevOps, Specialist (JN0-423) details.