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

Professional Cloud Security Engineer VPC Service Controls

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?

  1. IAM grants cannot express 'corporate device' context — allow policies have no posture field.

  2. Firewall blocks do not evaluate user device posture — they filter packets, not identity claims.

  3. The access level with a device policy applied at project level matches the requirements.

  4. 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 free

At a glance

VPC Service ControlsIAM
Question answeredWhich projects and services can exchange data, from which contextWho can do what
ScopeA perimeter around projects and servicesIdentities, roles and resources
Protects againstData exfiltration and misuse of stolen credentialsUnauthorized access
Replaces the other?No: both apply to every requestNo
SetupDefine perimeters, access levels and ingress/egress rulesGrant 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.