โ† All AWS Flashcard Decks

Serverless Deployment Flashcards

7 cards from real AWS practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 7 Serverless Deployment flashcards as text
  1. Which AWS service allows you to define serverless workflows that orchestrate multiple Lambda functions with built-in error handling and retries?

    Answer: AWS Step Functions

    AWS Step Functions lets you coordinate Lambda functions and other services using state machines with configurable retry, catch, and parallel execution.

  2. What is the maximum deployment package size (unzipped) for a Lambda function deployed via the console or CLI?

    Answer: 250 MB

    The maximum unzipped deployment package size for Lambda is 250 MB; the zipped package limit is 50 MB when uploading directly.

  3. A team wants to share common libraries across multiple Lambda functions without duplicating code in each package. What is the recommended approach?

    Answer: Lambda layers

    Lambda layers allow you to package shared libraries or runtimes and attach them to multiple functions, reducing deployment package size and duplication.

  4. In AWS CDK, which construct level is best suited for deploying a pre-built Lambda function with sensible defaults for a DevOps pipeline?

    Answer: L2 (Function)

    L2 constructs like aws_lambda.Function provide high-level abstractions with secure defaults, making them ideal for standard Lambda deployments in a pipeline.

  5. A Lambda function behind an API Gateway endpoint is experiencing throttling. Which metric in CloudWatch indicates requests are being rejected due to concurrency limits?

    Answer: Throttles

    The Throttles metric counts the number of invocation requests that Lambda rejected because the function reached its concurrency limit.

  6. When using AWS SAM with the --capabilities CAPABILITY_IAM flag during deployment, what does this flag authorize?

    Answer: Creation of IAM roles and policies by CloudFormation

    CAPABILITY_IAM explicitly acknowledges that CloudFormation may create or modify IAM resources as part of the stack deployment.

  7. Which Lambda invocation model should a DevOps engineer use to ensure a message is processed exactly once even if Lambda is retried?

    Answer: Event source mapping from SQS FIFO queue with message deduplication ID

    SQS FIFO queues with message deduplication IDs combined with Lambda's event source mapping provide exactly-once processing guarantees.