ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 714 - SAA-C03 discussion

Report
Export

A company has two AWS accounts: Production and Development. The company needs to push code changes in the Development account to the Production account. In the alpha phase, only two senior developers on the development team need access to the Production account. In the beta phase, more developers will need access to perform testing.

Which solution will meet these requirements?

A.
Create two policy documents by using the AWS Management Console in each account. Assign the policy to developers who need access.
Answers
A.
Create two policy documents by using the AWS Management Console in each account. Assign the policy to developers who need access.
B.
Create an 1AM role in the Development account Grant the 1AM role access to the Production account. Allow developers to assume the role
Answers
B.
Create an 1AM role in the Development account Grant the 1AM role access to the Production account. Allow developers to assume the role
C.
Create an IAM role in the Production account. Define a trust policy that specifies the Development account Allow developers to assume the role
Answers
C.
Create an IAM role in the Production account. Define a trust policy that specifies the Development account Allow developers to assume the role
D.
Create an IAM group in the Production account. Add the group as a principal in a trust policy that specifies the Production account. Add developers to the group.
Answers
D.
Create an IAM group in the Production account. Add the group as a principal in a trust policy that specifies the Production account. Add developers to the group.
Suggested answer: C

Explanation:

Understanding the Requirement: Developers in the Development account need to push code changes to the Production account, with phased access control for different stages of the project.

Analysis of Options:

Policy Documents in Each Account: This approach increases complexity and is harder to manage compared to role-based access.

IAM Role in Development Account: Roles in the Development account cannot directly control access to resources in the Production account.

IAM Role in Production Account: Creating a role in the Production account with a trust policy that allows the Development account to assume it provides controlled, secure access.

IAM Group in Production Account: This approach does not provide the required cross-account access control.

Best Solution:

IAM Role in the Production Account: This method allows precise control over who can access the Production account from the Development account, with the ability to manage permissions and access levels effectively.

IAM Roles with Cross-Account Access

Creating a Role for Cross-Account Access

asked 16/09/2024
Pang Guo Ming
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first