JNCIA-DevOps NETCONF And XML API Practice Question
You need to execute a Junos CLI command (such as 'show version') as an XML RPC request via NETCONF. Which RPC tag encapsulates raw Junos CLI operational commands?
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
✓
<command>show version</command>
The <command> tag allows executing arbitrary operational CLI commands formatted as text within the Junos XML API.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
<cli><run>show version</run></cli>
Why it's wrong here
This is incorrect XML tagging.
- ✗
<execute-cli>show version</execute-cli>
Why it's wrong here
<execute-cli> is not a valid tag.
- ✓
<command>show version</command>
Why this is correct
The <command> tag wraps CLI text strings for execution within an RPC.
- ✗
<rpc-cli-command>show version</rpc-cli-command>
Why it's wrong here
The correct element name is <command>.
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.