A self-managed distributed database needs 18 EC2 instances in one Availability Zone, with three replicas of each shard on separate racks. The database can use EC2 placement topology when assigning replicas; which design meets these requirements?
Show the answer
Correct answerD. Use one partition placement group with three partitions and place replicas across partitions
AWhy not this: Separate spread placement groups do not guarantee hardware isolation between the groups.
BWhy not this: A spread placement group cannot accommodate 18 running instances in one Availability Zone.
CWhy not this: Separate cluster placement groups do not guarantee that their instances occupy different racks.
DWhy this is right: Distinct partitions occupy separate racks, allowing topology-aware replica placement across rack failure domains.
Partitions in a partition placement group do not share racks, and applications can use partition information to distribute replicas. A spread placement group supports only seven running instances per Availability Zone; separate placement groups do not guarantee rack isolation from each other.