Topic 1 Question 185
A company runs an application using Amazon ECS. The application creates resized versions of an original image and then makes Amazon S3 API calls to store the resized images in Amazon S3.
How can a solutions architect ensure that the application has permission to access Amazon S3?
Update the S3 role in AWS IAM to allow read/write access from Amazon ECS, and then relaunch the container.
Create an IAM role with S3 permissions, and then specify that role as the taskRoleArn in the task definition.
Create a security group that allows access from Amazon ECS to Amazon S3, and update the launch configuration used by the ECS cluster.
Create an IAM user with S3 permissions, and then relaunch the Amazon EC2 instances for the ECS cluster while logged in as this account.
ユーザの投票
コメント(11)
- 正解だと思う選択肢: B
To ensure that an Amazon Elastic Container Service (ECS) application has permission to access Amazon Simple Storage Service (S3), the correct solution is to create an AWS Identity and Access Management (IAM) role with the necessary S3 permissions and specify that role as the taskRoleArn in the task definition for the ECS application.
Option B, creating an IAM role with S3 permissions and specifying that role as the taskRoleArn in the task definition, is the correct solution to meet the requirement.
👍 5Buruguduystunstugudunstuy2022/12/22 B is the answer
👍 2Nigma2022/11/16- 正解だと思う選択肢: B
Option B.
👍 2career360guru2022/12/17
シャッフルモード