300-435 · Question #148
300-435 Question #148: Real Exam Question with Answer & Explanation
The correct answer is B: discovery task ID and a status URL. Cisco Catalyst Center REST API POST responses for configuration tasks are asynchronous and return a task ID along with a status URL so the caller can poll for completion.
Question
Refer to the exhibit. A POST request is sent to the Cisco Catalyst Center (formerly DNA Center) REST API to implement a network configuration change. Which information must be included in the response block?
Options
- Aprogress of the discovery task
- Bdiscovery task ID and a status URL
- Clist of discovered devices
- D403 - Unauthorized message
Explanation
Cisco Catalyst Center REST API POST responses for configuration tasks are asynchronous and return a task ID along with a status URL so the caller can poll for completion.
Common mistakes.
- A. Discovery progress is a separate concern tracked through the task polling mechanism - it is not returned directly in the initial POST response block.
- C. A list of discovered devices is the final result of a completed discovery task, retrieved after polling the task status URL, not in the initial response.
- D. A 403 Unauthorized message would indicate missing or invalid authentication credentials, not a successful POST response.
Concept tested. Cisco Catalyst Center async POST response task ID
Reference. https://developer.cisco.com/docs/dna-center/api/2-3-7/
Topics
Community Discussion
No community discussion yet for this question.