AWS Certified SysOps Administrator – Associate — Question 21

A software development company has multiple developers who work on the same product. Each developer must have their own development environments, and these development environments must be identical. Each development environment consists of Amazon EC2 instances and an Amazon RDS DB instance. The development environments should be created only when necessary, and they must be terminated each night to minimize costs.
What is the MOST operationally efficient solution that meets these requirements?

Answer options

Correct answer: B

Explanation

The correct answer, B, is operationally efficient because it utilizes AWS CloudFormation to manage infrastructure as code, allowing developers to provision and later delete environments easily. Options A and C lack the use of CloudFormation for stack management, which can complicate resource handling. Option D incorrectly suggests using CLI commands for resource management, which is less efficient compared to the automated stack deletion in B.