The correct answer is that the condition limits access to Vertex AI models whose resource name starts with 'dev-'. This is achieved through the `resource.name.startsWith('dev-')` expression in the IAM condition, which evaluates the resource name prefix to enforce environment-based access control. On the Google Professional Machine Learning Engineer exam, this tests your understanding of how IAM conditions with the `resource.name` attribute can scope permissions to specific model naming conventions, a common pattern for separating development, staging, and production resources. A frequent trap is confusing `startsWith` with `equals` or forgetting that the prefix check applies to the full resource name, not just the model ID. To remember this, think of the condition as a bouncer checking a name tag: if the tag doesn’t begin with the right prefix, access is denied.
PMLE Practice Question: Collaborating within and across teams to manage data and models
This PMLE practice question tests your understanding of collaborating within and across teams to manage data and models. 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.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Limits access to models whose resource name starts with 'dev-'
The condition in the IAM policy uses the `resource.name.startsWith('dev-')` condition expression, which restricts access to Vertex AI model resources whose resource name begins with the prefix 'dev-'. This is a common pattern for environment-based access control, allowing the data scientist to only interact with models designated for development.
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.
✗
Allows the data scientist to access model evaluations only
Why it's wrong here
The role is 'aiplatform.user' which grants broader access, not limited to evaluations.
✓
Limits access to models whose resource name starts with 'dev-'
Why this is correct
The condition 'resource.name.startsWith' matches only models with the 'dev-' prefix.
Related concept
Read the scenario before looking for a memorised answer.
✗
Limits access to models owned by the data scientist
Why it's wrong here
IAM conditions do not check ownership.
✗
Limits access to models only in the us-central1 region
Why it's wrong here
The region is already part of the resource name, but the condition is for prefix matching, not region filtering.
✗
Limits access to models created after a certain date
Why it's wrong here
No date condition is used.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Google Cloud often tests the distinction between resource name prefix matching and other common IAM conditions like resource labels, resource location, or creation timestamp, leading candidates to confuse a simple string prefix check with more complex attribute-based conditions.
Detailed technical explanation
How to think about this question
IAM conditions in Google Cloud use the Common Expression Language (CEL) to evaluate attributes of the request and resource. The `resource.name` attribute is a fully qualified resource name (e.g., `projects/PROJECT_ID/locations/LOCATION/models/MODEL_ID`), and the `startsWith()` function performs a case-sensitive prefix match on that string. This allows fine-grained access control without creating separate roles or policies for each environment, but note that the prefix must match the exact beginning of the resource name, including any path components.
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.
Collaborating within and across teams to manage data and models — This question tests Collaborating within and across teams to manage data and models — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Limits access to models whose resource name starts with 'dev-' — The condition in the IAM policy uses the `resource.name.startsWith('dev-')` condition expression, which restricts access to Vertex AI model resources whose resource name begins with the prefix 'dev-'. This is a common pattern for environment-based access control, allowing the data scientist to only interact with models designated for development.
What should I do if I get this PMLE 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 →
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.
This PMLE 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 PMLE 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.