Courseiva
NETCONF And XML APIhardMultiple ChoiceObjective-mapped

JNCIA-DevOps NETCONF And XML API Practice Question

An engineer executes a NETCONF <discard-changes> RPC. What is the precise effect of this operation on the Junos device?

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

It discards all uncommitted changes currently sitting in the candidate datastore, reverting it to match the running datastore.

The <discard-changes> RPC discards any uncommitted changes present in the candidate configuration datastore.

Answer analysis

Option-by-option breakdown

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

  • It clears all active alarms and operational logs from the routing engine.

    Why it's wrong here

    Operational logs and alarms are not part of the candidate configuration datastore.

  • It terminates all active NETCONF sessions currently connected to the device.

    Why it's wrong here

    Session termination is performed via <close-session> or <kill-session>.

  • It discards all uncommitted changes currently sitting in the candidate datastore, reverting it to match the running datastore.

    Why this is correct

    <discard-changes> resets the candidate datastore to match the running configuration.

  • It reverts the active running configuration to the factory default state.

    Why it's wrong here

    Factory default restoration requires loading a factory configuration.

About these practice questions

This JNCIA-DevOps question is part of Courseiva's 306-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 →

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.