- A
Delete the bucket and recreate it with correct permissions
Why wrong: Deleting the bucket destroys all backup data — a drastic and unnecessary action for a permissions change.
- B
Remove the 'allUsers' IAM binding from the bucket using the Console or gcloud/gsutil
Removing the `allUsers:objectViewer` binding immediately revokes public read access without affecting the data or other users' access.
- C
Enable VPC Service Controls around Cloud Storage to block all external access
Why wrong: VPC Service Controls prevent access from outside a defined perimeter — configuring this is much slower and broader than simply removing the public IAM binding.
- D
Apply a Cloud Armor policy to Cloud Storage to block external IPs
Why wrong: Cloud Armor applies to HTTP load balancers, not Cloud Storage directly — it cannot be applied to a bucket's public access.
Quick Answer
The fastest way to remove public access from a Cloud Storage bucket is to delete the allUsers IAM binding using the Console or the gsutil command `gsutil iam ch -d allUsers:objectViewer gs://[BUCKET]`. This works because public access is granted when an IAM binding includes the special principal `allUsers`, which represents any internet user, or `allAuthenticatedUsers`, which includes any Google-authenticated account; removing these bindings immediately revokes that public read or write permission. On the Google Associate Cloud Engineer exam, this scenario tests your understanding of IAM policy management at the bucket level versus object-level ACLs, and a common trap is to mistakenly enable uniform bucket-level access first, which is a slower two-step process. Remember the memory tip: "allUsers is the public key—delete the binding, not the bucket."
Google ACE Configuring access and security Practice Question
This ACE practice question tests your understanding of configuring access and security. 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 team's Cloud Storage bucket containing backups has been accidentally made publicly readable. A monitoring alert fires. What is the fastest way to remove public access?
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
Remove the 'allUsers' IAM binding from the bucket using the Console or gcloud/gsutil
Removing the `allUsers` and `allAuthenticatedUsers` IAM bindings from the bucket removes public access. Alternatively, enabling 'Uniform bucket-level access' and removing the public policy achieves the same. For speed, `gsutil iam ch -d allUsers:objectViewer gs://[BUCKET]` or using the Console's Permissions tab is fastest.
Key principle: NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Delete the bucket and recreate it with correct permissions
Why it's wrong here
Deleting the bucket destroys all backup data — a drastic and unnecessary action for a permissions change.
- ✓
Remove the 'allUsers' IAM binding from the bucket using the Console or gcloud/gsutil
Why this is correct
Removing the `allUsers:objectViewer` binding immediately revokes public read access without affecting the data or other users' access.
Related concept
Static NAT maps one inside address to one outside address.
- ✗
Enable VPC Service Controls around Cloud Storage to block all external access
Why it's wrong here
VPC Service Controls prevent access from outside a defined perimeter — configuring this is much slower and broader than simply removing the public IAM binding.
- ✗
Apply a Cloud Armor policy to Cloud Storage to block external IPs
Why it's wrong here
Cloud Armor applies to HTTP load balancers, not Cloud Storage directly — it cannot be applied to a bucket's public access.
Common exam traps
Common exam trap: NAT rules depend on direction and matching traffic
NAT is not only about the public address. The inside/outside interface roles and the ACL or rule that matches traffic are just as important.
Detailed technical explanation
How to think about this question
NAT questions usually test address translation, overload/PAT behaviour, static mappings and whether the right traffic is being translated. Read the interface direction and address terms carefully.
KKey Concepts to Remember
- Static NAT maps one inside address to one outside address.
- PAT allows many inside hosts to share one public address using ports.
- Inside local and inside global describe the private and translated addresses.
- NAT ACLs identify traffic for translation, not always security filtering.
TExam Day Tips
- Identify inside and outside interfaces first.
- Check whether the scenario needs static NAT, dynamic NAT or PAT.
- Do not confuse NAT matching ACLs with normal packet-filtering intent.
Key takeaway
NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated.
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.
Review the four NAT address types (inside local, inside global, outside local, outside global), PAT port overload, and static vs dynamic NAT use cases. Then practise related ACE NAT questions on configuration and troubleshooting.
- →
Configuring access and security — study guide chapter
Learn the concepts, then practise the questions
- →
Configuring access and security practice questions
Targeted practice on this topic area only
- →
All ACE questions
500 questions across all exam domains
- →
Google Associate Cloud Engineer study guide
Full concept coverage aligned to exam objectives
- →
ACE practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related ACE practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Setting up a cloud solution environment practice questions
Practise ACE questions linked to Setting up a cloud solution environment.
Planning and configuring a cloud solution practice questions
Practise ACE questions linked to Planning and configuring a cloud solution.
Deploying and implementing a cloud solution practice questions
Practise ACE questions linked to Deploying and implementing a cloud solution.
Ensuring successful operation of a cloud solution practice questions
Practise ACE questions linked to Ensuring successful operation of a cloud solution.
Configuring access and security practice questions
Practise ACE questions linked to Configuring access and security.
ACE fundamentals practice questions
Practise ACE questions linked to ACE fundamentals.
ACE scenario practice questions
Practise ACE questions linked to ACE scenario.
ACE troubleshooting practice questions
Practise ACE questions linked to ACE troubleshooting.
Practice this exam
Start a free ACE 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 ACE question test?
Configuring access and security — This question tests Configuring access and security — Static NAT maps one inside address to one outside address..
What is the correct answer to this question?
The correct answer is: Remove the 'allUsers' IAM binding from the bucket using the Console or gcloud/gsutil — Removing the `allUsers` and `allAuthenticatedUsers` IAM bindings from the bucket removes public access. Alternatively, enabling 'Uniform bucket-level access' and removing the public policy achieves the same. For speed, `gsutil iam ch -d allUsers:objectViewer gs://[BUCKET]` or using the Console's Permissions tab is fastest.
What should I do if I get this ACE question wrong?
Review the four NAT address types (inside local, inside global, outside local, outside global), PAT port overload, and static vs dynamic NAT use cases. Then practise related ACE NAT questions on configuration and troubleshooting.
What is the key concept behind this question?
Static NAT maps one inside address to one outside address.
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: May 18, 2026
This ACE 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 ACE 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.