Question Bank

721 approved questions from the community

Which of the following are benefits of using OAuth for API security? (Select all that apply)

HARD
MULTIPLE CHOICE
45s
API Design
by Mohamed

Which techniques can be used to implement idempotence in APIs? (Select all that apply)

HARD
MULTIPLE CHOICE
45s
API Design
by Mohamed

Which of the following are common pagination techniques for APIs? (Select all that apply)

HARD
MULTIPLE CHOICE
45s
API Design
by Mohamed

Which strategies help ensure backward compatibility in APIs? (Select all that apply)

HARD
MULTIPLE CHOICE
50s
API Design
by Mohamed

Which of the following are key roles in the OAuth authorization flow? (Select all that apply)

HARD
MULTIPLE CHOICE
45s
API Design
by Mohamed

Timestamp pagination applies a timestamp associated with the record to decide where to start and is particularly adept at handling constantly changing datasets.

HARD
TRUE FALSE
30s
API Design
by Mohamed

Which of the following are benefits of implementing idempotence in API design? (Select all that apply)

HARD
MULTIPLE CHOICE
45s
API Design
by Mohamed

What consideration is most important when choosing between offset-based and cursor-based pagination?

HARD
SINGLE CHOICE
40s
API Design
by Mohamed

SOAP APIs are designed to be stateless like REST APIs.

HARD
TRUE FALSE
30s
API Design
by Mohamed

In OAuth workflow, what does the authorization server provide to the client after user consent?

HARD
SINGLE CHOICE
35s
API Design
by Mohamed

Which technique allows maintaining idempotence by storing previous request information in memory or a database?

HARD
SINGLE CHOICE
35s
API Design
by Mohamed

What is the main disadvantage of offset-based pagination?

HARD
SINGLE CHOICE
35s
API Design
by Mohamed

Which pagination technique uses a unique identifier to establish the starting point for the next set of results?

HARD
SINGLE CHOICE
35s
API Design
by Mohamed

What is the primary consideration when deciding whether to support both singular and plural endpoint forms like `/car/{id}` and `/cars`?

HARD
SINGLE CHOICE
40s
API Design
by Mohamed

What is OAuth primarily used for in API security?

HARD
SINGLE CHOICE
35s
API Design
by Mohamed

Why might an API designer choose keyset pagination over offset-based pagination?

HARD
SINGLE CHOICE
40s
API Design
by Mohamed

What is idempotence in the context of API design?

HARD
SINGLE CHOICE
40s
API Design
by Mohamed

Which approach to implementing idempotence uses a unique identifier for each client action that the server checks to detect duplicates?

HARD
SINGLE CHOICE
35s
API Design
by Mohamed

What is the 'Code on Demand' principle in REST architecture?

HARD
SINGLE CHOICE
35s
API Design
by Mohamed

What is the main advantage of using media type (MIME type) versioning for APIs?

HARD
SINGLE CHOICE
40s
API Design
by Mohamed
PreviousPage 9 of 37Next