easyMultiple ChoiceObjective-mapped
200-901 Practice Question: A developer is writing a Python script to…
A developer is writing a Python script to interact with the Cisco DNA Center REST API. Which HTTP method should be used to retrieve a list of network devices?
⚠ Common exam trap
Cisco often tests the distinction between safe (GET) and unsafe (PUT, POST, DELETE) HTTP methods, trapping candidates who confuse POST with GET for read operations due to the common misconception that POST can be used for any data-fetching request.
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
✓
GET
The GET method is the correct HTTP verb for retrieving data from a REST API without modifying server state. In Cisco DNA Center, the endpoint /dna/intent/api/v1/network-device is accessed via GET to fetch a list of network devices, as this operation is idempotent and read-only, aligning with RESTful principles.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
GET
Why this is correct
GET is the standard method for retrieving data from a REST API.
- ✗
PUT
Why it's wrong here
PUT is used to update resources, not retrieve them.
- ✗
POST
Why it's wrong here
POST is used to create resources, not retrieve them.
- ✗
DELETE
Why it's wrong here
DELETE is used to remove resources, not retrieve them.
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.