JNCIA-DevOps NETCONF And XML API Practice Question
You are writing a Python script to retrieve the operational state of interfaces from a Junos device using NETCONF. Which XML RPC element must be enclosed within the <rpc> tag to request operational data?
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
✓
<get>
The <get> rpc tag is used to retrieve both configuration and operational data, whereas <get-config> is restricted to configuration data.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
<pull-operational>
Why it's wrong here
<pull-operational> is not a valid Junos XML RPC tag.
- ✗
<get-rpc-reply>
Why it's wrong here
<get-rpc-reply> is the response wrapper, not the request element.
- ✗
<get-config>
Why it's wrong here
<get-config> is used exclusively to retrieve configuration datastores.
- ✓
<get>
Why this is correct
The <get> element allows retrieving running operational state and configuration data.
About these practice questions
This JNCIA-DevOps question is part of Courseiva's 306-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.