DEA-C01 Question 515
Select 3Your team is building a distributed application on AWS, and you need to capture structured log data from the application to monitor its performance and troubleshoot issues. The logs should be collected in real time and stored for analysis. Which of the following AWS services or features would be most appropriate for this use case?
- A
Amazon CloudWatch Logs
- B
Amazon Kinesis Data Firehose
- C
AWS Lambda
- D
Amazon S3
- E
Amazon DynamoDB
Show answer and explanation
Correct answers: A, B, D
Explanation
To log application data effectively, you need services that can capture, process, and store logs. Amazon CloudWatch Logs is ideal for monitoring and analyzing logs in real-time. Amazon Kinesis Data Firehose enables real-time log streaming and delivery to storage or analytics services. Amazon S3 is commonly used as a durable and cost-effective storage destination for log files. Together, these services form a robust solution for logging application data in distributed AWS environments.
- A. Correct.
Amazon CloudWatch Logs is designed to capture, monitor, and analyze log data from applications and AWS services, making it a critical component for logging application data.
- B. Correct.
Amazon Kinesis Data Firehose can ingest streaming log data in real time and deliver it to storage destinations like Amazon S3 or Amazon Redshift for further analysis.
- C. Incorrect.
AWS Lambda is a serverless compute service, not a dedicated logging service. While it can process log data, it is not primarily used to capture or store logs.
- D. Correct.
Amazon S3 is a durable and scalable storage solution, which is commonly used as a destination for storing log data collected via logging services like CloudWatch Logs or Kinesis Data Firehose.
- E. Incorrect.
Amazon DynamoDB is a NoSQL database service and is not typically used for logging application data, as it is better suited for transactional or key-value data.