Home › Certifications › Databricks Generative AI Engineer › Governance and Guardrails
24 multiple-choice questions and 10 flashcards on Governance and Guardrails, about 8% of the Databricks Generative AI Engineer bank. Every one carries a written rationale.
Governance and Guardrails is one of 8 chapters in CoStudy's Databricks Generative AI Engineer bank, and it holds 24 of the bank's 300 multiple-choice questions — roughly 8% of the total. That proportion is not arbitrary: chapters follow the certifying body's published exam outline, and the number of questions in each is set by that domain's published weight, so the share of your practice time this chapter takes matches the share of the real exam it accounts for.
Studying by chapter is worth doing once you have a diagnostic score. A single overall percentage tells you whether you are close; it does not tell you which domain is dragging. Working a weak chapter in isolation, and re-testing it in isolation, is the fastest way to move a score that has stalled — and it is why the mock exams in CoStudy report by domain rather than as one number.
3 questions drawn from this chapter, with the full rationale shown — the controlling principle behind the right answer, and why each wrong option tempts and fails.
Unity Catalog governance for AI tools provides:
Answer: B — Central access control, lineage, and auditing
B) Correct — Unity Catalog applies one permission, lineage, and audit model across tables, models, vector indexes, and functions. A) Query speed comes from compute and layout. C) Governance does not reduce compute cost. D) Registration does not change model quality.
To demonstrate compliance, the team should retain:
Answer: A — Inference Tables, MLflow records, lineage, Gateway logs
A) These four together cover requests, model provenance, asset relationships, and policy enforcement for the mandated retention period. B) Informal notes are neither complete nor tamper-evident. C) Chat history is unstructured and usually expires. D) Verbal confirmation leaves no record at all.
Granting an analyst access to query a model via SQL function should be done by:
Answer: D — Granting EXECUTE on a UC function wrapping ai_query
D) A UC function plus an EXECUTE grant gives the analyst exactly one capability, auditable and revocable, without exposing the endpoint. A) Handing over the artifact bypasses governance entirely. B) Cluster admin is far broader than the task requires. C) A raw URL and token offer no fine-grained control or audit trail.
4 cards from the 10 in this chapter.
Which Unity Catalog privileges does an agent's identity typically need at runtime?
SELECT on the source tables and Vector Search index it queries • EXECUTE on the Unity Catalog functions registered as its tools • USE CATALOG and USE SCHEMA on the containing catalog and schema • plus query permission on any serving endpoint it calls.
PII protection in GenAI apps?
Pre-prompt redaction, post-output filtering, audit logs, customer-managed encryption keys, network isolation.
What are guardrails in a GenAI application and where can they be applied?
Controls that constrain inputs and outputs — topic restriction, unsafe-content filtering, PII detection and refusal behavior. They can be applied in the application chain itself and centrally at the endpoint through AI Gateway safety configuration.
Why is output filtering alone an insufficient defense for a tool-calling agent?
Because the damage from an injected instruction happens when the tool executes — data deleted, an email sent, a record exfiltrated through a tool argument — before any text reaches the output filter. Tool permissions and approval gates must limit the action itself.
These are a sample. The full Governance and Guardrails chapter runs 34 items with per-chapter progress tracking, on the web and in the iOS app.
Open Databricks Generative AI Engineer in CoStudy →