A small team wants to deploy a Node.js web app to AWS without managing infrastructure — upload code, get load balancing, auto scaling, and health monitoring handled automatically. Which service fits?
A.AWS CloudFormation
CloudFormation defines infra as code — you still operate everything.
B.AWS Elastic Beanstalk
Correct. Beanstalk abstracts infra while keeping full access underneath.
C.Amazon EC2 with a custom AMI
Hand-managing EC2 defeats the 'don't manage infrastructure' requirement.
D.AWS CodeBuild
CodeBuild is a build/test service, not an application host.
Why this answer
Elastic Beanstalk is the PaaS-style service: provide code and it provisions/manages the ALB, auto scaling groups, and health monitoring. CloudFormation is IaC — more control, more work.
Correct answer: B · Last reviewed 2026-10-26
Official AWS references
Practice this interactively
Answer without seeing the solution first in the CI/CD & Observability practice session.
Practice CI/CD & Observability