Amazon

SAP-C02 practice question 4

AWS Certified Solutions Architect - Professional (SAP-C02) · free question 4 of 20

Question

A company is running a two-tier web-based application in an on-premises data center. The application layer consists of a single server running a stateful application. The application connects to a PostgreSQL database running on a separate server. The application’s user base is expected to grow significantly, so the company is migrating the application and database to AWS. The solution will use Amazon Aurora PostgreSQL, Amazon EC2 Auto Scaling, and Elastic Load Balancing. Which solution will provide a consistent user experience that will allow the application and database tiers to scale?
  • A. Enable Aurora Auto Scaling for Aurora Replicas. Use a Network Load Balancer with the least outstanding requests routing algorithm and sticky sessions enabled.
  • B. Enable Aurora Auto Scaling for Aurora writers. Use an Application Load Balancer with the round robin routing algorithm and sticky sessions enabled.
  • C. Enable Aurora Auto Scaling for Aurora Replicas. Use an Application Load Balancer with the round robin routing and sticky sessions enabled. Correct
  • D. Enable Aurora Scaling for Aurora writers. Use a Network Load Balancer with the least outstanding requests routing algorithm and sticky sessions enabled.

Explanation

The correct answer is C because enabling Aurora Auto Scaling for Aurora Replicas allows for read scalability, which can handle an increased number of read requests as user base grows. Using an Application Load Balancer with round robin routing and sticky sessions ensures that client requests are consistently routed to the same application instance, providing a consistent user experience while allowing both tiers to scale effectively.

Need the theory? Learn it free in the SAP-C02 course on Godlike Academy

Practice the whole free set

Answer all 20 free SAP-C02 questions with instant feedback, or unlock all 526 questions with Learn and Exam modes.