A customer wants to deploy a large number of 3-tier web applications on Compute Engine. How should the customer ensure authenticated network separation between the different tiers of the application?
- ARun each tier in its own Project, and segregate using Project labels.
- BRun each tier with a different Service Account (SA), and use SA-based firewall rules. (correct answer)
- CRun each tier in its own subnet, and use subnet-based firewall rules.
- DRun each tier with its own VM tags, and use tag-based firewall rules.
Reveal answer & explanationHide answer
The correct answer is B. Option B: Run each tier with a different Service Account (SA), and use SA-based firewall rules.
Explanation
A service account provides an identity for workloads to access Google Cloud APIs securely.