Question 557 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 development team needs to deploy a web application on AWS. They want to avoid managing the underlying infrastructure, such as EC2 instances and load balancers, but still need the ability to control scaling, update the application code, and perform rollbacks. The application must scale automatically based on demand and remain highly available. Which AWS service should the team use?

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) model that abstracts the underlying EC2 instances, load balancers, and Auto Scaling groups. It allows the team to upload their application code, and Elastic Beanstalk automatically handles capacity provisioning, load balancing, scaling, and health monitoring. The team retains control over scaling configuration, application version updates, and rollbacks through the Elastic Beanstalk console or CLI, without managing the infrastructure directly.

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. AWS Elastic Beanstalk is a PaaS that abstracts the underlying infrastructure (EC2, load balancers, scaling) and automatically manages deployment, scaling, and health monitoring. Developers can upload code and configure scaling and rollback policies without managing servers.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Amazon EC2 with Auto Scaling groups and an Application Load Balancer

    Why it's wrong here

    Incorrect. While this combination provides scaling and load balancing, it requires the team to manually configure and manage EC2 instances, security groups, and the load balancer. This does not meet the requirement to avoid managing the underlying infrastructure.

    When this WOULD be correct

    If the question stated that the team needs full control over the underlying EC2 instances, operating system, and networking, or if they have specific compliance requirements that necessitate managing the infrastructure directly, then Amazon EC2 with Auto Scaling groups and an ALB would be the correct choice.

  • AWS Lambda

    Why it's wrong here

    Incorrect. AWS Lambda runs code in response to events and is designed for stateless, short-lived functions. It is not intended for hosting a complete web application with persistent connections or long-running processes, making it unsuitable for this scenario.

    When this WOULD be correct

    A team needs to run a lightweight, event-driven backend service that processes data from an S3 bucket or API Gateway, with automatic scaling and no need to manage servers. The application is composed of short-lived functions that respond to triggers, and the team wants to pay only for compute time used.

  • Amazon ECS using the EC2 launch type

    Why it's wrong here

    Incorrect. Amazon ECS with the EC2 launch type gives the team control over container placement and cluster management, but they must still manage the EC2 instances in the cluster, including patching and scaling the underlying instances. This does not eliminate infrastructure management.

    When this WOULD be correct

    A team needs to run containerized applications with full control over the underlying EC2 instances, such as for compliance or custom networking requirements, and is willing to manage the infrastructure.

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. AWS Elastic Beanstalk is a PaaS that abstracts the underlying infrastructure (EC2, load balancers, scaling) and automatically manages deployment, scaling, and health monitoring. Developers can upload code and configure scaling and rollback policies without managing servers.

Amazon EC2 with Auto Scaling groups and an Application Load BalancerWrong answer — click to see why

Why this is wrong here

The team wants to avoid managing underlying infrastructure like EC2 instances and load balancers, but option B requires them to manage and configure EC2 instances, Auto Scaling groups, and the Application Load Balancer themselves.

★ When this WOULD be the correct answer

If the question stated that the team needs full control over the underlying EC2 instances, operating system, and networking, or if they have specific compliance requirements that necessitate managing the infrastructure directly, then Amazon EC2 with Auto Scaling groups and an ALB would be the correct choice.

Why candidates choose this

Candidates may think that Auto Scaling groups and ALBs provide automatic scaling and high availability, but they overlook the fact that this option still requires manual management of EC2 instances and load balancers, which contradicts the requirement to avoid infrastructure management.

AWS LambdaWrong answer — click to see why

Why this is wrong here

AWS Lambda is a serverless compute service for running code in response to events, but it does not provide a managed environment for deploying full web applications with control over scaling, code updates, and rollbacks. Lambda functions are stateless and short-lived, making them unsuitable for long-running web applications that require traditional deployment features.

★ When this WOULD be the correct answer

A team needs to run a lightweight, event-driven backend service that processes data from an S3 bucket or API Gateway, with automatic scaling and no need to manage servers. The application is composed of short-lived functions that respond to triggers, and the team wants to pay only for compute time used.

Why candidates choose this

Candidates may associate 'avoid managing infrastructure' with serverless computing, and Lambda is a prominent serverless service. However, they overlook that Lambda is designed for event-driven, stateless functions, not for deploying and managing full web applications with rollback and update capabilities.

Amazon ECS using the EC2 launch typeWrong answer — click to see why

Why this is wrong here

Amazon ECS using the EC2 launch type requires managing EC2 instances, including patching, scaling, and load balancing, which contradicts the team's goal of avoiding infrastructure management.

★ When this WOULD be the correct answer

A team needs to run containerized applications with full control over the underlying EC2 instances, such as for compliance or custom networking requirements, and is willing to manage the infrastructure.

Why candidates choose this

Candidates may confuse ECS with a fully managed service, not realizing that the EC2 launch type still involves managing the underlying instances, unlike the Fargate launch type.

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 often confuse AWS Elastic Beanstalk with Amazon EC2 Auto Scaling, thinking that Auto Scaling alone meets the 'no infrastructure management' requirement, but Auto Scaling still requires managing the underlying EC2 instances and load balancer configuration.

Trap categories for this question

  • Scenario analysis trap

    Incorrect. AWS Lambda runs code in response to events and is designed for stateless, short-lived functions. It is not intended for hosting a complete web application with persistent connections or long-running processes, making it unsuitable for this scenario.

Detailed technical explanation

How to think about this question

Elastic Beanstalk uses a pre-configured stack (e.g., Apache/Nginx for PHP, Tomcat for Java) and automatically provisions an Auto Scaling group, an Application Load Balancer, and a CloudWatch alarm for scaling. Under the hood, it creates a CloudFormation stack to manage resources, and the team can customize the environment by providing configuration files (.ebextensions) or using the Elastic Beanstalk CLI for blue/green deployments. A real-world scenario is deploying a Node.js web app where Elastic Beanstalk handles SSL termination at the load balancer and automatically replaces unhealthy instances, while the team can roll back to a previous version via the environment's 'Application Versions' panel.

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

An e-commerce site experiences heavy traffic on Black Friday and near-zero traffic during off-peak weeks. Rather than provisioning permanent large VMs, the team uses auto-scaling groups that add capacity automatically under load and reduce it overnight. Questions like this test whether you understand elasticity, availability zones, and cloud compute scaling patterns.

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) model that abstracts the underlying EC2 instances, load balancers, and Auto Scaling groups. It allows the team to upload their application code, and Elastic Beanstalk automatically handles capacity provisioning, load balancing, scaling, and health monitoring. The team retains control over scaling configuration, application version updates, and rollbacks through the Elastic Beanstalk console or CLI, without managing the infrastructure directly.

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.