AWS Certified Cloud Practitioner / Question #1085 of 719

Question #1085

Which AWS service automates the deployment and scaling of applications by managing the underlying infrastructure?

A

AWS CloudFormation

B

AWS CodeBuild

C

AWS CodePipeline

D

AWS Elastic Beanstalk

Explanation

AWS Elastic Beanstalk (D) is the correct answer because it is a fully managed service that automates application deployment, scaling, and infrastructure management. Developers only need to upload their code, and Elastic Beanstalk handles provisioning AWS resources (e.g., EC2, RDS, load balancers), capacity provisioning, auto-scaling, and health monitoring.

Why other options are incorrect:
- A. AWS CloudFormation: Manages infrastructure as code via templates but does not automate application deployment or scaling.
- B. AWS CodeBuild: A build service for compiling code and running tests but does not manage infrastructure or deployments.
- C. AWS CodePipeline: A CI/CD pipeline orchestrator that automates stages (build, test, deploy) but does not manage infrastructure or scaling.

Key Point: Elastic Beanstalk abstracts infrastructure management, making it ideal for developers who want simplicity and automation without managing servers.

Answer

The correct answer is: D