← All AWS Flashcard Decks

Serverless Computing 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 Computing flashcards as text
  1. Which Amazon API Gateway endpoint type routes requests through CloudFront edge locations to minimize latency for global clients?

    Answer: Edge-optimized endpoint

    Edge-optimized API Gateway endpoints route requests through the nearest CloudFront point of presence, reducing latency for geographically distributed clients.

  2. What language does AWS Step Functions use to define state machines and workflow logic?

    Answer: Amazon States Language (ASL)

    AWS Step Functions uses Amazon States Language (ASL), a JSON-based language, to define states, transitions, and the overall workflow logic.

  3. Which AWS Step Functions workflow type supports durations up to one year and is designed for long-running workflows that wait for human approvals?

    Answer: Standard Workflows

    Standard Workflows support durations up to one year and can pause via task tokens to wait for human approval or external callbacks; Express Workflows max out at 5 minutes.

  4. When configuring an SQS event source mapping for Lambda, which parameter determines how many messages are delivered to a single function invocation?

    Answer: BatchSize

    BatchSize controls how many SQS messages are retrieved and included in a single Lambda event, up to 10,000 for standard queues.

  5. What is the purpose of an API Gateway usage plan?

    Answer: To throttle requests and enforce quotas per API key

    Usage plans define per-API-key throttling limits (requests per second) and quotas (requests per day/week/month), enabling fine-grained access control for API consumers.

  6. Which AWS service enables a fan-out pattern where a single event simultaneously triggers multiple subscribed Lambda functions?

    Answer: Amazon SNS

    Amazon SNS supports fan-out by delivering one published message to all subscribed endpoints, including multiple Lambda functions, simultaneously.

  7. In API Gateway, what integration type passes the raw request directly to a Lambda function without any transformation by the service?

    Answer: AWS_PROXY (Lambda Proxy) integration

    The AWS_PROXY (Lambda Proxy) integration passes the entire HTTP request—headers, path, query params, and body—directly to Lambda as a structured event without API Gateway transformation.