200-901 exam dumps

200-901 practice question 96 of 204

Cisco DevNet Associate. Associate level, Cisco. Free question with the correct answer and a full explanation.

200-901 Question 96

Select 2

A development team is working on a network automation project using Cisco DNA Center APIs to retrieve device health data periodically. However, the team notices that the API response time is significantly affecting their application's performance. Which of the following actions can help improve the efficiency of their application when interacting with Cisco DNA Center APIs?

  1. A

    Use API pagination to retrieve large datasets in smaller chunks.

  2. B

    Implement API rate limiting to reduce the number of requests sent in a short period.

  3. C

    Enable webhooks in Cisco DNA Center to receive event-based updates instead of polling APIs.

  4. D

    Increase the timeout settings in the application to wait longer for API responses.

  5. E

    Use parallel API calls to fetch data from Cisco DNA Center.

Show answer and explanation

Correct answers: A, C

Explanation

To improve the efficiency of an application interacting with Cisco DNA Center APIs, developers should focus on strategies like using API pagination to handle large datasets efficiently and leveraging webhooks to receive real-time updates instead of polling. These approaches reduce the number of API calls and processing overhead, ultimately improving application performance.

  • A. Correct.

    Using API pagination allows the application to retrieve large datasets in smaller, more manageable chunks, which reduces the load on the API and improves performance.

  • B. Incorrect.

    Implementing API rate limiting is not directly applicable here, as rate limiting is typically imposed by the API provider to prevent overuse rather than as a way to optimize client-side performance.

  • C. Correct.

    Enabling webhooks allows the application to receive updates in real-time when specific events occur, eliminating the need for frequent polling and reducing API response delays.

  • D. Incorrect.

    Increasing the timeout settings only increases the time the application waits for a response, but it does not improve API efficiency or reduce the response time.

  • E. Incorrect.

    Using parallel API calls might improve data retrieval speed in some cases but can also overwhelm the API server, leading to throttling or errors, especially if not managed properly.

Timed practice exam

Take a 200-901 practice test under exam conditions

75 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam