Which AWS service is used to run code without provisioning or managing servers and charges only for the compute time consumed?
Answer
AWS Lambda
Explanation
AWS Lambda is a serverless compute service that runs code in response to events and automatically manages the underlying resources. EC2 requires you to manage servers, and ECS is for containers.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
Which AWS service is a managed relational database that is compatible with MySQL and PostgreSQL?
View question →
Which AWS service provides resizable compute capacity in the cloud, allowing you to launch virtual servers?
View question →
Which AWS service is a fully managed NoSQL key-value and document database?
View question →
Which AWS service is a managed message queue that decouples application components?
View question →
Which AWS service is a content delivery network (CDN) that securely delivers data and applications globally with low latency?
View question →
Which AWS service is a serverless compute engine for containers that runs containers without managing servers?
View question →