AWS Certified Solutions Architect – Professional — Question 222

A Solutions Architect wants to make sure that only AWS users or roles with suitable permissions can access a new Amazon API Gateway endpoint. The Solutions
Architect wants an end-to-end view of each request to analyze the latency of the request and create service maps.
How can the Solutions Architect design the API Gateway access control and perform request inspections?

Answer options

Correct answer: A

Explanation

Option A is correct because it implements AWS IAM for authorization, ensuring only users with the right permissions can access the API, and it utilizes AWS X-Ray for request tracing and analysis. Options B and D focus on monitoring but do not effectively restrict access with IAM, while option C uses a custom authorizer that complicates the setup without leveraging built-in authorization mechanisms.