SAP-C02 · Question #263
A company is using a single AWS Region (or its ecommerce website. The website includes a web application that runs on several Amazon EC2 instances behind an Application Load Balancer (ALB). The…
The correct answer is A. Create an AWS Cloud Formation template for the current infrastructure design. D. Update the Route 53 hosted zone record for the application to use latency-based routing. F. Create a new DynamoDB table. Enable DynamoDB Streams for the new table. To replicate an e-commerce application stack to a second Region for disaster recovery and improved access, use CloudFormation for infrastructure, Route 53 latency-based routing, and a new DynamoDB table with Streams enabled for Global Tables.
Question
A company is using a single AWS Region (or its ecommerce website. The website includes a web application that runs on several Amazon EC2 instances behind an Application Load Balancer (ALB). The website also includes an Amazon DynamoDB table. A custom domain name in Amazon Route 53 is linked to the ALB. The company created an SSL/TLS certificate in AWS Certificate Manager (ACM) and attached the certificate to the ALB. The company is not using a content delivery network as part of its design. The company wants to replicate its entire application stack in a second Region to provide disaster recovery, plan for future growth, and provide improved access time to users. A solutions architect needs to implement a solution that achieves these goals and minimizes administrative overhead. Which combination of steps should the solutions architect take to meet these requirements? (Choose three.)
Options
- ACreate an AWS Cloud Formation template for the current infrastructure design.
- BUse the AWS Management Console to document the existing infrastructure design in the first
- CUpdate the Route 53 hosted zone record for the application to use weighted routing.
- DUpdate the Route 53 hosted zone record for the application to use latency-based routing.
- EUpdate the configuration of the existing DynamoDB table by enabling DynamoDB Streams.
- FCreate a new DynamoDB table. Enable DynamoDB Streams for the new table.
How the community answered
(39 responses)- A59% (23)
- B23% (9)
- C8% (3)
- E10% (4)
Why each option
To replicate an e-commerce application stack to a second Region for disaster recovery and improved access, use CloudFormation for infrastructure, Route 53 latency-based routing, and a new DynamoDB table with Streams enabled for Global Tables.
Creating an AWS CloudFormation template for the current infrastructure design enables consistent, repeatable, and automated deployment of the entire application stack to the second AWS Region, minimizing administrative overhead.
Documenting infrastructure in the AWS Management Console is a manual process and does not minimize administrative overhead for replication compared to Infrastructure as Code.
Weighted routing distributes traffic based on predefined weights, which is less optimal than latency-based routing for automatically directing users to the best performing region to improve access time.
Updating the Route 53 hosted zone record to use latency-based routing ensures that users are automatically directed to the nearest healthy application instance, providing improved access times and distributing traffic across regions.
While enabling DynamoDB Streams on an existing table is a step for Global Tables, creating a *new* table might be required if the existing table's schema (e.g., specific LSI configurations) is incompatible with Global Tables, making F a more comprehensive initial step in some scenarios.
To establish multi-region replication for DynamoDB, it is necessary to create a new DynamoDB table (if the existing one is incompatible or for a fresh Global Table instance) and enable DynamoDB Streams, which is a prerequisite for configuring it as a Global Table for active-active data replication.
Concept tested: Multi-region application architecture, IaC, Route 53 routing, DynamoDB Global Tables
Source: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html
Community Discussion
No community discussion yet for this question.