AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 16

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 to meet the logging requirements include installing the Amazon CloudWatch Logs agent (B), enabling access logging on the ALB to send logs to S3 (D), and setting up a Kinesis Data Firehose delivery stream for efficient log delivery (F). Options A and C involve unnecessary steps, and option E does not utilize the ALB for logging, which is required for this architecture.