AWS Certified Data Engineer - Associate

AWS Certified Data Engineer - Associate

Get started today

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.




Explanation:

Amazon CloudWatch Logs is the appropriate service for logging both AWS Lambda function executions and Amazon API Gateway requests. It provides real-time monitoring of logs and can store them securely, ensuring that all operations involving personal data are tracked and can be audited.