Courseiva
Fundamentals of Generative AIhardMultiple ChoiceObjective-mapped

Generative AI Leader Fundamentals of Generative AI Practice Question

A financial services company wants to use generative AI to generate personalized investment advice. They must ensure responses comply with regulatory requirements (e.g., no guarantees of returns). Which Vertex AI safety feature should they primarily use?

⚠ Common exam trap

Many candidates confuse grounding (factual retrieval) with compliance enforcement, or assume prompt engineering is sufficient for regulatory guardrails, when in fact only a deterministic blocklist can reliably prevent specific prohibited phrases from appearing in generated outputs.

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

Safety filters with a custom blocklist that includes phrases like 'guaranteed return'.

Safety filters with a custom blocklist allow the company to define specific prohibited phrases (e.g., 'guaranteed return') that the model must avoid generating. This provides a deterministic, rule-based enforcement layer that directly addresses regulatory compliance by blocking disallowed content at inference time, without relying on the model's probabilistic behavior.

Answer analysis

Option-by-option breakdown

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

  • Vertex AI Grounding with their compliance database.

    Why it's wrong here

    Grounding improves accuracy but does not block specific phrases.

  • Prompt engineering with instructions to avoid guarantees.

    Why it's wrong here

    Prompt engineering is not foolproof; safety filters are more robust.

  • Safety filters with a custom blocklist that includes phrases like 'guaranteed return'.

    Why this is correct

    Safety filters can block defined categories or custom phrases.

  • Reinforcement learning from human feedback (RLHF) on the model.

    Why it's wrong here

    RLHF is costly and not a real-time filter.

About these practice questions

This Generative AI Leader question is part of Courseiva's 683-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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.