exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 643 discussion

A company has multiple AWS accounts and manages these accounts which AWS Organizations. A developer was given IAM user credentials to access AWS resources. The developer should have read-only access to all Amazon S3 buckets in the account. However, when the developer tries to access the S3 buckets from the console, they receive an access denied error message with no bucket listed.
A solution architect reviews the permissions and finds that the developer's IAM user is listed as having read-only access to all S3 buckets in the account.
Which additional steps should the solutions architect take to troubleshoot the issue? (Choose two.)

  • A. Check the bucket policies for all S3 buckets.
  • B. Check the ACLs for all S3 buckets.
  • C. Check the SCPs set at the organizational units (OUs).
  • D. Check for the permissions boundaries set for the IAM user.
  • E. Check if an appropriate IAM role is attached to the IAM user.
Show Suggested Answer Hide Answer
Suggested Answer: DE 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
XRiddlerX
Highly Voted 3 years, 9 months ago
Answer C and D - My two cents: A is INCORRECT even though a bucket policy IS a resource based policy and will be evaluated AFTER Organizations SCPs, if a DENY is set in the policy you will list see it listed. You will see the word "ERROR" in the Access column. B is INCORRECT because even though ACLs are resource-based policies you use ACLs to grant basic read/write permissions on the objects in the bucket. You'll still be able to ListBuckets if there is an ACL on the bucket. C is CORRECT because after the Deny Evaluation a Organization SCPs are evaluated and take affect/merged. (See Link Below) D is CORRECT because a DENY on the permission boundary will not allow the developer to ListBuckets E is INCORRECT because this is a IAM Permission and applied AFTER DENY, ORG SCP, and RESOURCE-based policy evaluation. In addition the Solution Architect checked the developers IAM User and it was listed as readonly. https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html#policy-eval-denyallow
upvoted 33 times
...
liono
Highly Voted 3 years, 10 months ago
c,d seems correct
upvoted 17 times
...
Cal88
Most Recent 2 years, 9 months ago
The answer is CD A. Check the bucket policies for all S3 buckets. Not relevant , the user is facing an issue to list all buckets. If the question is about access denied when trying to read or write from some bucket then this might be the cause B. Check the ACLs for all S3 buckets. Same as A C. Check the SCPs set at the organizational units (OUs). Correct , even if a user has IAM permission to access a service if the SCP for his OU denies it he cant access D. Check for the permissions boundaries set for the IAM user. This is correct , the issue could be because of the permission set for the IAM user E. Check if an appropriate IAM role is attached to the IAM user. Not relevant , the permission to access S3 in the question is defined on the user and there is no mention that the user is a assuming a role or that an ec2 instance with that role is having the problem
upvoted 1 times
...
Enigmaaaaaa
3 years ago
CD for me. Since we cannot list any bucket at all - A& B are excluded. E - we already have this kind of access - not relevant.
upvoted 2 times
...
kangtamo
3 years, 1 month ago
Selected Answer: CD
Agree with CD.
upvoted 2 times
...
HellGate
3 years, 4 months ago
Selected Answer: AB
There are several ways to control access S3 bucket. - IAM user policy - bucket policy - ACLs - S3 block public access If setting related with IAM is right, we should check their bucket policies and ACLs. So answer is A and B.
upvoted 1 times
...
AzureDP900
3 years, 8 months ago
C, D is correct A service control policy (SCP) may have been implemented that limits the API actions that are available for Amazon S3. This will apply to all users in the account regardless of the permissions they have assigned to their user account. Another potential cause of the issue is that the permissions boundary for the user limits the S3 API actions available to the user. A permissions boundary is an advanced feature for using a managed policy to set the maximum permissions that an identity-based policy can grant to an IAM entity. An entity’s permissions boundary allows it to perform only the actions that are allowed by both its identity-based policies and its permissions boundaries
upvoted 1 times
...
andylogan
3 years, 9 months ago
It's C D with evaluating Identity-based policies with boundaries
upvoted 2 times
...
DerekKey
3 years, 9 months ago
C&D correct https://aws.amazon.com/premiumsupport/knowledge-center/s3-troubleshoot-403/
upvoted 3 times
...
tgv
3 years, 9 months ago
CCC DDD ---
upvoted 1 times
...
blackgamer
3 years, 9 months ago
CD is the answer.
upvoted 1 times
...
WhyIronMan
3 years, 9 months ago
I'll go with C,D
upvoted 2 times
...
Waiweng
3 years, 9 months ago
it's C,D
upvoted 3 times
...
Amitv2706
3 years, 9 months ago
C and D. If I go with IAM Policy Evaluation Logic mentioned here : https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html#policy-eval-denyallow Deny Evaluation : There is no explicit deny mentioned Organizations SCPs : C (not checked as per question) Resource based policies : Not given as a option or mentioned in question IAM permission boundaries : D (not checked as per question) Session Policies : Not given as a option or mentioned in question Identity Based Policy : Based on question user(or its group which is implicit) is already having read-only access to all S3 buckets Errors : Not given as a option or mentioned in question
upvoted 2 times
...
alisyech
3 years, 9 months ago
i choose C & D
upvoted 1 times
...
nitinz
3 years, 9 months ago
trick question C&D check the vein dig on https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html and things will make sense.
upvoted 1 times
...
kiev
3 years, 9 months ago
CD WOULD FOR ME AS WELL.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...