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
A Lambda function processing SQS messages fails on one record in a batch. By default, what happens to the entire batch?
Answer: The entire batch is returned to the queue and retried
By default, if a Lambda function throws an error, the entire batch is considered failed and all messages return to the queue for retry.
Which AWS Lambda scaling behavior is controlled by Reserved Concurrency?
Answer: It sets a hard maximum on the number of concurrent executions for that function
Reserved Concurrency caps the maximum concurrent executions for a specific function, preventing it from consuming the account-wide limit.
An API Gateway HTTP API needs to authenticate users via JWT tokens issued by Amazon Cognito. What feature should be configured?
Answer: JWT Authorizer
HTTP APIs support JWT Authorizers that validate tokens directly from any OIDC-compliant issuer including Cognito without a Lambda function.
What is the purpose of AWS Lambda Power Tuning tool?
Answer: Finds the optimal memory/CPU configuration balancing cost and performance
Lambda Power Tuning runs your function at multiple memory settings and visualizes the cost-performance tradeoff to find the optimal configuration.
Which Step Functions workflow type supports high-volume event processing at a lower cost but does NOT support activities or some advanced features?
Answer: Express Workflows
Express Workflows are optimized for high-volume, short-duration workloads and are priced per execution duration rather than per state transition.
A serverless application uses DynamoDB Streams to trigger Lambda. The stream has 4 shards. What is the maximum number of concurrent Lambda invocations processing the stream simultaneously?
Answer: 4
Lambda invokes one concurrent execution per shard, so a 4-shard DynamoDB Stream can have at most 4 concurrent Lambda invocations by default.
Which feature of Amazon EventBridge allows you to replay archived events through an event bus to re-process them with updated Lambda consumers?
Answer: Event Replay
EventBridge Event Replay lets you replay archived events from a specific time window through a bus, enabling re-processing without republishing.