Courseiva
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

Client Recursive Resolver Root DNS (13 root servers) TLD DNS (.com, .org, …) Authoritative example.com query IP addr answer

Go deeper

Related to this question

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 →

How Courseiva writes practice questions · Editorial policy

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.