Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional SAP-C02 exam

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 4 discussion

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.
  • D. Enable Aurora Scaling for Aurora writers. Use a Network Load Balancer with the least outstanding requests routing algorithm and sticky sessions enabled.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
robertohyena
Highly Voted 1 year, 11 months ago
C. - Aurora writers is a distractor. - Single master mode only has read replica - with Aurora replicas. - Multi master mode, not in the options - NLB does not support round robin and least outstanding algorithm https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Integrating.AutoScaling.html
upvoted 26 times
...
c73bf38
Highly Voted 1 month, 3 weeks ago
Selected Answer: C
The best solution to provide a consistent user experience that will allow the application and database tiers to scale would be option C: C. Enable Aurora Auto Scaling for Aurora Replicas. Use an Application Load Balancer with the round robin routing and sticky sessions enabled. This solution involves enabling Aurora Auto Scaling for Aurora Replicas to automatically add and remove read replicas to match the application's workload. The solution also uses an Application Load Balancer to distribute traffic to the application layer, with the round robin routing algorithm to balance the traffic evenly across multiple instances. Sticky sessions should be enabled to maintain session affinity for each user, allowing for a consistent user experience.
upvoted 17 times
...
TariqKipkemei
Most Recent 2 weeks, 3 days ago
Selected Answer: C
Enable Aurora Auto Scaling for Aurora Replicas. Use an Application Load Balancer with the round robin routing and sticky sessions enabled
upvoted 1 times
...
masetromain
1 month, 3 weeks ago
Selected Answer: C
C is correct. This solution will provide a consistent user experience by using an Application Load Balancer with the round robin routing algorithm and sticky sessions enabled. This allows the application and database tiers to scale by using Aurora Auto Scaling for Aurora Replicas. This will ensure that the application is able to handle the increased user base while maintaining a consistent user experience. The use of an Application Load Balancer also allows for better routing of traffic to the available Aurora Replicas.
upvoted 2 times
...
ninomfr64
1 month, 3 weeks ago
Selected Answer: C
- Auto Scaling for Aurora writers does not exists (distractor) - NLB does not support least outstanding requests routing algorithm (it only supports Flow Hash) - NLB does not allow to enable Sticky Sessions, this is always enabled with Flow Hash where each TCP/UDP connection is routed to a single target for the life of the connection Thus C is correct
upvoted 2 times
...
atirado
1 month, 3 weeks ago
Selected Answer: C
Option A - Allows the tiers to grow but NLB does not make load balancing decisions that way Option B - No such thing as Aurora Autoscaling for Aurora Writers Option C - Allows the tiers to grow and ALB using sticky sessions provides consistent user experience Option D - No such thing as Aurora Autoscaling for Aurora Writers Note: The application is web-based so choosing ALB shouldn't be an issue.
upvoted 3 times
...
amministrazione
2 months, 2 weeks ago
D. Enable Aurora Scaling for Aurora writers. Use a Network Load Balancer with the least outstanding requests routing algorithm and sticky sessions enabled.
upvoted 1 times
...
Bereket
5 months ago
Selected Answer: C
C, Enable Aurora Auto Scaling for Aurora Replicas
upvoted 1 times
...
gofavad926
8 months ago
Selected Answer: C
C, Enable Aurora Auto Scaling for Aurora Replicas
upvoted 1 times
...
MoT0ne
8 months, 1 week ago
Selected Answer: C
Single writer: In an Aurora PostgreSQL DB cluster, there is only one writer instance at a time. All write operations, such as INSERT, UPDATE, and DELETE statements, are directed to the writer instance.
upvoted 4 times
...
GNB2024
9 months ago
Selected Answer: C
It's C
upvoted 1 times
...
liux99
10 months, 3 weeks ago
B, D are distractor, as there is no writer replica in aurora autoscale. NLB does not support sticky session so A is out. The anwser is C.
upvoted 2 times
rhinozD
9 months ago
NLB Sticky Session: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#sticky-sessions
upvoted 2 times
...
...
abeb
11 months, 3 weeks ago
C Auto Scaling for Aurora Replicas. Use an Application Load Balancer with the round robin routing and sticky session
upvoted 1 times
...
severlight
1 year ago
Selected Answer: C
Aurora - AS only for read replicas. NLB doesn't support the least outstanding requests or round-robin algorithms, only flow hash is supported.
upvoted 1 times
...
ansgohar
1 year, 1 month ago
Selected Answer: C
C. Enable Aurora Auto Scaling for Aurora Replicas. Use an Application Load Balancer with the round robin routing and sticky sessions enabled.
upvoted 1 times
...
rsn
1 year, 2 months ago
Selected Answer: A
NLB scales better than ALB. Also least outstandind requests algorithm works better than round robin algorith. Any thougts?
upvoted 2 times
Ganshank
1 year, 2 months ago
The correct answer is whatever the examiner says it is. Depending on how you look at it either A or C can be the correct answer. NLB scales better and supports LOR algorithm which are both factors in its favor, however stickiness is not supported for TLS connections in NLBs. While this has not been called out explicitly, I doubt anyone in today's world would support non-TLS connections to their applications. If that turns out to be a dealbreaker, then the only option is C, to use ALB, however round-robin doesn't guarantee the best performance especially where stickiness is concerned. Your call.
upvoted 3 times
...
...
dimitry_khan_arc
1 year, 2 months ago
Selected Answer: C
write replica is distractor. NLB does not support round robin
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...