About this exam
A professional-level Google Cloud certification that validates the ability to design and implement secure workloads and infrastructure on Google Cloud. It covers access management with Cloud Identity and IAM, organization policies, perimeter protection such as VPC Service Controls, data protection with Cloud KMS and Sensitive Data Protection, logging and monitoring, and compliance.
Try a sample question
This is an original sample question written by itmoshi based on the exam objectives.
Project analytics-prod holds confidential data in BigQuery and Cloud Storage. The requirements are: (1) even with a legitimate user's stolen credentials, external clients cannot access the data through these APIs unless they come from the corporate network's public egress range (203.0.113.0/24); (2) service-side copies of tables and objects into unapproved projects, such as an attacker's project, must be blocked; (3) IAM roles already granted to legitimate users must not change. What should you do?
- AEnable domain restricted sharing in an organization policy so IAM roles can be granted only to users in the company domain
- BPut analytics-prod in a VPC Service Controls perimeter restricting BigQuery and Cloud Storage, with an access level for the corporate IP range
- CUse a Cloud Armor security policy to deny requests from outside the corporate IP range
- DCreate an egress firewall rule in prod-vpc that denies traffic to anything outside the corporate IP range
Show answer and explanation
Answer:B Blocking cross-perimeter API access and copies even with valid credentials is the job of VPC Service Controls.
Why it is correct
A VPC Service Controls perimeter restricts access to Google Cloud APIs based on whether the request is inside the perimeter, independently of IAM. With the corporate network's public egress range as the access level and the only permitted way in from outside, API calls from external clients anywhere else are denied even when IAM allows them (requirement 1). As long as no egress exception is granted to unapproved projects, copies of tables and objects out of the perimeter are blocked (requirement 2). IAM roles are left untouched, so requirement 3 is met. It cannot, however, stop an authorized client from carrying off data it has already downloaded.
The other options
- ✗ A Domain restricted sharing limits who can be granted IAM roles, for example to your own domain. The stolen credentials belong to a company user, so they still work from anywhere (requirement 1 fails). Use it to prevent granting access to outside accounts by mistake.
- ✗ C Cloud Armor protects traffic to applications behind a load balancer; it does not apply to BigQuery or Cloud Storage API calls. Use it against web application attacks and DDoS.
- ✗ D VPC firewall rules govern traffic of VMs inside the VPC, while an attacker calling the APIs from their own machine over the internet never passes through the VPC. Use egress rules to restrict outbound traffic from VMs.
Key takeaway
Controlling who → IAM (to restrict who can be granted roles, domain restricted sharing). Controlling from where and to where at the API level → VPC Service Controls (access levels add location or device conditions). Web traffic to apps → Cloud Armor. VM network traffic → VPC firewall rules.
Try 36 questions like this for free
itmoshi is an unofficial study service and is not affiliated with Google Cloud or any exam provider.