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.
Correct Answer:
Verified
Q376: A Developer has created a software package
Q377: A gaming company is developing a mobile
Q378: A developer is setting up Amazon API
Q379: A Developer wants to use AWS X-Ray
Q380: A company experienced partial downtime during the
Q382: A developer is building an application on
Q383: A Developer has created a new AWS
Q384: A company is developing a serverless ecommerce
Q385: A company is developing a report executed
Q386: A Developer is storing sensitive data generated
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents