nerdexam
Cisco

200-901 · Question #297

A developer is attempting to retrieve all the messages from a Cisco Webex space. The server responds by sending the first 1,000 messages. The developer must make additional requests to retrieve the…

The correct answer is C. pagination. This scenario describes pagination - a common API design pattern where large datasets are divided into discrete pages or chunks. Instead of returning all results in a single response (which could be enormous and strain both client and server), the API returns a fixed maximum…

Understanding and Using APIs

Question

A developer is attempting to retrieve all the messages from a Cisco Webex space. The server responds by sending the first 1,000 messages. The developer must make additional requests to retrieve the rest of the messages. Which API constraint is described in this scenario?

Options

  • Apayload limiting
  • Bthrottling
  • Cpagination
  • Drate limiting

How the community answered

(29 responses)
  • A
    7% (2)
  • B
    3% (1)
  • C
    86% (25)
  • D
    3% (1)

Explanation

This scenario describes pagination - a common API design pattern where large datasets are divided into discrete pages or chunks. Instead of returning all results in a single response (which could be enormous and strain both client and server), the API returns a fixed maximum number of records per response along with a pointer (often a 'next' URL or cursor token in the response headers/body) to retrieve the next page. Rate limiting and throttling both relate to restricting how frequently requests can be made over time - they are about request frequency, not response size. Payload limiting refers to restricting the size of a request body sent to the server. Pagination specifically addresses how a server breaks up large result sets across multiple sequential responses.

Topics

#API constraints#Pagination#Data retrieval#Webex API

Community Discussion

No community discussion yet for this question.

Full 200-901 Practice