Which AWS Service Runs Application Code Without Managing Servers?
Short answer
B AWS Lambda runs application code serverlessly, automatically managing compute resources so the company does not provision or manage servers.
Question
Key Takeaways
The exam tests recognition of serverless compute, and the trap is confusing Lambda with services that deploy code or run specialized ETL or ML workloads.
This CLF-C02 question tests serverless compute and asks which AWS service runs application code without provisioning or managing servers. The page confirms AWS Lambda is the correct answer, distinguishing it from Glue, CodeDeploy, and CodeGuru.
Common mistake: A common mistake is choosing AWS CodeDeploy because it sounds like it runs application code, but CodeDeploy only automates deployments and still relies on compute targets to execute the application.
Expert Analysis
Why the Answer Is Correct
AWS Lambda is the only option that provides serverless compute where the company uploads application code and AWS handles provisioning, scaling, and server management. The requirement says the company wants to run its application's code without provisioning or managing servers, which is Lambda's core execution model. As d00b229 noted, Lambda "automatically handles the compute resources" needed to execute uploaded code, scaling as required. ShaiTay's concise "serverless" label captures the same exam trigger. Therefore B meets the stated requirement directly.
Why the Other Options Are Wrong
AWS Glue is a serverless data integration and ETL service, not a general application code execution platform. AWS CodeDeploy automates application deployments to targets such as EC2, Lambda, or on-premises servers; it does not itself run the application's code without servers. Amazon CodeGuru is a developer tool for code review and application performance profiling, not a compute runtime. None of A, C, or D satisfies the "run code without provisioning and managing servers" requirement as directly as Lambda.
Community Comment Notes
Nikmah's comment lists Lambda traits such as "Limited runtimes" and "Serverless," which are useful reminders that serverless does not mean unlimited. d00b229 explains that uploaded code is executed while Lambda manages underlying infrastructure, matching the exam wording. ShaiTay simply labels the answer "serverless"; all visible comments align with B. No community disagreement appears, but the decision still rests on Lambda's compute model rather than vote count.
Official Reference
These links open the official vendor documentation in a new tab.
Exam Strategy
When a question says "without provisioning and managing servers," first look for a serverless compute service such as AWS Lambda. Eliminate tools whose names suggest code or deployment, like CodeDeploy and CodeGuru, unless the requirement is specifically CI/CD or code analysis.
Frequently Asked Questions
Why is AWS CodeDeploy not the answer for running application code?
Does AWS Glue satisfy the requirement to run application code without servers?
Community Votes
100% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 3 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 3
-
d00b229 👍 1B. AWS Lambda AWS Lambda allows you to run your code without provisioning or managing servers. You can upload your code to Lambda, and it automatically handles the compute resources needed to execute your code, scaling as required and managing the underlying infrastructure.
-
Nikmah 👍 1 Answered BLambda: • Time limit • Limited runtimes • Limited temporary disk space • Serverless
-
ShaiTay 👍 2 Answered BB. AWS Lambda - serverless
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All CLF-C02 Questions
Access 120 questions with complete answers and detailed explanations.
View Full CLF-C02 Practice Test →