Courseiva
Cloud And Hybrid Infrastructure SecuritymediumMultiple ChoiceObjective-mapped

CPENT Cloud And Hybrid Infrastructure Security Practice Question

During an assessment of a Google Cloud Platform project, a penetration tester finds that a Cloud Storage bucket has the allUsers principal granted the Storage Object Viewer role. What security flaw does this represent, and how should it be fixed?

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

The bucket is public; the allUsers or allAuthenticatedUsers IAM binding must be removed to secure the data.

Granting allUsers IAM role bindings on a Cloud Storage bucket makes its objects publicly readable over the internet. Remediation requires removing the allUsers binding.

Answer analysis

Option-by-option breakdown

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

  • The bucket is vulnerable to GCP IAM privilege escalation via service account impersonation.

    Why it's wrong here

    Public read access is not service account impersonation.

  • Google Cloud Armor automatically deletes the bucket objects.

    Why it's wrong here

    Cloud Armor protects HTTP load balancers, not GCS storage directly.

  • The bucket is public; the allUsers or allAuthenticatedUsers IAM binding must be removed to secure the data.

    Why this is correct

    allUsers binding grants public access to Cloud Storage buckets.

  • Compute Engine instances can no longer mount the bucket as a persistent disk.

    Why it's wrong here

    GCS buckets are mounted via gcsfuse, not as persistent block disks.

About these practice questions

This CPENT question is part of Courseiva's 274-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 and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed August 2026 · checked against the official EC-Council exam blueprint

This CPENT practice question is part of Courseiva's free EC-Council 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 CPENT exam.