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
Which AWS Lambda feature allows you to run a function for up to 15 minutes without a cold start penalty on subsequent invocations?
Answer: Provisioned Concurrency
Provisioned Concurrency keeps Lambda execution environments initialized and ready, eliminating cold starts for latency-sensitive applications.
An AWS Lambda function needs to access a secret stored in AWS Secrets Manager without hardcoding credentials. What is the recommended approach?
Answer: Attach an IAM role with GetSecretValue permission to the Lambda function
Attaching an IAM execution role with Secrets Manager permissions is the secure, recommended way to grant Lambda access to secrets.
What happens to an AWS Lambda function's environment variables when you publish a new version?
Answer: Environment variables are snapshot into the published version and cannot be changed
When you publish a Lambda version, the configuration including environment variables is frozen and immutable for that version.
Which EventBridge (CloudWatch Events) feature enables you to send events from an AWS Lambda function to multiple downstream targets simultaneously?
Answer: Event buses with multiple rules
EventBridge rules on an event bus can match a single event and route it to multiple targets concurrently, enabling fan-out patterns.
A Step Functions state machine needs to wait for a human approval before proceeding. Which integration pattern should be used?
Answer: Wait for Task Token (.waitForTaskToken)
The waitForTaskToken pattern pauses execution until an external process calls SendTaskSuccess or SendTaskFailure with the provided token.
What is the maximum size of a Lambda deployment package (unzipped) when deploying directly without a container image?
Answer: 250 MB
Lambda supports unzipped deployment packages up to 250 MB; the zipped package uploaded directly is limited to 50 MB.
Which AWS service provides a fully managed GraphQL API layer that integrates natively with Lambda, DynamoDB, and other AWS data sources?
Answer: AWS AppSync
AWS AppSync is the managed GraphQL service that connects to Lambda resolvers, DynamoDB, RDS, and HTTP endpoints out of the box.