nerdexam
Amazon

DOP-C02 · Question #66

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…

The correct answer is B. Install the Amazon CloudWatch Logs agent on the ECS instances. Change the logging driver in D. Activate access logging on the ALB. Then point the ALB directly to the logging S3 bucket. F. Create an Amazon Kinesis Data Firehose delivery stream that has a destination of the logging S3. Access logs cannot be configured by ALB target group. https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-access-

Submitted by anna_se· Mar 6, 2026Monitoring & Logging

Question

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.)

Options

  • ADownload the Amazon CloudWatch Logs container instance from AWS. Configure this instance
  • BInstall the Amazon CloudWatch Logs agent on the ECS instances. Change the logging driver in
  • CUse Amazon EventBridge to schedule an AWS Lambda function that will run every 60 seconds
  • DActivate access logging on the ALB. Then point the ALB directly to the logging S3 bucket.
  • EActivate access logging on the target groups that the ECS services use. Then send the logs
  • FCreate an Amazon Kinesis Data Firehose delivery stream that has a destination of the logging S3

How the community answered

(42 responses)
  • A
    7% (3)
  • B
    64% (27)
  • C
    10% (4)
  • E
    19% (8)

Explanation

Access logs cannot be configured by ALB target group. https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-access-

Topics

#ECS logging#ALB access logs#CloudWatch Logs#Kinesis Data Firehose#S3 log storage

Community Discussion

No community discussion yet for this question.

Full DOP-C02 Practice