A company uses an AWS CloudFormation template to provision an Amazon EC2 instance and an Amazon RDS DB instance. A SysOps administrator must update the template to ensure that the DB instance is created before the EC2 instance is launched. What should the SysOps administrator do to meet this requirement?
A) Add a wait condition to the template. Update the EC2 instance user data script to send a signal after the EC2 instance is started.
B) Add the DependsOn attribute to the EC2 instance resource, and provide the logical name of the RDS resource.
C) Change the order of the resources in the template so that the RDS resource is listed before the EC2 instance resource.
D) Create multiple templates. Use AWS CloudFormation StackSets to wait for one stack to complete before the second stack is created.
Correct Answer:
Verified
Q35: A company hosts its website on Amazon
Q36: A manufacturing company uses an Amazon RDS
Q37: An organization created an Amazon Elastic File
Q38: A company hosts an internal application on
Q39: A company has a stateful web application
Q41: A SysOps administrator needs to design a
Q42: A company has launched a social media
Q43: A SysOps administrator has created a VPC
Q44: A data storage company provides a service
Q45: A company has multiple Amazon EC2 instances
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