1Z0-1127-25 Deploying and Managing Generative AI on OCI Practice Question
A developer is getting a 401 Unauthorized error when calling the OCI Generative AI inference API. What is the most likely cause?
⚠ Common exam trap
Oracle often tests the distinction between HTTP status codes (401 vs 403 vs 429 vs 404) to see if candidates confuse authentication failures with authorization, rate limiting, or resource availability issues.
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
✓
The request is missing or has an invalid authentication signature
A 401 Unauthorized error specifically indicates a failure in authentication, not authorization or resource availability. The OCI Generative AI inference API requires every request to include a valid signature based on the OCI Signature Version 1 algorithm (RFC 2104 HMAC-SHA256). If the request is missing the Authorization header or the signature is malformed (e.g., incorrect key ID, mismatched signing string, or expired timestamp), the API gateway rejects it with a 401 response.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The API endpoint has reached its rate limit
Why it's wrong here
Rate limits return a 429 Too Many Requests error.
- ✓
The request is missing or has an invalid authentication signature
Why this is correct
401 Unauthorized specifically indicates authentication failure.
- ✗
The model does not support the requested parameters
Why it's wrong here
Invalid parameters yield a 400 Bad Request error.
- ✗
The model is not deployed
Why it's wrong here
A missing or undeployed model typically results in a 404 error.
Go deeper
Related to this question
About these practice questions
One of 768 original 1Z0-1127-25 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.