A business analyst needs temporary access to run a weekly report on billing data in the AWS Management Console. To follow the principle of least privilege and avoid managing long-term credentials, which approach should the administrator use?
- ACreate a dedicated IAM user and generate permanent access keys for the analyst to use weekly.
- BProvide the analyst with the login credentials for the AWS account root user for their weekly tasks.
- Configure an IAM role with the necessary billing permissions for the analyst to assume temporarily.Answer
- DRequest AWS Support to generate and deliver the billing report under the AWS shared responsibility model.
Answer
Configure an IAM role with the necessary billing permissions for the analyst to assume temporarily.
Configuring an IAM role is the correct approach because roles provide temporary security credentials and do not require sharing or managing long-term access keys.
Step-by-Step Solution
Key Concept
AWS IAM Roles and Temporary Credentials
Estimated Time:45s