Question 190
A site reliability engineer has an approved change request to let the ECS agent pull a private ECR image and publish logs for a task. Which AWS mechanism directly addresses the request?
Explanation
Correct Answer
Execution roles grant ECS infrastructure agents needed launch permissions. It directly addresses the requirement to let the ECS agent pull a private ECR image and publish logs for a task.
Incorrect Answers
Task roles provide workload API permissions to running containers. That choice addresses the different task to allow application code inside a task to call DynamoDB without embedding static AWS credentials, not the stated need to let the ECS agent pull a private ECR image and publish logs for a task.
ECS services maintain a configured number of running tasks. That choice addresses the different task to increase the number of running container tasks behind an application service without changing image code, not the stated need to let the ECS agent pull a private ECR image and publish logs for a task.
ECS rolling service deployments replace tasks gradually. That choice addresses the different task to replace old tasks incrementally while maintaining a chosen healthy task count, not the stated need to let the ECS agent pull a private ECR image and publish logs for a task.






AWS Certified CloudOps Engineer - Associate SOA-C03 Practice Tests