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

A company has a website that serves many visitors. The company deploys a backend service for the website in a primary AWS Region and a disaster recovery (DR) Region.

A single Amazon CloudFront distribution is deployed for the website. The company creates an Amazon Route 53 record set with health checks and a failover routing policy for the primary Region’s backend service. The company configures the Route 53 record set as an origin for the CloudFront distribution. The company configures another record set that points to the backend service's endpoint in the DR Region as a secondary failover record type. The TTL for both record sets is 60 seconds.

Currently, failover takes more than 1 minute. A solutions architect must design a solution that will provide the fastest failover time.

Which solution will achieve this goal?

  • A. Deploy an additional CloudFront distribution. Create a new Route 53 failover record set with health checks for both CloudFront distributions.
  • B. Set the TTL to 4 second for the existing Route 53 record sets that are used for the backend service in each Region.
  • C. Create new record sets for the backend services by using a latency routing policy. Use the record sets as an origin in the CloudFront distribution.
  • D. Create a CloudFront origin group that includes two origins, one for each backend service Region. Configure origin failover as a cache behavior for the CloudFront distribution.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
ayadmawla
Highly Voted 11 months, 3 weeks ago
Selected Answer: D
In summary, CloudFront Origin Failover fails over immediately when it detects a failure from the origin. However, it may also introduce latency as it tries to forward every request to the primary origin first. Route53 DNS Failover offers more stability, but it requires more time to detect failure from the origin. However, you can combine both solutions to increase availability without affecting performance. See: https://aws.amazon.com/blogs/networking-and-content-delivery/improve-web-application-availability-with-cloudfront-and-route53-hybrid-origin-failover/#:~:text=In%20summary%2C%20CloudFront%20Origin%20Failover,detect%20failure%20from%20the%20origin.
upvoted 10 times
...
shaaam80
Highly Voted 12 months ago
Selected Answer: D
Answer - D. Create a Cloud origin group with both Primary and DR origin and configure Origin failover in the Cache behavior. Reducing TTL might impact performance as all or most of the requests will be authoritative and place heavy load on DNS.
upvoted 5 times
...
AzureDP900
Most Recent 1 week, 2 days ago
D is right The current solution uses health checks and failover routing policy, which can take more than 1 minute to fail over. By creating an origin group with two origins (one for each backend service region), you can ensure that the CloudFront distribution will automatically switch to the other origin when the primary origin becomes unavailable. Setting the TTL to 4 seconds for the existing record sets (option B) would not significantly improve failover time, as it's still a health check-based approach. Deploying an additional CloudFront distribution and creating new Route 53 record sets with health checks (option A) is unnecessary and would add complexity. Creating new record sets using latency routing policy (option C) might help distribute traffic between the two origins, but it wouldn't improve failover time.
upvoted 1 times
...
career360guru
10 months, 2 weeks ago
Selected Answer: D
Option D
upvoted 1 times
...
yuliaqwerty
11 months, 1 week ago
D see:https://aws.amazon.com/blogs/networking-and-content-delivery/improve-web-application-availability-with-cloudfront-and-route53-hybrid-origin-failover/
upvoted 1 times
...
devalenzuela86
1 year ago
Selected Answer: D
D for sure
upvoted 4 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 ...