ETExamTower
Q22Monitoring and Logging

A company uses Amazon Elastic Container Service (Amazon ECS) with the Amazon EC2 launch type. The company requires all log data to be centralized in Amazon CloudWatch. The company’s ECS tasks include a `LogConfiguration` object that specifies `awslogs` as the log driver name. The company’s ECS tasks failed to deploy. An error message states that a missing permission caused the failure. The company verified that the IAM role used to launch container instances includes the `logs:CreateLogGroup`, `logs:CreateLogStream`, and `logs:PutLogEvents` permissions. Which solution will resolve the problem?

← → navigate · a answer
Discussion · 0
No comments yet. Be the first.