DVA-C02 Deployment Practice Question
A developer needs to package and deploy a serverless application with Lambda functions, API Gateway, and DynamoDB using concise syntax. Which framework is AWS-native for this purpose?
⚠ Common exam trap
Candidates often confuse AWS SAM with general-purpose infrastructure-as-code tools like Terraform or AWS CloudFormation, but the question specifically asks for a framework with concise, AWS-native syntax for serverless applications, which SAM uniquely provides.
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
✓
AWS Serverless Application Model
The AWS Serverless Application Model (SAM) is an AWS-native framework that uses a simplified YAML or JSON syntax to define and deploy serverless resources such as Lambda functions, API Gateway, and DynamoDB. It extends AWS CloudFormation, allowing developers to package and deploy with concise syntax using the `sam build` and `sam deploy` commands, making it the correct choice for this purpose.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
AWS Serverless Application Model
Why this is correct
AWS Serverless Application Model (SAM) is an open-source framework specifically designed to build, package, and deploy serverless applications on AWS. It extends AWS CloudFormation by providing a simplified syntax for defining serverless resources like Lambda functions, APIs, and databases. Using the SAM CLI, developers can easily test applications locally, package their code and dependencies, and deploy them to the AWS cloud as CloudFormation stacks, streamlining the entire serverless development lifecycle.
- ✗
AWS Control Tower
Why it's wrong here
AWS Control Tower is a service that provides an easy way to set up and govern a secure, multi-account AWS environment, often referred to as a landing zone. Its primary function is to establish best practices for security, compliance, and operational governance across an organization's AWS accounts. Control Tower is not involved in the packaging or deployment of individual application code, such as Lambda functions, but rather focuses on the foundational structure and guardrails for the entire AWS environment.
- ✗
Amazon Macie
Why it's wrong here
Amazon Macie is a data security and data privacy service that uses machine learning and pattern matching to discover, classify, and protect sensitive data in AWS, primarily within Amazon S3 buckets. It helps identify personally identifiable information (PII) and other critical data, providing visibility into data access and potential risks. Macie's purpose is data protection and security analytics, making it entirely unrelated to the process of packaging or deploying serverless application code.
- ✗
AWS Backup
Why it's wrong here
AWS Backup is a fully managed, centralized backup service that allows customers to configure backup policies and consolidate backup activity across various AWS services. It supports resources like Amazon EBS volumes, Amazon RDS databases, Amazon DynamoDB tables, Amazon EC2 instances, and Amazon S3. Its core function is data protection and disaster recovery planning, not the initial deployment or continuous integration/continuous delivery (CI/CD) of application code for serverless functions.
Visual reference
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
This DVA-C02 question is part of Courseiva's 724-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.