Scenario: You need to comply with regulatory requirements to retain log data for seven years. How would you configure CloudWatch Logs to meet this requirement effectively?
- Create retention policies
- Increase log group size
- Manually delete old log data
- Use CloudTrail instead
By creating retention policies in CloudWatch Logs, you can specify the retention period for log data, ensuring that it is retained for the required duration of seven years to comply with regulatory requirements.
Loading...
Related Quiz
- What is a custom runtime in AWS Lambda?
- Scenario: You want to automate the processing of orders in an e-commerce application, including tasks such as inventory management and payment processing. Which AWS service would you use to define the workflow and handle the coordination between tasks?
- AWS SAM simplifies the creation of AWS resources by defining them in __________ templates.
- What are some examples of scenarios where using a custom runtime in AWS Lambda might be beneficial?
- What are some common AWS services that automatically publish CloudWatch Metrics?