AWS Certified Developer Associate DVA-C02 Practice Question
Your application is hosted on AWS and experiences intermittent failures. You need to implement a logging strategy to capture and store relevant application logs that will assist you in troubleshooting the issue. Given the requirement for minimal performance impact on your application and the ability to analyze the logs within minutes of the logged events, which logging approach should you employ?
Configure the application to use the Amazon CloudWatch Logs agent to send logs to CloudWatch for storage and analysis.
Implement log streaming directly to Amazon Kinesis Data Firehose for immediate storage and analysis.
Manually push application logs to an Amazon S3 bucket for storage and eventual analysis.
Use Amazon DynamoDB to store log data as soon as it is generated by the application.