Topic 1 Question 238
A developer is working on an application that is deployed on an Amazon EC2 instance. The developer needs a solution that will securely transfer files from the application to an Amazon S3 bucket.
What should the developer do to meet these requirements in the MOST secure way?
Create an IAM user. Create an access key for the IAM user. Store the access key in the application’s environment variables.
Create an IAM role. Create an access key for the IAM role. Store the access key in the application’s environment variables.
Create an IAM role. Configure the IAM role to access the specific Amazon S3 API calls the application requires. Associate the IAM role with the EC2 instance.
Configure an S3 bucket policy for the S3 bucket. Configure the S3 bucket policy to allow access for the EC2 instance ID.
ユーザの投票
コメント(4)
C. Create an IAM role. Configure the IAM role to access the specific Amazon S3 API calls the application requires. Associate the IAM role with the EC2 instance.
👍 5Claire_KMT2023/10/28- 正解だと思う選択肢: C
Create role with required permissions. Attach it to IAM as instance profile.
👍 3didorins2023/10/28 C is the correct answer
👍 3bammy2023/10/30
シャッフルモード