GENERATIVE-AI-LEADER practice question 10 of 10
A development team is configuring a generative AI model for a customer-facing application and wants to ensure the generated content is appropriate and harmless. What is the primary function of the safety settings parameter in a generative AI model?
Full set: 76 questionsDomain Innovating with data and Google Cloud
The primary function of safety settings in a generative AI model is to implement responsible AI practices by filtering potentially harmful content. These settings allow developers to adjust the thresholds for various safety categories, such as harassment, hate speech, sexually explicit material, and dangerous content. By configuring these filters, the model can block responses that are likely to be inappropriate or unsafe, which is a critical requirement for customer-facing applications. This ensures that the generated output aligns with safety policies and protects end-users from harmful interactions.
A. Limiting text length is controlled by parameters like maxoutputtokens, not safety settings.
B. The number of tokens a model can process relates to its context window, a fundamental model attribute, not a configurable safety filter.
D. Controlling creativity and randomness is the function of parameters such as temperature, top-k, and top-p.
1. Google Cloud Documentation
"Safety filter thresholds": "Use safety filters to adjust the likelihood of getting responses that may be harmful. By default
safety filters block content...with a medium or high probability of being unsafe across all safety dimensions." This document details the categories (Harassment
Hate speech
etc.) and block thresholds
directly supporting the function described in option C.
Source: Google Cloud
Vertex AI Documentation
"Gemini API"
"Safety settings".
2. Google Cloud Documentation
"Model parameters": This documentation explicitly separates parameters for controlling creativity (temperature
topK
topP) and response length (maxOutputTokens) from safety settings
confirming they serve different primary functions.
Source: Google Cloud
Vertex AI Documentation
"Generative AI on Vertex AI"
"Model parameters".
3. Google AI
"A new generation of models for safety": "We’ve also built dedicated safety classifiers to identify
label
and stop harmful content... These classifiers are part of a multi-layered safety strategy." This highlights that safety is a distinct
classified filtering function.
Source: Google AI
Responsible AI
"A new generation of models for safety" section.
Keep practicing
Take the free GENERATIVE-AI-LEADER practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other GENERATIVE-AI-LEADER practice questions
- Question 1A global news agency is developing a generative AI tool to quickly summarize breaking new…
- Question 2A security team needs a centralized platform to gain a comprehensive overview of their or…
- Question 3A company’s development team is eager to start building generative AI solutions with Goog…
- Question 4A company wants to use an AI agent to automate some tasks. They want everyone to understa…
- Question 5An organization wants to use generative AI to create a chatbot that can answer customer q…
- Question 6An organization wants granular control over who can use and see their generative AI model…
