exam questions

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

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

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 103 discussion

A publishing company's design team updates the icons and other static assets that an ecommerce web application uses. The company serves the icons and assets from an Amazon S3 bucket that is hosted in the company's production account. The company also uses a development account that members of the design team can access.

After the design team tests the static assets in the development account, the design team needs to load the assets into the S3 bucket in the production account. A solutions architect must provide the design team with access to the production account without exposing other parts of the web application to the risk of unwanted changes.

Which combination of steps will meet these requirements? (Choose three.)

  • A. In the production account, create a new IAM policy that allows read and write access to the S3 bucket.
  • B. In the development account, create a new IAM policy that allows read and write access to the S3 bucket.
  • C. In the production account, create a role Attach the new policy to the role. Define the development account as a trusted entity.
  • D. In the development account, create a role. Attach the new policy to the role Define the production account as a trusted entity.
  • E. In the development account, create a group that contains all the IAM users of the design team Attach a different IAM policy to the group to allow the sts:AssumeRole action on the role In the production account.
  • F. In the development account, create a group that contains all the IAM users of the design team Attach a different IAM policy to the group to allow the sts:AssumeRole action on the role in the development account.
Show Suggested Answer Hide Answer
Suggested Answer: ACE 🗳️

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
masetromain
Highly Voted 2 years, 3 months ago
Selected Answer: ACE
The correct answer is A, C, and E. A: In the production account, creating a new IAM policy that allows read and write access to the S3 bucket is correct because it allows the design team to upload and update the static assets in the S3 bucket in the production account. C: In the production account, creating a role and attaching the new policy to the role, and defining the development account as a trusted entity is correct because it allows the design team from the development account to assume the role and access the S3 bucket in the production account, while limiting their access to only the specific resources and actions defined in the policy.
upvoted 14 times
masetromain
2 years, 3 months ago
E: In the development account, creating a group that contains all the IAM users of the design team and attaching a different IAM policy to the group to allow the sts:AssumeRole action on the role in the production account is correct because it allows the users in the group to assume the role created in the production account, which gives them access to the S3 bucket in the production account. The other choices are not correct because: B: In the development account, creating a new IAM policy that allows read and write access to the S3 bucket is not correct because the design team needs to access the S3 bucket in the production account, not the development account.
upvoted 4 times
masetromain
2 years, 3 months ago
D: In the development account, creating a role, attaching the new policy to the role and defining the production account as a trusted entity is not correct because the design team needs to assume a role in the production account to access the S3 bucket, not create a role in the development account. F: In the development account, creating a group that contains all the IAM users of the design team and attaching a different IAM policy to the group to allow the sts:AssumeRole action on the role in the development account is not correct because the design team needs to assume a role in the production account to access the S3 bucket, not the development account.
upvoted 2 times
...
...
...
zejou1
Highly Voted 2 years, 1 month ago
Selected Answer: ACE
Step 1: Create a role in the Production Account; create the role in the Production account and specify the Development account as a trusted entity. You also limit the role permissions to only read and write access to the productionapp bucket. Anyone granted permission to use the role can read and write to the productionapp bucket. Step 2: Grant access to the role Sign in as an administrator in the Development account and allow the AssumeRole action on the UpdateApp role in the Production account. So, recap, production account you create the policy for S3, and you set development account as a trusted entity. Then on the development account you allow the sts:assumeRole action on the role in production account. https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_cross-account-with-roles.html
upvoted 10 times
LuongTo
4 months, 4 weeks ago
C: "creating a role and attaching the new policy to the role" => it is very clear to use the policy to control read write. A question about the role created with C, where to use?
upvoted 1 times
...
...
amministrazione
Most Recent 7 months, 4 weeks ago
A. In the production account, create a new IAM policy that allows read and write access to the S3 bucket. D. In the development account, create a role. Attach the new policy to the role Define the production account as a trusted entity. E. In the development account, create a group that contains all the IAM users of the design team Attach a different IAM policy to the group to allow the sts:AssumeRole action on the role In the production account.
upvoted 1 times
...
Dgix
1 year, 1 month ago
Selected Answer: ACE
ACE. F is a trap.
upvoted 1 times
...
career360guru
1 year, 4 months ago
Selected Answer: ACE
A, C and E
upvoted 1 times
...
AMohanty
1 year, 5 months ago
BCE Need to provide Account in Dev S3 Read Write Access We define the permissions of the user in the Account it was created in
upvoted 1 times
...
NikkyDicky
1 year, 9 months ago
Selected Answer: ACE
ACE in this case
upvoted 1 times
...
MoussaNoussa
1 year, 10 months ago
ACE is the correct choice of course
upvoted 1 times
...
leehjworking
1 year, 11 months ago
Selected Answer: ACE
Vote for ACE
upvoted 2 times
...
mfsec
2 years, 1 month ago
Selected Answer: ACE
ACE is the best choice
upvoted 3 times
...
God_Is_Love
2 years, 1 month ago
Selected Answer: ACE
Make Dev account as trusted entity. create a role in prod account. attache IAM policy of prod account and let development account assume this role to access prod s3 bucket.
upvoted 2 times
...
Musk
2 years, 2 months ago
Selected Answer: ACE
I think it's clear
upvoted 1 times
...
tatdatpham
2 years, 2 months ago
Selected Answer: ACE
ACE is correct answer
upvoted 2 times
...
zozza2023
2 years, 2 months ago
Selected Answer: ACE
ACE should works
upvoted 2 times
...
zhangyu20000
2 years, 3 months ago
ACE is my answer
upvoted 2 times
...
masetromain
2 years, 3 months ago
Selected Answer: ADE
A, D, and E are the correct steps that would meet the requirements. A. In the production account, create a new IAM policy that allows read and write access to the S3 bucket. This will allow the design team to read and write to the S3 bucket that holds the assets in the production account. D. In the development account, create a role. Attach the new policy to the role. Define the production account as a trusted entity. This will allow the design team to assume a role in the development account that has permissions to access the S3 bucket in the production account. E. In the development account, create a group that contains all the IAM users of the design team. Attach a different IAM policy to the group to allow the sts:AssumeRole action on the role in the production account. This will allow the users in the design team group to assume the role created in step D and access the S3 bucket in the production account.
upvoted 2 times
masetromain
2 years, 3 months ago
Option B is not required because the design team needs to access the S3 bucket in the production account, not in the development account. Option C is not required because the design team needs to access the S3 bucket in the production account and this can be done by assuming a role in the development account. Option F is not required because the design team needs to access the S3 bucket in the production account and this can be done by assuming a role in the development account that is trusted by the production account.
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago