Question 766 of 1,024
Cloud Technology and ServicesmediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is AWS Elastic Beanstalk, the correct choice because it is a Platform-as-a-Service (PaaS) offering that abstracts away the underlying infrastructure, automatically provisioning EC2 instances, load balancers, and Auto Scaling groups based on the application’s environment configuration. When the team uploads a zip file containing their Node.js/Express code, Elastic Beanstalk handles deployment, health monitoring through integrated CloudWatch alarms, and scaling without any manual intervention. On the AWS Certified Cloud Practitioner CLF-C02 exam, this scenario tests your understanding of managed services versus manual configuration—a common trap is confusing Elastic Beanstalk with EC2 or AWS OpsWorks, but remember that Beanstalk is the “upload-and-go” PaaS solution for developers who want to focus on code, not servers. For a quick memory tip, think of Elastic Beanstalk as the “beanstalk” that grows your application automatically, handling the heavy lifting of infrastructure so you can just upload your code and climb.

CLF-C02 Cloud Technology and Services Practice Question

This CLF-C02 practice question tests your understanding of cloud technology and services. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

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?

Question 1mediummultiple choice
Full question →

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.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

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.

    Related concept

    Read the scenario before looking for a memorised answer.

  • 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.

  • 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.

  • AWS OpsWorks

    Why it's wrong here

    Incorrect. AWS OpsWorks is a configuration management service that uses Chef or Puppet to manage EC2 instances. It provides more granular control over instance configuration and software deployment, but it requires more setup and expertise in configuration management tools. Elastic Beanstalk is a simpler, fully managed solution for deploying web applications without manual infrastructure management.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates may 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.

Detailed technical explanation

How to think about this question

Under the hood, Elastic Beanstalk uses a pre-configured AMI and CloudFormation stacks to orchestrate the environment, and it supports Node.js platform versions with specific Node.js and npm versions. When a zip file is uploaded, Elastic Beanstalk extracts it, runs `npm install` if a `package.json` is present, and starts the application using the command specified in the `Procfile` or the default `app.js`; it also integrates with CloudWatch for health monitoring and can automatically replace unhealthy instances.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related CLF-C02 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free CLF-C02 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this CLF-C02 question test?

Cloud Technology and Services — This question tests Cloud Technology and Services — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: 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.

What should I do if I get this CLF-C02 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

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 →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more ways 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.

Keep practising

More CLF-C02 practice questions

Last reviewed: Jun 11, 2026

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.

Loading comments…

Sign in to join the discussion.

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.