Compare / VPC Service Controls vs IAM
VPC Service Controls vs IAM
They answer different questions. IAM decides which identities may call an API. VPC Service Controls decides from where and across which boundary data may move, even for identities that have permission.
In 25 practice questions across 7 practice banks
Your company’s storage team manages all product images within a specific Google Cloud project. To maintain control, you must isolate access to Cloud Storage for this project, allowing the storage team to manage restrictions at the project level. They must be restricted to using corporate computers. What should you do?
-
IAM grants cannot express 'corporate device' context — allow policies have no posture field.
-
Firewall blocks do not evaluate user device posture — they filter packets, not identity claims.
-
The access level with a device policy applied at project level matches the requirements.
-
An org-wide perimeter with IP rules does not verify managed devices.
Pick an answer to see why each option is right or wrong.
Try 20 questions freeAt a glance
| VPC Service Controls | IAM | |
|---|---|---|
| Question answered | Which projects and services can exchange data, from which context | Who can do what |
| Scope | A perimeter around projects and services | Identities, roles and resources |
| Protects against | Data exfiltration and misuse of stolen credentials | Unauthorized access |
| Replaces the other? | No: both apply to every request | No |
| Setup | Define perimeters, access levels and ingress/egress rules | Grant roles on resources |
Choose VPC Service Controls when
- The requirement is to stop data leaving a boundary, even by an authorized user.
- You need to restrict API access by network or access level, such as to managed services like BigQuery or Cloud Storage.
Choose IAM when
- The problem is who may read, write or administer a resource.
- You are assigning roles to users, groups or service accounts.
Exam tip
When a question says permissions are correct and yet data must not leave the organization, the answer is VPC Service Controls. "Least privilege" alone is an IAM answer.
Practice banks covering this comparison
Counts match names or aliases from both sides of the comparison in question text or answer options, including incorrect options. They do not measure how often a decision appears on the official exam.
- PCSE Professional Cloud Security Engineer · 9 questions
- PAA Professional Agentic Architect · 6 questions
- PCA Professional Cloud Architect · 3 questions
- PDE Professional Data Engineer · 2 questions
- PCDOE Professional Cloud DevOps Engineer · 2 questions
- PCDE Professional Cloud Database Engineer · 2 questions
- PMLE Professional Machine Learning Engineer · 1 question
More comparisons
- BigQuery vs Bigtable
- Dataflow vs Dataproc
- Spanner vs Cloud SQL
- Cloud Run vs GKE
- Cloud Composer vs Workflows
- Firestore vs Bigtable
- Cloud SQL for PostgreSQL vs AlloyDB
- Shared VPC vs VPC Network Peering
- Cloud VPN vs Cloud Interconnect
- Cloud Storage classes: Standard, Nearline, Coldline or Archive?
- Cloud Run functions vs Cloud Run services
- Cloud Armor vs VPC firewall rules
- Memorystore vs Firestore
- Looker vs Looker Studio
- Pub/Sub vs Cloud Tasks
- App Engine vs Cloud Run
- Google-managed keys vs Customer-managed keys (CMEK)
- Identity-Aware Proxy vs VPN
- Compute Engine vs GKE
- Spanner vs Bigtable
- BigQuery vs Cloud SQL
- Firestore vs Cloud SQL
- Dataproc vs BigQuery
- GKE Autopilot vs Standard: which mode to choose?
- Vertex AI vs BigQuery ML
- Private Google Access vs Cloud NAT