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 8 discussion

A company has a multi-tier web application that runs on a fleet of Amazon EC2 instances behind an Application Load Balancer (ALB). The instances are in an Auto Scaling group. The ALB and the Auto Scaling group are replicated in a backup AWS Region. The minimum value and the maximum value for the Auto Scaling group are set to zero. An Amazon RDS Multi-AZ DB instance stores the application’s data. The DB instance has a read replica in the backup Region. The application presents an endpoint to end users by using an Amazon Route 53 record.
The company needs to reduce its RTO to less than 15 minutes by giving the application the ability to automatically fail over to the backup Region. The company does not have a large enough budget for an active-active strategy.
What should a solutions architect recommend to meet these requirements?

  • A. Reconfigure the application’s Route 53 record with a latency-based routing policy that load balances traffic between the two ALBs. Create an AWS Lambda function in the backup Region to promote the read replica and modify the Auto Scaling group values. Create an Amazon CloudWatch alarm that is based on the HTTPCode_Target_5XX_Count metric for the ALB in the primary Region. Configure the CloudWatch alarm to invoke the Lambda function.
  • B. Create an AWS Lambda function in the backup Region to promote the read replica and modify the Auto Scaling group values. Configure Route 53 with a health check that monitors the web application and sends an Amazon Simple Notification Service (Amazon SNS) notification to the Lambda function when the health check status is unhealthy. Update the application’s Route 53 record with a failover policy that routes traffic to the ALB in the backup Region when a health check failure occurs.
  • C. Configure the Auto Scaling group in the backup Region to have the same values as the Auto Scaling group in the primary Region. Reconfigure the application’s Route 53 record with a latency-based routing policy that load balances traffic between the two ALBs. Remove the read replica. Replace the read replica with a standalone RDS DB instance. Configure Cross-Region Replication between the RDS DB instances by using snapshots and Amazon S3.
  • D. Configure an endpoint in AWS Global Accelerator with the two ALBs as equal weighted targets. Create an AWS Lambda function in the backup Region to promote the read replica and modify the Auto Scaling group values. Create an Amazon CloudWatch alarm that is based on the HTTPCode_Target_5XX_Count metric for the ALB in the primary Region. Configure the CloudWatch alarm to invoke the Lambda function.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
masetromain
Highly Voted 1 year, 11 months ago
Selected Answer: B
I go with B https://docs.amazonaws.cn/en_us/Route53/latest/DeveloperGuide/welcome-health-checks.html
upvoted 18 times
masetromain
1 year, 9 months ago
B is correct, because it meets the company's requirements for reducing RTO to less than 15 minutes and not having a large budget for an active-active strategy. In this solution, the company creates an AWS Lambda function in the backup region which promotes the read replica and modifies the Auto Scaling group values. Route 53 is configured with a health check that monitors the web application and sends an Amazon SNS notification to the Lambda function when the health check status is unhealthy. The Route 53 record is also updated with a failover policy that routes traffic to the ALB in the backup region when a health check failure occurs. This way, when the primary region goes down, the failover policy triggers and traffic is directed to the backup region, ensuring a quick recovery time.
upvoted 16 times
...
...
TariqKipkemei
Most Recent 1 week ago
Selected Answer: B
Option B is the least costly active-passive strategy
upvoted 1 times
...
Untamables
1 month, 2 weeks ago
Selected Answer: B
I Vote B. https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-types.html Option A, C and D are wrong. The latency-based routing and endopoint weights should be used for active/active strategy. https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-policy-latency.html https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoints-endpoint-weights.html
upvoted 4 times
...
higashikumi
1 month, 2 weeks ago
The best option to meet the requirements and reduce RTO to less than 15 minutes is to choose option B. Option B involves creating an AWS Lambda function in the backup region to promote the read replica and modify the Auto Scaling group values. Additionally, Route 53 can be configured with a health check that monitors the web application and sends an Amazon SNS notification to the Lambda function when the health check status is unhealthy. The application's Route 53 record can be updated with a failover policy that routes traffic to the ALB in the backup Region when a health check failure occurs. This option is cost-effective as it does not require an active-active strategy, and it uses AWS services to minimize the RTO. The Lambda function can be invoked to promote the read replica in the backup region, and the Auto Scaling group values can be updated to launch EC2 instances in the backup region. Furthermore, the Route 53 health check feature can be used to monitor the web application and initiate the failover process.
upvoted 1 times
...
atirado
1 month, 2 weeks ago
Selected Answer: B
Option A - This option will not work as needed: The client will get errors when the closest region is the application's backup region Option B - This option implements an active-passive strategy as needed: When the health check fails, Route 53 will resolve to the backup region and the Lambda function will ensure the backup region has resources to function Option C - This option implements an active-active strategy Option D - This option will not work as needed: The client will get errors 50% of the time
upvoted 2 times
...
GreyBox1
1 month, 3 weeks ago
Selected Answer: B
B is right.
upvoted 1 times
...
amministrazione
2 months, 1 week ago
B. Create an AWS Lambda function in the backup Region to promote the read replica and modify the Auto Scaling group values. Configure Route 53 with a health check that monitors the web application and sends an Amazon Simple Notification Service (Amazon SNS) notification to the Lambda function when the health check status is unhealthy. Update the application’s Route 53 record with a failover policy that routes traffic to the ALB in the backup Region when a health check failure occurs.
upvoted 1 times
...
Bereket
4 months, 3 weeks ago
Selected Answer: B
Correct answer B
upvoted 1 times
...
gofavad926
7 months, 3 weeks ago
Selected Answer: B
B for sure
upvoted 1 times
...
Vaibs099
9 months, 2 weeks ago
This explains Lambda promoting backup read replica in other region - https://medium.com/ankercloud-engineering/aws-lambda-promoting-rds-read-replica-on-cross-region-using-aws-lambda-113db758869
upvoted 1 times
...
ftaws
9 months, 4 weeks ago
why we need Lambda Function ? Is it enough a Route 53 failover policy ?
upvoted 1 times
rhinozD
8 months, 3 weeks ago
What about RDS failover? You need lambda to promote read replica.
upvoted 1 times
...
...
ninomfr64
11 months ago
Selected Answer: B
The problem is not detecting the right answer, but reading quickly enough trough all the words in the question!
upvoted 1 times
...
jainparag1
11 months, 2 weeks ago
Selected Answer: B
B satisfies all the requirements.
upvoted 1 times
...
severlight
12 months ago
Selected Answer: B
Health check is a metric, hence alarms can be executed, and alarms are integrated with SNS, SNS integrated with lambda. This sounds weird, but it will work.
upvoted 1 times
...
ansgohar
1 year, 1 month ago
Selected Answer: B
B. Create an AWS Lambda function in the backup Region to promote the read replica and modify the Auto Scaling group values. Configure Route 53 with a health check that monitors the web application and sends an Amazon Simple Notification Service (Amazon SNS) notification to the Lambda function when the health check status is unhealthy. Update the application’s Route 53 record with a failover policy that routes traffic to the ALB in the backup Region when a health check failure occurs.
upvoted 2 times
...
dimitry_khan_arc
1 year, 2 months ago
Selected Answer: B
Health check+SNS. This does not need to have active-active which satisfy the rquirement.
upvoted 1 times
...
NikkyDicky
1 year, 4 months ago
it's a B again
upvoted 1 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 ...