Skip to content

Applying CI/CD practices to a Vector Search index, prompts, and agent components

CI/CD for GenAI apps on Databricks extends standard software practices to cover data- and model-specific artifacts: Vector Search indexes, prompts, and agent components. Because these artifacts drift and change independently of code, pipelines must version, test, and promote them explicitly across dev/staging/prod, typically using separate catalogs/schemas per environment via Unity Catalog and Databricks Asset Bundles for deployment orchestration.

1 · Learn the must-know

  • Vector Search indexes should be kept in sync with source Delta tables using managed pipelines (Delta Sync Index) with scheduled or continuous refresh so retrieval doesn't serve stale embeddings after code deploys.
  • Prompts and prompt templates should be version-controlled (e.g., stored as code artifacts or registered/tracked via MLflow) rather than hardcoded, so they can be promoted across dev/staging/prod like any other reviewed artifact.
  • MLflow is the backbone for packaging agents (via MLflow models/pyfunc or agent frameworks) so the same logged model version can be validated in staging and promoted to production without re-authoring.
  • Databricks Asset Bundles (DABs) are the recommended way to define and deploy jobs, endpoints, and other workspace resources as code, enabling repeatable environment-specific deployments.
  • Individual agent components (retrievers, tools, prompt chains, guardrails) should be unit-tested in isolation before integration/end-to-end evaluation, since failures often trace to a single component rather than the whole chain.
  • Use separate Unity Catalog catalogs/schemas (and separate model/endpoint names) per environment so promotion is an explicit, auditable step rather than mutating a shared production resource in place.

2 · Check your understanding

Check this objectiveFree · always available

A Generative AI Engineer maintains a RAG application whose Vector Search index is synced from a Delta table that is refreshed by a nightly batch ETL job. The index currently uses Triggered sync mode, so a member of the team logs in each morning to manually call sync_index() after the ETL completes. The engineer wants the CI/CD pipeline to trigger the sync automatically once nightly ETL finishes, without switching to a continuously polling sync mode. Which approach should the engineer take?

Your objective map0 tried · 0 answered correctly · 56 untouched

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