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?
A) Update the S3 role in AWS IAM to allow read/write access from Amazon ECS, and then relaunch the container.
B) Create an IAM role with S3 permissions, and then specify that role as the taskRoleArn in the task definition.
C) Create a security group that allows access from Amazon ECS to Amazon S3, and update the launch configuration used by the ECS cluster.
D) Create an IAM user with S3 permissions, and then relaunch the Amazon EC2 instances for the ECS cluster while logged in as this account.
Correct Answer:
Verified
Q299: A solutions architect is designing a web
Q300: A company wants to replicate its data
Q301: A company hosts an application on an
Q302: An ecommerce company has noticed performance degradation
Q303: A company is investigating potential solutions that
Q305: A monolithic application was recently migrated to
Q306: A company relies on an application that
Q307: A web application runs on Amazon EC2
Q308: A recent analysis of a company's IT
Q309: A solutions architect is working on optimizing
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents