The correct answer is to configure a safety filter for the 'Geography' category. Vertex AI’s safety filters allow developers to block unwanted topics by setting thresholds for specific categories, such as Geography, directly in the model’s safety settings. This approach prevents the model from responding to geography queries without retraining or altering its core behavior, making it a precise and efficient solution. On the Google Cloud Generative AI Leader exam, this scenario tests your understanding of how safety filters function as configurable guardrails rather than model-level modifications—a common trap is assuming you must adjust the prompt or fine-tune the model instead. Remember that safety filters operate at the response layer, not the training layer. A useful memory tip: think of safety filters as a “topic bouncer” that checks each output against a block list before it reaches the user, with Geography being one of the predefined categories you can toggle.
Generative AI Leader Google Cloud's Generative AI Offerings Practice Question
This Generative AI Leader practice question tests your understanding of google cloud's generative ai offerings. 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.
Exhibit
Refer to the exhibit.
```
{
"predictions": [
{
"content": "The capital of France is Paris.",
"safetyAttributes": {
"categories": ["Toxic"],
"scores": [0.02],
"blocked": false
}
}
],
"metadata": {
"tokenCount": 8
}
}
```
A developer receives the above JSON response from a Vertex AI language model. The output content is correct, but the developer expected the model to not answer geography questions. What should the developer do to prevent the model from responding to geography queries?
Refer to the exhibit.
```
{
"predictions": [
{
"content": "The capital of France is Paris.",
"safetyAttributes": {
"categories": ["Toxic"],
"scores": [0.02],
"blocked": false
}
}
],
"metadata": {
"tokenCount": 8
}
}
```
A
Adjust the safety filter thresholds for the 'Toxic' category
Why wrong: Toxicity is not related to geography.
B
Enable Vertex AI Grounding with a geography knowledge base
Why wrong: Grounding would improve accuracy, not block queries.
C
Configure a safety filter for the 'Geography' category
Safety filters can block specific categories like geography.
D
Add a system instruction to not answer geography questions
Why wrong: System instructions can be ignored or overridden.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Configure a safety filter for the 'Geography' category
Option C is correct because Vertex AI provides safety filters that can be configured to block model responses in specific categories, including a 'Geography' category. By adjusting the safety filter thresholds for this category, the developer can prevent the model from answering geography queries while still allowing it to respond to other topics. This is a direct and effective method to enforce content restrictions without modifying the model's underlying behavior.
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.
✗
Adjust the safety filter thresholds for the 'Toxic' category
Why it's wrong here
Toxicity is not related to geography.
✗
Enable Vertex AI Grounding with a geography knowledge base
Why it's wrong here
Grounding would improve accuracy, not block queries.
✓
Configure a safety filter for the 'Geography' category
Why this is correct
Safety filters can block specific categories like geography.
Related concept
Read the scenario before looking for a memorised answer.
✗
Add a system instruction to not answer geography questions
Why it's wrong here
System instructions can be ignored or overridden.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often assume system instructions are sufficient for content restrictions, but Cisco tests the understanding that safety filters are the correct mechanism for enforcing categorical blocks, as they operate at a lower level and cannot be bypassed by prompt engineering.
Detailed technical explanation
How to think about this question
Vertex AI safety filters operate by categorizing model inputs and outputs into predefined categories (e.g., toxic, harassment, geography) and applying threshold-based blocking. The 'Geography' category is part of the safety filter taxonomy, and adjusting its threshold to a higher sensitivity (e.g., 'block all') ensures that any response related to geography is suppressed before being returned to the user. This is implemented at the API level via the `safetySettings` parameter in the `predict` or `generateContent` request, allowing fine-grained control without retraining the model.
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 cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.
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.
What does this Generative AI Leader question test?
Google Cloud's Generative AI Offerings — This question tests Google Cloud's Generative AI Offerings — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Configure a safety filter for the 'Geography' category — Option C is correct because Vertex AI provides safety filters that can be configured to block model responses in specific categories, including a 'Geography' category. By adjusting the safety filter thresholds for this category, the developer can prevent the model from answering geography queries while still allowing it to respond to other topics. This is a direct and effective method to enforce content restrictions without modifying the model's underlying behavior.
What should I do if I get this Generative AI Leader 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 →
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.
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.
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.
Sign in to join the discussion.