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

A company is planning to run a group of Amazon EC2 instances that connect to an Amazon Aurora database. The company has built an AWS CloudFormation template to deploy the EC2 instances and the Aurora DB cluster. The company wants to allow the instances to authenticate to the database in a secure way. The company does not want to maintain static database credentials.

Which solution meets these requirements with the LEAST operational effort?

Answer options

Correct answer: C

Explanation

Enabling IAM database authentication allows EC2 instances to authenticate to the Aurora DB cluster using temporary security tokens generated via an IAM role, completely eliminating the need for static credentials. Options A and B are incorrect because they still require the configuration and maintenance of static database credentials. Option D is incorrect because IAM users cannot be directly associated with EC2 instances; instead, an IAM role must be used via an instance profile.