ExamQuestions.com

Register
Login
AWS Certified DevOps Engineer Professional Exam Questions

Amazon

AWS Certified DevOps Engineer Professional

257 / 500

Question 257:

You are in charge of designing a Cloudformation template which deploys a LAMP stack. After deploying a stack , you see that the status of the stack is showing as CREATE_COMPLETE , but the apache server is still not up and running and is experiencing issues while starting up. You want to ensure that the stack creation only shows the status of CREATE_COMPLETE after all resources defined in the stack are up and running. How can you achieve this?

Answer options:

A.Define a stack policy which defines that all underlying resources should be up and running before showing a status of CREATE_COMPLETE.B.Use lifecycle hooks to mark the completion of the creation and configuration of the underlying resource.
C.Use the CreationPolicy to ensure it is associated with the EC2 Instance resource.
D.Use the CFN helper scripts to signal once the resource configuration is complete.