hardMultiple ChoiceObjective-mapped
200-901 Practice Question: A network automation engineer is using a Python…
A network automation engineer is using a Python script with the requests library to configure VLAN 100 on a Cisco Catalyst 9300 switch via the REST API. The script sends a PUT request to https://switch-ip/restconf/data/Cisco-IOS-XE-native:native/vlan. The response returns a 201 Created, but subsequent checks show VLAN 100 is not present in the running configuration. The switch's management interface is in VLAN 99 with IP 10.10.99.10/24, and the engineer's workstation is on a different subnet (10.10.88.0/24). The switch has the following relevant configuration: ip default-gateway 10.10.99.1, and a route for 10.10.88.0/24 via 10.10.99.1. The engineer also verified that the REST API credentials are correct and that the switch's HTTP server is enabled. Which action should the engineer take to resolve the issue?
⚠ Common exam trap
Cisco often tests the distinction between candidate and running datastores in RESTCONF, trapping candidates who assume a 2xx response guarantees the configuration is active, when in fact a separate commit operation is required.
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
✓
Send a commit operation to the RESTCONF API using the 'cisco-ia:commit' RPC to apply the candidate datastore changes.
The switch is using the candidate datastore model (Cisco-IOS-XE-native), which requires an explicit commit operation to apply changes from the candidate to the running configuration. A 201 Created response indicates the configuration was accepted into the candidate datastore, but it is not active until committed via the 'cisco-ia:commit' RPC. Option C correctly identifies this missing step.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Resend the PUT request with the VLAN configuration nested under 'Cisco-IOS-XE-native:native/vlan' in YANG format.
Why it's wrong here
The request structure appears correct as a 201 was returned. Resending would not fix the missing commit.
- ✗
Reboot the switch to force the candidate configuration to become active.
Why it's wrong here
Rebooting is an extreme measure and would not commit candidate changes; it might even discard uncommitted configurations.
- ✓
Send a commit operation to the RESTCONF API using the 'cisco-ia:commit' RPC to apply the candidate datastore changes.
Why this is correct
On Cisco IOS-XE devices, configuration changes via RESTCONF are staged in the candidate datastore and must be explicitly committed. This is the likely missing step.
- ✗
Check the MTU on the switch's management interface to ensure it can accept the configuration payload.
Why it's wrong here
MTU issues would likely cause a failed or dropped request, not a successful 201 response with no configuration change.
Visual reference
Go deeper
Related to this question
About these practice questions
This 200-901 question is part of Courseiva's 989-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 →
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.