AWS Certified Solutions Architect – Professional — Question 197
You need to develop and run some new applications on AWS and you know that Elastic Beanstalk and CloudFormation can both help as a deployment mechanism for a broad range of AWS resources.
Which of the following is TRUE statements when describing the differences between Elastic Beanstalk and CloudFormation?
Answer options
- A. AWS Elastic Beanstalk introduces two concepts: The template, a JSON or YAML-format, text- based file
- B. Elastic Beanstalk supports AWS CloudFormation application environments as one of the AWS resource types.
- C. Elastic Beanstalk automates and simplifies the task of repeatedly and predictably creating groups of related resources that power your applications. CloudFormation does not.
- D. You can design and script custom resources in CloudFormation
Correct answer: D
Explanation
The correct answer is D because CloudFormation allows users to define custom resources through scripting, which can be tailored to specific needs. Option A is misleading as Elastic Beanstalk does not center around the concept of templates in the same way. Option B is incorrect since Elastic Beanstalk environments are not considered typical AWS resource types in CloudFormation. Option C is false because CloudFormation also facilitates the automation of resource creation, similar to Elastic Beanstalk.