200-901 Infrastructure and Automation Practice Question
Exhibit
Refer to the exhibit.
POST /api/v1/vlan HTTP/1.1
Host: 192.168.1.100
Authorization: Bearer <token>
Content-Type: application/json
{
"name": "Engineering",
"vlanId": 10
}A Python script sends the above REST API request to a Cisco Catalyst 9000 switch running IOS XE. The response is a 400 Bad Request. Which field is most likely missing from the JSON payload?
⚠ Common exam trap
Cisco often tests the distinction between the `interface` field (the actual interface identifier) and the `name` field (which is not used in this API), leading candidates to incorrectly choose `name` as the missing field.
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
✓
interface
The REST API request is targeting the creation of a network interface on a Cisco Catalyst 9000 switch running IOS XE. The 400 Bad Request indicates a missing required field in the JSON payload. According to the Cisco IOS XE REST API documentation for the `/api/v1/interface` endpoint, the `interface` field (which specifies the interface name, e.g., 'GigabitEthernet1/0/1') is mandatory when creating a new interface. Without it, the API cannot determine which interface to configure, resulting in a 400 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.
- ✗
vlanId
Why it's wrong here
The payload includes 'vlanId'.
- ✗
description
Why it's wrong here
Description is optional; its absence would not cause a 400.
- ✓
interface
Why this is correct
For VLAN creation, a mandatory 'interface' field (e.g., port membership) or 'vlanType' is required.
- ✗
name
Why it's wrong here
The payload includes 'name'.
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.