GENERATIVE-AI-ENGINEER-ASSOCIATE · Question #46
A Generative AI Engineer is developing a chatbot designed to assist users with insurance-related queries. The chatbot is built on a large language model (LLM) and is conversational. However, to…
The correct answer is D. Compliance Guardrail. A Compliance Guardrail enforces adherence to organizational policies, regulatory requirements, or legal mandates-exactly what is needed here, since the restriction is explicitly driven by 'company policy.' A Safety Guardrail (A) prevents harmful or dangerous outputs (e.g…
Question
A Generative AI Engineer is developing a chatbot designed to assist users with insurance-related queries. The chatbot is built on a large language model (LLM) and is conversational. However, to maintain the chatbot’s focus and to comply with company policy, it must not provide responses to questions about politics. Instead, when presented with political inquiries, the chatbot should respond with a standard message:
“Sorry, I cannot answer that. I am a chatbot that can only answer questions around insurance.” Which framework type should be implemented to solve this?
Options
- ASafety Guardrail
- BSecurity Guardrail
- CContextual Guardrail
- DCompliance Guardrail
How the community answered
(40 responses)- A3% (1)
- B3% (1)
- C5% (2)
- D90% (36)
Explanation
A Compliance Guardrail enforces adherence to organizational policies, regulatory requirements, or legal mandates-exactly what is needed here, since the restriction is explicitly driven by 'company policy.' A Safety Guardrail (A) prevents harmful or dangerous outputs (e.g., violence, self-harm). A Security Guardrail (B) defends against adversarial attacks such as prompt injection. A Contextual Guardrail (C) keeps responses topically relevant to the domain but is a softer, relevance-based filter rather than a hard policy enforcement mechanism. Because the trigger is a formal company compliance policy mandating a specific canned response, the correct classification is a Compliance Guardrail.
Topics
Community Discussion
No community discussion yet for this question.