Courseiva
NETCONF And XML APImediumMultiple ChoiceObjective-mapped

JNCIA-DevOps NETCONF And XML API Practice Question

An engineer writes a Python script using ncclient to push changes to a Junos device. After sending the configuration via <edit-config>, the script needs to make the changes active without dropping the NETCONF session lock prematurely or requiring a separate explicit commit RPC if candidate workflows are bypassed. However, using standard candidate datastore workflow, what is the exact RPC required to activate 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

<commit/>

The <commit> RPC is used to commit the candidate configuration to the running configuration datastore in Junos.

Answer analysis

Option-by-option breakdown

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

  • <commit/>

    Why this is correct

    The <commit/> RPC activates the candidate configuration on a Junos device.

  • <apply-changes/>

    Why it's wrong here

    <apply-changes/> is not part of the standard NETCONF RFC 6241 or Junos XML API specification.

  • <save-config/>

    Why it's wrong here

    <save-config/> is not a valid NETCONF RPC element.

  • <push-running/>

    Why it's wrong here

    <push-running/> is a distractor and does not exist in the Junos XML API.

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 →

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.