Courseiva
Junos REST APImediumMultiple ChoiceObjective-mapped

JNCIA-DevOps Junos REST API Practice Question

When sending an HTTP POST request to create a new configuration resource via the Junos REST API, what happens if the resource already exists in 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

The request is rejected, typically returning a 409 Conflict status code.

In standard REST semantics and Junos REST implementation, a POST request to an existing resource may result in a conflict error (such as HTTP 409 Conflict) or duplicate creation error if the identifier already exists, whereas PUT is idempotent and overwrites.

Answer analysis

Option-by-option breakdown

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

  • The device automatically performs an HTTP DELETE followed by a POST.

    Why it's wrong here

    Junos does not implicitly swap POST with DELETE.

  • The request is rejected, typically returning a 409 Conflict status code.

    Why this is correct

    Creating an already existing resource via POST usually triggers a conflict response.

  • The device silently ignores the request and returns 200 OK.

    Why it's wrong here

    Mutating requests that fail due to duplicates do not silently return 200 OK without action.

  • The existing resource is converted to an operational state counter.

    Why it's wrong here

    Configuration and operational states remain strictly separated.

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.