Question #1092
Which AWS service provides a centralized solution for aggregating, analyzing, and monitoring application logs in real-time across distributed systems?
AWS X-Ray
AWS Config
Amazon CloudWatch
AWS CloudTrail
Explanation
Amazon CloudWatch (C) is AWS's monitoring and observability service that provides centralized log aggregation, real-time analysis, and monitoring for applications and AWS resources. It collects logs from EC2 instances, Lambda, and other services, enabling dashboards, alarms, and insights.
Why other options are incorrect:
- A. AWS X-Ray: Focuses on tracing requests in distributed systems for performance debugging, not log aggregation.
- B. AWS Config: Tracks resource configuration changes for compliance, unrelated to application log monitoring.
- D. AWS CloudTrail: Logs AWS API calls for auditing and security, not application-level logs.
Key Points: CloudWatch specializes in log management and real-time monitoring, making it the best choice for centralized logging in distributed systems.
Answer
The correct answer is: C