HomeInterview QuestionsLambda, Aws

Explain exactly what AWS Lambda is, and for a specific use case, what did the Lambda function do?

🟢 Easy Conceptual Fresher level
1 Times asked
Jul 2026 Last seen
Jul 2026 First seen

💡 Model Answer

AWS Lambda is a serverless compute service that lets you run code without provisioning or managing servers. You upload your code, and Lambda automatically scales it in response to incoming traffic. A common use case is image processing: when a user uploads an image to an S3 bucket, an S3 event triggers a Lambda function that resizes the image, stores the thumbnail back in S3, and updates a database record. The function runs for a short time, uses the event payload to determine the image key, performs the resize using a library like Pillow, and writes the result. This eliminates the need for a dedicated EC2 instance, reduces costs, and scales automatically.

Sign in to unlock the rest of this answer

This answer was generated by AI for study purposes. Use it as a starting point — personalize it with your own experience.

🎤 Get questions like this answered in real-time

Assisting AI listens to your interview, captures questions live, and gives you instant AI-powered answers on a discreet on-screen overlay.

Get Assisting AI — Starts at ₹500