A game studio's build jobs and the live game service leave the cluster through one NAT address. Only the live service may open the player database. Which segmentation enforces that?
Select an answer to reveal the explanation.
Short Explanation
Two trucks leaving one gate look the same to the highway. You give the database a rule that admits only the live service identity and refuses the build jobs. A shared NAT allow, a node security group, or a password baked into both images cannot tell the trucks apart.
Full Explanation
From outside the cluster the build jobs and the live service look alike, because they share a NAT address. The database can still tell them apart if it grants access only to the live service identity and denies the build identity. A firewall rule or a node security group that trusts the shared address cannot make that distinction. A password compiled into both images makes the build job identical to the live service. Database access granted only to the live service identity, with build jobs denied that role is the design that meets this requirement. A firewall allow for the shared NAT address used by both the build jobs and the live service is the wrong fit because the shared NAT address is one source for both callers, so a firewall allow on it opens the database to the build jobs too. A worker-node security group that cannot name the live service apart from a build job is the wrong fit because a security group on the worker node sees the node, not which workload identity is opening the player database. A database password compiled into the build image and into the live service image is the wrong fit because a password baked into both images lets any build job present the same secret the database trusts for the live service. Exam caveat: Identity on the database has to be the workload identity the live service actually presents, not a group that the build pipeline is also a member of. Operational check: From a lab build job, attempt the player database and confirm the identity is denied, then confirm the live service identity still connects.