Back to Oracle Cloud Infrastructure Generative AI Professional 1Z0-1127 questions

Scenario-based practice

Refer to the Exhibit Practice Questions

Practise Oracle Cloud Infrastructure Generative AI Professional 1Z0-1127 practice questions — original exam-style scenarios covering every exam domain, with detailed explanations, wrong-answer analysis, and common exam traps.

15
scenario questions
1Z0-1127
exam code
Oracle
vendor

Scenario guide

How to approach refer to the exhibit practice questions

Practise exhibit-style questions that ask you to read a topology, table, command output or diagram before choosing the best answer.

Quick answer

Exhibit-style questions test whether you can read a topology, command output, diagram or table before choosing the best answer.

How to extract the relevant detail from an exhibit.

How topology, command output or routing information affects the answer.

How to avoid answering from memory before reading the evidence.

How to map the exhibit back to the exam objective.

Related practice questions

Related 1Z0-1127 topic practice pages

Scenario questions usually connect to one or more exam topics. Use these links to review the underlying concepts behind the scenario.

Practice set

Practice scenarios

Question 1mediummultiple choice
Full question →

Refer to the exhibit. A developer runs the command and receives the error. What is the issue?

Network Topology
chat-id ocid1.generativeai.oc1.iad.xxxmessage "Explain OCI"max-tokens 600endpoint "https://generative-ai.oci.oracle.com"```
Question 2hardmultiple choice
Full question →

Refer to the exhibit. A user runs the command shown and receives the error: 'ServiceError: NotAuthorizedOrNotFound'. What is the MOST likely cause?

Network Topology
oci generative-ai model summarymodel-id ocid1.generativeaimodel.oc1.iad.xyz
Question 3hardmultiple choice
Full question →

Refer to the exhibit. The dashboard shows latency grouped by modelId, but some points are missing for certain modelIds. Which of the following is the most likely reason?

Exhibit

GET /20180401/metrics?compartmentId=ocid1.compartment.oc1..aaaa...&metricName=InferenceLatency&aggregationInterval=1m&groupBy=modelId
Question 4mediummultiple choice
Full question →

Based on the exhibit, which model is best suited for a conversational chatbot that needs to handle multi-turn dialogues?

Exhibit

Refer to the exhibit.

# OCI CLI output from `oci generative-ai model list`
{
  "data": [
    {
      "id": "ocid1.generativeaimodel.oc1..aaaaaa...",
      "model-name": "cohere.command",
      "capabilities": ["chat", "text-generation"],
      "context-window": 4096
    },
    {
      "id": "ocid1.generativeaimodel.oc1..bbbbbb...",
      "model-name": "cohere.base",
      "capabilities": ["text-generation"],
      "context-window": 8192
    },
    {
      "id": "ocid1.generativeaimodel.oc1..cccccc...",
      "model-name": "cohere.embed",
      "capabilities": ["embeddings"],
      "context-window": null
    }
  ]
}
Question 5mediummultiple choice
Full question →

Refer to the exhibit. A user in group GenAIGroup cannot see models in the Production compartment using OCI Generative AI. What is the most likely issue?

Exhibit

{
  "statement": "Allow group GenAIGroup to read generative-ai-models in compartment Production",
  "resource": "oci-generativeai:model",
  "compartment": "Production"
}
Question 6hardmultiple choice
Full question →

Refer to the exhibit. The output is very short and cuts off mid-sentence. Which parameter is most likely the cause?

Exhibit

oci generative-ai inference chat \
--endpoint https://inference.generativeai.us-chicago-1.oci.oraclecloud.com \
--model-id "cohere.command" \
--compartment-id "ocid1.compartment.oc1..example" \
--messages '[{"role":"user","content":"Explain quantum computing."}]' \
--temperature 0.7 \
--top-p 0.9 \
--max-tokens 500
Question 7easymultiple choice
Full question →

Based on the exhibit, what is the primary action the developer must take to successfully make the inference request?

Exhibit

Refer to the exhibit.

# Error from OCI Generative AI inference API
{
  "code": "InferenceRequestTooLarge",
  "message": "The prompt plus max_new_tokens exceeds the model's context length of 8192 tokens.",
  "prompt_length": 6000,
  "max_new_tokens": 4000
}
Question 8easymultiple choice
Full question →

Refer to the exhibit. A user deployed a custom model via OCI Data Science and registered it in the Model Catalog. They use the correct OCID but get this error. What is the most likely issue?

Exhibit

Error:
{
  "code": "InvalidParameter",
  "message": "The specified model 'my-custom-model' does not exist or you are not authorized to access it."
}
Question 9mediummultiple choice
Full question →

Refer to the exhibit. The user requested a long story but the response is cut short. What is the most likely cause?

Network Topology
model-id "cohere.command-r-08-2024"messages '[{"role": "user"max-tokens 100temperature 0.5`Output:```json"data": {"finish_reason": "length","message": {"role": "assistant",```
Question 10hardmultiple choice
Full question →

Refer to the exhibit. A user runs 'oci generative-ai model list' and sees this output. They then try to use 'cohere.command-light' but get an error. What is the most likely reason?

Exhibit

{
  "data": [
    {"id": "ocid1.generativeaimodel.oc1..aaaa...", "display-name": "cohere.command", "lifecycle-state": "ACTIVE", "time-created": "2024-01-01T00:00:00Z"},
    {"id": "ocid1.generativeaimodel.oc1..bbbb...", "display-name": "cohere.command-light", "lifecycle-state": "INACTIVE", "time-created": "2024-01-02T00:00:00Z"},
    {"id": "ocid1.generativeaimodel.oc1..cccc...", "display-name": "cohere.embed-english-v3.0", "lifecycle-state": "ACTIVE"}
  ]
}
Question 11easymultiple choice
Full question →

Refer to the exhibit. A user runs this command and gets an error: 'InvalidParameter: unit-shape 'GPU.1' is not supported in this region. Supported shapes: GPU.2, GPU.4'. What should the user do?

Network Topology
oci generative-ai dedicated-ai-cluster createcompartment-id ocid1.compartment.oc1..aaaa...display-name "test-cluster"unit-count 1unit-shape "GPU.1"region us-ashburn-1
Question 12hardmultiple choice
Full question →

Refer to the exhibit. The group DataScientists can run inference but cannot fine-tune a model on a dedicated AI cluster. Which additional policy statement is required to allow fine-tuning?

Exhibit

Policy JSON:
```json
{
  "statements": [
    "Allow group DataScientists to use generative-ai-inference in compartment ABC",
    "Allow group DataScientists to use generative-ai-models in compartment ABC"
  ]
}
```
Question 13easymultiple choice
Full question →

Refer to the exhibit. In this RAG pipeline, what is the role of the 'embedding_model' variable?

Exhibit

```python
from langchain_community.llms import OCIGenAI
from langchain_community.embeddings import OCIGenAIEmbeddings
from langchain.vectorstores import FAISS

texts = ["Customer A query", "Customer B query"]
embedding_model = OCIGenAIEmbeddings(model="cohere.embed-v3", ...)
vector_store = FAISS.from_texts(texts, embedding_model)
llm = OCIGenAI(model="cohere.command-r", ...)
```
Question 14easymultiple choice
Full question →

Refer to the exhibit. A user in group GenAIUsers tries to use the `oci generative-ai model chat` command but gets 'not authorized'. Why?

Exhibit

```json
{
  "statements": [
    "Allow group GenAIUsers to read generative-ai-models in tenancy"
  ]
}
```
Question 15hardmultiple choice
Full question →

Refer to the exhibit. The API Gateway fails to invoke the Generative AI service. What is the most likely missing configuration?

Exhibit

Architecture:
- User -> API Gateway -> OCI Generative AI Service (Cohere Command Model)
- API Gateway has a custom authorizer that validates JWT tokens.
- The Generative AI service endpoint is private, accessible only from the VCN.

These 1Z0-1127 practice questions are part of Courseiva's free Oracle certification practice question bank. Courseiva provides original exam-style 1Z0-1127 questions with detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics.