DEA-C01 Question 363
Select 2A data engineering team is building a microservices-based application on AWS. They need to log application data for debugging and analytics purposes. The logs should be centralized, searchable, and scalable. Which service or combination of services should the team use to achieve this?
- A
Amazon CloudWatch Logs
- B
AWS X-Ray
- C
Amazon S3 with AWS Glue
- D
Amazon OpenSearch Service (formerly Elasticsearch Service)
- E
Amazon DynamoDB
Show answer and explanation
Correct answers: A, D
Explanation
To log application data effectively, the team needs a combination of services that support centralized logging, scalability, and searchability. Amazon CloudWatch Logs is well-suited for collecting and monitoring log data, while Amazon OpenSearch Service provides powerful search and analytics capabilities. Using these two services together creates a robust logging solution.
- A. Correct.
Amazon CloudWatch Logs is a service specifically designed to collect, monitor, and analyze log data from applications and systems. It integrates seamlessly with other AWS services for centralized logging.
- B. Incorrect.
AWS X-Ray is used for tracing requests and identifying performance bottlenecks in distributed applications. However, it is not primarily used for centralized application log storage and searchability.
- C. Incorrect.
Amazon S3 with AWS Glue is useful for storing data and performing ETL operations, but it is not ideal for centralized, searchable log management.
- D. Correct.
Amazon OpenSearch Service (formerly Elasticsearch Service) is a fully managed service that provides search and analytics capabilities, making it suitable for querying and analyzing centralized logs.
- E. Incorrect.
Amazon DynamoDB is a NoSQL database service and is not intended for log management or analysis.