JNCIA-DevOps NETCONF And XML API Practice Question
An automation script attempts to load a configuration snippet using NETCONF <edit-config> with operation="delete" on a container statement. What happens if the specified container does not currently exist in the candidate configuration?
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
✓
The device returns a NETCONF rpc-error indicating the node does not exist.
The delete operation fails if the target node does not exist, whereas remove is silent if absent.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The device ignores the request and returns an OK response.
Why it's wrong here
That is the behavior of the remove operation, not delete.
- ✗
The device converts the operation to a merge automatically.
Why it's wrong here
Junos does not implicitly convert delete operations to merge operations.
- ✓
The device returns a NETCONF rpc-error indicating the node does not exist.
Why this is correct
The 'delete' operation requires the target node to exist, otherwise it triggers an error.
- ✗
The device automatically creates the container as an empty object.
Why it's wrong here
Delete never creates objects.
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.