AWS Certified SysOps Administrator – Associate (legacy) — Question 696
You are tasked with the migration of a highly trafficked Node JS application to AWS in order to comply with organizational standards Chef recipes must be used to configure the application servers that host this application and to support application lifecycle events.
Which deployment option meets these requirements while minimizing administrative burden?
Answer options
- A. Create a new stack within Opsworks add the appropriate layers to the stack and deploy the application
- B. Create a new application within Elastic Beanstalk and deploy this application to a new environment
- C. Launch a Mode JS server from a community AMI and manually deploy the application to the launched EC2 instance
- D. Launch and configure Chef Server on an EC2 instance and leverage the AWS CLI to launch application servers and configure those instances using Chef.
Correct answer: A
Explanation
AWS OpsWorks is designed specifically to use Chef recipes to configure EC2 instances and manage application lifecycle events, making it the option with the lowest administrative overhead. While Elastic Beanstalk is easy to manage, it does not natively use Chef recipes as its primary configuration mechanism. Manually deploying on EC2 or managing a custom Chef Server on EC2 would require significant administrative effort compared to OpsWorks.