1Z0-1127-25 OCI Generative AI Service Practice Question
A developer is building a RAG application using OCI Generative AI Agents. They want to ensure the agent only retrieves information from approved documents in a specific compartment. Which THREE steps are required?
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 a knowledge base that references the Object Storage bucket
IAM policies restrict access to data, placing documents in the correct compartment, and creating a knowledge base pointing to that compartment are required. Creating a dedicated cluster and using the Embedding API directly are not necessary steps for the agent.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Provision a dedicated AI cluster in the same compartment
Why it's wrong here
A dedicated cluster is not required for the agent; it uses managed infrastructure.
- ✓
Create a knowledge base that references the Object Storage bucket
Why this is correct
The knowledge base is the bridge between the agent and the data; it must be configured to use that bucket.
- ✗
Use the Embedding API to manually generate embeddings for each document
Why it's wrong here
The agent service automatically handles embedding via the knowledge base; manual embedding is unnecessary.
- ✓
Create an IAM policy that allows the agent to read objects in the specific compartment
Why this is correct
The agent needs IAM permissions to access the Object Storage bucket and read documents in the target compartment.
- ✓
Store the approved documents in an Object Storage bucket located in that compartment
Why this is correct
The documents must reside in the compartment to which access is restricted, as compartment boundaries enforce access control.
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 →
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.