Topic 1 Question 83
2 つ選択A security engineer is trying to use Amazon EC2 Image Builder to create an image of an EC2 instance. The security engineer has configured the pipeline to send logs to an Amazon S3 bucket. When the security engineer runs the pipeline, the build fails with the following error: "AccessDenied: Access Denied status code: 403".
The security engineer must resolve the error by implementing a solution that complies with best practices for least privilege access.
Which combination of steps will meet these requirements?
Ensure that the following policies are attached to the IAM role that the security engineer is using·EC2InstanceProfileForImageBuilder, EC2InstanceProfileForImageBuilderECRContainerBuilds, and AmazonSSMManagedInstanceCore.
Ensure that the following policies are attached to the instance profile for the EC2 instance: EC2InstanceProfileForImageBuilder, EC2InstanceProfileForImageBuilderECRContainerBuilds, and AmazonSSMManagedInstanceCore.
Ensure that the AWSImageBuilderFullAccess policy is attached to the instance profile for the EC2 instance.
Ensure that the security engineer's IAM role has the s3:PutObject permission for the S3 bucket.
Ensure that the instance profile for the EC2 instance has the s3:PutObject permission for the S3 bucket.
ユーザの投票
コメント(13)
- 正解だと思う選択肢: BE
Please note that an instance profile is an IAM role for the EC2 instance. Therefore, the option A which states that "IAM role attached to the engineer" is wrong. Please check this link for more information - https://docs.aws.amazon.com/imagebuilder/latest/userguide/troubleshooting.html#ts-access-denied
👍 4AgboolaKun2024/05/27 - 正解だと思う選択肢: BE
B and E as per the following
https://docs.aws.amazon.com/imagebuilder/latest/userguide/troubleshooting.html#ts-access-denied
👍 3[Removed]2024/05/25 - 正解だと思う選択肢: BE
BE choice as Instance Profile >> Role for the Instance on start up - usually -
👍 23633f8f2024/06/16
シャッフルモード