Courseiva
Fundamentals of Generative AImediumMultiple ChoiceObjective-mapped

Generative AI Leader Fundamentals of Generative AI Practice Question

A company is using Vertex AI to generate email responses. They want to ensure sensitive customer data (PII) is not included in the output. What is the most effective approach?

⚠ Common exam trap

A common mix-up: candidates assume a system prompt (Option A) is sufficient to control model behavior, but this exam tests the understanding that prompts are not enforceable guardrails, whereas safety filters are a hard technical control in Google Cloud.

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

Configure safety filters to block PII categories.

Safety filters in Vertex AI are specifically designed to block categories of harmful content, including PII, at the model's output layer. This provides a deterministic, automated guardrail that prevents sensitive data from being generated, unlike prompt-based instructions which can be overridden by the model's training. Safety filters operate on the model's response before it is returned, ensuring PII is caught even if the model attempts to generate it.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Use a system prompt instructing the model to avoid PII.

    Why it's wrong here

    Prompt instructions are not always followed reliably.

  • Fine-tune the model on a dataset that excludes PII.

    Why it's wrong here

    Fine-tuning does not guarantee PII filtering.

  • Manually review each output before sending.

    Why it's wrong here

    Manual review is not scalable or real-time.

  • Configure safety filters to block PII categories.

    Why this is correct

    Safety filters can automatically block PII.

About these practice questions

One of 683 original Generative AI Leader practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This Generative AI Leader practice question is part of Courseiva's free Google Cloud 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 Generative AI Leader exam.