Scenario: Your application's performance is degrading, and you suspect it's due to excessive logging. How would you use CloudWatch Logs to identify and mitigate this issue?
- Disable logging altogether
- Increase logging verbosity
- Manually review log files
- Set up log metric filters and alarms
By setting up log metric filters and alarms in CloudWatch Logs to extract specific patterns from log events related to performance degradation and alerting when these metrics exceed thresholds, you can identify and mitigate issues caused by excessive logging.
Loading...
Related Quiz
- Lambda@Edge functions can be used to add security headers to HTTP __________ at the edge.
- How does DynamoDB Streams ensure data durability?
- Strategies such as __________ can help mitigate issues related to cold starts and concurrent execution spikes.
- Custom metrics in AWS are often collected using __________.
- The __________ feature of AWS Step Functions enables you to trigger actions based on the success or failure of a state machine execution.