DOP-C02 · Question #394
DOP-C02 Question #394: Real Exam Question with Answer & Explanation
The correct answer is B: Query failed stacks by specifying the root stack as the ParentId property. Examine the. Use the CloudFormation API (or CLI) to list the nested stacks under your root stack (by specifying the root stack’s ID as the ParentId filter). For each failed nested stack you’ll get a StackStatusReason field that explains exactly why that stack couldn’t create its resources - t
Question
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?
Options
- AUse the CloudFormation detect root cause capability for the failed stack to analyze the failure and
- BQuery failed stacks by specifying the root stack as the ParentId property. Examine the
- CActivate AWS Systems Manager for the AWS account where the application runs. Use the AWS
- DConfigure the CloudFormation template to publish logs to Amazon CloudWatch. View the
Explanation
Use the CloudFormation API (or CLI) to list the nested stacks under your root stack (by specifying the root stack’s ID as the ParentId filter). For each failed nested stack you’ll get a StackStatusReason field that explains exactly why that stack couldn’t create its resources - this lets you zero in on the underlying error without extra instrumentation.
Topics
Community Discussion
No community discussion yet for this question.