
Ultimate access to all questions.
You are responsible for setting up a logging mechanism for a new application that involves handling personal data. The application uses AWS Lambda functions to process data and Amazon API Gateway for RESTful services. Describe how you would configure logging for both the Lambda functions and API Gateway to ensure that all operations are logged, and the logs are stored in a centralized and secure location.
A
Use AWS CloudTrail for Lambda function logs and Amazon CloudWatch Logs for API Gateway logs.
B
Use Amazon CloudWatch Logs for both Lambda functions and API Gateway logs.
C
Use AWS X-Ray for tracing Lambda function operations and Amazon CloudWatch Logs for API Gateway logs.
D
Use Amazon S3 for storing Lambda function logs and AWS CloudTrail for API Gateway logs.