Professional Cloud Security Engineer
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
An enterprise organization is establishing perimeter security and API governance across its Google Cloud resource hierarchy. A security engineer must implement controls to meet the following requirements:
Development folder from activating or consuming any unapproved Google Cloud APIs, ensuring only an explicit allowlist of authorized services (such as Compute Engine and Cloud Storage) can be used.Which combination of controls should the security engineer implement to satisfy these requirements?
The Restrict Service Usage constraint (constraints/gcp.restrictServiceUsage) is a predefined Google Cloud Organization Policy list constraint that controls which Google Cloud services and APIs can be enabled and used within a specific resource hierarchy container (Organization, Folder, or Project). In parallel, API Key Restrictions provide granular defense-in-depth controls for credentials by restricting requests based on client context (such as IP addresses, HTTP referrers, or mobile app fingerprints) and restricting target API invocation scope.
constraints/gcp.restrictServiceUsage at the Development folder with spec.rules.allow.values containing authorized service names (e.g., compute.googleapis.com, storage.googleapis.com) establishes an inheritance guardrail. Project owners within this folder cannot enable or make API calls to unapproved Google Cloud services, even if they possess project-level roles/serviceusage.serviceUsageAdmin privileges.Development folder automatically cascades down to all current and future projects in that folder.This approach uses native Google Cloud resource hierarchy guardrails for service enablement and follows security best practices for API credential scoping without requiring custom infrastructure proxies.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.