Question 261:
You are designing a cloudformation stack which involves the creation of a web server and a database server. You need to ensure that the web server in the stack gets created after the database server is created. How can you achieve this?
Answer options:
A.Ensure that the database server is defined first and before the web server in the cloudformation template. The stack creation normally goes in order to create the resources. B.Ensure that the database server is defined as a child of the web server in the cloudformation template. C.Ensure that the web server is defined as a child of the database server in the cloudformation template. D.Use the DependsOn attribute to ensure that the database server is created before the web server.