Topic 1 Question 112
2 つ選択A team is developing an application that is deployed on Amazon EC2 instances. During testing, the team receives an error. The EC2 instances are unable to access an Amazon S3 bucket.
Which steps should the team take to troubleshoot this issue?
Check whether the policy that is assigned to the IAM role that is attached to the EC2 instances grants access to Amazon S3.
Check the S3 bucket policy to validate the access permissions for the S3 bucket.
Check whether the policy that is assigned to the IAM user that is attached to the EC2 instances grants access to Amazon S3.
Check the S3 Lifecycle policy to validate the permissions that are assigned to the S3 bucket.
Check the security groups that are assigned to the EC2 instances. Make sure that a rule is not blocking the access to Amazon S3.
ユーザの投票
コメント(3)
- 正解だと思う選択肢: AB
Option A is correct because IAM roles are used to grant permissions to AWS services, such as EC2 instances, to access other AWS services, such as S3 buckets. The policy assigned to the IAM role attached to the EC2 instances should be checked to ensure that it grants access to the S3 bucket.
Option B is also correct because the S3 bucket policy controls access to the S3 bucket. The S3 bucket policy should be checked to ensure that the access permissions are correctly configured.
👍 7MrTee2023/04/22 - 正解だと思う選択肢: AB
A: Make sure EC2 instance profile has permission to access s3 B: Make sure S3 resource policy allows the access from instance
👍 3vic6142023/04/28 AE
B. Check the S3 bucket policy to validate the access permissions for the S3 bucket. The S3 bucket policy controls who has access to the bucket, but it does not control how they can access it. The IAM role or user that is attached to the EC2 instances must have the appropriate permissions to access the bucket, regardless of what the S3 bucket policy says. C. Check whether the policy that is assigned to the IAM user that is attached to the EC2 instances grants access to Amazon S3. This is unlikely to be the cause of the issue, as the IAM role is what is typically used to control access to AWS resources. D. Check the S3 Lifecycle policy to validate the permissions that are assigned to the S3 bucket. The S3 Lifecycle policy controls how objects are stored and moved in Amazon S3. It does not control who has access to the bucket.
👍 1Prem282023/06/05
シャッフルモード