Week 24: Exercises & Checklist
Graded exercises
Easy: Run
notebooks/01-governance-and-finopps.ipynbto completion. It prints, at the end, the total DBUs, the estimated cost, and the audit-event count. Record all three in the Week 24 tracker sheet.Standard: Add a second column mask (e.g. on
delay_hours) and a second row filter to the governance notebook. Write one sentence each on who they protect and what breaks (a wrong number, a leak) if the control is removed.Stretch: Write the lineage query that traces
gold_on_time_kpisall the way back to its bronze source tables, then confirm the column-level lineage foron_time_rateviasystem.access.column_lineage.Portfolio: Complete the ZoroLogistics Lakehouse Intelligence capstone: follow
reference/platforms/databricks/capstone/to bundle the Weeks 21 to 23 assets into a Declarative Automation Bundle with targets, governance, and a FinOps dashboard, then publish the deployment guide in your portfolio.
Hints
- Easy: Run the notebook to the final cell; the three numbers to record are
total DBUs (billing),estimated cost USD, andaudit events. A0.0DBU total on a fresh trial is expected, the billing table fills over time. - Standard: A second column mask on
delay_hoursfollows the sameCREATE FUNCTION … RETURN IF(is_account_group_member(…), value, NULL)+ALTER COLUMN … SET MASKshape; match the return type toDOUBLE. A second row filter is anotherSET ROW FILTERkeyed to a different column. - Stretch: Walk
system.access.table_lineagebackwards fromgold_on_time_kpisto its bronze sources (it may take more than one hop), then filtersystem.access.column_lineageontarget_column_name = 'on_time_rate'. - Portfolio: The capstone
databricks.ymlalready declarespipelines.medallionjobs.etl_job; adddashboards,registered_models, and your FinOps dataset as resources, then followreference/platforms/databricks/capstone/README-run.mdfor the run order.
Checklist (mirrors manifest.json + Excel tracker)
- [ ] Mon: Bundle the Weeks 22 to 23 assets into a DAB; validate and deploy with the CLI.
- [ ] Tue: Add CI/CD: GitHub Actions validates and deploys the bundle.
- [ ] Wed: Governance: row filters + column masks + lineage review; write an audit query.
- [ ] Thu: FinOps: billing system-table dashboard; find one cost win; document it.
- [ ] Fri: Use case: capstone demo end-to-end + graduation checklist; publish your portfolio.
- [ ] Sat: Take the Week 24 quiz (quiz.md), pass with 8/10; record the score in Notes.
- [ ] Milestone: Update the Excel tracker: Week 24 done, program complete. 🎓