ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 94 - SAP-C02 discussion

Report
Export

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? (Select THREE.)

A.
In the production account, create a new IAM policy that allows read and write access to the S3 bucket.
Answers
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.
Answers
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.
Answers
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.
Answers
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.
Answers
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 tfje 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.
Answers
F.
In the development account, create a group that contains all tfje 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.
Suggested answer: A, C, E

Explanation:

A) In the production account, create a new IAM policy that allows read and write access to the S3 bucket. The policy grants the necessary permissions to access the assets in the production 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. By creating a role and attaching the policy, and then defining the development account as a trusted entity, the development account can assume the role and access the production S3 bucket with the read and write permissions.

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. The IAM policy attached to the group allows the design team members to assume the role created in the production account, thereby giving them access to the production S3 bucket.

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

asked 16/09/2024
Yahya Ozer
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first