Courseiva
NETCONF And XML APIhardMultiple ChoiceObjective-mapped

JNCIA-DevOps NETCONF And XML API Practice Question

When using NETCONF to edit a Junos configuration, you include the attribute operation="create" on an existing configuration leaf. What behavior does the device exhibit?

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 device returns an rpc-error indicating that the target data model element already exists.

The 'create' operation adds a configuration node only if it does not already exist; if it exists, it returns an error.

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 attribute is ignored, and the operation defaults to merge.

    Why it's wrong here

    Junos strict NETCONF enforcement does not ignore invalid operation semantics.

  • The configuration value is updated successfully.

    Why it's wrong here

    Updating an existing node with 'create' generates an error.

  • The device returns an rpc-error indicating that the target data model element already exists.

    Why this is correct

    'create' fails if the item already exists.

  • The existing node is deleted and recreated with the new value.

    Why it's wrong here

    That behavior belongs to the replace or overwrite operations.

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.