JNCIA-DevOps Junos Automation Stack And DevOps Concepts Practice Question
A network automation engineer is utilizing the Junos PyEZ library in Python to manage device configurations. Which THREE methods or classes are part of the core Junos PyEZ library functionality? (Choose THREE)
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
ConnectError exception for handling connection failures to the device
Junos PyEZ provides the Device class for connection management, the Config table/view context manager for configuration transactions, and exception handling classes like ConnectError.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
ConnectError exception for handling connection failures to the device
Why this is correct
ConnectError is a standard PyEZ exception raised when a connection cannot be established.
- ✓
Config context manager (e.g., 'with Config(dev) as cu:') for handling configuration blocks
Why this is correct
The Config context manager handles locking, loading, committing, and unlocking configuration sessions.
- ✗
Docker container orchestration module for spinning up microservices
Why it's wrong here
Docker container orchestration is handled by container engines and Kubernetes, not PyEZ.
- ✗
Playbook execution engine for running local bash shell scripts
Why it's wrong here
Playbook execution is an Ansible function, not a core class of the Python PyEZ library.
- ✓
Device class from 'jnpr.junos' for managing connections and sessions
Why this is correct
The Device class is the primary object used to connect to Junos devices in PyEZ.
About these practice questions
This JNCIA-DevOps question is part of Courseiva's 307-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Juniper Networks exam blueprint
This JNCIA-DevOps practice question is part of Courseiva's free Juniper Networks certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the JNCIA-DevOps exam.