Courseiva
Junos REST APImediumMultiple ChoiceObjective-mapped

JNCIA-DevOps Junos REST API Practice Question

When executing a configuration change via the Junos REST API, what is the role of the HTTP DELETE method?

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

To delete a specific configuration hierarchy or statement from the candidate configuration.

In the context of the Junos REST API, the HTTP DELETE method is used to remove a specific configuration object or subtree, analogous to deleting a statement in the Junos CLI or removing an element in NETCONF.

Answer analysis

Option-by-option breakdown

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

  • To clear operational state counters such as interface packet counters.

    Why it's wrong here

    Operational clearing requires RPC execution, not configuration object deletion.

  • To terminate an active REST API session and revoke the auth token.

    Why it's wrong here

    Sessions are stateless or managed via standard HTTP connection teardown; DELETE targets resources.

  • To delete a specific configuration hierarchy or statement from the candidate configuration.

    Why this is correct

    HTTP DELETE maps to deleting configuration elements in the candidate datastore.

  • To discard the entire candidate configuration.

    Why it's wrong here

    Discarding the entire configuration is done via a specific RPC call, not a generic resource DELETE.

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 →

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.