SAP-C02 practice question 23 of 35
A company's solutions architect is analyzing costs of a multi-application environment. The environment is deployed across multiple Availability Zones…
Full set: 689 questionsDomain Design Solutions for Organizational Complexity
The primary cause of unexpected data transfer costs in a multi-AZ AWS PrivateLink setup is inter-Availability Zone (AZ) data transfer. This occurs when a service consumer in one AZ connects to a service provider application target in a different AZ. To minimize these costs, traffic must be kept within the same AZ. This is achieved by implementing two corresponding guidelines. First, on the service provider side, disabling cross-zone load balancing on the Network Load Balancer (NLB) ensures that the NLB only routes traffic to targets within the same AZ from which the traffic originated. Second, on the service consumer side, developers must configure their applications to use the AZ-specific DNS hostname for the VPC endpoint. This ensures the connection is established with the endpoint network interface in the same AZ as the consumer application, preventing cross-AZ data flow from the start.
A. Sharing subnets with AWS RAM is a feature of VPC Sharing, a different architectural pattern from AWS PrivateLink. It does not address cost optimization for an existing PrivateLink deployment.
B. AWS Organizations is for governance and consolidated billing. Data transfer costs are based on the physical path of data between AZs, not the logical grouping of accounts in an organization.
E. AWS Savings Plans provide discounts on compute usage (EC2, Fargate, Lambda), not on data transfer charges. This option does not apply to the cost category in question.
1. AWS PrivateLink Pricing: The official pricing page states, "If your VPC endpoint and service are in different Availability Zones, standard in-region data transfer charges will apply." This confirms the source of the cost. (AWS PrivateLink Pricing, "Data Transfer" section).
2. Network Load Balancer User Guide on Cross-Zone Load Balancing: "By default, cross-zone load balancing is disabled... This preserves the client's source Availability Zone and allows the application to make decisions based on the Availability Zone. This is recommended for applications that require low latency and for reducing inter-Availability Zone data transfer costs." (AWS Documentation, Elastic Load Balancing, Network Load Balancer User Guide, "Load Balancers", "Cross-zone load balancing").
3. VPC User Guide on Interface Endpoint DNS: The documentation details the different DNS hostnames available for an interface endpoint, including the AZ-specific names. "To use zonal affinity, you must use the zonal DNS hostnames to access the endpoint." Using these names directs traffic to a specific AZ. (AWS Documentation, Amazon VPC User Guide, "VPC endpoints", "Access an AWS service using an interface VPC endpoint", "DNS hostnames").
4. AWS Savings Plans Documentation: "Savings Plans is a flexible pricing model that offers low prices on Amazon EC2, AWS Fargate, and AWS Lambda usage..." This confirms that Savings Plans do not cover data transfer costs. (AWS Documentation, Savings Plans User Guide, "What are Savings Plans?").
Keep practicing
Take the free SAP-C02 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other SAP-C02 practice questions
- Question 1A company runs an application in (he cloud that consists of a database and a website User…
- Question 2A company wants to migrate an Amazon Aurora MySQL DB cluster from an existing AWS account…
- Question 3A company is running a two-tier web-based application in an on-premises data center. The …
- Question 4A company is running a critical stateful web application on two Linux Amazon EC2 instance…
- Question 5A company plans to migrate a legacy on-premises application to AWS. The application is a …
- Question 6A company needs to migrate an on-premises SFTP site to AWS. The SFTP site currently runs …
