Free Automation and DevOps, Associate (JN0-224) exam 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, Associate (JN0-224) exam practice bank. Each includes the answer and explanation. Continue with the interactive practice above to review the full question set.
1Which Junos automation tool inspects a candidate configuration against custom rules during a commit?
- A. An operation script
- B. A commit script
- C. An event policy
- D. An SNMP script
2Which XML fragment correctly represents an empty element named disable?
- A. An opening tag alone: <disable>
- B. A closing tag with a trailing slash: </disable/>
- C. A name followed by a self-closing slash: <disable/>
- D. A name repeated after an internal slash: <disable/disable>
3How is hierarchy represented in YAML block-style collections?
- A. By matching XML end tags
- B. By semicolons after every value
- C. By indentation using spaces
- D. By parentheses around each level
4Given devices = ['edge', 'core', 'spine'] in Python 3.8, what does devices[0] return?
- A. 'spine'
- B. 'core'
- C. 'edge'
- D. An IndexError exception
5At which Junos configuration hierarchy is the REST API service configured?
- A. [edit system services netconf]
- B. [edit system scripts op]
- C. [edit system services rest]
- D. [edit protocols]
6Which script type is intended to provide a custom operational-mode command for network troubleshooting?
- A. A commit script
- B. An SNMP script
- C. An op script
- D. An event script
7Which XML fragment places the attribute name and its value correctly on an interface element?
- A. The name-value pair inside the opening tag: <interface name="ge-0/0/0"/>
- B. A nested at-sign field: <interface><@name>ge-0/0/0</@name></interface>
- C. The name-value pair inside element text: <interface>name="ge-0/0/0"</interface>
- D. The property name without a quoted value: <interface name>ge-0/0/0</interface>
8Which YAML block-style fragment represents a sequence containing the two device names r1 and r2?
- A. - r1 - r2
- B. r1: primary r2: secondary
- C. devices: r1, r2
- D. devices: {r1: null, r2: null}
9Which Python operation adds 'r3' as a single item at the end of the existing devices list?
- A. devices.append('r3')
- B. devices.extend('r3')
- C. devices.insert(0, 'r3')
- D. devices.remove('r3')
10Which authentication mechanism does the Junos REST API use for the username and password in its Authorization header?
- A. HTTP Basic Authentication
- B. HTTP Digest Authentication
- C. HTTP Bearer Token Authentication
- D. SSH public-key authentication
Topics in this practice bank
These topics describe the available practice for Automation and DevOps, Associate (JN0-224) exam. Review the examination outline and its sources for scope and allocation details.
Junos Automation Stack and DevOps Concepts
- Automation tools
- Automation frameworks
- Automation APIs
- DevOps culture, practices, and tools
NETCONF/XML API
- XML concepts and syntax
- XPath concepts and syntax
- NETCONF concepts
- XML API concepts and syntax
Data Serialization
- YAML
- JavaScript Object Notation (JSON)
Python/PyEZ
- Syntax and concepts
- Junos Snapshot Administrator (JSNAPy)
- Jinja2
- Remote Procedure Calls (RPCs)
- PyEZ exception handling
- Device status and configuration handling
REST API
- Junos REST API
- Junos REST API Explorer
- Client URL (cURL) access for the REST API
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, Associate (JN0-224) exam details.