1Z0-1127-25 Deploying and Managing Generative AI on OCI Practice Question
A developer wants to integrate OCI Generative AI into a web application. Which API authentication method is recommended for programmatic access?
⚠ Common exam trap
Candidates often confuse OAuth 2.0 (common in other cloud providers like AWS or Azure) with OCI's requirement for API key-based signing, leading them to select OAuth 2.0 client credentials.
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
✓
API key-based signing
OCI APIs require request signing using an API signing key (an RSA key pair) for programmatic access. The developer must generate a key pair, upload the public key to the OCI console, and then use the private key to sign each HTTP request using the OCI Signature Version 1 algorithm (based on RFC 2104 HMAC-SHA256). This ensures authentication without transmitting secrets over the wire.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Pre-authenticated request
Why it's wrong here
Pre-authenticated requests are for Object Storage, not for generative AI APIs.
- ✓
API key-based signing
Why this is correct
OCI uses API signing (based on RSA keys) for all REST API calls.
- ✗
OAuth 2.0 client credentials
Why it's wrong here
OAuth is used for identity federation but not directly for OCI API calls.
- ✗
Username and password in the header
Why it's wrong here
Username/password are not used for API authentication in OCI.
Quick reference
Asymmetric Encryption Algorithm Comparison
| Algorithm | Key Exchange | Signatures | Equivalent Security Key | Notes |
|---|---|---|---|---|
| RSA-3072 | Yes | Yes | 128-bit | Widely deployed; slow for bulk data |
| ECDSA P-256 | No | Yes | 128-bit | Fast signatures; standard TLS certs |
| ECDH / ECDHE | Yes | No | 128-bit | Perfect forward secrecy in TLS 1.3 |
| DH / DHE | Yes | No | 128-bit (3072-bit key) | Replaced by ECDHE in modern TLS |
| Ed25519 | No | Yes | ~128-bit | SSH keys, modern PKI |
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.