AWS Certified DevOps Engineer – Professional — Question 171

A company is implementing an Amazon Elastic Container Service (Amazon ECS) cluster to run its workload. The company architecture will run multiple ECS services on the cluster. The architecture includes an Application Load Balancer on the front end and uses multiple target groups to route traffic.

A DevOps engineer must collect application and access logs. The DevOps engineer then needs to send the logs to an Amazon S3 bucket for near-real-time analysis.

Which combination of steps must the DevOps engineer take to meet these requirements? (Choose three.)

Answer options

Correct answer: B, D, F

Explanation

The correct steps are B, D, and F. Option B allows the logs to be collected and sent to CloudWatch, while D ensures that access logs from the ALB are logged directly to S3. Option F enables a more efficient transfer of logs using Kinesis Data Firehose. Options A, C, and E do not effectively meet the logging and real-time analysis requirements as described in the question.