Courseiva
Continuous Improvement for Existing SolutionsmediumMultiple ChoiceObjective-mapped

SAP-C02 Continuous Improvement for Existing Solutions Practice Question

A company uses AWS CloudFormation to deploy infrastructure. A stack update fails with a resource update failure. The team wants to investigate the specific error without rolling back the stack. What is the BEST approach?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Rerun the stack update with the --disable-rollback flag and then describe the stack events.

Using the --disable-rollback flag when rerunning the update prevents the stack from rolling back on failure, allowing the team to describe stack events and investigate the specific error without losing the failed state. Option B is incorrect because deleting the stack would remove the failure logs and prevent investigation. Option C is incorrect because a change set is used to preview updates before execution, not to troubleshoot a failure that has already occurred. Option D is incorrect because describe-stack-resources only shows resource status (e.g., CREATE_FAILED) but does not provide the detailed error reason; you need stack events to see the specific error message.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Rerun the stack update with the --disable-rollback flag and then describe the stack events.

    Why this is correct

    Rerunning with --disable-rollback prevents rollback and allows you to describe stack events to find the specific error reason.

  • Delete the stack and review the CloudFormation logs.

    Why it's wrong here

    Deleting the stack removes all logs and resources, making investigation impossible.

  • Create a change set to preview the updates.

    Why it's wrong here

    A change set previews future updates but does not help with an existing failure.

  • Use the AWS CLI describe-stack-resources command to see the status of each resource.

    Why it's wrong here

    describe-stack-resources shows status but not the detailed error; stack events are needed for that.

About these practice questions

Courseiva writes every SAP-C02 question from scratch — 1,660 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This SAP-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SAP-C02 exam.