AWS Certified Solutions Architect Associate SAA-C03 Practice Question
Your client is deploying an application on AWS which includes a public-facing load balancer, compute instances for web servers residing in a private subnet, and a separate managed relational database in another private subnet. The application is expected to receive substantial traffic from various global locations. To optimize the architecture for cost while maintaining performance, what should be the Solutions Architect’s primary consideration regarding the placement of the compute instances and the database?
Position the database and compute instances in the same Availability Zone to avoid inter-AZ data transfer charges.
Configure the compute instances and the database to communicate over a public internet gateway to use internet routing.
Implement an additional load balancer specifically for traffic between the compute instances and the database to optimize the data path.
Set up a NAT Gateway for each subnet, ensuring that data paths are routed through the most cost-effective network devices.
By placing compute instances and the database within the same Availability Zone, data transfer costs between them can be eliminated since AWS does not charge for intra-AZ traffic. In contrast, inter-AZ data transfers, even within the same region, incur costs. AWS Global Accelerator is not related to cost optimization of traffic between EC2 instances and databases; it is intended to optimize global traffic and improve application performance for end-users. Configuring a NAT Gateway or using an additional load balancer between the compute instances and the database would needlessly increase complexity and costs, as neither addresses intra-region data transfer costs between compute instances and databases.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What are Availability Zones in AWS?
Open an interactive chat with Bash
What are the costs associated with inter-AZ data transfers on AWS?
Open an interactive chat with Bash
What is the role of a Load Balancer in AWS architecture?