D2: Secure Tags & Service Accounts in Firewall Rules
Google Cloud Associate Cloud Engineer exam practice questions · 10 flashcards
Question
What are secure Tags?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Secure Tags & Service Accounts in Firewall Rules practice questions and answers
- What are secure Tags?IAM-governed Resource Manager tags (purpose GCE_FIREWALL) used in network firewall policies.
- Network tags vs secure Tags?Network tags can be changed by anyone who edits the VM; secure Tags require IAM permission to bind.
- Where can secure Tags be used?In global and regional network firewall policies (not legacy VPC rules).
- Why use service accounts as firewall targets?Tied to identity and IAM-controlled, more secure than network tags.
- Can a firewall rule mix service accounts and network tags as targets?No; use one type per rule.
- How are secure Tags created?Create a tag key with firewall purpose for the network, then tag values, then bind to VMs.
- Which role binds tags to VMs?Tag User (roles/resourcemanager.tagUser) on the tag value plus permissions on the VM.
- Can secure Tags be used as sources?Yes, in ingress rules as source tags.
- Example: allow web tier to talk to DB tier?Ingress rule on DB targets (tag/SA) allowing source web-tier tag/SA on the DB port.
- Changing a VM's service account requires?Stopping the VM.