AWS Certified Security – Specialty — Question 213

A company plans to use custom AMIs to launch Amazon EC2 instances across multiple AWS accounts in a single Region to perform security monitoring and analytics tasks. The EC2 instances are launched in EC2 Auto Scaling groups. To increase the security of the solution, a Security Engineer will manage the lifecycle of the custom AMIs in a centralized account and will encrypt them with a centrally managed AWS KMS CMK. The Security Engineer configured the KMS key policy to allow cross-account access. However, the EC2 instances are still not being properly launched by the EC2 Auto Scaling groups.
Which combination of configuration steps should the Security Engineer take to ensure the EC2 Auto Scaling groups have been granted the proper permissions to execute tasks?

Answer options

Correct answer: B

Explanation

The correct answer is B because it ensures that the IAM role created in all applicable accounts has permissions to create grants for the centrally managed CMK, which is necessary for the EC2 Auto Scaling service-linked role to perform cryptographic operations. Options A, C, and D fail to provide the necessary permissions for creating grants or do not address the specific requirements for the EC2 Auto Scaling service-linked role, leading to improper launching of EC2 instances.