JNCIA-DevOps NETCONF And XML API Practice Question
An administrator issues a NETCONF <get-config> request targeting the candidate datastore and includes a namespace prefix that does not match the device's loaded YANG/XML schema namespace. How does Junos respond?
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 an <rpc-error> indicating an invalid namespace or unrecognized element.
Mismatched or unknown namespaces in NETCONF requests result in a malformed message or invalid-element rpc-error.
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 returns an <rpc-error> indicating an invalid namespace or unrecognized element.
Why this is correct
Incorrect namespaces trigger parsing or validation errors returned in an <rpc-error>.
- ✗
The device falls back to default CLI parsing mode.
Why it's wrong here
NETCONF sessions do not fallback to CLI parsing.
- ✗
The session is immediately terminated by the SSH server.
Why it's wrong here
Protocol errors generate rpc-errors without necessarily dropping the SSH transport session.
- ✗
The device automatically strips the namespace prefix and processes the request.
Why it's wrong here
Junos strict XML parsing does not silently ignore namespace mismatches.
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.