AWS Certified SysOps Administrator – Associate — Question 371
A SysOps administrator needs to create a report that shows how many bytes are sent to and received from each target group member for an Application Load Balancer (ALB).
Which combination of steps should the SysOps administrator take to meet these requirements? (Choose two.)
Answer options
- A. Enable access logging for the ALB. Save the logs to an Amazon S3 bucket.
- B. Install the Amazon CloudWatch agent on the instances in the target group.
- C. Use Amazon Athena to query the ALB logs. Query the table. Use the received_bytes and sent_bytes fields to calculate the total bytes grouped by the target port field.
- D. Use Amazon Athena to query the ALB logs. Query the table. Use the received_bytes and sent_bytes fields to calculate the total bytes grouped by the client port field.
- E. Create an Amazon CloudWatch dashboard that shows the Sum statistic of the ProcessedBytes metric for the ALB.
Correct answer: A, C
Explanation
To analyze traffic details for individual target group members, access logging must be enabled on the ALB to capture detailed request information and save it to an Amazon S3 bucket. Once the logs are in S3, Amazon Athena can be used to query the target-specific traffic data using the received_bytes and sent_bytes fields grouped by the target port. CloudWatch metrics and agents do not provide this granular, per-target byte transfer breakdown natively.