A fintech startup is deploying a transaction processing application on AWS. They need to configure access control for two distinct scenarios: first, an application running on an Amazon EC2 instance that needs to read and write transactions to an Amazon DynamoDB table; second, a cloud engineer who requires access to the AWS Management Console to monitor resources. Which of the following identity and access management practices should the startup implement? (Select TWO.)
- ACreate an IAM user for the EC2 instance, generate long-term access keys, and store them directly in the application configuration file.
- Configure an IAM role with the minimum permissions required to access the DynamoDB table and attach it to the EC2 instance profile.Cevap
- Create a dedicated IAM user for the cloud engineer, assign permissions using an IAM group, and enable multi-factor authentication (MFA).Cevap
- DProvide the cloud engineer with the AWS account root user credentials to perform daily management tasks and avoid permission issues.
- EConfigure AWS to automatically manage OS-level login credentials on the EC2 instance, as securing the guest operating system is a responsibility managed entirely by AWS.
Cevap
The startup should configure an IAM role with the minimum permissions for DynamoDB access and attach it to the EC2 instance profile, and also create a dedicated IAM user for the cloud engineer, assigning permissions through an IAM group with multi-factor authentication (MFA) enabled.
The correct configurations involve using an IAM role for the EC2 instance to safely access the DynamoDB table via temporary credentials, and creating a dedicated IAM user with MFA and group-based permissions for the cloud engineer. These steps adhere to the AWS best practices of avoiding root user usage for daily operations and utilizing temporary credentials where possible.
Adım Adım Çözüm
Anahtar Kavram
AWS Identity and Access Management (IAM) best practices for applications and administrators