exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

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

Exam AWS Certified Solutions Architect - Professional topic 1 question 540 discussion

A Solutions Architect must build a highly available infrastructure for a popular global video game that runs on a mobile phone platform. The application runs on
Amazon EC2 instances behind an Application Load Balancer. The instances run in an Auto Scaling group across multiple Availability Zones. The database tier is an Amazon RDS MySQL Multi-AZ instance. The entire application stack is deployed in both us-east-1 and eu-central-1. Amazon Route 53 is used to route traffic to the two installations using a latency-based routing policy. A weighted routing policy is configured in Route 53 as a fail over to another region in case the installation in a region becomes unresponsive.
During the testing of disaster recovery scenarios, after blocking access to the Amazon RDS MySQL instance in eu-central-1 from all the application instances running in that region. Route 53 does not automatically failover all traffic to us-east-1.
Based on this situation, which changes would allow the infrastructure to failover to us-east-1? (Choose two.)

  • A. Specify a weight of 100 for the record pointing to the primary Application Load Balancer in us-east-1 and a weight of 60 for the pointing to the primary Application Load Balancer in eu-central-1.
  • B. Specify a weight of 100 for the record pointing to the primary Application Load Balancer in us-east-1 and a weight of 0 for the record pointing to the primary Application Load Balancer in eu-central-1.
  • C. Set the value of Evaluate Target Health to Yes on the latency alias resources for both eu-central-1 and us-east-1.
  • D. Write a URL in the application that performs a health check on the database layer. Add it as a health check within the weighted routing policy in both regions.
  • E. Disable any existing health checks for the resources in the policies and set a weight of 0 for the records pointing to primary in both eu-central-1 and us-east-1, and set a weight of 100 for the primary Application Load Balancer only in the region that has healthy resources.
Show Suggested Answer Hide Answer
Suggested Answer: CD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
haah
Highly Voted 3 years, 9 months ago
support CD
upvoted 13 times
...
Madhu654
Highly Voted 3 years, 8 months ago
Health check page targeting a database is a bad idea. The question talks about a weighted routing policy. If all the records that have a weight greater than 0 are unhealthy, then Route 53 considers the zero-weighted records. https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/health-checks-how-route-53-chooses-records.html Answer is BC
upvoted 7 times
...
3a632a3
Most Recent 1 year, 5 months ago
Selected Answer: CD
This question is about failing over based on a backend resource such as a database. Weights won't help here. Whether you have or don't have health checks, without a health check that incorporates database connectivity, Route 53 has no way to know if it is healthy. Route 53 assumes that the resource is healthy and returns the applicable value in response to the query. Therefore, you need to write an application response page that checks for database connectivity and use that as your health check. This is in the application and not directly against the database.
upvoted 1 times
...
SkyZeroZx
2 years ago
Selected Answer: CD
C. Set the value of Evaluate Target Health to Yes on the latency alias resources for both eu-central-1 and us-east-1. By enabling health checks and setting Evaluate Target Health to Yes for both regions, Route 53 will actively monitor the health of the Application Load Balancer endpoints in both us-east-1 and eu-central-1. If the primary Application Load Balancer in eu-central-1 becomes unresponsive due to the blocked access to the RDS MySQL instance, the health check will detect this and automatically route traffic to the healthy endpoint in us-east-1. D. Write a URL in the application that performs a health check on the database layer. Add it as a health check within the weighted routing policy in both regions.
upvoted 1 times
SkyZeroZx
2 years ago
By adding a health check within the weighted routing policy for both regions, you can perform a custom health check on the database layer. If the health check fails in eu-central-1 due to the blocked access to the RDS MySQL instance, the weight associated with that region will be reduced, and Route 53 will direct traffic to the region with a higher weight, which in this case would be us-east-1.
upvoted 1 times
...
...
SkyZeroZx
2 years ago
Selected Answer: BC
The correct answers are B and C. B will cause all traffic to be routed to the primary Application Load Balancer in us-east-1. C will cause Route 53 to check the health of the resources in both regions before routing traffic. If the resources in eu-central-1 are unhealthy, Route 53 will route all traffic to the resources in us-east-1.
upvoted 1 times
SkyZeroZx
2 years ago
The other options are incorrect. A will not cause all traffic to be routed to the primary Application Load Balancer in us-east-1. The weight of 60 for the record pointing to the primary Application Load Balancer in eu-central-1 will still cause some traffic to be routed to that region. D is not necessary, as Route 53 already checks the health of the resources in the latency-based routing policy. E will disable health checks for all resources in the policies, which could lead to traffic being routed to unhealthy resources. Therefore, the only two changes that will allow the infrastructure to failover to us-east-1 are to specify a weight of 100 for the record pointing to the primary Application Load Balancer in us-east-1 and to set the value of Evaluate Target Health to Yes on the latency alias resources for both eu-central-1 and us-east-1.
upvoted 1 times
...
...
maxh8086
2 years, 6 months ago
https://www.wellarchitectedlabs.com/reliability/300_labs/300_health_checks_and_dependencies/3_deep_healthcheck/
upvoted 1 times
...
evargasbrz
2 years, 6 months ago
Selected Answer: BC
B and C
upvoted 1 times
evargasbrz
2 years, 6 months ago
B-> If all the records that have a weight greater than 0 are unhealthy, then Route 53 considers the zero-weighted records. https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/health-checks-how-route-53-chooses-records.html
upvoted 1 times
...
...
ArreRaja
3 years, 1 month ago
BC https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-complex-configs.html
upvoted 3 times
...
bobsmith2000
3 years, 1 month ago
Selected Answer: CD
No-brainer
upvoted 1 times
...
Ronon
3 years, 7 months ago
RDS won't use ALB, so A & B are incorrect, but we need to failover traffic to us-east-1. only B & C work.
upvoted 2 times
...
AzureDP900
3 years, 7 months ago
I will go with CD
upvoted 1 times
...
acloudguru
3 years, 7 months ago
Question number is 357. D. Write a URL in the application that performs a health check on the database layer. Add it as a health check within the weighted routing policy in both regions. Did we see the same question?
upvoted 1 times
...
moon2351
3 years, 8 months ago
I'll go with C&D
upvoted 2 times
...
tgv
3 years, 8 months ago
CCC DDD ---
upvoted 1 times
...
WhyIronMan
3 years, 8 months ago
I'll go with C,D
upvoted 1 times
...
Waiweng
3 years, 8 months ago
it's C and D
upvoted 2 times
...
blackgamer
3 years, 8 months ago
C and D is correct answer.
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 ...