AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 360

A DevOps engineer updates an AWS CloudFormation stack to add a nested stack that includes several Amazon EC2 instances. When the DevOps engineer attempts to deploy the updated stack, the nested stack fails to deploy.

What should the DevOps engineer do to determine the cause of the failure?

Answer options

Correct answer: B

Explanation

To troubleshoot a nested stack failure, you can identify the nested stack by querying with the ParentId property set to the root stack's ID. Checking the StackStatusReason property of the returned nested stack will provide the specific error message explaining why the deployment failed. Other methods, such as using custom resource troubleshooting runbooks or configuring template logging to CloudWatch, are not standard or necessary procedures for resolving nested stack deployment failures.