
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A company is expecting rapid growth in the near future. A solutions architect needs to configure existing users and grant permissions to new users on AWS. The solutions architect has decided to create IAM groups. The solutions architect will add the new users to IAM groups based on department.
Which additional action is the MOST secure way to grant permissions to the new users?
A
Apply service control policies (SCPs) to manage access permissions
B
Create IAM roles that have least privilege permission. Attach the roles to the IAM groups
C
Create an IAM policy that grants least privilege permission. Attach the policy to the IAM groups
D
Create IAM roles. Associate the roles with a permissions boundary that defines the maximum permissions
Explanation:
The correct answer is C because:
IAM Groups with Policies: IAM groups are specifically designed to manage permissions for multiple users. By creating an IAM policy with least privilege permissions and attaching it to IAM groups, you ensure that all users in those groups inherit the same permissions.
Least Privilege Principle: Creating a policy with least privilege permission ensures users only have the minimum permissions needed to perform their job functions, which is a fundamental security best practice.
Why not other options:
Best Practice: The standard AWS security best practice is to:
This approach is scalable, maintainable, and follows the principle of least privilege while leveraging AWS's built-in group management capabilities.