Courseiva

PCSE Practice Question: Configuring Access Within a Cloud Solution Environment

A security engineer wants to ensure that all Compute Engine VMs in an organization use Shielded VM features. The organization uses Cloud Identity as the identity provider. What is the most efficient way to enforce this requirement?

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

Apply the built-in constraint 'constraints/compute.requireShieldedVm' via the Organization Policy Service.

Organization policies can enforce constraints across all projects. The built-in constraint 'constraints/compute.requireShieldedVm' requires all new VMs to have Shielded VM features enabled. This is more efficient than manual audits, scripts, or custom constraints.

Answer analysis

Option-by-option breakdown

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

  • Configure a Cloud Security Command Center (SCC) policy to scan and alert on non-compliant VMs.

    Why it's wrong here

    SCC detects but does not enforce; it only alerts after the fact.

  • Use an IAM deny policy to prevent users from creating VMs without Shielded VM.

    Why it's wrong here

    IAM deny policies control permissions, not resource configurations. They cannot enforce VM settings.

  • Create a custom organization policy using the Organization Policy Service.

    Why it's wrong here

    A built-in constraint exists; a custom constraint is unnecessary and less efficient.

  • Apply the built-in constraint 'constraints/compute.requireShieldedVm' via the Organization Policy Service.

    Why this is correct

    This built-in constraint directly enforces Shielded VM at the organization level.

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.