DVA-C02 Deployment Practice Question
Network Topology
Refer to the exhibit. A CloudFormation stack update resulted in a rollback. What is the most likely reason for the rollback?
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
✓
A user manually cancelled the update of the Lambda function.
The event message 'Resource update cancelled by user' indicates that the Lambda function update was cancelled by a user, triggering the rollback. Options B, C, and D are incorrect because there is no indication of a timeout, insufficient permissions, or invalid code; the error explicitly states user cancellation.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
A user manually cancelled the update of the Lambda function.
Why this is correct
When the exhibit shows the resource status reason as 'Resource update cancelled by user' or 'User Initiated Cancel', CloudFormation interprets this as an explicit cancel-update-stack API call or console action during the in-progress update, which halts the change set and triggers an automatic rollback of already-modified resources to their prior state.
- ✗
The Lambda function update timed out.
Why it's wrong here
A timeout failure would surface as a distinct status reason referencing the resource exceeding its creation or update timeout period (or a stack policy timeout), which is a different failure signature entirely from a user-initiated cancellation and is not what the exhibit's event log shows.
- ✗
The Lambda function's IAM role did not have sufficient permissions.
Why it's wrong here
Insufficient IAM permissions on a Lambda execution role during an update would produce an explicit AccessDenied or 'is not authorized to perform' error message in the stack event's status reason, which is a clearly distinguishable failure mode from the 'cancelled by user' text shown in the exhibit.
- ✗
The Lambda function code was invalid.
Why it's wrong here
Invalid Lambda code, such as a syntax error or missing handler, would typically fail at the deployment package validation or first invocation stage with a message referencing the code or handler, not a generic user-cancellation reason, so this does not match the rollback cause described in the exhibit.
Quick reference
Cloud Service Model Comparison
| Model | You Manage | Provider Manages | Examples |
|---|---|---|---|
| IaaS | OS, runtime, apps, data | Hardware, hypervisor, networking | EC2, Azure VMs, GCP Compute Engine |
| PaaS | Apps and data | OS, runtime, middleware, hardware | Elastic Beanstalk, Azure App Service |
| SaaS | Data and settings only | Everything else | Microsoft 365, Salesforce, Workday |
| FaaS / Serverless | Function code only | Infra, scaling, runtime | Lambda, Azure Functions, Cloud Run |
| CaaS | Containers and apps | Kubernetes, OS, hardware | EKS, AKS, GKE |
Go deeper
Related to this question
About these practice questions
Courseiva writes every DVA-C02 question from scratch — 1,135 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 →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This DVA-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 DVA-C02 exam.