AWS Certified Solutions Architect – Professional (SAP-C02) — Question 400

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

Setting the API Gateway method authorization to AWS_IAM and granting execute-api:Invoke permissions is the standard, secure way to control access for AWS IAM users and roles, requiring requests to be signed with AWS Signature. To achieve end-to-end request tracing and generate service maps for latency analysis, AWS X-Ray must be used because CloudWatch alone does not provide service mapping capabilities.