Question 1,437 of 1,746
Continuous Improvement for Existing SolutionseasyMultiple ChoiceObjective-mapped

Quick Answer

The correct choice is to enable rollback on failure in the CloudFormation stack and configure an SNS notification topic. This works because CloudFormation’s native rollback on failure setting automatically reverts a failed stack update to the last known stable state, while an SNS topic attached to the stack sends alerts for any stack events, including rollback initiation. On the AWS Certified Solutions Architect Professional SAP-C02 exam, this scenario tests your understanding of CloudFormation’s built-in lifecycle management versus custom solutions like Lambda or Step Functions—a common trap is overcomplicating the answer with unnecessary automation when native settings suffice. Remember that rollback on failure is a stack-level property, not a change set property, and SNS notifications are configured directly on the stack’s notification options. A useful memory tip: “Rollback and notify—no custom code required.”

SAP-C02 Continuous Improvement for Existing Solutions Practice Question

This SAP-C02 practice question tests your understanding of continuous improvement for existing solutions. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A company uses AWS CloudFormation to deploy infrastructure. The operations team wants to automatically roll back a stack update if it fails, and receive a notification. What should be configured to meet these requirements?

Question 1easymultiple choice
Full question →

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

Enable rollback on failure in the CloudFormation stack and configure an SNS notification topic.

Option C is correct because CloudFormation natively supports automatic rollback on stack update failure via the 'Rollback on failure' setting. By configuring an SNS notification topic on the stack, the operations team receives alerts when a rollback occurs, meeting both requirements without additional custom logic.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • Use AWS CloudTrail to monitor the UpdateStack API call and trigger a rollback via a Lambda function.

    Why it's wrong here

    CloudTrail is for auditing, not automatic rollback.

  • Use AWS Config rules to detect stack failure and revert changes.

    Why it's wrong here

    AWS Config does not perform rollbacks.

  • Enable rollback on failure in the CloudFormation stack and configure an SNS notification topic.

    Why this is correct

    CloudFormation can automatically roll back on failure and send SNS notifications.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Create a custom resource in the CloudFormation template that performs rollback.

    Why it's wrong here

    Custom resources add unnecessary complexity.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates may overcomplicate the solution by adding unnecessary services like Lambda or Config, overlooking CloudFormation's native rollback and notification capabilities that directly satisfy the requirements.

Detailed technical explanation

How to think about this question

CloudFormation's rollback on failure works by monitoring the stack creation or update status; if any resource fails to create or update, CloudFormation automatically triggers a rollback that reverts all successfully created or updated resources to their previous state. The SNS topic can be configured at the stack level to publish notifications on stack events, including rollback initiation and completion, enabling automated alerting without polling. In real-world scenarios, this is critical for production deployments where manual intervention would cause unacceptable downtime.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related SAP-C02 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free SAP-C02 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this SAP-C02 question test?

Continuous Improvement for Existing Solutions — This question tests Continuous Improvement for Existing Solutions — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Enable rollback on failure in the CloudFormation stack and configure an SNS notification topic. — Option C is correct because CloudFormation natively supports automatic rollback on stack update failure via the 'Rollback on failure' setting. By configuring an SNS notification topic on the stack, the operations team receives alerts when a rollback occurs, meeting both requirements without additional custom logic.

What should I do if I get this SAP-C02 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

2 more ways this is tested on SAP-C02

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. A company uses AWS CloudFormation to manage its infrastructure. The operations team reports that stack updates often fail because of resource conflicts. The team wants to improve the reliability of updates without manual intervention. Which solution provides the MOST automated recovery from update failures?

easy
  • A.Use CloudFormation change sets to review and approve all changes before update.
  • B.Write a custom AWS Lambda function that reverts changes when a stack update fails.
  • C.Apply a stack policy to prevent updates to critical resources.
  • D.Use the default CloudFormation rollback behavior that automatically reverts changes on failure.

Why D: Option D is correct because CloudFormation's built-in rollback behavior automatically reverts all changes made during a failed stack update, restoring the stack to its last known stable state without requiring any custom code or manual intervention. This provides the most automated recovery mechanism as it is natively integrated into the CloudFormation service and requires no additional infrastructure or scripting.

Variation 2. A company is using AWS CloudFormation to manage infrastructure. The operations team wants to be notified when a stack operation fails. Which approach is the MOST efficient?

easy
  • A.Create a scheduled CloudWatch Events rule that calls the DescribeStacks API and sends an alert if status is FAILED
  • B.Configure an SNS topic as a notification option in the CloudFormation stack
  • C.Use a Lambda function that is invoked by CloudFormation via custom resource
  • D.Use Amazon EventBridge to monitor CloudFormation API calls and trigger a Lambda function

Why B: Option B is correct because CloudFormation can directly publish to SNS topics on stack events, including failures. Option A is inefficient because it requires polling. Option C is not native. Option D is expensive and complex.

Keep practising

More SAP-C02 practice questions

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.