- A
API signing key
API signing key is required for OCI API authentication.
- B
User name and password
Why wrong: Username/password cannot be used for OCI API calls.
- C
Session token
Why wrong: Session tokens are used in web console, not for API signing.
- D
OCI certificate
Why wrong: Certificates are not used for direct API authentication.
Quick Answer
The correct authentication method for invoking an OCI Generative AI endpoint from a cloud function is API signing keys. This is required because OCI Generative AI APIs are RESTful services that implement the Signature Version 1 signing protocol, which uses an HMAC-SHA256 hash to sign each HTTP request. The cloud function must generate a signed header using a private key from an OCI API signing key pair, while the corresponding public key is uploaded to the OCI tenancy for verification by IAM. On the Oracle Cloud Infrastructure Generative AI Professional 1Z0-1127 exam, this concept tests your understanding that programmatic access to OCI services, including Generative AI, always relies on this signing mechanism rather than simpler methods like bearer tokens or OAuth. A common trap is assuming cloud functions can use resource principal or instance principal authentication by default, but for Generative AI endpoints, explicit API signing keys are mandatory. Remember the mnemonic: "Sign to Shine" — every API call to OCI Generative AI must carry a valid cryptographic signature.
1Z0-1127 Deploying and Managing Generative AI on OCI Practice Question
This 1Z0-1127 practice question tests your understanding of deploying and managing generative ai on oci. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A user wants to invoke an OCI Generative AI endpoint from a cloud function. What is the required authentication method?
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 signing key
OCI Generative AI endpoints require API signing keys for authentication because they are REST APIs that use the Signature Version 1 algorithm (based on HMAC-SHA256) to sign requests. Cloud Functions must include a signed HTTP header using a user's or service principal's OCI API signing key pair (private key for signing, public key uploaded to OCI) to prove identity and authorization. This is the standard method for programmatic access to OCI services, including Generative AI, and is enforced by the OCI Identity and Access Management (IAM) policy layer.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
API signing key
Why this is correct
API signing key is required for OCI API authentication.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
User name and password
Why it's wrong here
Username/password cannot be used for OCI API calls.
- ✗
Session token
Why it's wrong here
Session tokens are used in web console, not for API signing.
- ✗
OCI certificate
Why it's wrong here
Certificates are not used for direct API authentication.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Oracle often tests the misconception that OCI always uses session tokens or OAuth2 for service-to-service calls, but for Generative AI and most OCI REST APIs, the required method is API signing key authentication, not token-based or certificate-based methods.
Detailed technical explanation
How to think about this question
The API signing key method uses an RSA key pair in PEM format; the private key signs the request's canonical headers, host, and body hash, producing a signature that OCI validates against the public key stored in the user's or dynamic group's IAM profile. Cloud Functions often run as OCI resource principals (e.g., using instance principals or dynamic groups) which can also use API signing keys derived from the resource's identity certificate, but the underlying authentication mechanism remains the same Signature Version 1 protocol. A subtle behavior: if the cloud function is in a different tenancy, you must configure cross-tenancy policies and use the API signing key of a user or service principal in the target tenancy.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A small business has 20 workstations on the 192.168.1.0/24 network and one public IP from its ISP. The router uses PAT (NAT overload) so all 20 devices share one public address using different source ports. NAT questions test whether you understand the four address terms and which direction each translation applies.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Deploying and Managing Generative AI on OCI — study guide chapter
Learn the concepts, then practise the questions
- →
Deploying and Managing Generative AI on OCI practice questions
Targeted practice on this topic area only
- →
All 1Z0-1127 questions
500 questions across all exam domains
- →
Oracle Cloud Infrastructure Generative AI Professional 1Z0-1127 study guide
Full concept coverage aligned to exam objectives
- →
1Z0-1127 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related 1Z0-1127 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Fundamentals of Large Language Models practice questions
Practise 1Z0-1127 questions linked to Fundamentals of Large Language Models.
Using OCI Generative AI Service practice questions
Practise 1Z0-1127 questions linked to Using OCI Generative AI Service.
Building LLM Applications with RAG and Vector Search practice questions
Practise 1Z0-1127 questions linked to Building LLM Applications with RAG and Vector Search.
Deploying and Managing Generative AI on OCI practice questions
Practise 1Z0-1127 questions linked to Deploying and Managing Generative AI on OCI.
1Z0-1127 fundamentals practice questions
Practise 1Z0-1127 questions linked to 1Z0-1127 fundamentals.
1Z0-1127 scenario practice questions
Practise 1Z0-1127 questions linked to 1Z0-1127 scenario.
1Z0-1127 troubleshooting practice questions
Practise 1Z0-1127 questions linked to 1Z0-1127 troubleshooting.
Practice this exam
Start a free 1Z0-1127 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this 1Z0-1127 question test?
Deploying and Managing Generative AI on OCI — This question tests Deploying and Managing Generative AI on OCI — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: API signing key — OCI Generative AI endpoints require API signing keys for authentication because they are REST APIs that use the Signature Version 1 algorithm (based on HMAC-SHA256) to sign requests. Cloud Functions must include a signed HTTP header using a user's or service principal's OCI API signing key pair (private key for signing, public key uploaded to OCI) to prove identity and authorization. This is the standard method for programmatic access to OCI services, including Generative AI, and is enforced by the OCI Identity and Access Management (IAM) policy layer.
What should I do if I get this 1Z0-1127 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 30, 2026
This 1Z0-1127 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 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.