200-901 Understanding and Using APIs Practice Question
A network automation engineer wants to retrieve a list of all network devices from Cisco DNA Center. Which HTTP method and URL path should be used with the DNAC intent API?
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 /dna/intent/api/v1/network-device
The intent API uses GET to retrieve data, and /dna/intent/api/v1/network-device is the correct path for listing network devices.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
PUT /dna/intent/api/v1/network-device
Why it's wrong here
PUT targets an existing resource for full replacement, so it cannot list devices; the collection endpoint returns data only via GET. It is tempting because PUT does address the network-device collection URI, but that method is used to update or replace a specific device, not to enumerate the collection.
- ✗
POST /dna/intent/api/v1/network-device
Why it's wrong here
POST submits data to create a resource, so it cannot retrieve the device list; GET on the collection endpoint returns it. It is tempting because POST does target the network-device collection path, but that method is used to create a new device record, not to read existing ones.
- ✓
GET /dna/intent/api/v1/network-device
Why this is correct
Retrieving devices is a read operation, so GET is correct; the intent API path /dna/intent/api/v1/network-device returns the device inventory collection. POST would create resources and PUT would replace them, so GET against that exact path satisfies the stem's requirement.
- ✗
DELETE /dna/intent/api/v1/network-device
Why it's wrong here
DELETE removes an existing resource, so it would attempt to delete a network device rather than list devices. It is tempting because DELETE targets the same collection path, but retrieving the device inventory requires GET on /dna/intent/api/v1/network-device, which returns the list without modifying anything.
Go deeper
Related to this question
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 →
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.