
Answer-first summary for fast verification
Answer: Utilize the Databricks REST API to programmatically revert the deployed notebooks to a previous commit known to be stable.
The most efficient strategy in this scenario is to utilize the Databricks REST API to programmatically revert the deployed notebooks to a previous commit known to be stable. This approach ensures a quick and automated rollback process, minimizing downtime and reducing the risk of human error. It allows for precise identification and reversion to the specific commit that caused the issue, ensuring the data pipeline is restored to its previous working state without further impacting downstream analytics. This method is more controlled and systematic compared to manual reversion, offering a reliable solution to quickly resolve deployment issues.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
After a recent deployment, a critical data pipeline in Databricks starts showing unexpected behavior, affecting downstream analytics. What is the best strategy to quickly revert the deployment to its previous stable state?
A
Implement a blue/green deployment strategy in Databricks, allowing quick switch-over to a pre-deployment state if issues are detected.
B
Rely on Databricks workspace snapshots for quick restoration to a point-in-time before the deployment.
C
Manually revert changes by redeploying the previous version of the notebook from a backup.
D
Utilize the Databricks REST API to programmatically revert the deployed notebooks to a previous commit known to be stable.