Question 84:
You just joined an IT company and took over the duties from another DevOps engineer to maintain AWS resources. After a while, you have found that a health check timer for an Elastic Load Balancer needs to be updated. The ELB together with Auto scaling configurations were created by a CloudFormation template one year ago. You can find the template in a CodeCommit repository. During the year, it is highly possible that someone has changed some configurations. However, there is no information to record the modification details for the CloudFormation stack. What should you do to update the ELB health check timer?
Answer options:
A.Delete the CloudFormation stack since the changes in the stack are not tracked in git. Rewrite the CloudFormation template with the new health check timer and create a new CloudFormation stack using the new template. Commit the code changes to the CodeCommit repository. B.Modify the template with the new Elastic Load Balancer health check timer. Update the stack using the new template. Submit the new template to the CodeCommit repository. C.Use “Detect drift” to understand the changes since the stack was created. Update the template accordingly together with the new health check timer and submit the new code to CodeCommit. Update the stack using the new template. D.Edit the template properly with the new ELB health check timer. Create a Change Set for the CloudFormation stack using the new template. If the Change Set is ok, execute the Change Set.