AWS Certified Advanced Networking – Specialty (ANS-C01)Network ImplementationHard

A company operates a web application that relies on a backend database in a private subnet. The application experiences intermittent performance issues, and network monitoring reveals high latency and occasional packet loss when the application instances communicate with the database. The application instances and the database are in the same Availability Zone. Which action would be MOST effective in reducing latency and improving network performance for this communication?

  1. AIncrease the Elastic Network Interface (ENI) bandwidth for both application and database instances.
  2. BMigrate the database to a public subnet to reduce routing hops.
  3. CEnable Placement Groups for the application and database instances.
  4. DDeploy an Application Load Balancer (ALB) between the application and database instances.
Show answer & explanation

Correct answer: C. Enable Placement Groups for the application and database instances.

Placement Groups, specifically Cluster Placement Groups, are designed to pack instances closely together within an Availability Zone on the same underlying hardware. This significantly reduces network latency and improves network throughput between instances, which is ideal for tightly coupled applications like an application server and its database that are experiencing performance issues related to inter-instance communication.

Why the other options are wrong

  • A. Increasing ENI bandwidth might help if the instances are hitting bandwidth limits, but it doesn't address latency caused by physical network distance or underlying hardware separation within the AZ. Placement Groups directly optimize for proximity and low latency.
  • B. Migrating a database to a public subnet is a severe security risk and would not necessarily reduce latency, as traffic still traverses the VPC network. It's generally a bad practice.
  • D. An ALB is for distributing incoming traffic to multiple targets and adds latency; it wouldn't reduce latency between internal application and database communication.

Cluster Placement Group

A Cluster Placement Group is a logical grouping of instances within a single Availability Zone that are placed on the same underlying hardware to provide low-latency network performance.

  • All instances are on the same rack or cluster within an AZ.
  • Offers high network throughput and ultra-low latency.
  • Suitable for tightly coupled applications (e.g., HPC, databases).

Memory trick: Placement Groups: Keeping your instances close, like best friends on the same playground.

More Network Implementation questions