Question 145 of 500
Deploying and Managing Generative AI on OCImediumMultiple ChoiceObjective-mapped

Quick Answer

The correct technique is prompt engineering to exclude sensitive information from generative AI output, because it allows you to embed explicit constraints directly into the system or user prompt at inference time. By crafting directives such as “Do not include any personally identifiable information, account numbers, or confidential data,” you control the model’s behavior without altering its architecture or endpoint configuration—making this a lightweight, flexible approach that directly enforces output boundaries in OCI Generative AI. On the Oracle Cloud Infrastructure Generative AI Professional 1Z0-1127 exam, this question tests your understanding of how to prevent sensitive information in generative AI output using prompt engineering, often contrasting it with heavier alternatives like fine-tuning or post-processing filters. A common trap is assuming you need to modify the model itself, but the exam emphasizes that prompt engineering is the most direct and cost-effective method for runtime output control. Memory tip: “Prompt first, patch later”—always try explicit instructions in the prompt before changing the model.

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. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. 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 wants to use OCI Generative AI to summarize customer support tickets. They need to ensure that the model does not output any sensitive information. Which technique should they implement?

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

Prompt engineering to instruct the model to exclude sensitive information.

Prompt engineering is the correct technique because it allows the company to explicitly instruct the generative AI model to exclude sensitive information from its outputs. By crafting a system prompt or user prompt with specific directives (e.g., 'Do not include any personally identifiable information, account numbers, or confidential data in your summary'), the model's behavior is directly controlled at inference time. This is a lightweight, flexible approach that does not require changing the model architecture or endpoint configuration, and it is the most direct way to enforce output constraints in OCI Generative AI.

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.

  • Prompt engineering to instruct the model to exclude sensitive information.

    Why this is correct

    Carefully crafted prompts can guide the model to avoid leaking sensitive data.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Use a smaller model that is less likely to memorize data.

    Why it's wrong here

    Smaller models can still memorize and output sensitive information.

  • Enable content filtering on the endpoint.

    Why it's wrong here

    Content filtering blocks harmful content but may not fully prevent sensitive data leakage.

  • Disable the use of training data in the endpoint configuration.

    Why it's wrong here

    The endpoint does not use training data by default; the issue is model output.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Oracle often tests the misconception that disabling training data or using a smaller model can prevent sensitive output, when in fact prompt engineering is the primary technique for controlling model behavior at inference time in OCI Generative AI.

Trap categories for this question

  • Command / output trap

    Smaller models can still memorize and output sensitive information.

Detailed technical explanation

How to think about this question

Prompt engineering leverages the model's instruction-following capability by embedding constraints directly into the context window, which is processed during the autoregressive generation step. In OCI Generative AI, the system prompt is part of the inference request payload and is concatenated with the user input before tokenization; the model then generates tokens conditioned on this entire sequence. A real-world scenario where this matters is when summarizing tickets containing PCI-DSS data: a prompt like 'Summarize the issue without mentioning any credit card numbers, names, or email addresses' effectively reduces the probability of generating those tokens, though it is not foolproof and should be combined with post-processing validation.

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?

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: Prompt engineering to instruct the model to exclude sensitive information. — Prompt engineering is the correct technique because it allows the company to explicitly instruct the generative AI model to exclude sensitive information from its outputs. By crafting a system prompt or user prompt with specific directives (e.g., 'Do not include any personally identifiable information, account numbers, or confidential data in your summary'), the model's behavior is directly controlled at inference time. This is a lightweight, flexible approach that does not require changing the model architecture or endpoint configuration, and it is the most direct way to enforce output constraints in OCI Generative AI.

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

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.