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

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?

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.

    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

    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.

    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?”

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

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.