300-435 Question 272
Single answerYou are tasked with monitoring the health of Cisco SD-WAN devices using vManage APIs. You want to fetch real-time statistics for the CPU utilization of all devices in the network. Which API endpoint and HTTP method combination would you use to accomplish this task?
- A
GET /dataservice/device/cpu/statistics
- B
POST /dataservice/device/real-time/cpu
- C
GET /dataservice/device/monitor/stats/cpu
- D
GET /dataservice/device/real-time/cpu
Show answer and explanation
Correct answer: D
Explanation
The Cisco SD-WAN vManage Monitoring APIs provide a 'GET /dataservice/device/real-time/cpu' endpoint to fetch real-time CPU utilization statistics for devices. The GET method is used for retrieving data, and 'real-time' APIs are specifically designed for monitoring live device statistics. Understanding the correct API structure and HTTP method is crucial for automating monitoring tasks in Cisco SD-WAN solutions.
- A. Incorrect.
This endpoint is not valid. There is no such API endpoint in the Cisco SD-WAN vManage API documentation.
- B. Incorrect.
This uses the POST method, which is not suitable for fetching real-time statistics. POST is typically used to create or update data, not retrieve it.
- C. Incorrect.
This endpoint does not exist in the vManage Monitoring API for fetching CPU statistics. The correct endpoint involves 'real-time' data.
- D. Correct.
This is the correct API endpoint and HTTP method for fetching real-time CPU statistics of devices. It uses the correct 'GET' method and the proper 'real-time' API endpoint.