A multi-department enterprise has hired an external consulting firm to perform a security audit of their AWS environment. The auditors require read-only access to various AWS resources for a limited duration of two weeks. Which of the following is the AWS-recommended best practice to grant this external firm access to the enterprise's AWS account?
- ACreate a dedicated IAM user with long-term access keys and share the credentials with the external firm.
- BConfigure the AWS account root user credentials to permit temporary read-only console access for the audit.
- Create an IAM role with a read-only policy and establish a trust relationship allowing the external firm's AWS account to assume it.Cevap
- DModify the enterprise's network security groups to allow the external firm to bypass standard AWS IAM authorization checks.
Cevap
Create an IAM role with a read-only policy and establish a trust relationship allowing the external firm's AWS account to assume it.
The correct option outlines the practice of creating an IAM role. An IAM role allows the external firm to assume the role using their own AWS account credentials, obtaining temporary security credentials for the duration of the audit without requiring the enterprise to share long-term access keys.
Adım Adım Çözüm
Anahtar Kavram
Cross-account access delegation using IAM roles