AWS Certified Advanced Networking – Specialty (ANS-C01) — Question 68

A company has deployed a web application on AWS. The web application uses an Application Load Balancer (ALB) across multiple Availability Zones. The targets of the ALB are AWS Lambda functions. The web application also uses Amazon CloudWatch metrics for monitoring.
Users report that parts of the web application are not loading properly. A network engineer needs to troubleshoot the problem. The network engineer enables access logging for the ALB.
What should the network engineer do next to determine which errors the ALB is receiving?

Answer options

Correct answer: B

Explanation

The correct answer is B, as it involves configuring an Amazon S3 bucket to store the logs, which can then be queried using Amazon Athena. This method allows for flexible analysis of the log data. The other options either rely on CloudWatch Logs, which is not the most effective method for accessing ALB logs directly, or incorrectly suggest processes that do not align with the recommended best practices for analyzing ALB access logs.