SOA-C02 · Question #164
A company uses several large Chef recipes to automate the configuration of virtual machines (VMs) in its data center. A SysOps administrator is migrating this workload to Amazon EC2 Instances on AWS…
The correct answer is B. Set up AWS OpsWorks for Chef Automate. AWS OpsWorks for Chef Automate is a fully managed service that natively supports Chef recipes, eliminating the need to manage Chef server infrastructure yourself - it handles the orchestration, scaling, and compliance automation at a lower operational cost than self-managing a…
Question
A company uses several large Chef recipes to automate the configuration of virtual machines (VMs) in its data center. A SysOps administrator is migrating this workload to Amazon EC2 Instances on AWS and must run the existing Chef recipes. Which solution will meet these requirements MOST cost-effectively?
Options
- ACreate a Chef server that includes EC2 instances.
- BSet up AWS OpsWorks for Chef Automate.
- CUpload the existing recipes to Amazon S3.
- DUpload the existing recipes to the user data section during the creation of the EC2 instances.
How the community answered
(26 responses)- A4% (1)
- B73% (19)
- C15% (4)
- D8% (2)
Explanation
AWS OpsWorks for Chef Automate is a fully managed service that natively supports Chef recipes, eliminating the need to manage Chef server infrastructure yourself - it handles the orchestration, scaling, and compliance automation at a lower operational cost than self-managing a Chef server.
Why the distractors are wrong:
- A - Running your own Chef server on EC2 works technically, but requires you to provision, patch, and maintain that server, making it more expensive and operationally burdensome than a managed service.
- C - Uploading recipes to S3 just stores the files; S3 has no execution engine to apply those recipes to instances.
- D - EC2 user data runs shell scripts or cloud-init directives at launch, not Chef recipes directly; you'd need additional tooling, and this approach doesn't scale or manage ongoing configuration drift.
Memory tip: Think of the pattern "AWS has a managed service for that" - whenever a question mentions an existing tool (Chef, Puppet, Ansible) being migrated to AWS, look for the OpsWorks variant first. OpsWorks for Chef Automate = Chef, OpsWorks for Puppet Enterprise = Puppet.
Topics
Community Discussion
No community discussion yet for this question.