IAM Policy to Prevent Dedicated AI Cluster Creation in OCI Generative AI
An administrator wants to grant a group of data scientists permission to use OCI Generative AI resources in a specific compartment, but prevent them from creating Dedicated AI Clusters. Which IAM policy statement achieves this?
Quick Answer
This policy statement works because it combines two separate mechanisms in OCI IAM, and understanding how they stack is the key to the question. The verb 'use' already does most of the work: OCI's verb hierarchy runs inspect, read, use, then manage, and 'use' grants read and update-style operations on a resource family without extending to the create or delete actions that 'manage' would allow. So granting 'use' on generative-ai-family gets the data scientists everyday access to models and endpoints, but it does not by itself hand them the ability to spin up a Dedicated AI Cluster, since provisioning that kind of resource is a higher-privilege action. The condition clause adds a second, explicit layer of control by checking request.operation against the specific operation name for cluster creation and excluding it. This matters because policy conditions let administrators fine-tune access at the level of individual API calls rather than only at the level of broad verbs, which is essential when a single resource family bundles together operations of very different sensitivity, like everyday inference use versus provisioning dedicated, billable infrastructure. When you see an exam question asking how to allow general use of a service while carving out one specific higher-privilege operation, look for an answer that pairs the least-privileged verb that still covers the required actions with a request.operation condition targeting the exact operation to exclude.
⚠ Common exam trap
Candidates often confuse the 'use' verb with 'manage' or 'read', or overlook the necessity of a condition to block a specific operation, assuming a broader verb like 'manage' can be restricted by a condition when it actually grants all permissions including create.
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
✓
Allow group data-scientists to use generative-ai-family in compartment genai-dev where request.operation != 'CreateDedicatedAiCluster'
It uses the 'use' verb to grant the data scientists access to OCI Generative AI resources while adding a condition with 'request.operation != 'CreateDedicatedAiCluster'' to explicitly deny the ability to create Dedicated AI Clusters. In OCI IAM, the 'use' verb includes read and update capabilities but not create or delete, and the condition further restricts the specific create operation, aligning with the requirement to prevent cluster creation.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Allow group data-scientists to read generative-ai-family in compartment genai-dev
Why it's wrong here
'read' is too restrictive; they need to invoke models which requires 'use'.
- ✗
Allow group data-scientists to manage generative-ai-family in compartment genai-dev
Why it's wrong here
'manage' allows all operations including creating clusters.
- ✓
Allow group data-scientists to use generative-ai-family in compartment genai-dev where request.operation != 'CreateDedicatedAiCluster'
Why this is correct
This grants use of most GenAI resources but excludes creating dedicated clusters via a condition.
- ✗
Allow group data-scientists to use generative-ai-models in compartment genai-dev
Why it's wrong here
'generative-ai-models' is not a valid resource family; the correct family is 'generative-ai-family'.
Go deeper
Related to this question
About these practice questions
Courseiva writes every 1Z0-1127-25 question from scratch — 768 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more way this is tested on 1Z0-1127-25
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. An administrator is creating IAM policies for OCI Generative AI. They want to allow a group of developers to use (invoke) models and manage endpoints, but NOT create or delete Dedicated AI Clusters. Which TWO policy statements should be combined?
hard- A.Allow group developers to use generative-ai-clusters in compartment dev
- B.Allow group developers to manage generative-ai-family in compartment dev
- ✓ C.Allow group developers to use generative-ai-family in compartment dev
- D.Allow group developers to manage generative-ai-clusters in compartment dev
- ✓ E.Allow group developers to manage generative-ai-endpoints in compartment dev
Why C: The 'use' verb on 'generative-ai-family' grants permission to invoke models and perform read-only operations on all Generative AI resources, including endpoints, without allowing create or delete actions on Dedicated AI Clusters. Option E is correct because 'manage' on 'generative-ai-endpoints' allows full control over endpoints (create, update, delete, use) while still not granting any permissions on Dedicated AI Clusters. Together, these two statements give developers the ability to use models and manage endpoints but explicitly exclude create/delete on Dedicated AI Clusters.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This 1Z0-1127-25 practice question is part of Courseiva's free Oracle 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 1Z0-1127-25 exam.