Generative AI Leader Practice Question: Business Strategies for Generative AI Solutions
A retail company is building a product description generator using a large language model on Vertex AI. They need to ensure the generated descriptions do not contain offensive language. Which strategy should they implement?
⚠ Common exam trap
Google Cloud often tests the misconception that prompt engineering or fine-tuning alone can guarantee safety, when in practice a dedicated post-processing filter is required for reliable content moderation in production.
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
✓
Implement a content moderation filter (e.g., Perspective API) as a post-processing step
Content moderation filters like Perspective API act as a post-processing safeguard that can catch offensive language the model might generate despite prompt engineering or fine-tuning. This approach provides a deterministic, rule-based or ML-based check that is independent of the model's training, ensuring compliance with content policies in production. It is a standard practice for deploying LLMs in customer-facing applications where safety is critical.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Fine-tune the model on a dataset of clean product descriptions
Why it's wrong here
Fine-tuning reduces risk but does not guarantee elimination; post-processing is still needed.
- ✓
Implement a content moderation filter (e.g., Perspective API) as a post-processing step
Why this is correct
Post-processing filters catch offensive outputs before delivery to users.
- ✗
Use Vertex AI Model Monitoring to detect anomalies in model predictions
Why it's wrong here
Model Monitoring detects prediction drift, not content safety.
- ✗
Include explicit instructions in the prompt to avoid offensive language
Why it's wrong here
Prompt engineering helps but is insufficient for full safety assurance.
Go deeper
Related to this question
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 →
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.