D1: Organization Policies
Google Cloud Associate Cloud Engineer exam practice questions · 14 flashcards
Question
What is the Organization Policy Service?
1 / 14
Tip: Space flips the card, ← / → navigate.
Show all 14 Organization Policies practice questions and answers
- What is the Organization Policy Service?Centralized, programmatic restrictions (constraints) on how resources can be configured across the hierarchy.
- Org policy vs IAM?IAM controls who can act; org policies control what configurations are allowed regardless of who.
- What is a constraint?A specific restriction, e.g. constraints/compute.vmExternalIpAccess.
- Boolean vs list constraints?Boolean: enforce on/off. List: allow or deny specific values.
- How are org policies inherited?Set at org/folder/project and inherited by descendants, unless overridden or merged at lower levels.
- Which role manages org policies?Organization Policy Administrator (roles/orgpolicy.policyAdmin).
- Which constraint restricts resource locations?gcp.resourceLocations.
- Which constraint blocks service account key creation?iam.disableServiceAccountKeyCreation (iam.managed.disableServiceAccountKeyCreation in newer managed form).
- Which constraint restricts IAM members to your domain?iam.allowedPolicyMemberDomains (domain restricted sharing).
- Which constraint forces OS Login?compute.requireOsLogin.
- Which constraint stops the default VPC being created?compute.skipDefaultNetworkCreation.
- What are custom constraints?Org policies you define with CEL conditions on specific resource fields.
- What is dry-run mode for org policies?Tests a policy and logs violations without enforcing it.
- Do org policies apply retroactively to existing resources?Generally no; they apply to new or changed configurations.