Question Bank

3705 approved questions from the community

SOAP APIs are designed to be stateless like REST APIs.

HARD
TRUE FALSE
30s
API Design
by Mohamed

The HTTP DELETE method can be designed to be idempotent, indicating that repeated deletion requests don't affect the resource's state.

MEDIUM
TRUE FALSE
30s
API Design
by Mohamed

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

HARD
MULTIPLE CHOICE
50s
API Design
by Mohamed

What HTTP status code indicates that the resource has not been modified since the last request?

EASY
SINGLE CHOICE
25s
API Design
by Mohamed

Query parameter versioning is more flexible than URI versioning but can pose caching and security challenges.

MEDIUM
TRUE FALSE
30s
API Design
by Mohamed

HTTP status codes in the 5xx range indicate server errors.

EASY
TRUE FALSE
20s
API Design
by Mohamed

HTTP status codes in the 4xx range indicate client errors.

EASY
TRUE FALSE
20s
API Design
by Mohamed

HTTP status codes in the 2xx range indicate successful operations.

EASY
TRUE FALSE
20s
API Design
by Mohamed

What HTTP status code should be returned when API rate limiting is exceeded?

MEDIUM
SINGLE CHOICE
30s
API Design
by Mohamed

In RESTful APIs, responses should be explicitly marked as cacheable or non-cacheable to standardize the caching process.

MEDIUM
TRUE FALSE
25s
API Design
by Mohamed

In OAuth, the authorization server issues access tokens that are uniquely tied to a specific client and resource server.

MEDIUM
TRUE FALSE
25s
API Design
by Mohamed

What is the purpose of the HTTP OPTIONS method?

MEDIUM
SINGLE CHOICE
30s
API Design
by Mohamed

What does semantic versioning (SemVer) represent?

MEDIUM
SINGLE CHOICE
30s
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

SOAP APIs generally employ HTTP status codes for error communication, while REST APIs use dedicated XML elements for error representations.

MEDIUM
TRUE FALSE
30s
API Design
by Mohamed

JSON is commonly used as the data format for REST APIs due to its simplicity and efficiency for web-based data exchange.

EASY
TRUE FALSE
25s
API Design
by Mohamed

When introducing breaking changes to an API, it's best practice to provide migration guides and give users time to adapt.

MEDIUM
TRUE FALSE
25s
API Design
by Mohamed

Cursor-based pagination is more efficient than offset-based pagination for large datasets because it doesn't suffer from the skipping behavior.

MEDIUM
TRUE FALSE
30s
API Design
by Mohamed

RESTful API endpoint naming should use nouns to represent resources rather than verbs to represent actions.

EASY
TRUE FALSE
25s
API Design
by Mohamed
PreviousPage 36 of 186Next