
Ultimate access to all questions.
An application is currently deployed on Amazon Elastic Container Service (Amazon ECS), utilizing AWS Fargate for container management. The company has strict audit requirements that necessitate all application log data to be logged and stored in a centralized manner on AWS infrastructure.
How would you configure the system to meet these logging and storage requirements?
A
Amazon ECS metric data is automatically sent to CloudWatch in 1-minute periods. Amazon ECS service using the Fargate launch type has CloudWatch CPU and memory utilization metrics that can be enabled from the ECS console
B
Download and install the unified CloudWatch agent on the ECS instances to collect internal system-level metrics and application logs from the instances. The logs collected by the unified CloudWatch agent are processed and stored in Amazon CloudWatch logs and can be queried for report generation
C
Use the awslogs log driver to send log information to CloudWatch Logs. To turn on the awslogs log driver, your Amazon ECS container instances require at least version 1.9.0 of the container agent
D
Use the awslogs log driver to configure the containers in your tasks to send log information to CloudWatch Logs. Add the required logConfiguration parameters to your task definition