
Ultimate access to all questions.
Your team is developing a new web application that uses Amazon API Gateway and AWS Lambda for backend services. The application handles sensitive user data and requires a robust logging strategy to ensure compliance with data protection regulations. Describe how you would implement logging for both API Gateway and Lambda to ensure that all access and operations are logged, and the logs are stored securely and can be easily accessed for auditing purposes.
A
Use AWS CloudTrail for API Gateway logs and Amazon CloudWatch Logs for Lambda logs.
B
Use Amazon CloudWatch Logs for both API Gateway and Lambda logs.
C
Use AWS X-Ray for tracing API Gateway requests and Amazon CloudWatch Logs for Lambda logs.
D
Use Amazon S3 for storing API Gateway logs and AWS Config for Lambda configuration logs.