← Quay lại

Câu 375 · Professional Machine Learning Engineer

Câu 375

Professional Machine Learning Engineer

You are deploying a generative AI chatbot for an online gaming community using Gemini Enterprise Agent Platform. During beta testing, you discover that users are able to input malicious prompts that cause the model to generate hate speech and violent content. You need to implement a guardrail to block this content in production with minimal development overhead. What should you do?
  1. A. Update the system instruction (system prompt) of the model to explicitly state: “You are a helpful assistant. Do not generate hate speech or violent content.”
  2. B. Implement and configure Model Armor to sanitize responses if hateful content is detected.
  3. C. Create a supervised fine-tuning (SFT) job in Agent Platform, and tune the model using a curated dataset of safe, policy-compliant gaming conversations.
  4. D. Integrate the Cloud Natural Language API’s moderation capabilities to analyze and block toxic user prompts before they reach the chatbot model.

Làm câu này trên web →