After a network security breach, a company must collect and analyze ALB logs that include client IP, target IP, target port, and user agent for each request. What is the most operationally efficient way to gather and analyze these logs?
Choose an answer
Tap an option to check your answer.
Correct answer: Configure the ALB to store logs in an Amazon S3 bucket. Use Amazon Athena to analyze the logs in Amazon S3..
Why this is the answer
The most operationally efficient way to gather and analyze ALB logs for the specified data points is to configure the ALB to store logs in an Amazon S3 bucket and then use Amazon Athena for analysis. ALB access logs are natively stored in S3, making this a straightforward configuration. Athena is a serverless query service that allows you to analyze data directly in S3 using standard SQL, eliminating the need to load data into a separate database or manage infrastructure. This approach is highly scalable and cost-effective for ad-hoc and interactive analysis of log data. Downloading logs to a spreadsheet is inefficient for large datasets and lacks advanced analytical capabilities. Kinesis Data Streams and Kinesis Data Analytics are suitable for real-time processing, but the question implies post-breach analysis, where historical data is key, making S3 and Athena a better fit for operational efficiency. While Kinesis Data Streams to OpenSearch Service provides powerful real-time search, it introduces more complexity and cost for a scenario primarily focused on historical analysis of existing logs.
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