AWS Certified Solutions Architect – Professional (SAP-C02) — Question 499

A company has an application that uses Amazon EC2 instances in an Auto Scaling group. The quality assurance (QA) department needs to launch a large number of short-lived environments to test the application. The application environments are currently launched by the manager of the department using an AWS CloudFormation template. To launch the stack, the manager uses a role with permission to use CloudFormation, EC2, and Auto Scaling APIs. The manager wants to allow testers to launch their own environments, but does not want to grant broad permissions to each user.

Which set up would achieve these goals?

Answer options

Correct answer: B

Explanation

AWS Service Catalog is designed to allow administrators to define approved products that users can launch. By applying a launch constraint to the product, the environment is deployed using the permissions of the designated IAM role rather than the permissions of the end-user. This allows the QA testers to deploy the complex CloudFormation stacks they need with only basic AWS Service Catalog permissions, ensuring the principle of least privilege is maintained.