Examlex

Solved

A Developer Is Building a WebSocket API Using Amazon API

question 332

Multiple Choice

A developer is building a WebSocket API using Amazon API Gateway. The payload sent to this API is JSON that includes an action key. This key can have three different values: create, update, and remove. The developer must integrate with different routes based on the value of the action key of the incoming JSON payload. How can the developer accomplish this task with the LEAST amount of configuration?


Definitions:

Legislative

Relating to the branch of government responsible for making laws, or the process involved in creating legislation.

Federal Preemption

A legal doctrine allowing federal law to take precedence over conflicting state laws.

Literal Conflict

A situation where two or more laws, provisions, or legal texts directly contradict each other, making it impossible to comply with both simultaneously.

Persuasive Regulation

Regulations or guidelines that aim to influence behavior or decisions without imposing mandatory legal obligations.

Related Questions