Question 344 of 500

Quick Answer

The answer is to add the contractor’s email to the bucket-level IAM policy with the Storage Object Viewer role. This is correct because bucket-level IAM for external users provides granular, resource-specific access without affecting other project resources, and the Storage Object Viewer role is the most restrictive permission that still allows read-only access to objects. On the Google Professional Cloud Security Engineer exam, this scenario tests your understanding of when to use bucket-level versus project-level IAM, and a common trap is choosing project-level IAM or ACLs, which would grant broader access or lack time-bound control. Remember that for temporary, external access to a single bucket, bucket-level IAM is the principle of least privilege in action. A helpful memory tip: “Bucket-level binds to the bucket, not the project—keep it tight and time-bound.”

PCSE Practice Question: Configuring access within a cloud solution environment

This PCSE practice question tests your understanding of configuring access within a cloud solution environment. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A DevOps team wants to grant a contractor temporary access to a specific Cloud Storage bucket for 30 days. The contractor has a Google account (example@gmail.com). The bucket contains sensitive data, and the access should be as restrictive as possible. What is the recommended way to grant this access?

Question 1easymultiple choice
Full question →

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

Add the contractor's email to the bucket-level IAM policy with the 'Storage Object Viewer' role.

Option C is correct because bucket-level IAM policies allow you to grant granular, time-bound access to a specific bucket without affecting other resources in the project. By adding the contractor's email (example@gmail.com) to the bucket-level IAM policy with the 'Storage Object Viewer' role, you restrict access to only that bucket and only to read objects, which is the most restrictive approach for a 30-day temporary access requirement.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • Create a bucket ACL granting the contractor READ access.

    Why it's wrong here

    ACLs are legacy; IAM is preferred for Google Cloud.

  • Add the contractor's email to the project-level IAM policy with the 'Storage Object Viewer' role.

    Why it's wrong here

    Project-level access grants access to all buckets in the project.

  • Add the contractor's email to the bucket-level IAM policy with the 'Storage Object Viewer' role.

    Why this is correct

    Bucket-level IAM is granular and can be removed after 30 days.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Generate a signed URL for the contractor to access the bucket objects.

    Why it's wrong here

    Signed URLs grant access without authentication and are not suitable for ongoing access.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Google Cloud often tests the distinction between project-level and resource-level IAM policies, and the trap here is that candidates choose project-level IAM (Option B) thinking it's simpler, but they overlook that it grants access to all buckets in the project, violating the principle of least privilege.

Detailed technical explanation

How to think about this question

Bucket-level IAM policies are evaluated alongside project-level IAM policies, but they allow for resource-specific permissions without inheritance. Under the hood, Cloud Storage uses a unified access control model where IAM roles like 'roles/storage.objectViewer' grant read access to objects, and you can attach conditions (e.g., using 'expirationTime' in a custom role or via a service account with a short-lived key) to enforce the 30-day limit. In real-world scenarios, this approach is critical for compliance with data isolation requirements, such as in healthcare or finance, where contractors must not access unrelated buckets.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related PCSE practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free PCSE practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this PCSE question test?

Configuring access within a cloud solution environment — This question tests Configuring access within a cloud solution environment — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Add the contractor's email to the bucket-level IAM policy with the 'Storage Object Viewer' role. — Option C is correct because bucket-level IAM policies allow you to grant granular, time-bound access to a specific bucket without affecting other resources in the project. By adding the contractor's email (example@gmail.com) to the bucket-level IAM policy with the 'Storage Object Viewer' role, you restrict access to only that bucket and only to read objects, which is the most restrictive approach for a 30-day temporary access requirement.

What should I do if I get this PCSE question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 30, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.