Topic 1 Question 225
2 つ選択A company wants to deploy a workload on several hundred Amazon EC2 instances. The company will provision the EC2 instances in an Auto Scaling group by using a launch template.
The workload will pull files from an Amazon S3 bucket, process the data, and put the results into a different S3 bucket. The EC2 instances must have least-privilege permissions and must use temporary security credentials.
Which combination of steps will meet these requirements?
Create an IAM role that has the appropriate permissions for S3 buckets Add the IAM role to an instance profile.
Update the launch template to include the IAM instance profile.
Create an IAM user that has the appropriate permissions for Amazon S3 Generate a secret key and token.
Create a trust anchor and profile Attach the IAM role to the profile.
Update the launch template Modify the user data to use the new secret key and token.
ユーザの投票
コメント(3)
- 正解だと思う選択肢: AB
A. This step ensures that the EC2 instances have the necessary permissions to access the S3 buckets. The IAM role should have policies attached that allow it to pull files from one S3 bucket and put results into another S3 bucket. By using an instance profile, the role can be associated with the EC2 instances. B. This step ensures that the EC2 instances launched by the Auto Scaling group will automatically use the instance profile (and thus the IAM role) with the appropriate permissions. C. This approach uses long-term credentials D. The term "trust anchor" is more relevant to AWS IAM Identity Center (formerly AWS Single Sign-On) or AWS Organizations. It is not directly applicable to setting up permissions for EC2 instances via Auto Scaling. E. Storing and using secret keys and tokens in user data scripts is insecure and not recommended.
👍 6trungtd2024/07/11 ---> AB
👍 3tgv2024/07/15- 正解だと思う選択肢: AB
AB for me
👍 2[Removed]2024/08/22
シャッフルモード