DEA-C01 practice question 3 of 25

A company has an application that uses a microservice architecture. The company hosts the application on an Amazon Elastic Kubernetes Services…

Full set: 287 questions
A company has an application that uses a microservice architecture. The company hosts the application on an Amazon Elastic Kubernetes Services (Amazon EKS) cluster. The company wants to set up a robust monitoring system for the application. The company needs to analyze the logs from the EKS cluster and the application. The company needs to correlate the cluster's logs with the application's traces to identify points of failure in the whole application request flow. Which combination of steps will meet these requirements with the LEAST development effort? (Select TWO.)
Answer options
A: Use FluentBit to collect logs. Use OpenTelemetry to collect traces. Correct answer
B: Use Amazon CloudWatch to collect logs. Use Amazon Kinesis to collect traces.
C: Use Amazon CloudWatch to collect logs. Use Amazon Managed Streaming for Apache Kafka (Amazon MSK) to collect traces.
D: Use Amazon OpenSearch to correlate the logs and traces. Correct answer
E: Use AWS Glue to correlate the logs and traces.
Correct Answer:
A. Use FluentBit to collect logs. Use OpenTelemetry to collect traces.; D. Use Amazon OpenSearch to correlate the logs and traces.
Explanation

For a robust monitoring system on EKS with minimal development, the best approach is to use standard, well-integrated tools. OpenTelemetry is the industry standard for collecting traces, and FluentBit is a lightweight, standard log collector for Kubernetes. This combination covers data collection (A). For analysis, Amazon OpenSearch Service is designed to ingest, search, and visualize both logs and traces, providing built-in capabilities to correlate them through features like Trace Analytics. This covers the correlation and analysis requirement (D).

Why Incorrect

B. Amazon Kinesis is a data streaming service, not a specialized tool for collecting application traces in a standardized format like OpenTelemetry.
C. Amazon MSK is a managed Apache Kafka service used for streaming data pipelines, not for collecting application traces.
E. AWS Glue is an ETL service used for data preparation and loading, not for real-time log and trace correlation and analysis.

References

1. AWS Prescriptive Guidance. (2023). Implement observability for an Amazon EKS cluster. AWS Documentation. Retrieved from https://docs.aws.amazon.com/prescriptive-guidance/latest/implementing-observability-eks/collection.html. (This guide discusses using FluentBit for logs and OpenTelemetry for traces).

2. Amazon OpenSearch Service Developer Guide. (2023). Trace Analytics. AWS Documentation. Retrieved from https://docs.aws.amazon.com/opensearch-service/latest/developerguide/trace-analytics.html. (This section describes how OpenSearch can be used to analyze trace data from OpenTelemetry).

3. AWS Blogs. (2022). Setting up the OpenTelemetry Collector for AWS X-Ray in Amazon EKS. Retrieved from https://aws.amazon.com/blogs/containers/setting-up-the-opentelemetry-collector-for-aws-x-ray-in-amazon-eks/. (Demonstrates the use of OpenTelemetry in EKS).

Scroll to Top