Question 138 of 500
Fundamentals of Large Language ModelsmediumMultiple ChoiceObjective-mapped

Quick Answer

The correct first action is to adjust the prompt template to include safety instructions. This approach works because prompt engineering provides immediate guardrails within the model’s context window, directly constraining output behavior without requiring costly retraining or parameter changes. On the Oracle Cloud Infrastructure Generative AI Professional 1Z0-1127 exam, this question tests your understanding of the fastest mitigation strategy for inappropriate LLM responses, emphasizing that prompt safety instructions are the first line of defense before considering fine-tuning or model switching. A common trap is to jump to retraining or adjusting temperature settings, but the exam expects you to recognize that modifying the prompt is the most direct and efficient fix. Memory tip: think “Prompt First” — always start with the input instructions to steer the output, not the model itself.

1Z0-1127 Fundamentals of Large Language Models Practice Question

This 1Z0-1127 practice question tests your understanding of fundamentals of large language models. 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.

A company uses OCI Generative AI service to power a chatbot. After deployment, the chatbot starts generating inappropriate responses. Which action should be taken first?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "first"

    Why it matters: Order matters here. You are being tested on which action comes before the others — not which action is generally useful.

Question 1mediummultiple choice
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

Adjust the prompt template to include safety instructions.

Option D is correct because adjusting the prompt template to include safety instructions is the fastest and most direct way to mitigate inappropriate responses without retraining or changing model parameters. In OCI Generative AI, prompt engineering—including explicit safety guidelines—can immediately constrain the model's output behavior by providing clear guardrails in the context window.

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.

  • Increase the temperature parameter.

    Why it's wrong here

    Higher temperature increases randomness and may exacerbate inappropriate outputs.

  • Fine-tune the model on customer-specific data.

    Why it's wrong here

    Fine-tuning is resource-intensive and not the first step; prompt engineering is simpler.

  • Switch to a larger model.

    Why it's wrong here

    Larger models may have more knowledge but can still generate inappropriate content.

  • Adjust the prompt template to include safety instructions.

    Why this is correct

    Adding safety instructions in the prompt is a quick and effective safeguard.

    Clue confirmation

    The clue word "first" in the question point toward this answer.

    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 safety issues require model retraining or parameter tuning, when in fact prompt engineering is the first-line, low-cost intervention recommended in OCI documentation.

Trap categories for this question

  • Command / output trap

    Higher temperature increases randomness and may exacerbate inappropriate outputs.

Detailed technical explanation

How to think about this question

Prompt engineering works by leveraging the model's in-context learning ability—safety instructions placed at the start of the prompt (system message) act as a soft constraint that biases the model's token probabilities toward safe completions. In OCI Generative AI, the prompt template can include role-based directives (e.g., 'You are a helpful assistant that avoids harmful content') which are processed before any user input, effectively creating a safety layer without modifying the underlying model weights. Real-world deployments often combine this with content filtering APIs for multi-layered safety.

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?

Fundamentals of Large Language Models — This question tests Fundamentals of Large Language Models — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Adjust the prompt template to include safety instructions. — Option D is correct because adjusting the prompt template to include safety instructions is the fastest and most direct way to mitigate inappropriate responses without retraining or changing model parameters. In OCI Generative AI, prompt engineering—including explicit safety guidelines—can immediately constrain the model's output behavior by providing clear guardrails in the context window.

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.

Are there clue words in this question I should notice?

Yes — watch for: "first". Order matters here. You are being tested on which action comes before the others — not which action is generally useful.

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. An enterprise is deploying a chat application using a large language model. Users report that the model sometimes generates toxic or biased responses. Which best practice should be applied to mitigate this issue?

medium
  • A.Use few-shot prompting with examples of toxic responses so the model learns to avoid them.
  • B.Increase the max_tokens parameter to allow the model more context to correct itself.
  • C.Disable the temperature parameter to make outputs deterministic.
  • D.Implement a content filtering layer using a safety classifier to detect and block toxic outputs.

Why D: Option D is correct because implementing a content filtering layer using a safety classifier is a proven best practice to detect and block toxic or biased outputs in real-time. This approach acts as a guardrail, intercepting harmful responses before they reach users, and is independent of the model's internal parameters or training data.

Variation 2. A model generates code with security issues. Which approach is best to mitigate this?

medium
  • A.Reduce max_tokens
  • B.Increase temperature
  • C.Use a different model
  • D.Add a system prompt with security guidelines

Why D: Adding a system prompt with security guidelines (option C) instructs the model to follow best practices, directly addressing security concerns without changing model training.

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.