Courseiva

PCSE Practice Question: Configuring Access Within a Cloud Solution Environment

A company wants to enforce that no service account keys are created for service accounts in a specific project. Additionally, they want to allow only users from their corporate domain (example.com) to be granted IAM roles. Which TWO organization policy constraints should they apply at the project level?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

constraints/iam.allowedPolicyMemberDomains

The constraint 'constraints/iam.disableServiceAccountKeyCreation' prevents key creation. 'constraints/iam.allowedPolicyMemberDomains' restricts IAM members to specified domains. Both can be applied at the project level.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • constraints/iam.workloadIdentityPoolProviders

    Why it's wrong here

    This restricts workload identity pool providers, not IAM domains.

  • constraints/iam.allowedPolicyMemberDomains

    Why this is correct

    Restricts IAM members to domains in the list.

  • constraints/compute.requireShieldedVm

    Why it's wrong here

    This requires Shielded VM, not relevant to keys or IAM domains.

  • constraints/compute.restrictCloudArmorPolicies

    Why it's wrong here

    Restricts Cloud Armor policies, not relevant.

  • constraints/iam.disableServiceAccountKeyCreation

    Why this is correct

    Disables key creation for service accounts.

About these practice questions

This PCSE question is part of Courseiva's 960-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This PCSE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCSE exam.