JNCIA-DevOps NETCONF And XML API Practice Question
Which TWO conditions will cause a NETCONF <edit-config> transaction to fail on 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
✓
Syntax errors in the XML payload structure.
Transactions fail due to syntactic errors, missing required fields, or validation failures.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Executing a successful <commit> immediately after editing.
Why it's wrong here
Committing a valid configuration succeeds.
- ✗
Using a valid namespace prefix declared in the NETCONF hello message.
Why it's wrong here
Using valid namespaces is correct and will not cause failure.
- ✓
Syntax errors in the XML payload structure.
Why this is correct
Malformed XML triggers an XML parsing error and rpc-error response.
- ✗
Locking the candidate datastore prior to making edits.
Why it's wrong here
Locking prevents conflicts and helps success, it does not cause failure.
- ✓
Configuration validation failure against Junos semantic rules.
Why this is correct
Failing validation causes the edit or commit to be rejected.
About these practice questions
Courseiva writes every JNCIA-DevOps question from scratch — 307 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.