You have been tasked with deploying a scalable distributed system using AWS OpsWorks. Your distributed system is required to scale on demand. As it is distributed, each node must hold a configuration file that includes the hostnames of the other instances within the layer. How should you configure AWS OpsWorks to manage scaling this application dynamically?
A) Create a Chef Recipe to update this configuration file, configure your AWS OpsWorks stack to use custom cookbooks, and assign this recipe to the Configure LifeCycle Event of the specific layer.
B) Update this configuration file by writing a script to poll the AWS OpsWorks service API for new instances. Configure your base AMI to execute this script on Operating System startup.
C) Create a Chef Recipe to update this configuration file, configure your AWS OpsWorks stack to use custom cookbooks, and assign this recipe to execute when instances are launched.
D) Configure your AWS OpsWorks layer to use the AWS-provided recipe for distributed host configuration, and configure the instance hostname and file path parameters in your recipes settings.
Correct Answer:
Verified
Q260: A company uses AWS Storage Gateway in
Q261: You are responsible for your company's large
Q262: You have an application running on an
Q263: Your application uses CloudFormation to orchestrate your
Q264: You are doing a load testing exercise
Q266: During metric analysis, your team has determined
Q267: You have been given a business requirement
Q268: As part of your continuous deployment process,
Q269: Your company releases new features with high
Q270: After reviewing the last quarter's monthly bills,
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents