PCSE Practice Question: Configuring Access Within a Cloud Solution Environment
A company has multiple GCP projects managed under a single organization node. They want to enforce that all Compute Engine VMs are created with Shielded VM features enabled. Which approach should they use?
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
✓
Use the organization policy service with the constraint constraints/compute.requireShieldedVm at the organization level.
Organization policies can enforce constraints across projects. The constraint constraints/compute.requireShieldedVm can be applied at the organization, folder, or project level to require Shielded VM on all new VMs. IAM roles don't enforce configuration, and gcloud commands are manual. Deny policies are for permission denial, not resource configuration.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Use the organization policy service with the constraint constraints/compute.requireShieldedVm at the organization level.
Why this is correct
This constraint ensures all new VMs must have Shielded VM enabled.
- ✗
Run a gcloud command after each VM creation to enable Shielded VM.
Why it's wrong here
This is reactive and doesn't enforce compliance.
- ✗
Apply a deny policy that denies the compute.instances.create permission if Shielded VM is not enabled.
Why it's wrong here
Deny policies cannot enforce resource configuration; they only deny permissions.
- ✗
Create a custom IAM role that includes compute.instances.create permission and assign it to all users.
Why it's wrong here
IAM permissions don't enforce VM configuration like Shielded VM.
Go deeper
Related to this question
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 →
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.