Courseiva
NETCONF And XML APImediumMultiple ChoiceObjective-mapped

JNCIA-DevOps NETCONF And XML API Practice Question

When you issue a NETCONF <get-config> request for the running configuration, why might the request fail or return empty on certain Junos platforms?

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 <running/> datastore capability is supported, but explicit locking rules or device state might restrict it if unsupported parameters are sent.

In standard NETCONF (RFC 6241), the running datastore must be supported, but Junos requires candidate configuration usage for edits; however, running is supported for reading. If it fails, it is often due to datastore capability support.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Running configuration can only be accessed using CLI commands, never NETCONF.

    Why it's wrong here

    NETCONF can read running configuration.

  • The <running/> datastore capability is supported, but explicit locking rules or device state might restrict it if unsupported parameters are sent.

    Why this is correct

    Junos supports running datastore retrieval, but strict adherence to capability negotiation is required.

  • The <running/> tag must always be accompanied by a password attribute.

    Why it's wrong here

    NETCONF authentication happens during the SSH session establishment, not inside datastore tags.

  • Junos does not support reading the running configuration datastore via NETCONF.

    Why it's wrong here

    Junos fully supports reading running config; it just handles edits via the candidate datastore.

About these practice questions

One of 307 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 →

How Courseiva writes practice questions · Editorial policy

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.