Free Databricks-Generative-AI-Engineer-Associate Actual Exam Questions - Question 14 Discussion

Question No. 14
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?
Select one option, then reveal solution.
US
OF
Osama F.
2026-02-19

C/D? Could be contextual since it’s about topic restriction, but compliance fits too.

0
IE
Irfan E.
2026-01-25

This feels less about broad safety or general context and more about enforcing a specific company rule, so D makes the most sense. The chatbot isn’t just avoiding unsafe topics; it’s following a clear policy restriction on political content. That’s the core of compliance guardrails—making sure the AI stays within defined organizational guidelines rather than just handling safety or context. So I’d rule out A and C here because those are more about general content safety or relevance, not strict policy adherence.

0
IE
Irfan E.
2026-01-23

Option A makes more sense to me. The key here is preventing the chatbot from engaging in off-topic or potentially sensitive subjects like politics, which is about keeping the conversation safe and focused. Compliance guardrails usually deal with legal or regulatory requirements, but this seems more about conversational safety and user experience boundaries. Security guardrails don’t fit since it’s not about protecting data or access. Contextual guardrails might help with relevance, but safety guardrails are specifically aimed at avoiding harmful or inappropriate content, which suits this scena

0
MF
Mohammad F.
2026-01-20

It’s D for me because this is about following company policy, which sounds more like compliance than just safety or context. The chatbot isn’t just avoiding unsafe content, it’s making sure it doesn’t breach internal rules about what topics it can handle. So, compliance guardrail fits better since it’s about adhering to specific organizational guidelines rather than general topic safety.

0
MF
Mohammad F.
2026-01-18

It’s A for me. The main goal is to keep the conversation safe and relevant by blocking off-topic questions, which fits the idea of a safety guardrail better than compliance or security.

0
RL
Ryan L.
2026-01-16

Probably A since it’s about keeping conversations safe and on-topic without security or legal enforcement.

0
RL
Ryan L.
2026-01-15

A/C? This feels like it’s about keeping the chat focused and safe rather than strict security or compliance rules. Not 100% sure though.

0