Databricks interview question

technical system design question