QuestionQ297

Understanding and Using APIs

A developer evaluates the performance of a web application. The application is hosted in the local data center and uses a REST-based API. API logs show that many users abandon API requests, and responses are taking too long to return. What is causing this issue?

  • A Token-based authentication is disabled.
  • B Pagination is not implemented.
  • C Rate limiting is not implemented.
  • D Token-based authentication is enabled.
Explanation

Pagination divides large API result sets into smaller, manageable responses. Without it, a REST request can return an unnecessarily large payload, increasing processing and transfer time and causing slow responses. Microsoft guidance recommends pagination and query filtering to reduce payload size and improve API performance.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!