AWS Certified SysOps Administrator – AssociateDeployment, Provisioning, and AutomationEasy

A company is deploying a new microservices application using AWS Lambda functions. They need to manage and deploy these serverless applications efficiently, ensuring that all components (Lambda functions, API Gateway, DynamoDB tables, etc.) are provisioned and updated as a single unit. Which AWS service provides a framework for defining, deploying, and managing serverless applications?

  1. AAWS CloudFormation
  2. BAWS Elastic Container Service (ECS)
  3. CAWS Serverless Application Model (SAM)
  4. DAWS AppSync
Show answer & explanation

Correct answer: C. AWS Serverless Application Model (SAM)

AWS Serverless Application Model (SAM) is an open-source framework for building serverless applications. It provides a simplified way to define the resources needed for your serverless application as a single deployable unit and extends CloudFormation with serverless-specific syntax.

Why the other options are wrong

  • A. While CloudFormation can provision serverless resources, SAM provides a simplified and opinionated syntax specifically for serverless applications, making it more efficient for this use case.
  • B. AWS ECS is for running containerized applications, not serverless functions.
  • D. AWS AppSync is a managed GraphQL service, not a framework for deploying general serverless applications.

AWS Serverless Application Model (SAM)

AWS SAM is a framework that extends AWS CloudFormation to provide a simplified way of defining serverless applications, bundling multiple components (Lambda, API Gateway, DynamoDB, etc.) into a single deployable unit.

  • Uses a simplified YAML/JSON template syntax.
  • Builds upon CloudFormation, transpiles to CloudFormation.
  • Includes SAM CLI for local development and testing.

Memory trick: SAM makes Serverless Apps a Simple, single unit.

More Deployment, Provisioning, and Automation questions