JNCIA-DevOps NETCONF And XML API Practice Question
Which TWO methods can an administrator use to verify that a Python script successfully established a NETCONF session with a Junos device? (Choose two)
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
✓
Run 'show system netconf sessions' on the Junos CLI.
Session verification can be performed by checking active system sessions on the device or inspecting script connection outputs.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Review BGP neighbor adjacency tables.
Why it's wrong here
BGP adjacency reflects routing protocol state, not management sessions.
- ✓
Run 'show system netconf sessions' on the Junos CLI.
Why this is correct
This operational command lists active NETCONF sessions on the device.
- ✗
Verify physical interface link LEDs.
Why it's wrong here
LEDs indicate physical layer connectivity.
- ✓
Inspect script execution logs or success return objects from PyEZ/NETCONF connection handlers.
Why this is correct
Python scripts can verify connection status objects or exception handling.
- ✗
Check the device temperature sensors.
Why it's wrong here
Temperature sensors are unrelated to NETCONF sessions.
About these practice questions
One of 307 original JNCIA-DevOps practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.