Recommending a fix when a data source's text is problematic
When a GenAI application's data source contains problematic text (e.g., toxic, biased, PII-laden, or otherwise unsafe content), the recommended mitigation is to filter, redact, or replace that content before it enters the retrieval or fine-tuning pipeline rather than relying solely on downstream guardrails. Governance in Databricks favors addressing data quality at the source using Unity Catalog controls, curated/cleaned tables, and permissioned access rather than attempting to patch issues only at inference time.
1 · Learn the must-know
- Filtering or cleansing problematic text should happen upstream in the data pipeline (e.g., during ETL into a curated Delta table) rather than only being caught by a runtime guardrail model.
- Unity Catalog can be used to restrict access to raw or sensitive source tables, exposing only a governed, cleaned, or masked version to the RAG or fine-tuning pipeline.
- Techniques such as column masking, row filtering, or PII redaction functions in Unity Catalog can be applied to remediate sensitive or problematic content before it is indexed or embedded.
- Relying exclusively on a downstream safety/guardrail layer (like a moderation model on outputs) is not a substitute for fixing or removing problematic content at the data source, since it treats symptoms rather than the root cause.
- A recommended alternative when a source is inherently unreliable or contains too much problematic content is to replace it with a curated, higher-quality, well-governed data source rather than attempting extensive inline filtering.
- Data lineage and audit logging in Unity Catalog help track which source produced problematic content, supporting root-cause remediation and compliance reporting.
2 · Check your understanding
A Generative AI Engineer discovers that customer support transcripts feeding a Vector Search index contain unredacted credit card numbers and email addresses. Chunking and embedding occur immediately after the transcripts land in a Unity Catalog table. The engineer needs to stop this PII from ever reaching the embedding step. What should the engineer do?
What you have tried across Databricks GenAI Engineer's objectives, not a readiness score.
Design Applications10.71% of the exam*0 of 6 tried
Data Preparation14.29% of the exam*0 of 8 tried
Application Development23.21% of the exam*0 of 13 tried
Assembling and Deploying Applications26.79% of the exam*0 of 15 tried
Governance7.14% of the exam*0 of 4 tried
Evaluation and Monitoring17.86% of the exam*0 of 10 tried
* Our estimate. Databricks publishes no section weights.
3 · Keep going
Ready for more? Take a weighted mock or try free practice questions.