JNCIA-DevOps NETCONF And XML API Practice Question
You need to commit a candidate configuration change on a Junos device via NETCONF with a confirmed commit timeout of 5 minutes. Which XML payload structure is correct?
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
✓
<rpc><commit><confirmed/><confirm-timeout>5</confirm-timeout></commit></rpc>
The <commit> RPC accepts a <confirmed/> tag and a <confirm-timeout> element to specify rollback timing.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
<rpc><commit-confirm timeout="5"/></rpc>
Why it's wrong here
<commit-confirm> is not a valid RPC tag name.
- ✓
<rpc><commit><confirmed/><confirm-timeout>5</confirm-timeout></commit></rpc>
Why this is correct
This structure properly requests a confirmed commit with a 5-minute timeout.
- ✗
<rpc><edit-config><timeout>300</timeout></edit-config></rpc>
Why it's wrong here
Timeouts are configured inside the commit operation, not edit-config.
- ✗
<rpc><commit><timeout>5</timeout></commit></rpc>
Why it's wrong here
The correct element inside <commit> for the timeout value is <confirm-timeout>.
About these practice questions
One of 306 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.