nerdexam
Amazon

DOP-C02 · Question #103

A company wants to use a grid system for a proprietary enterprise in-memory data store on top of AWS. This system can run in multiple server nodes in any Linux-based distribution. The system must be…

The correct answer is A. Use AWS OpsWorks Stacks to layer the server nodes of that cluster. Create a Chef recipe that. This event occurs on all of the stack's instances when one of the following occurs: An instance enters or leaves the online state. You associate an Elastic IP address with an instance or disassociate one from an instance. You attach an Elastic Load Balancing load balancer to a…

Submitted by yuki_2020· Mar 6, 2026Configuration Management and IaC

Question

A company wants to use a grid system for a proprietary enterprise in-memory data store on top of AWS. This system can run in multiple server nodes in any Linux-based distribution. The system must be able to reconfigure the entire cluster every time a node is added or removed. When adding or removing nodes, an /etc/cluster/nodes.config file must be updated, listing the IP addresses of the current node members of that cluster. The company wants to automate the task of adding new nodes to a cluster. What can a DevOps engineer do to meet these requirements?

Options

  • AUse AWS OpsWorks Stacks to layer the server nodes of that cluster. Create a Chef recipe that
  • BPut the file nodes.config in version control. Create an AWS CodeDeploy deployment configuration and
  • CCreate an Amazon S3 bucket and upload a version of the /etc/cluster/nodes.config file. Create a
  • DCreate a user data script that lists all members of the current security group of the cluster and

How the community answered

(34 responses)
  • A
    71% (24)
  • B
    9% (3)
  • C
    3% (1)
  • D
    18% (6)

Explanation

This event occurs on all of the stack's instances when one of the following occurs: An instance enters or leaves the online state. You associate an Elastic IP address with an instance or disassociate one from an instance. You attach an Elastic Load Balancing load balancer to a layer, or detach one from a layer. https://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook-events.html

Topics

#Configuration management#OpsWorks#Chef#EC2 cluster

Community Discussion

No community discussion yet for this question.

Full DOP-C02 Practice