SAP-C02 exam dumps

SAP-C02 practice question 352 of 678

AWS Certified Solutions Architect - Professional. Professional level, Amazon Web Services. Free question with the correct answer and a full explanation.

SAP-C02 Question 352

Single answer

An e-commerce company wants to build a highly available and scalable environment for its web application without managing the underlying infrastructure. The application requires support for HTTP and WebSocket protocols, automatic scaling, and integration with a CI/CD pipeline. Which AWS managed service is the most appropriate choice for hosting this application?

  1. A

    Amazon EC2 with Auto Scaling and Application Load Balancer

  2. B

    AWS Elastic Beanstalk

  3. C

    Amazon Lightsail

  4. D

    AWS Fargate with Amazon ECS

Show answer and explanation

Correct answer: B

Explanation

AWS Elastic Beanstalk is the best choice for this use case since it is a fully managed service that supports the required features, such as HTTP and WebSocket protocols, automatic scaling, and CI/CD integration. It abstracts away the complexity of managing infrastructure, aligning perfectly with the company’s requirements to avoid infrastructure management.

  • A. Incorrect.

    Amazon EC2 with Auto Scaling and Application Load Balancer provides control over the infrastructure, but the company would still need to manage servers, scaling policies, and the operating system. This contradicts the requirement to avoid managing the underlying infrastructure.

  • B. Correct.

    AWS Elastic Beanstalk is a fully managed service that abstracts the underlying infrastructure, supports HTTP and WebSocket protocols, and provides automatic scaling. It integrates easily with CI/CD pipelines, making it an ideal choice for this scenario.

  • C. Incorrect.

    Amazon Lightsail is a simplified service for small projects and does not provide the scalability or flexibility required for this scenario. It’s not suitable for enterprise-level applications.

  • D. Incorrect.

    AWS Fargate with Amazon ECS is a serverless container service, but it requires the application to be containerized. There’s no mention of the application being containerized in the scenario, making this choice less appropriate.

Timed practice exam

Take a SAP-C02 practice test under exam conditions

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

Start timed exam