CLF-C02 exam dumps

CLF-C02 practice question 167 of 342

AWS Certified Cloud Practitioner. Free level, Amazon Web Services. Free question with the correct answer and a full explanation.

CLF-C02 Question 167

Single answer

Your company is building a new web application and needs a compute service that can automatically scale the number of instances based on demand. Which AWS compute service is best suited for this requirement?

  1. A

    Amazon EC2 Auto Scaling

  2. B

    AWS Lambda

  3. C

    Amazon Elastic Kubernetes Service (EKS)

  4. D

    AWS Fargate

Show answer and explanation

Correct answer: A

Explanation

Amazon EC2 Auto Scaling is the best choice for scenarios where you need to automatically scale the number of EC2 instances based on demand. It ensures high availability and cost-efficiency by dynamically adjusting the resources to match the workload. While other options like AWS Lambda, EKS, or Fargate are compute-related services, they are not specifically tailored to this requirement.

  • A. Correct.

    Amazon EC2 Auto Scaling is designed to automatically add or remove EC2 instances based on demand, making it ideal for applications that require dynamic scaling.

  • B. Incorrect.

    AWS Lambda is a serverless compute service that automatically scales based on the number of requests, but it is event-driven and may not be suitable for traditional web application hosting.

  • C. Incorrect.

    Amazon Elastic Kubernetes Service (EKS) is a managed Kubernetes service for orchestrating containers, but it requires additional setup and is not specifically designed for automatic instance scaling.

  • D. Incorrect.

    AWS Fargate is a serverless compute engine for containers, but it does not manage scaling of EC2 instances directly.

Timed practice exam

Take a CLF-C02 practice test under exam conditions

65 questions in 90 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam