A company wants to set up access for a new employee who needs to manage Amazon EC2 instances on a daily basis. The manager wants to follow AWS security best practices. Which of the following actions should the administrator take to grant the employee this access?
- AAllow the employee to log in daily using the AWS Account Root User credentials.
- BConfigure an IAM role for the employee to use as their permanent daily login identity.
- Create an IAM user for the employee and attach an IAM policy with EC2 management permissions.Answer
- DRequest AWS Support to manage the permissions and secure the employee's local operating system.
Answer
Create an IAM user for the employee and attach an IAM policy with EC2 management permissions.
Creating a dedicated IAM user for the employee and attaching an IAM policy with the necessary EC2 management permissions is the standard AWS best practice. This ensures accountability, follows the principle of least privilege, and aligns with secure identity management recommendations.
Step-by-Step Solution
Key Concept
Identity and Access Management (IAM) Identity Types and Best Practices
Estimated Time:45s