AWS Application Development & DevOps 3 — Questions and Answers
Question 1: Which AWS service lets you run code without provisioning or managing servers?
- AWS Lambda (Correct answer)
- Amazon EC2
- AWS Batch
- Amazon Lightsail
Correct answer: AWS Lambda
Lambda runs code in response to events without server management.
Question 2: What is the maximum execution timeout for a single AWS Lambda function invocation?
- 15 minutes (Correct answer)
- 5 minutes
- 1 hour
- 30 seconds
Correct answer: 15 minutes
Lambda functions can run for a maximum of 15 minutes per invocation.
Question 3: Which service is commonly used to create, publish, and manage REST and HTTP APIs for serverless backends?
- Amazon API Gateway (Correct answer)
- AWS Direct Connect
- Amazon Route 53
- AWS App Mesh
Correct answer: Amazon API Gateway
API Gateway acts as the front door for APIs that invoke Lambda or other backends.
Question 4: In a serverless application, which AWS service provides a NoSQL database that scales automatically with single-digit millisecond latency?
- Amazon DynamoDB (Correct answer)
- Amazon RDS
- Amazon Redshift
- Amazon Aurora
Correct answer: Amazon DynamoDB
DynamoDB is a managed NoSQL key-value and document database built for serverless scale.
Question 5: What framework, built on CloudFormation, simplifies defining serverless resources with a shorthand syntax?
- AWS SAM (Serverless Application Model) (Correct answer)
- AWS CDK Constructs only
- AWS OpsWorks
- Elastic Beanstalk
Correct answer: AWS SAM (Serverless Application Model)
SAM extends CloudFormation with simplified syntax for Lambda, APIs, and tables.
Question 6: Which event source can automatically trigger a Lambda function when an object is uploaded?
- Amazon S3 event notification (Correct answer)
- Amazon CloudFront cache
- AWS WAF rule
- Amazon Inspector finding
Correct answer: Amazon S3 event notification
S3 can emit event notifications that invoke Lambda when objects are created or deleted.
Question 7: What AWS service lets you coordinate multiple Lambda functions into visual serverless workflows with state management?
- AWS Step Functions (Correct answer)
- Amazon SQS
- Amazon SNS
- AWS AppSync
Correct answer: AWS Step Functions
Step Functions orchestrates components into state-machine-based workflows.
Which AWS service lets you run code without provisioning or managing servers?