Skip to main content
Ameerpet, Hyderabad · Classroom & live online
Cloud Soft Solutions

Juniper JNCIA-DevOps (JN0-224) Exam Guide 2026: NETCONF, XML and XPath, PyEZ, JSNAPy, REST API, 4-Week Plan and 15 Questions

Juniper JNCIA-DevOps (JN0-224): 65 multiple-choice questions in 90 minutes on Junos 24.2, Python 3.8.10 and PyEZ 2.6.3, no prerequisites, valid 3 years. The five objective areas from Juniper's exam page, PyEZ facts, RPC and commit examples, NETCONF and REST API calls, a 4-week plan and 15 practice questions.

Juniper JNCIA-DevOps JN0-224 network automation exam guide 2026, Cloud Soft Solutions
Last updated · 4 min read · 961 words

Juniper JNCIA-DevOps JN0-224 network automation exam guide 2026, Cloud Soft Solutions

JNCIA-DevOps (exam JN0-224) is Juniper Networks' associate certification for network automation on Junos. It checks whether you understand the Junos automation stack and DevOps practices, the NETCONF/XML API and XPath, YAML and JSON, Python with Juniper's PyEZ library (plus JSNAPy and Jinja2), and the Junos REST API. It is the Juniper counterpart to Cisco's CCNA Automation. It suits network engineers moving into NetDevOps and Python developers joining ISP, telecom and data-centre network teams.

This guide follows Juniper's official JNCIA-DevOps exam page. It covers the exam facts, the five objective areas, PyEZ, NETCONF and REST examples, a 4-week plan and 15 original practice questions.

Quick facts (Juniper, November 2026)

ItemDetail
ExamJNCIA-DevOps, JN0-224
Questions65 multiple choice
Duration90 minutes
Software versionsJunos 24.2, Python 3.8.10, PyEZ 2.6.3
DeliveryPearson VUE, English
PrerequisitesNone
Validity3 years

Read the official JNCIA-DevOps exam page and the Junos PyEZ documentation.

Exam objectives (summarised)

AreaWhat it covers
Junos Automation Stack and DevOps ConceptsAutomation tools, frameworks and APIs on Junos; DevOps culture, practices and tools
NETCONF/XML APIXML syntax; XPath; NETCONF concepts; the Junos XML API and RPCs
Data SerializationYAML and JSON
Python/PyEZPython syntax; PyEZ device connections, facts, RPCs, tables and views; configuration loading and commit; exception handling; Jinja2 templates; JSNAPy snapshots
REST APIThe Junos REST API, the REST API Explorer and calling it with cURL

Examples to practise

Enable the APIs on the device (lab only):

set system services netconf ssh          # NETCONF over SSH, port 830
set system services rest http            # REST API (use https outside a lab)
set system services rest enable-explorer

PyEZ: facts, an RPC and a safe configuration change:

import os
from jnpr.junos import Device
from jnpr.junos.utils.config import Config
from jnpr.junos.exception import ConnectError, CommitError

try:
    with Device(host="192.0.2.10", user="automation",
                ssh_private_key_file=os.path.expanduser("~/.ssh/id_ed25519")) as dev:
        print(dev.facts["hostname"], dev.facts["version"])

        route = dev.rpc.get_route_information(destination="0.0.0.0/0")
        print(route.findtext(".//rt-destination"))     # XPath on the XML reply

        with Config(dev, mode="exclusive") as cu:
            cu.load("set system ntp server 192.0.2.123", format="set")
            print(cu.diff())                            # review before commit
            if cu.commit_check():
                cu.commit(comment="add NTP via PyEZ", confirm=5)
except ConnectError as e:
    print("connection failed:", e)
except CommitError as e:
    print("commit failed:", e)

Use SSH keys or a secrets manager for credentials, never passwords hard-coded in scripts. confirm=5 works like commit confirmed 5, so you still need a second commit to make the change permanent.

Find the RPC behind a CLI command:

user@r1> show route 0.0.0.0/0 | display xml rpc
<rpc><get-route-information><destination>0.0.0.0/0</destination></get-route-information></rpc>

In PyEZ, hyphens become underscores: get-route-information becomes dev.rpc.get_route_information().

REST API with cURL:

curl -u automation -H "Accept: application/json" \
  "http://192.0.2.10:3000/rpc/get-software-information"

The same data in YAML and JSON:

# YAML
interfaces:
  - name: ge-0/0/0
    address: 10.0.12.1/30

{"interfaces": [{"name": "ge-0/0/0", "address": "10.0.12.1/30"}]}

4-week study plan

WeekFocusLab (vJunos or vSRX, Python 3 virtual environment)
1DevOps concepts; Junos automation stack; XML, XPath and NETCONF; | display xml rpcOpen a NETCONF session over SSH and send an RPC by hand
2Python basics, YAML and JSON parsing; PyEZ connect, facts, RPCs, tables and viewsCollect facts from three devices into a JSON report
3PyEZ configuration: load set, text and XML; Jinja2 templates; diff, commit check and commit confirmed; exceptions; JSNAPy before and after checksPush NTP and syslog from a Jinja2 template; snapshot before and after
4REST API and the Explorer; cURL; review; mock questionsFetch software information over REST in JSON; book the exam

15 practice questions with answers

These are original questions written for this guide, not exam questions.

1. Which transport does NETCONF use on Junos by default?
SSH, on TCP port 830.

2. Which data format do NETCONF RPCs and replies use?
XML.

3. Which language selects nodes in an XML document?
XPath.

4. How do you find the XML RPC behind a CLI command?
Pipe the command to | display xml rpc.

5. What is PyEZ?
Juniper's Python library for automating Junos devices over NETCONF.

6. How does PyEZ name the RPC get-interface-information?
dev.rpc.get_interface_information().

7. Which PyEZ class loads and commits configuration?
jnpr.junos.utils.config.Config.

8. What does an exclusive configuration mode prevent?
Other users changing the candidate configuration while your script works.

9. Which method shows pending changes before commit?
cu.diff().

10. Which exception does PyEZ raise when it can't connect?
ConnectError (or one of its subclasses).

11. What is JSNAPy used for?
Taking snapshots of device state and comparing them before and after a change.

12. What is Jinja2 used for in network automation?
Rendering device configuration from templates and variables.

13. YAML or JSON: which allows comments?
YAML.

14. What does the Junos REST API Explorer provide?
A web interface on the device to try REST API calls and see their requests and responses.

15. Name one DevOps practice that applies to network changes.
Version control for configurations, automated testing before deployment, or CI/CD pipelines for changes.

Before and after JNCIA-DevOps

Cloud Soft Solutions in Ameerpet, Hyderabad teaches Python, DevOps and cloud networking with real-time projects. See the APEX program and all courses.

📞 Call +91 96660 19191 · WhatsApp · Flat No. 513, 5th Floor, Nilagiri Block, Aditya Enclave, Ameerpet, Hyderabad

Frequently Asked Questions

What is JNCIA-DevOps?
Juniper Networks' associate certification for Junos automation, earned by passing exam JN0-224.

How many questions are in JN0-224 and how long is it?
65 multiple-choice questions in 90 minutes.

Which software versions does JN0-224 use?
Junos 24.2, Python 3.8.10 and PyEZ 2.6.3.

What is PyEZ?
Juniper's Python library for automating Junos devices over NETCONF.

Are there prerequisites for JNCIA-DevOps?
No.

How long is JNCIA-DevOps valid?
3 years.

Share𝕏inf✉
EnrollWhatsAppCall us