Question 172 of 500
Using OCI Generative AI ServicehardMultiple SelectObjective-mapped

Quick Answer

The answer is the need for domain-specific terminology, along with dataset size and cost constraints, as the three key factors when choosing between fine-tuning and prompt engineering in OCI GenAI. Fine-tuning adjusts the model’s weights using a large, labeled dataset to internalize specialized jargon, making it ideal for domains like legal or medical text where prompt engineering alone may fail to elicit precise responses. In contrast, prompt engineering relies on cleverly crafted instructions and works with zero or few examples, but it cannot teach the model new terminology—it can only guide existing knowledge. On the Oracle Cloud Infrastructure Generative AI Professional 1Z0-1127 exam, this question tests your understanding of when to invest in fine-tuning versus leveraging a pre-trained model, with a common trap being to overlook dataset size as a limiting factor. Remember the mnemonic “DTC” for Domain, Dataset, and Cost—if you lack large labeled data or budget, stick with prompt engineering.

1Z0-1127 Using OCI Generative AI Service Practice Question

This 1Z0-1127 practice question tests your understanding of using oci generative ai service. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. 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.

Which THREE factors should be considered when choosing between fine-tuning a model and using a pre-trained model with prompt engineering? (Select three.)

Question 1hardmulti select
Full question →

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

Size of available dataset

Option B is correct because the size of the available dataset is a critical factor: fine-tuning requires a sufficiently large, labeled dataset (typically thousands of examples) to adjust model weights effectively, while prompt engineering can work with zero or few examples. If the dataset is too small, fine-tuning risks overfitting and poor generalization, making prompt engineering the safer choice.

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.

  • Required response time

    Why it's wrong here

    Both approaches have similar response times; not a differentiator.

  • Size of available dataset

    Why this is correct

    Fine-tuning requires a sufficiently large dataset; prompt engineering can work with few examples.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Internet connectivity

    Why it's wrong here

    Both approaches require internet connectivity to access the service.

  • Available budget for compute resources

    Why this is correct

    Fine-tuning incurs training costs; prompt engineering is typically cheaper.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Need for domain-specific terminology

    Why this is correct

    Fine-tuning can embed domain knowledge; prompt engineering may require careful crafting.

    Related concept

    Read the scenario before looking for a memorised answer.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Oracle often tests the misconception that response time or internet connectivity are decisive factors, when in reality the core trade-off is between data availability and the need for deep domain adaptation versus lightweight, zero-shot customization.

Trap categories for this question

  • Similar concept trap

    Both approaches have similar response times; not a differentiator.

Detailed technical explanation

How to think about this question

Under the hood, fine-tuning updates the model's parameters via backpropagation on a domain-specific dataset, which changes the model's internal representations, whereas prompt engineering relies on in-context learning without altering weights. A real-world scenario: for a legal document summarization task, fine-tuning on 10,000 labeled contracts can achieve higher accuracy than prompt engineering, but if only 50 examples are available, prompt engineering with carefully crafted templates avoids catastrophic forgetting and overfitting.

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 practitioner preparing for the 1Z0-1127 exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.

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.

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.

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?

Using OCI Generative AI Service — This question tests Using OCI Generative AI Service — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Size of available dataset — Option B is correct because the size of the available dataset is a critical factor: fine-tuning requires a sufficiently large, labeled dataset (typically thousands of examples) to adjust model weights effectively, while prompt engineering can work with zero or few examples. If the dataset is too small, fine-tuning risks overfitting and poor generalization, making prompt engineering the safer choice.

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 →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

2 more ways this is tested on 1Z0-1127

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. A company wants to use OCI Generative AI service to automatically generate product descriptions for an e-commerce catalog. They have 10,000 products. What is the best approach to ensure high-quality, consistent descriptions?

medium
  • A.Use a pre-trained summarization model.
  • B.Use a template-based generation with keyword insertion.
  • C.Use the built-in chat model with few-shot examples in the prompt.
  • D.Fine-tune a base model on a dataset of existing product descriptions.

Why D: Fine-tuning a base model on existing product descriptions ensures the model learns the specific style and terminology, leading to consistent and high-quality outputs for a large number of products.

Variation 2. A healthcare startup uses OCI Generative AI to automatically generate patient summary reports from clinical notes. They use the Cohere command model (command-r-plus) with default parameters. Over the past week, the team has noticed two issues: (1) the summaries occasionally contain medical inaccuracies, such as incorrect drug dosages or misinterpreted lab results, and (2) the response time has increased from an average of 2 seconds to over 10 seconds. The application has a high volume of concurrent requests, and the startup has already increased the max tokens to 4096 and set temperature to 0.1. The model appears to perform well on general language tasks but struggles with specialized medical terminology. The team is looking for a long-term solution that balances accuracy, latency, and cost. What should they do?

medium
  • A.Switch to a larger base model, such as Llama 2 70B, to improve knowledge of medical terms
  • B.Fine-tune the Cohere command model using a curated dataset of medical notes and correct summaries
  • C.Implement a caching layer to store and reuse responses for identical queries
  • D.Reduce the max tokens parameter from 4096 to 1024 to decrease response time

Why B: Option B is the best course of action. Fine-tuning the model on a curated medical dataset will improve accuracy for domain-specific terminology and context. This addresses the root cause of inaccuracies. While fine-tuning itself is time-consuming, it reduces latency in the long run because the model becomes more efficient for the specific task. Option A (reducing max tokens) might improve latency but won't fix inaccuracies. Option C (switching to a larger model) may increase latency and cost without guaranteeing improvement on medical terms. Option D (caching) does not address inaccurate responses for new queries.

Last reviewed: Jun 30, 2026

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.

Loading comments…

Sign in to join the discussion.

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.