350-901 · Question #1
Refer to the exhibit. Which configuration of method and parameter retrieves the health of a laptop connected to the network from Cisco DNA Center? import http.client conn =…
The correct answer is B. GET; client-health. To retrieve the health of a laptop from Cisco DNA Center, the HTTP GET method should be used with the client-health parameter to target endpoint-specific health information.
Question
Options
- APUT; network-health;
- BGET; client-health;
- CGET; network-device;
- DPOST; network-device;
How the community answered
(49 responses)- A6% (3)
- B82% (40)
- C10% (5)
- D2% (1)
Why each option
To retrieve the health of a laptop from Cisco DNA Center, the HTTP GET method should be used with the `client-health` parameter to target endpoint-specific health information.
The PUT method is generally used to update or replace an existing resource, not to retrieve its status.
Retrieving information about a client's health, such as a laptop, typically utilizes the HTTP GET method. The `client-health` endpoint in Cisco DNA Center APIs is designed to provide health metrics and status for connected client devices.
While GET is the correct method for retrieval, `network-device` refers to the health of network infrastructure components, not individual client devices like laptops.
The POST method is used to submit data to a specified resource, often resulting in a change in state or the creation of a new resource, not for retrieving health status.
Concept tested: Cisco DNA Center API client health retrieval
Source: https://developer.cisco.com/docs/dna-center/#!client-health-apis
Topics
Community Discussion
No community discussion yet for this question.