Courseiva
Free · No account needed · No credit card

Juniper Networks Automation and DevOps, Associate (JNCIA-DevOps, JN0-224) (JNCIA-DevOps) Practice Test

273 questions with instant explanations, domain breakdown, and wrong-answer analysis. Built for the real exam.

Instant feedback after each answer
Full explanations included
Domain score breakdown
Real exam: 90 min

Sample questions with explanations

This is exactly what you see during practice — question, options, and a full explanation after you answer.

Q1Data Serializationeasy
Full explanation →

An engineer needs to represent an ordered list of IP addresses in a YAML configuration file for a Junos automation playbook. Which valid YAML syntax correctly defines a sequence of items?

Aip_addresses = {192.168.1.1, 192.168.1.2}
Bip_addresses: [192.168.1.1: 192.168.1.2]
ip_addresses: - 192.168.1.1 - 192.168.1.2Correct
Dip_addresses: * 192.168.1.1 * 192.168.1.2

In YAML, lists or sequences are represented using a hyphen followed by a space (-) at the beginning of each line.

Q2Data Serializationmedium
Full explanation →

A Python script retrieves interface statistics from a Junos device in JSON format, modifies a threshold value, and needs to output it back into a formatted JSON string with an indentation level of 4 spaces for readability. Which Python snippet achieves this?

Ajson.format(data, spacing=4)
json.dumps(data, indent=4)Correct
Cjson.dump(data, indent=4)
Djson.stringify(data, spaces=4)

The json.dumps() method accepts an 'indent' parameter which specifies the number of spaces to use for pretty-printing the resulting JSON string.

Q3Data Serializationmedium
Full explanation →

An automation engineer is writing a Python script that takes a complex nested Python dictionary containing Junos telemetry parameters and converts it into a YAML string. Which PyYAML function should be used?

Ayaml.export()
Byaml.serialize_string()
Cyaml.to_yaml()
yaml.safe_dump()Correct

yaml.safe_dump() converts a Python object into a YAML-formatted string safely, avoiding the security risks associated with the base yaml.dump().

What's covered

Questions are tagged by exam domain. Practice a specific domain or mix them all.

Untimed Practice

Answer at your own pace. Explanation and domain tag shown immediately after each answer.

Timed Practice

Countdown timer starts immediately. Results and domain scores shown at the end — just like the real exam.

Why practice here?

Full explanations on every question

Not just the right answer — you get exactly why each wrong option is wrong, so you learn the concept, not the answer.

Domain score breakdown

After each session see your score by exam domain so you know exactly where to focus study time.

100% free, forever

No subscription, no trial, no email wall. Start a session in under 10 seconds.

Exam-style questions

Scenario-based, precise wording, realistic distractors — written to match what you actually see on exam day.

← All JNCIA-DevOps questionsJNCIA-DevOps exam guideStudy guidePractice by domain