Posted by: Pdfprep
Post Date: December 19, 2020
A developer has created a REST API using Amazon API Gateway. The developer wants to log who and how each caller accesses the API. The developer also wants to control how long the logs are kept.
What should the developer do to meet these requirements?
A . Enable API Gateway execution logging. Delete old logs using API Gateway retention settings.
B . Enable API Gateway access logs. Use Amazon CloudWatch retention settings to delete old logs.
C . Enable detailed Amazon CloudWatch metrics. Delete old logs with a recurring AWS Lambda function.
D . Create and use API Gateway usage plans. Delete old logs with a recurring AWS Lambda function.
Answer: C
Leave a Reply