1Z0-1127-25 Using OCI Generative AI Service Practice Question
A company needs to integrate OCI Generative AI Service with an existing application that uses OCI IAM for authentication. They want to use resource principal to allow the application to call the service without storing API keys. Which step is REQUIRED?
⚠ Common exam trap
Oracle often tests the misconception that resource principal requires a tenancy-wide setting or an API key, when in fact the correct mechanism is a dynamic group combined with a targeted IAM policy.
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 dynamic group and a policy granting access to the Generative AI Service
Resource principal authentication in OCI requires the application to be represented by a dynamic group, which matches instances or resources based on defined rules. A policy must then grant that dynamic group access to the Generative AI Service. This avoids storing API keys by using OCI IAM's built-in resource principal token exchange.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Create an OCI API key for the application
Why it's wrong here
Resource principal avoids API keys; API keys would defeat the purpose.
- ✗
Enable the Generative AI Service for resource principal in the tenancy
Why it's wrong here
Resource principal is enabled by default; no tenancy-level toggle exists.
- ✗
Assign the application to a group with admin privileges
Why it's wrong here
Admin privileges are too broad and not specific to resource principal.
- ✓
Create a dynamic group and a policy granting access to the Generative AI Service
Why this is correct
Dynamic group with matching rules and a policy are required for resource principal.
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.