300-435 · Question #148
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…
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
Exhibit
Options
- Aprogress of the discovery task
- Bdiscovery task ID and a status URL
- Clist of discovered devices
- D403 - Unauthorized message
How the community answered
(25 responses)- A4% (1)
- B84% (21)
- C8% (2)
- D4% (1)
Why each option
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.
Discovery progress is a separate concern tracked through the task polling mechanism - it is not returned directly in the initial POST response block.
Cisco Catalyst Center uses an asynchronous task model for configuration changes. A POST request immediately returns an HTTP 202 Accepted response containing a task ID and a URL the client can use to poll the task status, rather than waiting for the operation to complete. This allows long-running operations to be tracked without blocking the API caller.
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.
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
Source: https://developer.cisco.com/docs/dna-center/api/2-3-7/
Topics
Community Discussion
No community discussion yet for this question.
