Question: A company is implementing an Amazon Elastic Container Service ( Amazon ECS ) cluster to run its workload. The company architecture will run multiple ECS
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 S bucket for nearrealtime analysis.Which combination of steps must the DevOps engineer take to meet these requirements? Choose three.
ADownload the Amazon CloudWatch Logs container instance from AWS. Configure this instance as a task. Update the application service definitions to include the logging task.
BInstall the Amazon CloudWatch Logs agent on the ECS instances. Change the logging driver in the ECS task definition to awslogs.
CUse Amazon EventBridge to schedule an AWS Lambda function that will run every seconds and will run the Amazon CloudWatch Logs createexporttask command. Then point the output to the logging S bucket.
DActivate access logging on the ALB. Then point the ALB directly to the logging S bucket.
EActivate access logging on the target groups that the ECS services use. Then send the logs directly to the logging S bucket.
FCreate an Amazon Kinesis Data Firehose delivery stream that has a destination of the logging S bucket. Then create an Amazon CloudWatch Logs subscription filter for Kinesis Data Firehose.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
