Generative AI Leader Fundamentals of Generative AI Practice Question
A developer is building a generative AI application using Vertex AI and wants to ensure that the model's responses are safe and aligned with their company's content policies. They need to filter out harmful content such as hate speech and harassment from both user inputs and model outputs. Which Vertex AI feature should they configure?
⚠ Common exam trap
Many candidates confuse network security controls like VPC Service Controls with content safety filters; only safety filters inspect text for harmful categories.
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
Safety filters in Vertex AI are specifically designed to detect and block harmful content in both prompts and responses. By configuring these filters, the developer can enforce the company's content policies and reduce the risk of generating or processing unsafe material, ensuring a safer generative AI application.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Cloud Armor
Why it's wrong here
Cloud Armor protects applications from DDoS attacks and web vulnerabilities at the network edge. It does not analyze the semantic content of text for hate speech or harassment. It is unrelated to filtering generative AI model inputs and outputs for safety.
- ✗
IAM policies
Why it's wrong here
IAM policies control access to Google Cloud resources, not the content of model inputs and outputs. They are used for authentication and authorization, not for filtering harmful text. While important for security, they do not address content safety filtering.
- ✓
Safety filters
Why this is correct
Safety filters in Vertex AI allow you to set thresholds for categories like hate speech, harassment, and sexually explicit content. They can be applied to both prompts and responses, automatically blocking or flagging harmful content. This directly meets the requirement to enforce content policies on inputs and outputs.
- ✗
VPC Service Controls
Why it's wrong here
VPC Service Controls help prevent data exfiltration by defining a security perimeter around Google Cloud resources. They do not inspect or filter the content of generative AI requests and responses. They are a network-level security control, not a content moderation feature.
Go deeper
Related to this question
About these practice questions
Courseiva writes every Generative AI Leader question from scratch — 1,008 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Google Cloud exam blueprint
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.