AWS Certified SysOps Administrator – Associate (legacy) — Question 728

Your mission is to create a lights-out datacenter environment, and you plan to use AWS OpsWorks to accomplish this. First you created a stack and added an App
Server layer with an instance running in it. Next you added an application to the instance, and now you need to deploy a MySQL RDS database instance.
Which of the following answers accurately describe how to add a backend database server to an OpsWorks stack? (Choose three.)

Answer options

Correct answer: A, C, E

Explanation

To integrate an Amazon RDS database with an AWS OpsWorks stack, you must add a database layer and use custom recipes to configure the connection on the application servers (Option A and E). AWS OpsWorks automatically populates the stack configuration and deployment JSON with the database connection details under the [:deploy][:app_name][:database] attributes, which the recipes can query (Option C). OpsWorks does not enforce 256-bit key encryption for passwords in cookbooks (Option D), nor is cloning the entire stack the standard method for configuring RDS high availability (Option B).