SAP-C02 Practice Question: Accelerate Workload Migration and Modernization
Network Topology
Refer to the exhibit. A company is using AWS CloudFormation to migrate a serverless application. The stack creation failed. Based on the stack events, what is the root cause of the failure?
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
✓
The AWS Lambda runtime specified in the template is not supported in the us-east-1 region.
The stack event error message indicates that the Lambda runtime 'nodejs18.x' is not supported in the us-east-1 region. This is a specific runtime issue, not a syntax error (A), permission issue (C), or code size limit (D).
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The CloudFormation template has a syntax error.
Why it's wrong here
The error is from Lambda creation, not template parsing.
- ✓
The AWS Lambda runtime specified in the template is not supported in the us-east-1 region.
Why this is correct
The runtime is not supported.
- ✗
The IAM role for the Lambda function does not have sufficient permissions.
Why it's wrong here
Error message indicates runtime issue.
- ✗
The Lambda function code exceeds the maximum size limit.
Why it's wrong here
Error says runtime not supported.
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 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 →
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.