AWS Certified SysOps Administrator – Associate (legacy) — Question 911
A developer is deploying a web application on Amazon EC2 instances behind an Application Load Balancer (ALB) and notices that the application is not receiving all the expected elements from HTTP requests. The developer suspects users are not sending the correct query string.
How should a sysops administrator verify this?
Answer options
- A. Monitor the ALB default Amazon CloudWatch metrics. Verify that the requests contain the expected query string.
- B. ׀¡onfigure the ALB to store access logs within Amazon S3. Verify that log entries contain the expected query string.
- C. Open the ALB logs in Amazon CloudWatch. Verify that requests contain the expected query string.
- D. Create a custom Amazon CloudWatch metric to store requests. Verify that the metric contains the expected query string.
Correct answer: A
Explanation
Monitoring the default Amazon CloudWatch metrics for the Application Load Balancer (ALB) allows the administrator to analyze request patterns and verify the presence of the expected query strings directly. Other methods, such as configuring S3 access logs or creating custom metrics, require additional setup and are not the default path for quick verification. Standard CloudWatch metrics provide the quickest, out-of-the-box visibility into basic request dimensions.