- A
Store a service account key as a Kubernetes secret and mount it into the pod.
Why wrong: Service account keys are long-lived credentials and should be avoided.
- B
Use Workload Identity to bind the Kubernetes service account to a Google service account with appropriate roles on the bucket.
Workload Identity provides a secure and manageable way to grant access to specific pods.
- C
Create a bucket ACL that grants read access to the GKE node service account.
Why wrong: This would grant access to all pods on the node, not just specific ones.
- D
Create a PersistentVolume with a GCSFuse bucket and use a pod security policy to restrict access.
Why wrong: Pod security policies do not control access to Cloud Storage in this manner.
Quick Answer
The answer is Workload Identity, which is the best practice for granting GKE pod access to a Cloud Storage bucket because it binds a Kubernetes service account (KSA) directly to a Google service account (GSA) that has the necessary IAM roles on the bucket, eliminating the need for static keys. This works through a secure token exchange where the GKE node’s metadata server vends tokens for the bound GSA only to pods running with the designated KSA, ensuring that only those specific pods can authenticate to Cloud Storage. On the Google Professional Cloud Security Engineer exam, this scenario tests your understanding of identity-based access over key management, often appearing as a trap where candidates might incorrectly choose static service account keys or node-level IAM permissions. A common memory tip is to remember that Workload Identity “links, not leaks”—it links the KSA to a GSA without leaking credentials, making it the secure, scalable choice for pod-to-bucket access.
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. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. 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 company has deployed a multi-region Kubernetes cluster using GKE. The security team wants to ensure that only pods with a specific service account can access a Cloud Storage bucket containing sensitive data. What is the best practice to achieve this?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue:
"best"Why it matters: Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.
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 Workload Identity to bind the Kubernetes service account to a Google service account with appropriate roles on the bucket.
Workload Identity is the best practice because it allows you to bind a Kubernetes service account (KSA) to a Google service account (GSA) that has been granted specific IAM roles on the Cloud Storage bucket. This eliminates the need to manage and distribute static service account keys, as the pod authenticates directly to Google Cloud APIs using the GSA's identity via a secure token exchange. The GKE node's metadata server is configured to vend tokens for the bound GSA only to pods running with the designated KSA, ensuring that only those pods can access the bucket.
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.
- ✗
Store a service account key as a Kubernetes secret and mount it into the pod.
Why it's wrong here
Service account keys are long-lived credentials and should be avoided.
- ✓
Use Workload Identity to bind the Kubernetes service account to a Google service account with appropriate roles on the bucket.
Why this is correct
Workload Identity provides a secure and manageable way to grant access to specific pods.
Clue confirmation
The clue word "best" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Create a bucket ACL that grants read access to the GKE node service account.
Why it's wrong here
This would grant access to all pods on the node, not just specific ones.
- ✗
Create a PersistentVolume with a GCSFuse bucket and use a pod security policy to restrict access.
Why it's wrong here
Pod security policies do not control access to Cloud Storage in this manner.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Google Cloud often tests the misconception that static keys (Option A) or node-level permissions (Option C) are acceptable for pod-level access control, when in fact Workload Identity is the recommended and more secure approach for binding pod identities to cloud IAM roles.
Detailed technical explanation
How to think about this question
Under the hood, Workload Identity works by configuring the GKE cluster with a workload metadata config that enables the node's metadata server to exchange Kubernetes service account tokens for Google service account access tokens via the IAM API (using the `iamcredentials.googleapis.com` method `generateAccessToken`). The Kubernetes service account must be annotated with `iam.gke.io/gcp-service-account` pointing to the GSA email, and the GSA must have the `iam.workloadIdentityUser` role granted to the KSA's principal. A real-world scenario where this matters is in a multi-tenant cluster where different teams manage different buckets; Workload Identity ensures that a pod in namespace A cannot access a bucket intended for namespace B, even if both run on the same node.
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.
- →
Configuring access within a cloud solution environment — study guide chapter
Learn the concepts, then practise the questions
- →
Configuring access within a cloud solution environment practice questions
Targeted practice on this topic area only
- →
All PCSE questions
500 questions across all exam domains
- →
Google Professional Cloud Security Engineer study guide
Full concept coverage aligned to exam objectives
- →
PCSE practice test guide
How to use practice tests most effectively before exam day
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.
Configuring network security practice questions
Practise PCSE questions linked to Configuring network security.
Configuring access within a cloud solution environment practice questions
Practise PCSE questions linked to Configuring access within a cloud solution environment.
Ensuring data protection practice questions
Practise PCSE questions linked to Ensuring data protection.
Managing operations in a cloud solution environment practice questions
Practise PCSE questions linked to Managing operations in a cloud solution environment.
Supporting compliance requirements practice questions
Practise PCSE questions linked to Supporting compliance requirements.
PCSE fundamentals practice questions
Practise PCSE questions linked to PCSE fundamentals.
PCSE scenario practice questions
Practise PCSE questions linked to PCSE scenario.
PCSE troubleshooting practice questions
Practise PCSE questions linked to PCSE troubleshooting.
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: Use Workload Identity to bind the Kubernetes service account to a Google service account with appropriate roles on the bucket. — Workload Identity is the best practice because it allows you to bind a Kubernetes service account (KSA) to a Google service account (GSA) that has been granted specific IAM roles on the Cloud Storage bucket. This eliminates the need to manage and distribute static service account keys, as the pod authenticates directly to Google Cloud APIs using the GSA's identity via a secure token exchange. The GKE node's metadata server is configured to vend tokens for the bound GSA only to pods running with the designated KSA, ensuring that only those pods can access the bucket.
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.
Are there clue words in this question I should notice?
Yes — watch for: "best". Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.
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 →
Last reviewed: Jun 30, 2026
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.
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.
Sign in to join the discussion.