easyMultiple ChoiceObjective-mapped
350-401 Practice Question: Is using the Cisco DNA Center REST API to…
A network engineer is using the Cisco DNA Center REST API to retrieve the list of network devices. The engineer sends a GET request to '/dna/intent/api/v1/network-device' and receives a 400 Bad Request response. The API documentation indicates that the request requires a query parameter 'siteId'. What should the engineer do to resolve the issue?
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
✓
Include the 'siteId' query parameter in the request URL.
A 400 Bad Request typically indicates a malformed request, such as missing required parameters. The API documentation specifies that 'siteId' is required, so the engineer must include it as a query parameter in the request.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Include the 'siteId' query parameter in the request URL.
Why this is correct
Correct because the API requires the 'siteId' parameter to filter devices by site.
- ✗
Change the HTTP method to POST because GET is not supported for this endpoint.
Why it's wrong here
Incorrect because the endpoint supports GET; the error is due to missing parameters.
- ✗
Add an 'Authorization' header with a valid token because the API requires authentication.
Why it's wrong here
Incorrect because a missing authentication would result in a 401 error, not 400.
- ✗
Use a different API endpoint, such as '/dna/intent/api/v1/site', to retrieve device information.
Why it's wrong here
Incorrect because the correct endpoint for network devices is '/network-device'; the issue is the missing parameter.
Visual reference
Go deeper
Related to this question
Learn chapter
Network Architecture Fundamentals
Key term
Cisco DNA Center
A centralized network management and automation platform from Cisco that provides intent-based networking for easier configuration, monitoring, and troubleshooting of Cisco devices.
Key term
REST API for Network Devices
A REST API for network devices is a set of rules that allows software applications to communicate with routers, switches, and firewalls using standard web methods like GET, POST, PUT, and DELETE over HTTP or HTTPS.
About these practice questions
Courseiva writes every 350-401 question from scratch — 1,175 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 350-401 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 350-401 exam.