SAP-C02 exam dumps

SAP-C02 practice question 617 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 617

Single answer

A company currently hosts its monolithic application on a fleet of Amazon EC2 instances behind an Application Load Balancer (ALB). The application experiences frequent downtime during traffic spikes due to limited scalability and tightly coupled components. The company plans to re-architect the application to improve scalability, availability, and fault tolerance. Which architecture should you recommend?

  1. A

    Containerize the application and deploy it on Amazon ECS using the Fargate launch type, with each service decoupled into separate tasks.

  2. B

    Migrate the application to a single Amazon RDS instance with a read replica to handle additional traffic.

  3. C

    Redesign the application as a serverless architecture using AWS Lambda and Amazon API Gateway for the frontend, and Amazon DynamoDB for the backend.

  4. D

    Deploy the monolithic application on a larger EC2 instance with Auto Scaling enabled to handle traffic spikes.

Show answer and explanation

Correct answer: C

Explanation

The best solution is to redesign the application as a serverless architecture using AWS Lambda, Amazon API Gateway, and Amazon DynamoDB. This approach addresses the application's scalability and availability issues while reducing operational complexity. While containerization or scaling EC2 instances are valid approaches, they do not provide the same level of scalability, cost-efficiency, and fault tolerance as serverless architectures.

  • A. Incorrect.

    This option is a valid approach to modernizing the architecture by decoupling services, but it doesn't address the potential benefits of adopting a serverless approach for improved scalability, availability, and reduced operational overhead.

  • B. Incorrect.

    This option focuses on database scalability, but it doesn't address the application's monolithic architecture or its challenges with traffic spikes and tightly coupled components.

  • C. Correct.

    This is the correct answer because re-architecting as a serverless application allows for improved scalability, availability, and fault tolerance. AWS Lambda scales automatically with traffic, and Amazon DynamoDB provides a highly available, serverless backend.

  • D. Incorrect.

    This option only scales vertically by using larger EC2 instances or horizontally with Auto Scaling, but it doesn't address the fundamental issues with the monolithic architecture or tightly coupled components.

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