JNCIA-DevOps NETCONF And XML API Practice Question
While executing a NETCONF edit-config operation, you want to ensure that any syntax errors or invalid statements immediately cause the device to roll back the entire transaction without applying partial changes. Which parameter achieves this?
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
✓
<error-option>rollback-on-error</error-option>
The error-option element with the value 'rollback-on-error' instructs the device to abort and roll back if any error occurs.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
<error-option>rollback-on-error</error-option>
Why this is correct
'rollback-on-error' ensures atomicity by rolling back changes if an error is encountered.
- ✗
<test-option>test-then-set</test-option>
Why it's wrong here
'test-then-set' verifies the configuration can be set before applying it, but does not dictate the error rollback behavior.
- ✗
<default-operation>none</default-operation>
Why it's wrong here
'none' specifies that no default operation should be applied to missing configuration nodes.
- ✗
<error-option>stop-on-error</error-option>
Why it's wrong here
'stop-on-error' stops processing further changes but does not automatically perform a rollback on Junos unless combined with atomic features.
Visual reference
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.