A company is using an Application Load Balancer (ALB) to present its application to the internet. The company observes abnormal traffic access patterns across the application. A solutions architect needs to improve visibility into the infrastructure to help the company analyze these abnormalities. What is the MOST operationally efficient solution that meets these requirements?
Choose an answer
Tap an option to check your answer.
Correct answer: Enable ALB access logging to Amazon S3. Create a table in Amazon Athena, and query the logs..
Why this is the answer
Enabling ALB access logging to Amazon S3 provides detailed records of requests sent to your load balancer, including client IP addresses, request types, and response codes. This data is crucial for analyzing traffic patterns. Using Amazon Athena to query these logs is highly operationally efficient because Athena is a serverless query service that allows you to analyze data directly in S3 using standard SQL. You don't need to provision or manage any infrastructure for analysis. Creating a table in Amazon Athena for AWS CloudTrail logs is incorrect because CloudTrail logs API calls made to AWS services, not the traffic flowing through the ALB to the application. Opening each log file in a text editor is impractical and inefficient for large volumes of logs. Using Amazon EMR on a dedicated EC2 instance is overkill and less operationally efficient than Athena for this specific task, as EMR is typically used for large-scale data processing and analytics, and ALB logs cannot be directly queried by EMR without first being stored in a service like S3.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed