- A
Grant roles at the organization level to simplify administration.
Why wrong: Organization-level grants are too broad.
- B
Use a single service account for all Cloud Functions in a project to simplify key management.
Why wrong: Each function should have its own service account with minimal permissions.
- C
Create custom roles that include only the specific permissions needed.
Custom roles allow precise permission assignment.
- D
Use IAM Conditions to restrict access to specific resources or times.
IAM Conditions narrow the scope of allowed access.
- E
Grant IAM roles directly to individual users for better traceability.
Why wrong: Using groups is preferred for easier management.
Quick Answer
The answer is to use custom roles and IAM Conditions. Custom roles allow you to assemble only the specific permissions needed for a job, avoiding the overly broad permissions found in predefined roles like Editor or Viewer. IAM Conditions further refine this by restricting access based on attributes such as resource type, IP address, or time of day, ensuring a principal can only act under strictly defined circumstances. On the Google Professional Cloud Security Engineer exam, this concept tests your ability to move beyond default roles and apply granular access control, a core pillar of zero-trust architecture. A common trap is selecting “predefined roles” as a least-privilege practice—they are convenient but often include unnecessary permissions. Remember the mnemonic “Custom Conditions Cut Clutter” to recall that custom roles and IAM Conditions together trim access to the bare minimum.
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.
Which TWO practices help implement the principle of least privilege when configuring access to Google Cloud resources? (Choose two.)
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue:
"least"Why it matters: You want the option with minimum overhead, fewest steps, or lowest impact — not the most feature-rich or comprehensive answer.
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
Create custom roles that include only the specific permissions needed.
Option C is correct because creating custom roles allows you to define a precise set of permissions, ensuring that a principal has only the minimum permissions required to perform their job function. This directly implements the principle of least privilege by avoiding the broad permissions often included in predefined roles.
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.
- ✗
Grant roles at the organization level to simplify administration.
Why it's wrong here
Organization-level grants are too broad.
- ✗
Use a single service account for all Cloud Functions in a project to simplify key management.
Why it's wrong here
Each function should have its own service account with minimal permissions.
- ✓
Create custom roles that include only the specific permissions needed.
Why this is correct
Custom roles allow precise permission assignment.
Clue confirmation
The clue word "least" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
- ✓
Use IAM Conditions to restrict access to specific resources or times.
Why this is correct
IAM Conditions narrow the scope of allowed access.
Clue confirmation
The clue word "least" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Grant IAM roles directly to individual users for better traceability.
Why it's wrong here
Using groups is preferred for easier management.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Google Cloud often tests the misconception that granting roles at a higher level (organization) or using a single service account simplifies management without considering the security implications of over-privileged access.
Detailed technical explanation
How to think about this question
Under the hood, IAM roles are collections of permissions defined in the `roles/*` resource hierarchy. Custom roles are created via the `roles.create` API and can include permissions from any service (e.g., `compute.instances.get`, `storage.objects.list`). IAM Conditions (Option D) further refine access by evaluating attributes like `resource.name` or `request.time` at request time, enabling time-bound or resource-scoped access without creating multiple roles. In a real-world scenario, a developer might need read-only access to a specific Cloud Storage bucket; a custom role with `storage.objects.get` and `storage.objects.list` for that bucket, combined with an IAM Condition, enforces least privilege precisely.
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 company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.
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: Create custom roles that include only the specific permissions needed. — Option C is correct because creating custom roles allows you to define a precise set of permissions, ensuring that a principal has only the minimum permissions required to perform their job function. This directly implements the principle of least privilege by avoiding the broad permissions often included in predefined roles.
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: "least". You want the option with minimum overhead, fewest steps, or lowest impact — not the most feature-rich or comprehensive answer.
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.