Databricks conceptsDatabricks Certified Generative AI Engineer AssociateGovernance
Generative AI Engineer Associate governance: what to know
What the Generative AI Engineer Associate exam asks about governance: masking data, redacting traces, guardrail policies and rule-based PII checks.
3 min read
Traces stored in Unity Catalog inherit its RBAC, column masking and row filters. Yet a Python service policy cannot redact content, so a masking guardrail denies the whole interaction.
01 What does the exam test about governance?
A question describes an agent writing customer emails into its logs, and three options all sound safe. The controls to know are masking table data, redacting traces, blocking a request with a policy and Guardrails AI scorers for evaluation.
What the exam asks about each main objective
- Mask and filter dataRow filters, column masks and the UDFs behind ABAC policies
- Redact tracesClient-side span processors or a server-side ai_mask pipeline
- Guard requests and answersService policies and Guardrails AI scorers
How governance compares with the other domains
The whole exam: 45 questions
- 1Design Applications14%about 6 questions
- 2Data Preparation14%about 6 questions
- 3Application Development30%about 14 questions
- 4Assembling and Deploying Applications22%about 10 questions
- 5Governance8%about 4 questions
- 6Evaluation and Monitoring12%about 5 questions
Save the 'How governance compares with the other domains' graphic as a PNG image PNG for LinkedIn or Pinterest
Match the leak to the control: data, trace or request.
02 Should you redact traces before or after export?
Client-side versus server-side trace redaction
Client-side
- Span processors via mlflow.tracing.configure
- Raw PII never leaves your environment
Server-side
- ai_mask in a Lakeflow pipeline
- No agent code changes
Redaction changes only the trace; the agent still sees the original content. To stop PII reaching a registered AI service, use service policies. Auto time-to-live then deletes trace data older than a configurable number of days, by default 90, from the raw OTel tables.
Use client-side redaction when raw values must never be transmitted or persisted.
03 How do guardrails block bad requests?
In Enforce mode, a blocked request still returns HTTP 200. Log mode records decisions without blocking, and the lowest rank runs first on the request.
For evaluation, Guardrails AI scorers give rule-based checks with no LLM calls. DetectJailbreak checks the input; DetectPII checks the output. OpenAI code generation needs human review before production.
A blocked request in Enforce mode still answers HTTP 200.
04 Why can masking policies slow queries down?
A policy UDF runs for every row or every matching value, so its complexity drives query time. Prefer SQL UDFs to Python, and test on at least 1 million rows.
Do not let this domain lag behind the others. On MockCert, an independent study site, each answer updates your readiness for each domain.
The EXCEPT clause skips the UDF entirely for exempt users.
Summary
- Traces in Unity Catalog inherit its masking, filters and audit logging.
- Trace redaction never changes what the agent itself receives.
- Python service policies block; they cannot redact.
- Masking UDFs run per row, so keep them simple and in SQL.
Sources
- Govern and redact traces in Unity Catalog | Databricks on AWS (opens in a new tab)
- Tutorial: Enforce Amazon Bedrock Guardrails with a custom Python policy | Databricks on AWS (opens in a new tab)
- Performance considerations for row filter and column mask policies | Databricks on AWS (opens in a new tab)
- Guardrails AI scorers | Databricks on AWS (opens in a new tab)
- OpenAI high risk use case mitigation requirements | Databricks on AWS (opens in a new tab)
- MockCert: free study guides, quizzes and mock exams