AWS Lambda Quiz for Cloud Certification Prep.

AWS Lambda Quiz for Cloud Certification Prep.

Beginner Level (1–15)

1. What is AWS Lambda?
A. A virtual server
B. A container service
C. A serverless compute service
D. A database service
✅ Answer: C

2. Which AWS service is commonly used to invoke Lambda via HTTP?
A. S3
B. API Gateway
C. CloudFront
D. IAM
✅ Answer: B

3. What does “serverless” mean in AWS Lambda?
A. No servers exist
B. Servers are managed by AWS
C. No operating system
D. No cost
✅ Answer: B

4. What is the maximum execution time for a Lambda function?
A. 5 minutes
B. 10 minutes
C. 15 minutes
D. Unlimited
✅ Answer: C

5. How is AWS Lambda priced?
A. Hourly
B. Per server
C. Requests and execution duration
D. Fixed monthly cost
✅ Answer: C

6. Which runtime is supported by AWS Lambda?
A. Java
B. COBOL
C. Assembly
D. Fortran
✅ Answer: A

7. Which service stores Lambda logs by default?
A. S3
B. CloudTrail
C. CloudWatch Logs
D. X-Ray
✅ Answer: C

8. What is the default memory allocation for Lambda?
A. 64 MB
B. 128 MB
C. 512 MB
D. 1024 MB
✅ Answer: B

9. Which AWS service can trigger Lambda when an object is uploaded?
A. DynamoDB
B. SQS
C. S3
D. EC2
✅ Answer: C

10. Is AWS Lambda stateless by default?
A. Yes
B. No
C. Only with VPC
D. Only with S3
✅ Answer: A

11. What file defines the Lambda entry point?
A. main()
B. Handler
C. Runtime
D. Config
✅ Answer: B

12. Can Lambda functions run inside a VPC?
A. No
B. Yes
C. Only EC2-based Lambda
D. Only with NAT
✅ Answer: B

13. Which service manages permissions for Lambda?
A. CloudWatch
B. IAM
C. S3
D. SNS
✅ Answer: B

14. Which invocation type waits for a response?
A. Asynchronous
B. Event-based
C. Synchronous
D. Scheduled
✅ Answer: C

15. Which service is used to schedule Lambda executions?
A. SQS
B. EventBridge
C. SNS
D. Step Functions
✅ Answer: B

Intermediate Level (16–35)

16. What is a Lambda cold start?
A. Function failure
B. Initial startup latency
C. Scaling down
D. Memory overflow
✅ Answer: B

17. What happens if Lambda exceeds concurrency limits?
A. Execution slows
B. Function stops
C. Requests are throttled
D. Function retries forever
✅ Answer: C

18. What increases when you increase Lambda memory?
A. Cost only
B. Storage
C. CPU and network
D. Timeout
✅ Answer: C

19. What is Lambda concurrency?
A. Execution speed
B. Parallel executions
C. Memory size
D. Timeout limit
✅ Answer: B

20. What is the maximum memory for a Lambda function?
A. 3 GB
B. 5 GB
C. 8 GB
D. 10 GB
✅ Answer: D

21. What are Lambda Layers used for?
A. Networking
B. Sharing dependencies
C. Logging
D. Monitoring
✅ Answer: B

22. What service traces Lambda requests end-to-end?
A. CloudWatch
B. CloudTrail
C. X-Ray
D. Inspector
✅ Answer: C

23. What is the default retry count for async invocations?
A. 1
B. 2
C. 3
D. Unlimited
✅ Answer: B

24. Which service buffers events before invoking Lambda?
A. SNS
B. SQS
C. API Gateway
D. CloudFront
✅ Answer: B

25. What happens if Lambda fails when triggered by SQS?
A. Message is deleted
B. Message retries
C. Queue stops
D. Function is disabled
✅ Answer: B

26. What is provisioned concurrency?
A. Auto-scaling
B. Pre-warmed environments
C. Reserved instances
D. Memory tuning
✅ Answer: B

27. What is the /tmp directory used for?
A. Logs
B. Code storage
C. Temporary storage
D. Config files
✅ Answer: C

28. What is the max deployment package size (zip upload)?
A. 10 MB
B. 25 MB
C. 50 MB
D. 100 MB
✅ Answer: C

29. What feature allows traffic shifting between Lambda versions?
A. Layers
B. Aliases
C. Tags
D. Roles
✅ Answer: B

30. Which service secures secrets for Lambda?
A. Parameter Store
B. Secrets Manager
C. KMS
D. IAM
✅ Answer: B

31. What service supports fan-out patterns with Lambda?
A. SQS
B. SNS
C. DynamoDB
D. EC2
✅ Answer: B

32. What happens when a Lambda function times out?
A. Retries immediately
B. Execution stops
C. Memory resets
D. Logs deleted
✅ Answer: B

33. Which service enables Infrastructure as Code for Lambda?
A. CloudFormation
B. Inspector
C. Trusted Advisor
D. OpsWorks
✅ Answer: A

34. What is the environment variable size limit?
A. 1 KB
B. 2 KB
C. 4 KB
D. 10 KB
✅ Answer: C

35. Which invocation type does S3 use?
A. Synchronous
B. Asynchronous
C. Polling
D. Streaming
✅ Answer: B

Advanced / Exam Level (36–50)

36. What is Lambda@Edge used for?
A. Database access
B. Edge computing with CloudFront
C. Container execution
D. Load balancing
✅ Answer: B

37. Which service supports event-driven architectures?
A. EC2
B. EventBridge
C. EBS
D. VPC
✅ Answer: B

38. What increases cold start latency?
A. Smaller package
B. Provisioned concurrency
C. VPC configuration
D. Frequent invocations
✅ Answer: C

39. What captures failed async events?
A. CloudWatch
B. DLQ
C. X-Ray
D. IAM
✅ Answer: B

40. What service supports container images for Lambda?
A. ECS
B. ECR
C. EKS
D. Fargate
✅ Answer: B

41. Max Lambda container image size?
A. 1 GB
B. 5 GB
C. 10 GB
D. 15 GB
✅ Answer: C

42. Which principle should Lambda IAM roles follow?
A. Admin access
B. Least privilege
C. Full access
D. Read-only
✅ Answer: B

43. Best way to reduce Lambda cost?
A. Increase memory
B. Reduce timeout
C. Set concurrency limits
D. Use EC2
✅ Answer: C

44. Which service enables orchestration of Lambda workflows?
A. SNS
B. Step Functions
C. SQS
D. Batch
✅ Answer: B

45. Which certification focuses most on Lambda?
A. Cloud Practitioner
B. SysOps Admin
C. Developer Associate
D. Security Specialty
✅ Answer: C

46. Lambda is best suited for which architecture?
A. Monolithic
B. Event-driven
C. Legacy
D. Stateful
✅ Answer: B

47. What happens if reserved concurrency is set to zero?
A. Function scales infinitely
B. Function is throttled
C. Function is disabled
D. Function retries
✅ Answer: C

48. Which service tracks API calls to Lambda?
A. CloudWatch
B. CloudTrail
C. X-Ray
D. Inspector
✅ Answer: B

49. Which AWS service allows blue/green deployments for Lambda?
A. CodeDeploy
B. CodeBuild
C. CodeCommit
D. CodePipeline
✅ Answer: A

50. Which AWS service is NOT a Lambda trigger?
A. S3
B. DynamoDB
C. SNS
D. EBS
✅ Answer: D

Final Tip.

In exam questions, AWS almost always prefers:

Managed + Serverless + Event-Driven

Lambda is often the best answer when those words appear.

This tutorial is just the beginning learn AWS hands-on in our complete course. Upgrade your skills with AWS.

shamitha
shamitha
Leave Comment
Share This Blog
Recent Posts
Get The Latest Updates

Subscribe To Our Newsletter

No spam, notifications only about our New Course updates.

Enroll Now
Enroll Now
Enquire Now