Which combination of steps should the SysOps administrator take to meet these requirements?
(Choose two.)
Enable access logging for the ALB. Save the logs to an Amazon S3 bucket.
Install the Amazon CloudWatch agent on the instances in the target group.
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.
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.
Create an Amazon CloudWatch dashboard that shows the Sum statistic of the ProcessedBytes metric for the ALB.
Explanations:
Enabling access logging for the ALB and saving the logs to an S3 bucket captures detailed request and response data, including bytes sent and received. This is essential for generating the required report.
Installing the Amazon CloudWatch agent on the instances in the target group is not necessary for tracking ALB metrics. ALB logs provide the needed data, so this step does not directly contribute to the report requirements.
Using Amazon Athena to query the ALB logs allows for analysis of the received_bytes and sent_bytes fields. Grouping by the target port provides insights into data transfer for each target group member, meeting the report requirement.
Grouping by the client port does not provide the necessary information about data transfer for each target group member. The report needs to focus on target group members, not client ports.
While creating a CloudWatch dashboard to display the ProcessedBytes metric provides some insights, it does not specifically meet the requirement to detail bytes sent to and received from each target group member, as it aggregates data at the ALB level.