Databricks Data Analyst Associate · Section 6 · 16% of the exam
Configure an alert with a desired threshold and destination.
One of the objectives of the Databricks Certified Data Analyst Associate exam, in the section “Working with Dashboards and Visualizations in Databricks”. Here is what it covers, the points to remember and a question to try.
What it covers
Publishing turns a draft into a snapshot that others open with either the publisher's or their own data permissions. This lesson covers sharing with users, groups and account users, embedding for internal and external audiences, scheduling refreshes and subscriptions, and configuring SQL alerts with a threshold and a notification destination.
Points to remember
- Publish creates the snapshot viewers open. Drafts autosave, can be shared only inside the workspace and always use the viewer's own permissions.
- Share data permissions (default) run queries with the publisher's data access; Individual data permissions use each viewer's access and are needed for per-viewer row filters and column masks. Compute always uses the publisher's credentials.
- Dashboard permissions: CAN VIEW or CAN RUN (view, interact, refresh, clone), CAN EDIT (plus edit and publish), CAN MANAGE (plus permissions and delete).
- Account users outside the workspace must be registered with the account, are limited to CAN RUN and open the Copy link URL. Anyone in my account can view shares account-wide.
- Basic embedding: iframe from Share > Embed dashboard, viewers sign in. External embedding: service principal, scoped one-hour tokens,
__aibi_external_value. Admins set Allow, Allow approved domains or Deny.
Try a question
A nightly Lakeflow job runs a pipeline that finishes at an unpredictable time between 02:00 and 05:00. The published dashboard built on the pipeline's tables sometimes shows the previous day's results until midday, even though the tables have been updated. The team wants the dashboard refreshed as soon as the new data lands. What should they do?
- AAdd
SET use_cached_result = falseas the first statement of every dataset - BCreate a dashboard schedule at 02:00 so the cache is refreshed before viewers arrive
- CRepublish the dashboard with individual data permissions to turn off caching
- DAdd a Dashboard task to the job that depends on the pipeline task
Show the answer
D. Dashboards serve a best-effort cache of up to 24 hours, and changes to the underlying data don't invalidate it. A Dashboard task in the same job runs right after the pipeline task, refreshes the published dashboard on a serverless or pro SQL warehouse and can notify subscribers. A fixed 02:00 schedule may run before the pipeline finishes.
Written for practice in the style of the exam: never a question from the real exam.
In the course
The lesson Sharing, Embedding, Scheduled Refresh and Alerts teaches this objective (about 50 minutes), and 17 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.
More in this section
- Build dashboards using AI/BI Dashboards, including multi-tabs/page layouts, multiple data sources/datasets, and widgets (visualizations, text, images).
- Create visualizations in notebooks and the SQL editor.
- Work with parameters in SQL queries and dashboards, including defining, configuring, and testing parameters.
- Configure permissions through the UI to share dashboards with workspace users/groups, external users through shareable links, and embed dashboards in external apps.
- Schedule an automatic dashboard refresh.
- Identify the effective visualization type to communicate insights clearly.