Question 766 of 988
CLF-C02 Cloud Technology and Services Practice Question
A company is developing a web application that uses Node.js, Express, and a MySQL database. The development team wants to deploy the application to AWS without manually configuring Amazon EC2 instances, load balancers, or Auto Scaling groups. They want AWS to automatically manage the underlying infrastructure, monitor application health, and allow them to deploy new versions by simply uploading a zip file. Which AWS service should the team use to meet these requirements?
⚠ Common exam trap
A common mix-up: candidates confuse AWS Elastic Beanstalk with AWS CloudFormation, thinking both are equally automated, but CloudFormation requires manual resource definition and does not handle application deployment or health monitoring out of the box.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
AWS Elastic Beanstalk
AWS Elastic Beanstalk is the correct choice because it provides a Platform-as-a-Service (PaaS) offering that automatically handles the provisioning of EC2 instances, load balancers, and Auto Scaling groups based on the application's environment configuration. The team can upload a zip file containing their Node.js/Express application code, and Elastic Beanstalk will deploy it, monitor health via integrated CloudWatch alarms, and manage the underlying infrastructure without manual intervention.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
AWS Elastic Beanstalk
Why this is correct
Correct. Elastic Beanstalk is a fully managed service that automatically provisions and manages the infrastructure for web applications, including EC2 instances, load balancers, and Auto Scaling groups. Developers simply upload their code, and Elastic Beanstalk handles the deployment, capacity provisioning, load balancing, and health monitoring.
- ✗
Amazon EC2 Auto Scaling
Why it's wrong here
Incorrect. EC2 Auto Scaling automatically adjusts the number of EC2 instances based on demand, but it does not manage the deployment of the application code, the configuration of load balancers, or the overall orchestration of the infrastructure. It is a component that Elastic Beanstalk uses internally, but by itself it does not meet the requirements of a fully automated deployment.
When this WOULD be correct
A question where the requirement is to automatically adjust the number of EC2 instances based on traffic patterns, without needing to manage application deployment or environment setup. For example: 'A company wants to ensure its web application can handle variable traffic by automatically adding or removing EC2 instances based on CPU utilization.'
- ✗
AWS CloudFormation
Why it's wrong here
Incorrect. AWS CloudFormation is an Infrastructure as Code (IaC) service that allows you to define and provision AWS resources using templates. While it can automate the creation of the entire infrastructure, it requires the team to write detailed templates and manage the deployment process themselves. It does not automatically manage application health or provide a simple zip-file deployment workflow.
When this WOULD be correct
A company needs to provision and manage a complex, multi-tier infrastructure with strict compliance and version control requirements. They want to define all AWS resources as code, automate deployments across environments, and ensure consistent configurations, but they are willing to manually handle scaling and health monitoring.
- ✗
AWS OpsWorks
Why it's wrong here
AWS OpsWorks relies on Chef or Puppet recipes to manage infrastructure as code, requiring manual definition of layers, instances, and scaling policies, which contradicts the requirement for AWS to automatically manage EC2, load balancers, and Auto Scaling groups without manual configuration. It is tempting because OpsWorks does automate deployment and monitoring for applications like Node.js, and would be correct if the team needed custom configuration management via Chef or Puppet rather than a fully managed, zip-file-based deployment.
When this WOULD be correct
A company needs to manage infrastructure using Chef or Puppet recipes, with existing automation scripts, and requires fine-grained control over application configuration and deployment across multiple environments.
Option-by-option analysis
Why each answer is right or wrong
Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The CLF-C02 exam frequently reuses these exact scenarios with slightly different constraints.
✓AWS Elastic BeanstalkCorrect answer▾
Why this is correct
Correct. Elastic Beanstalk is a fully managed service that automatically provisions and manages the infrastructure for web applications, including EC2 instances, load balancers, and Auto Scaling groups. Developers simply upload their code, and Elastic Beanstalk handles the deployment, capacity provisioning, load balancing, and health monitoring.
✗Amazon EC2 Auto ScalingWrong answer — click to see why▾
Why this is wrong here
Amazon EC2 Auto Scaling only manages the scaling of EC2 instances based on demand; it does not handle application deployment, environment provisioning, or health monitoring at the application level. The team would still need to manually configure EC2 instances, load balancers, and deployment processes.
★ When this WOULD be the correct answer
A question where the requirement is to automatically adjust the number of EC2 instances based on traffic patterns, without needing to manage application deployment or environment setup. For example: 'A company wants to ensure its web application can handle variable traffic by automatically adding or removing EC2 instances based on CPU utilization.'
Why candidates choose this
Candidates may confuse Auto Scaling with Elastic Beanstalk because both involve scaling, but Auto Scaling is a lower-level service that requires manual setup of other components, whereas Elastic Beanstalk provides a fully managed platform including scaling, deployment, and monitoring.
✗AWS CloudFormationWrong answer — click to see why▾
Why this is wrong here
AWS CloudFormation is an Infrastructure as Code service that requires manual definition and management of resources like EC2 instances and load balancers. It does not automatically monitor application health or allow deployment by simply uploading a zip file, which are key requirements in the question.
★ When this WOULD be the correct answer
A company needs to provision and manage a complex, multi-tier infrastructure with strict compliance and version control requirements. They want to define all AWS resources as code, automate deployments across environments, and ensure consistent configurations, but they are willing to manually handle scaling and health monitoring.
Why candidates choose this
Candidates may confuse CloudFormation with Elastic Beanstalk because both can automate infrastructure, but they overlook that CloudFormation requires manual resource definition and does not provide built-in application health monitoring or simple zip-based deployments.
✗AWS OpsWorksWrong answer — click to see why▾
Why this is wrong here
AWS OpsWorks uses Chef or Puppet for configuration management, requiring manual setup of stacks and layers, and does not automatically manage infrastructure or allow deployment by simply uploading a zip file.
★ When this WOULD be the correct answer
A company needs to manage infrastructure using Chef or Puppet recipes, with existing automation scripts, and requires fine-grained control over application configuration and deployment across multiple environments.
Why candidates choose this
Candidates may confuse OpsWorks with Elastic Beanstalk because both are orchestration services, but OpsWorks requires more manual configuration and is not designed for simple zip-based deployments.
Analysis generated from the official CLF-C02blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more way this is tested on CLF-C02
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A company's development team has written a Python web application using the Flask framework. The team wants to deploy the application to the AWS Cloud without managing the underlying servers, operating system, or web server software. They want AWS to automatically handle the deployment, from provisioning EC2 instances to configuring the web server and load balancer, and to scale the application based on traffic. They also want the ability to upload new code versions directly from their Git repository. Which AWS service should the team use?
medium- ✓ A.AWS Elastic Beanstalk
- B.AWS CloudFormation
- C.Amazon EC2 Auto Scaling
- D.AWS CodeDeploy
Why A: AWS Elastic Beanstalk is the correct choice because it is a Platform as a Service (PaaS) offering that automatically handles the deployment, capacity provisioning, load balancing, and auto-scaling of web applications. The team can upload code directly from a Git repository using the EB CLI or integrated CodePipeline, and Elastic Beanstalk manages the underlying EC2 instances, operating system, and web server (e.g., Apache or Nginx) without requiring manual intervention.
Last reviewed: Jun 11, 2026
This CLF-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CLF-C02 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.