Courseiva
NETCONF And XML APImediumMultiple SelectObjective-mapped

JNCIA-DevOps NETCONF And XML API Practice Question

An automation engineer is designing a Junos XML API workflow that uses the <get-config> operation. Which THREE parameters or filtering methods are valid when retrieving configuration data from a Junos device using NETCONF? (Choose three.)

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

Specifying the source datastore (e.g., <source><running/></source>).

Valid filtering and parameter methods for <get-config> include specifying the target datastore source, applying subtree filtering, and using xpath-based filters under specific namespace conditions.

Answer analysis

Option-by-option breakdown

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

  • Using SQL queries enclosed in <sql-query> tags to extract table rows directly from the configuration database.

    Why it's wrong here

    SQL queries are not supported inside standard NETCONF <get-config> RPCs on Junos devices.

  • Specifying the source datastore (e.g., <source><running/></source>).

    Why this is correct

    The <source> element is mandatory in <get-config> to specify which datastore to retrieve.

  • Using subtree filtering inside the <filter> element to retrieve specific configuration nodes.

    Why this is correct

    Subtree filtering is a standard NETCONF filtering mechanism supported by Junos.

  • Using XPath expressions within the <filter> element with type="xpath".

    Why this is correct

    Junos NETCONF server supports XPath filtering when type="xpath" is specified in the filter element.

  • Using the <max-depth> attribute within the <get-config> tag to limit configuration tree traversal.

    Why it's wrong here

    <max-depth> is not a valid attribute for NETCONF <get-config> operations in Junos.

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 →

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.