300-435 Question 270
Single answerYou are tasked with monitoring the performance of WAN edge devices in a Cisco SD-WAN deployment. You need to construct an API request to retrieve real-time statistics for these devices using the Cisco SD-WAN vManage Monitoring APIs. Which of the following HTTP requests would correctly retrieve the data?
- A
GET /dataservice/device/statistics/realtime HTTP/1.1
- B
POST /dataservice/device/realtime/statistics HTTP/1.1
- C
GET /dataservice/realtime/device/statistics HTTP/1.1
- D
GET /dataservice/device/statistics?type=realtime HTTP/1.1
Show answer and explanation
Correct answer: A
Explanation
The correct API endpoint to retrieve real-time statistics for WAN edge devices in Cisco SD-WAN is '/dataservice/device/statistics/realtime', and the HTTP method used must be 'GET'. This matches the vManage Monitoring API documentation and ensures the correct data is retrieved.
- A. Correct.
This is the correct syntax for retrieving real-time device statistics using the Cisco SD-WAN vManage Monitoring API. The endpoint '/dataservice/device/statistics/realtime' is specifically designed for this purpose.
- B. Incorrect.
POST is not the correct HTTP method for retrieving data. POST is typically used to send data to the server, not fetch it.
- C. Incorrect.
This endpoint is incorrectly structured. The correct endpoint is '/dataservice/device/statistics/realtime', not '/dataservice/realtime/device/statistics'.
- D. Incorrect.
The query parameter '?type=realtime' is not valid for this API. The correct endpoint is '/dataservice/device/statistics/realtime', without additional query parameters.