AWS Certified Solutions Architect – Associate (SAA-C03) — Question 486

A company runs an infrastructure monitoring service. The company is building a new feature that will enable the service to monitor data in customer AWS accounts. The new feature will call AWS APIs in customer accounts to describe Amazon EC2 instances and read Amazon CloudWatch metrics.

What should the company do to obtain access to customer accounts in the MOST secure way?

Answer options

Correct answer: A

Explanation

The most secure way to manage cross-account access in AWS is by leveraging IAM roles with a trust policy, which eliminates the need to share or manage long-term credentials. Storing IAM user access keys or Amazon Cognito credentials in a secrets manager, as suggested in other options, introduces unnecessary security risk and administrative overhead. A trust policy allows the monitoring service to securely assume the role using AWS STS temporary security credentials.