Courseiva
hardMultiple Choice

200-901 Practice Question: Refer to the exhibit

Exhibit

Refer to the exhibit.

{
  "Cisco-IOS-XE-native:interface": {
    "GigabitEthernet": [
      {
        "name": "1/0/1",
        "description": "Link to Core",
        "ip": {
          "address": {
            "primary": {
              "address": "10.10.10.1",
              "mask": "255.255.255.0"
            }
          }
        }
      }
    ]
  }
}

Refer to the exhibit. A developer sends a PUT request to the RESTCONF endpoint with the above JSON payload. The device already has interface GigabitEthernet1/0/1 configured with IP address 10.10.10.1/24. What is the expected outcome?

⚠ Common exam trap

Cisco often tests the misconception that PUT will fail or create a duplicate resource when the target already exists, but the correct behavior is that PUT replaces the resource idempotently, and if the data is identical, the configuration remains unchanged.

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 succeeds and the interface configuration remains unchanged.

D is correct because the PUT request to the RESTCONF endpoint with the provided JSON payload is an idempotent operation. Since the interface GigabitEthernet1/0/1 already exists with the exact same configuration (IP address 10.10.10.1/24), the PUT request effectively replaces the resource with the same data, resulting in no change. RESTCONF uses the HTTP PUT method to create or replace a resource, and if the resource already exists and the payload matches, the operation succeeds without modification.

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 request fails because the interface already exists.

    Why it's wrong here

    PUT is idempotent; it can replace existing resources.

  • ✗

    The request creates a new interface with the same configuration.

    Why it's wrong here

    PUT targets a specific resource; it does not create a new one if the URI identifies an existing resource.

  • ✗

    The request fails because the JSON is malformed.

    Why it's wrong here

    The JSON is valid.

  • ✓

    The request succeeds and the interface configuration remains unchanged.

    Why this is correct

    The PUT replaces the target resource with the supplied payload, so the interface's existing IP address is overwritten by whatever the JSON body specifies. If the payload omits the address or matches the current 10.10.10.1/24 value, the configuration is effectively unchanged and the request returns a success status.

About these practice questions

Courseiva writes every 200-901 question from scratch — 975 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This 200-901 practice question is part of Courseiva's free Cisco 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 200-901 exam.