AWS Developer - Basics Quiz
← Back to Quiz Home
This quiz covers core AWS development services including Lambda, API Gateway, DynamoDB, and SDK basics.
What is a "Cold Start" in AWS Lambda?
Cold starts happen when no idle containers are available. The runtime must boot up, download code, and start the handler.
Which service would you use to decouple a producer (like an order service) from a consumer (like a shipping service)?
SQS allows components to communicate asynchronously by sending messages to a queue.
What is the primary difference between SQS and SNS?
Use SNS when you need to notify multiple subscribers (email, Lambda, SQS) simultaneously.
How can you give an EC2 instance permissions to access an S3 bucket securely without embedding access keys in the code?
IAM Roles provide temporary credentials that are automatically rotated and secure.
Which AWS SDK for Python allows you to interact with services like S3 and DynamoDB?
Boto3 is the standard library for Python developers on AWS.
What allows a frontend application to upload a file directly to a private S3 bucket without routing it through your backend server?
The backend generates a secure, temporary URL that grants specific permission (PUT) to the client for a limited time.
In DynamoDB, which operation reads the entire table and consumes high Read Capacity Units?
Scans are expensive and slow as they read every item in the table. Use Query (with a partition key) whenever possible.
What is "Provisioned Concurrency" in Lambda used for?
It ensures that functions respond with double-digit millisecond latency even during sudden bursts of traffic.
How do you store temporary files (up to 10GB) within a Lambda execution environment?
The /tmp directory is ephemeral local storage available to your code during execution.
Which service is used to create, publish, maintain, monitor, and secure REST, HTTP, and WebSocket APIs?
API Gateway acts as the "front door" for applications to access data/logic from backend services.
What typically happens when a Lambda function throws an unhandled error during synchronous invocation (e.g., from API Gateway)?
Synchronous invocations expect an immediate response. Retries are generally client-side responsibilities here.
What is the "Visibility Timeout" in SQS?
This prevents other workers from processing the same message while the first worker is still working on it.
What is the default timeout for a Lambda function?
While the maximum is 15 minutes, the default is set low (3s) to prevent runaway costs from stuck functions.
Which DynamoDB feature allows you to automatically delete items after a specific timestamp?
TTL is free and useful for removing expired sessions or old logs without consuming write capacity.
How can you trace a request from API Gateway through Lambda to DynamoDB to identify performance bottlenecks?
X-Ray provides a service map and timeline view of the request journey.
What happens to variables defined outside the Lambda handler function?
Global scope variable reuse is a key optimization technique in Lambda.
Which API Gateway type is best suited for real-time two-way communication (chat apps)?
WebSocket APIs maintain a persistent connection between the client and the backend.
What is the maximum item size in a DynamoDB table?
If you need to store larger data (like images), store them in S3 and save the S3 reference URL in DynamoDB.
Which service supports "Fan-out" architecture?
You publish once to an SNS topic, and it pushes copies to multiple SQS queues, Lambdas, or HTTP endpoints.
What is the AWS Serverless Application Model (SAM)?
SAM simplifies defining serverless resources like Functions and APIs using shorthand syntax.
Quiz Progress
0 / 0 questions answered
(0%)
0 correct
Quiz Complete!
0%
📚 Study Guides
📬 Weekly DevOps, Cloud & Gen AI quizzes & guides