200-901 Infrastructure and Automation Practice Question
An automation engineer is using the Cisco DNA Center REST API to retrieve a list of network devices. The API call returns HTTP status code 200. What does this indicate?
⚠ Common exam trap
Cisco often tests the distinction between 200 OK and 204 No Content, expecting candidates to know that 200 always includes a response body while 204 explicitly does not, even though both are successful.
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 was successful and data is returned.
HTTP status code 200 indicates a successful GET request where the server has processed the request and is returning the requested data in the response body. In the context of the Cisco DNA Center REST API, a 200 response to a GET /network-device call means the list of network devices was successfully retrieved and is included in the response payload.
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 succeeded but no content is returned.
Why it's wrong here
HTTP 200 means the request succeeded and the response body carries the requested device list. It is tempting because 204 No Content signals success with an empty body, but DNA Center returns device data, so 200 delivers content rather than omitting it.
- ✗
The request was created successfully.
Why it's wrong here
Creation is signalled by 201 Created, returned after a POST that creates a resource. It is tempting because this call retrieves devices, and 200 confirms success, but 200 indicates the GET completed and returned the list, not that a new resource was created.
- ✓
The request was successful and data is returned.
Why this is correct
HTTP 200 means the request succeeded and the response body carries the requested device list, satisfying the engineer's goal of retrieving devices via the Cisco DNA Center REST API. Other 2xx codes also signal success, but 200 specifically confirms data is returned.
- ✗
The request failed due to a client error.
Why it's wrong here
Client errors return 4xx codes such as 400 or 404; 200 confirms success. It is tempting because API troubleshooting often involves 4xx responses, but those indicate malformed requests or missing resources, whereas 200 means the server processed the request and returned the device list.
Go deeper
Related to this question
About these practice questions
One of 975 original 200-901 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.