AWS Certified Security – Specialty — Question 457

A company uses Amazon API Gateway to present REST APIs to users. An API developer wants to analyze API access patterns without the need to parse the log files.

Which combination of steps will meet these requirements with the LEAST effort? (Choose two.)

Answer options

Correct answer: A, D

Explanation

Enabling access logging on the API stage sends detailed access logs directly to Amazon CloudWatch Logs. Using Amazon CloudWatch Logs Insights allows the developer to easily query and analyze these logs using a built-in search language, eliminating the need to manually parse files or set up complex external pipelines like Athena or CloudTrail. Detailed CloudWatch Metrics provides performance metrics but does not provide the raw access logs required for detailed pattern analysis.