QuestionQ98

VerifiedAssembling and Deploying Applications

A Generative AI engineer is managing the lifecycle of several prompt templates registered in the MLflow 3 Prompt Registry, used across multiple LLM-powered applications in Databricks.

A newly tested prompt version has passed evaluation benchmarks and must replace the current production prompt. The previous production version must remain accessible for rollback if regressions are detected within the next 30 days, and the oldest versions should be flagged as no longer supported.

Which sequence of actions correctly implements this lifecycle transition?

Explanation

MLflow 3's Prompt Registry manages prompt versions through aliases (such as 'production', 'staging', or custom aliases) and tags, replacing the older stage-based lifecycle model. To promote a new version safely, you assign the 'production' alias to the new prompt version and reassign the previous production version's alias to a distinct alias (such as 'champion_backup'), keeping it fully accessible for rollback without deletion or archiving. Applying a 'deprecated' tag to the oldest versions flags them as unsupported while preserving their history and metadata. This approach uses the current alias- and tag-based governance model rather than relying on deprecated concepts like 'archiving' a version, which is not part of the modern Prompt/Model Registry lifecycle.

Community Discussion

No comments yet. Be the first to start the discussion!