Courseiva

CCNA Creating Dashboards Visualizations Questions

36 questions · Creating Dashboards Visualizations topic · All types, answers revealed

1
MCQmedium

A data analyst is building a Databricks SQL dashboard that tracks daily active users across four global regions. The dashboard has a single dataset query, and the analyst wants the region filter to apply to all visualizations on the dashboard without editing each widget's query. Which dashboard feature should the analyst configure?

A.A Unity Catalog row filter function attached to the underlying table.
B.A separate query snippet embedded in each visualization's SQL that hardcodes the region list.
C.A dashboard-level parameter with the keyword {{region}} applied in the dataset query.
D.A scheduled refresh on the dashboard set to run every five minutes.
AnswerC

Databricks SQL dashboards support parameters that can be bound to a dataset query using the {{parameter_name}} syntax. A dashboard-level parameter created from the dashboard UI is shared across all visualizations that reference the same dataset, so changing its value re-executes the dataset and updates every widget that depends on it. This is the intended mechanism for cross-widget filtering without duplicating filter logic in each visualization.

Why this answer

Dashboards in Databricks SQL let analysts define parameters that can be referenced in dataset queries with the {{name}} syntax. A dashboard-level parameter appears as a control for viewers and, because multiple visualizations can share one dataset, changing the parameter re-runs the dataset and updates every widget bound to it. This satisfies the requirement of a single region filter driving all visualizations without editing each widget's SQL.

Exam trap

The trap here is confusing a dashboard parameter, which is an interactive control shared across widgets, with table-level row filters or refresh schedules that have nothing to do with user-driven filtering.

2
MCQeasy

Which feature in Databricks allows an analyst to automatically send a dashboard snapshot to a stakeholder's email on a recurring schedule?

A.Alerts
B.Dashboard Subscriptions
C.Query Snapshots
D.Data Refresh Jobs
AnswerB

Dashboard subscriptions allow analysts to schedule the delivery of dashboard snapshots via email. This automates the reporting process, ensuring that stakeholders receive the latest data regularly. It is the correct feature for the scenario, providing a convenient way to share insights without requiring the recipients to manually check the dashboard.

Why this answer

The 'Subscription' feature in Databricks SQL is specifically designed for this purpose. It automates the distribution of dashboard results, which is a key requirement for keeping stakeholders informed without manual intervention. This feature ensures that critical business insights are delivered consistently, increasing the visibility of data-driven findings and ensuring that team members stay updated even if they do not log into the Databricks workspace daily.

Exam trap

Test-takers frequently confuse dashboard subscriptions with manual sharing or scheduled job notebook runs, missing the native subscription feature designed for recurring emails.

3
Multi-Selecthard

A data analyst is building a dashboard in Databricks SQL that includes a visualization showing sales by product category. The analyst wants to ensure that the dashboard is interactive and allows viewers to filter the data by date range and product category. Which TWO of the following actions should the analyst take to enable this interactivity? (Choose two.)

Select 2 answers
A.Embed the dashboard in an iframe and use JavaScript to pass filter values.
B.Add a date range parameter to the dashboard and reference it in the query's WHERE clause.
C.Add a dropdown list parameter for product category and use it in the query to filter the data.
D.Use a dashboard-level filter that applies to all visualizations and set it to a fixed date range.
E.Create a separate visualization for each product category and add them all to the dashboard.
AnswersB, C

Adding a date range parameter and referencing it in the query's WHERE clause allows viewers to select a date range that dynamically filters the data. This is a standard method to enable interactivity in Databricks SQL dashboards. The parameter must be added to the dashboard so viewers can adjust it, and the query must use it to filter results.

Why this answer

To enable interactive filtering by date range and product category, the analyst should use parameters. A date range parameter and a dropdown list parameter for product category, both referenced in the query, allow viewers to dynamically filter the data. This is the standard and most efficient method in Databricks SQL dashboards.

Exam trap

The trap here is thinking that creating multiple static visualizations or using fixed filters achieves interactivity, when in fact parameters are required.

4
MCQmedium

When creating a dashboard, an analyst needs to compare two different categories side-by-side. Which visualization is best suited for this task?

A.Heatmap
B.Grouped Bar Chart
C.Bubble Chart
D.Stacked Area Chart
AnswerB

A grouped bar chart explicitly places bars for different categories next to each other for every data point or category. This makes it the standard choice for side-by-side comparisons, allowing the viewer to immediately see which category has a higher or lower value without needing to interpret complex visual encodings.

Why this answer

A grouped bar chart is the most effective visualization for comparing distinct categories side-by-side. It allows the viewer to easily perceive differences in magnitude between related items. This is a common requirement in business reporting, where analysts must compare performance across regions, products, or time periods.

By selecting the right visualization, the analyst reduces the cognitive effort required for the audience to extract insights from the data.

Exam trap

Candidates often choose a stacked bar chart or a line chart when comparing distinct categories, which makes it significantly harder for the reader to compare the exact values side-by-side.

5
MCQeasy

Which of these is a benefit of using a 'parameter' in a Databricks SQL query?

A.It permanently changes the data in the underlying table.
B.It forces every user to run the exact same query.
C.It allows users to dynamically filter results without changing the code.
D.It creates a copy of the database for each user session.
AnswerC

Parameters provide a way for end-users to change query criteria via a UI dropdown or text box. This makes the dashboard interactive without requiring the user to know SQL or modify the source code, which is the primary objective of creating self-service BI tools in the Databricks environment.

Why this answer

Parameters enable dynamic query execution. By allowing users to provide input at runtime, the same query can serve multiple analytical needs. This reduces the need to create dozens of near-identical queries, simplifying the codebase and making the dashboard much more interactive.

It empowers the end-user to drill down into the specific segments they are interested in, which is a key driver for self-service analytics adoption within organizations.

Exam trap

Candidates often assume parameters permanently alter the underlying database table or require rewriting the core SQL code every time the value changes.

6
MCQeasy

Which option is best for sharing a dashboard with internal stakeholders who do not have access to the Databricks workspace?

A.Create a temporary personal access token (PAT) for each stakeholder to login.
B.Configure an email subscription to send the dashboard periodically as a snapshot.
C.Publicly host the dashboard URL on the company intranet.
D.Manually export the dashboard as a CSV file to a shared file server.
AnswerB

Email subscriptions allow analysts to schedule the delivery of dashboard snapshots to a distribution list. This method is the secure and intended way to provide insights to users without requiring them to log into the Databricks platform, facilitating broader organizational visibility into critical business metrics and KPIs.

Why this answer

Databricks provides a subscription feature to email dashboard snapshots (PDFs or screenshots) to stakeholders. This ensures that users outside the immediate Databricks environment can consume relevant business insights without needing to manage complex identity and access management for the workspace. This is a key requirement for democratization of data, ensuring that executives and non-technical staff stay informed on KPIs regularly.

Exam trap

Candidates often assume external stakeholders need full workspace accounts to view dashboards, forgetting about scheduled snapshot email subscriptions.

7
MCQhard

A data analyst has created a Databricks SQL dashboard with a visualization that uses a query with a parameter. The analyst wants to share the dashboard with a colleague who should be able to view the dashboard but not modify the queries or the dashboard itself. The colleague also needs to be able to change the parameter values to explore the data. What should the analyst do?

A.Grant the colleague CAN EDIT permission on the dashboard.
B.Share the underlying query with the colleague and ask them to run it with different parameter values.
C.Grant the colleague CAN MANAGE permission on the dashboard.
D.Grant the colleague CAN VIEW permission on the dashboard and ensure the parameter is not set to a fixed value.
AnswerD

Granting CAN VIEW permission allows the colleague to view the dashboard and interact with parameters, but not edit the queries or dashboard. Parameters that are not fixed can be changed by viewers. This meets the requirements of viewing without modification while allowing parameter exploration.

Why this answer

To allow a colleague to view the dashboard and change parameter values without modifying it, the analyst should grant CAN VIEW permission. This permission level permits viewing and interacting with parameters but restricts editing. Ensuring the parameter is not fixed allows the colleague to adjust it as needed.

Exam trap

The trap here is confusing view and edit permissions, or assuming that sharing the query is equivalent to sharing the dashboard.

8
MCQmedium

An analyst notices that a dashboard visualization is displaying an incorrect aggregation of total revenue. After reviewing the SQL, the analyst confirms the query logic is correct. What is the most likely cause of this discrepancy in the rendered visualization?

A.The SQL warehouse is currently running in 'Serverless' mode.
B.The visualization configuration in the dashboard editor has an unintended aggregation setting.
C.The Unity Catalog metastore is failing to update the table statistics.
D.The dashboard is using a legacy version of the Databricks SQL visualizer.
AnswerB

Databricks visualizers allow users to perform secondary aggregations on the query results. If the user accidentally sets the visualization to 'Average' when they intended to show a 'Sum', the chart will display incorrect totals. This is a common UI configuration error that occurs after the SQL query executes.

Why this answer

Visualizations in Databricks SQL handle data formatting and aggregation settings independently of the raw SQL output. Sometimes, the 'Plot' settings within the visualization editor define a different aggregation (like 'Average' instead of 'Sum') or apply data formatting that masks the true value. Checking these visualization-specific configurations is the final step in troubleshooting data accuracy issues within the dashboarding workflow.

Exam trap

Candidates often assume the discrepancy is due to a data quality issue or a join error in the SQL logic, overlooking that the visualization UI has its own independent aggregation settings.

9
MCQmedium

You are building a Databricks SQL dashboard and have a query that returns columns: order_date (DATE), region (STRING), and total_sales (DECIMAL). You want a single visualization that shows the trend of total_sales over order_date, with a separate line for each region, all on the same chart. Which visualization type should you select?

A.Pie chart
B.Scatter chart
C.Bar chart
D.Line chart
AnswerD

A line chart plots a numeric measure on the Y-axis against a time or ordered dimension on the X-axis, and when a categorical column such as region is added to the series or grouping, it draws a distinct line per region. This directly satisfies the requirement to compare regional sales trends over time on one chart.

Why this answer

The requirement is a temporal trend with one line per region, which is exactly what a line chart provides when a categorical column such as region is used as the series. The other chart types either compare static categories, show parts of a whole, or display point correlations, and none of them express continuous multi-series trends over dates.

Exam trap

The trap here is assuming any chart with a date on the X-axis will show a trend, when only a line chart connects points into continuous series per category.

10
Multi-Selecthard

Which TWO of the following are true about Databricks SQL Alerts? (Choose two)

Select 2 answers
A.Alerts can trigger external workflows using webhooks.
B.Alerts only function if the dashboard is currently open.
C.Alerts can be based on any SQL query result.
D.Alerts automatically delete data that triggers the condition.
E.Alerts are only compatible with Python-based notebooks.
AnswersA, C

Databricks SQL alerts can be configured to send notifications to external systems via webhooks. This is a powerful feature that allows the platform to integrate with other tools like Slack, PagerDuty, or custom internal applications, enabling automated responses to data-driven events directly from the Databricks environment.

Why this answer

Alerts in Databricks SQL are a critical component of a proactive monitoring strategy. By tracking the results of a query, they provide timely notifications that help analysts and business users respond to events immediately. Understanding the configuration of thresholds and notification channels is essential for building a reliable operational dashboard suite that moves beyond passive data reporting to active, event-driven data management.

Exam trap

Candidates often assume alerts can only send notifications internally or are restricted to dashboard canvases, forgetting they support external integrations like webhooks for workflow automation.

11
Multi-Selecthard

Which TWO of the following are valid ways to improve the performance of a slow-loading Databricks SQL dashboard? (Choose two)

Select 2 answers
A.Convert all visualizations into a single complex query.
B.Enable query result caching on the SQL warehouse.
C.Add more users to the dashboard to increase processing power.
D.Optimize the underlying SQL queries using filters and aggregates.
E.Switch the dashboard to manual refresh mode only.
AnswersB, D

Query result caching stores the results of queries so that subsequent executions of the same query retrieve the data directly from the cache. This bypasses the need for the warehouse to re-read and re-process the underlying data, resulting in near-instant load times for repeated dashboard views.

Why this answer

Improving dashboard performance is critical for user adoption. By utilizing query result caching and optimizing the underlying SQL queries, analysts can significantly reduce latency. Caching stores the output of frequent queries, while query optimization ensures that the compute resources are used efficiently.

These techniques are standard operational practices that ensure dashboard responsiveness, even when dealing with massive datasets common in modern data lakehouses.

Exam trap

Candidates often rely solely on upgrading cluster hardware instead of implementing built-in caching and query-level optimizations.

12
MCQmedium

A data analyst is building a Databricks SQL dashboard that includes a line chart of daily active users over the past year. The stakeholder wants to hover over the line to see the exact date and user count for each point. The analyst notices that the tooltip currently shows only the user count and not the date. What should the analyst do to include the date in the tooltip?

A.Enable the dashboard-level option to show all fields in tooltips, which automatically includes every column returned by the query.
B.Modify the query to concatenate the date and user count into a single string column and use that as the measure in the line chart.
C.Change the visualization type from line chart to a table so that all columns, including the date, are visible without hovering.
D.Add the date column to the visualization's tooltip encoding or ensure it is included as a field in the chart's data so the hover tooltip can display it.
AnswerD

Tooltips in Databricks SQL visualizations display fields that are included in the chart's encoding or data. If the date is only used as the x-axis but not exposed to the tooltip, the hover may show only the measure. Adding the date to the tooltip encoding or ensuring it is part of the chart's fields lets the tooltip render both the date and the user count as the stakeholder requested.

Why this answer

Tooltips reflect the fields encoded in the visualization. If the date is used only for the x-axis and not exposed to the tooltip, hovering shows only the measure. Including the date in the tooltip encoding or ensuring it is part of the chart's fields makes the hover display both the date and the user count, preserving the line chart while meeting the stakeholder's requirement.

Exam trap

The trap here is assuming a dashboard-wide setting can inject all query columns into tooltips, when tooltip content is governed by the visualization's field encodings.

13
MCQmedium

A data analyst has built a Databricks SQL dashboard with a bar chart that shows total revenue by region. The dashboard has a parameter named `region_param` that allows the viewer to select one or more regions. The analyst wants the bar chart to update automatically whenever the viewer changes the selected regions, without requiring a manual refresh. What should the analyst do?

A.Create a separate query for each region and add them as individual visualizations to the dashboard.
B.Use a dashboard-level filter that applies to all visualizations and set the parameter to a fixed value.
C.Add a filter widget to the dashboard and link it to the parameter.
D.Reference the parameter in the query using the `{{ region_param }}` syntax and ensure the parameter is added to the dashboard.
AnswerD

Databricks SQL parameters are referenced in queries with the `{{ parameter_name }}` syntax. When the parameter is added to the dashboard, changing its value re-executes the query and updates all visualizations that depend on it. This is the correct way to make the bar chart update automatically based on the viewer's selection.

Why this answer

Parameters in Databricks SQL allow dynamic values to be passed into queries. By referencing the parameter with double curly braces in the query and adding it to the dashboard, the visualization will automatically update when the parameter value changes. This is the standard mechanism for interactive dashboards in Databricks SQL.

Exam trap

The trap here is confusing dashboard filters with parameters, assuming that a filter widget alone can drive dynamic query updates.

14
MCQeasy

An analyst is creating a Databricks SQL dashboard and wants to give viewers a single numeric value that stands out, such as total revenue for the current quarter. Which visualization type should the analyst use?

A.Counter
B.Heatmap
C.Box plot
D.Table
AnswerA

A counter visualization displays one aggregated numeric value prominently, which is exactly what is needed to highlight a single KPI such as total revenue for the quarter. It is designed for single-value metrics and updates automatically when the underlying query result changes, making it ideal for dashboard headline figures.

Why this answer

A single aggregated KPI is best represented by a counter, which renders one number with strong visual emphasis. Tables show detail, heatmaps show patterns across two dimensions, and box plots show distribution, so none of them present a lone value as clearly as a counter does.

Exam trap

The trap here is reaching for a table because it can technically contain the number, when a counter is the visualization purpose-built for a single highlighted value.

15
MCQeasy

Which visualization type is most appropriate for displaying the distribution of a single continuous numerical variable, such as transaction amounts, in a Databricks Dashboard?

A.Pie chart
B.Line plot
C.Histogram
D.Scatter plot
AnswerC

Histograms aggregate continuous numerical data into distinct intervals or bins, plotting frequency counts on the vertical axis. This makes them the definitive choice for analyzing the statistical distribution and spread of metrics like transaction amounts.

Why this answer

Histograms are specifically designed to display the frequency distribution of continuous numerical variables by grouping data into contiguous bins. Choosing the correct visualization ensures that stakeholders can instantly identify data skewness, central tendencies, and outliers without misinterpreting the underlying statistical distribution.

Exam trap

Candidates often confuse continuous numerical distributions with categorical data, mistakenly choosing bar charts instead of histograms.

16
MCQhard

An analyst has a Databricks SQL dashboard with a table visualization showing order details, including an order_date column. A stakeholder wants to see only orders from the last 30 days but also wants the ability to change the date range without editing the query. The analyst adds a date-range parameter to the query and a parameter widget to the dashboard. After publishing, the stakeholder reports that changing the parameter does not affect the table. Which action should the analyst take to resolve this?

A.Verify that the parameter is referenced in the query's WHERE clause using the correct parameter syntax and that the query was saved and the dashboard refreshed after the change.
B.Change the parameter's data type from DATE to STRING so that the date-range selection is passed correctly to the query.
C.Recreate the table visualization from scratch and re-add the parameter widget, because parameters only apply to newly created visualizations.
D.Convert the parameter to a dashboard-level filter by adding the order_date field to the dashboard filters and removing the parameter widget.
AnswerA

A parameter only affects results if the query actually uses it in a filter, such as in the WHERE clause with the correct syntax. If the parameter was defined but not referenced, or the dashboard was not refreshed after saving, the widget will not change the output. Confirming the reference and refreshing the dashboard ensures the parameter is wired to the query and the latest version is published.

Why this answer

For a parameter to affect a visualization, the query must reference it, typically in a WHERE clause, and the dashboard must reflect the saved query version. If the parameter is defined but unused, or the dashboard was not refreshed after saving, changing the widget value will not alter results. Verifying the reference and refreshing addresses the most common causes of this symptom.

Exam trap

The trap here is assuming the parameter mechanism itself is broken and switching to a different filter type, when the usual cause is that the parameter is not referenced in the query or the dashboard was not refreshed.

17
MCQmedium

An analyst needs to display a comparison between actual and target sales figures in a dashboard. The data exists in two separate tables. Which approach is best to display this comparison in a single visualization?

A.Create two separate visualizations and place them side-by-side on the dashboard.
B.Use a JOIN operation in the SQL query to combine the tables before visualization.
C.Use the visualization's 'secondary data source' feature to link the tables.
D.Import both tables into the dashboard's local memory and filter them.
AnswerB

Joining tables via SQL is the standard way to prepare data for reporting. It allows the analyst to create a consolidated view of actual versus target data. This efficient approach keeps the dashboard lightweight and allows the visualization tool to render the comparison easily without unnecessary complexity or redundant processing.

Why this answer

Combining data from disparate tables within the SQL layer is the recommended best practice for dashboarding in Databricks. By performing a JOIN within the SQL query, the analyst delivers a pre-aggregated, clean dataset to the visualization engine. This approach simplifies the visualization setup, minimizes the processing load on the visualizer, and ensures high performance, which is critical for complex comparative analyses in business intelligence.

Exam trap

Candidates frequently attempt to merge disparate tables directly within the dashboard visualization settings instead of handling the logic in SQL.

18
Multi-Selecthard

You are configuring a Databricks SQL dashboard that includes a filter widget based on a query parameter. Which TWO statements correctly describe how parameters and filter widgets behave in this dashboard? (Choose two.)

Select 2 answers
A.Parameter values are permanently baked into the saved query definition, so changing a filter widget does not alter the SQL that is sent to the warehouse.
B.A filter widget can only be bound to a single visualization, and adding the same parameter to a second chart creates an independent, unlinked control.
C.A dashboard filter widget can be applied to multiple visualizations at once, so changing its value updates all connected queries that reference the same parameter.
D.A parameter referenced in a query with the {{ parameter_name }} syntax creates a filter widget on the dashboard that viewers can use to change the value.
E.Parameters can only accept numeric values, so a filter widget cannot be used to filter a dashboard by a text field such as region or product category.
AnswersC, D

Filter widgets are designed to be shared across visualizations. When several visualizations are based on queries that reference the same parameter name, a single filter widget controls them all, so one selection refreshes every connected chart. This gives consistent, coordinated filtering across the dashboard rather than per-chart controls.

Why this answer

Parameters written with the double-curly-brace syntax become dashboard filter widgets, and a parameter shared by name across queries lets one widget control multiple visualizations. The remaining statements are wrong because parameters are resolved at run time, filter widgets can drive many charts, and parameters support text and date types as well as numbers.

Exam trap

The trap here is assuming a filter widget is tied to one chart or only handles numbers, when parameters are shared by name and support text and date types.

19
MCQeasy

An analyst is preparing a report and needs to ensure that the dashboard data is always current. What is the most efficient way to achieve this?

A.Manually refresh the dashboard every morning.
B.Set a refresh schedule on the dashboard.
C.Re-run the SQL queries in a notebook and export the results.
D.Ask the SQL warehouse to stay running indefinitely.
AnswerB

Setting a refresh schedule is the native, efficient way to automate data updates in Databricks SQL dashboards. It ensures that the SQL queries are executed at pre-defined intervals, providing up-to-date visualizations for end-users without any manual effort from the analyst, meeting the requirement for efficiency and consistency.

Why this answer

Setting a regular refresh schedule is the correct way to ensure data remains fresh. This automation removes the manual effort of refreshing queries, ensuring that the dashboard always represents the latest state of the business. It is a fundamental operational task that guarantees the dashboard's reliability and relevance, preventing stakeholders from making decisions based on stale or outdated information, which is a major risk in any data-driven environment.

Exam trap

Many candidates mistakenly think they must manually execute queries every day or configure complex orchestration jobs just to keep a dashboard updated.

20
MCQmedium

A data analyst built a Databricks SQL dashboard with a chart showing monthly revenue. During a presentation, an executive asks to see only the months where revenue exceeded $100,000. The analyst wants to apply this condition directly in the visualization without rewriting the underlying query. Which Databricks SQL dashboard feature should the analyst use?

A.Edit the chart's query to include a WHERE clause filtering revenue greater than 100000.
B.Create a new calculated column in the dataset that flags high-revenue months and sort by it.
C.Add a filter to the dashboard and set it to apply only to the revenue chart.
D.Apply a visualization-level sort descending on revenue and manually deselect the bars below the threshold.
AnswerC

Dashboard filters in Databricks SQL operate on the dataset's columns and can be scoped to individual visualizations, so the analyst can add a numeric filter on the revenue column with a condition such as greater than 100000 and apply it only to that chart. This changes the displayed data without editing the query, which is exactly what the scenario requires.

Why this answer

Dashboard filters in Databricks SQL let analysts apply conditions such as revenue greater than a threshold at view time and scope them to specific visualizations. This meets the need to show only high-revenue months without altering the query, and it supports interactive toggling during a presentation. The other approaches either modify the query, add unnecessary columns, or rely on manual steps that are not reproducible.

Exam trap

The trap here is assuming that any change to the displayed data requires editing the underlying query, when Databricks SQL dashboard filters can apply conditions at view time without touching the SQL.

21
MCQeasy

Which visualization type is most appropriate for displaying the distribution of a single numerical variable across continuous intervals in a Databricks SQL dashboard?

A.Pie chart
B.Histogram
C.Scatter plot
D.Funnel chart
AnswerB

A histogram effectively groups continuous data into discrete 'bins' and represents the count of observations within each bin as a bar. This visualization is the industry standard for analyzing the shape, central tendency, and dispersion of a single numerical variable, making it perfect for identifying patterns like normal distributions.

Why this answer

Histograms are the standard statistical tool for visualizing the frequency distribution of numerical data. By binning data into intervals, analysts can easily identify patterns, skewness, or outliers within a dataset. Understanding distribution is fundamental in data analysis for characterizing datasets before applying advanced statistical models or performing deeper exploratory data analysis within the Databricks environment.

Exam trap

Candidates often confuse histograms with bar charts when trying to display continuous numerical distributions, ignoring the need for data binning.

22
MCQhard

Refer to the exhibit. An analyst notices that widget 2 is displaying incorrect trends. Based on the configuration provided, what is the most likely cause?

A.The widget type is set to 'line' instead of 'bar'.
B.The X-axis for widget 2 is not properly aligned to the date range.
C.The query for widget 2 does not aggregate data to match the X-axis.
D.The 'revenue' column is incompatible with the 'line' chart type.
AnswerC

If the query does not group by the 'date' column, the visualization may attempt to plot raw, un-aggregated data points, leading to a jagged or incorrect trend line. For a time-based chart, the SQL query must include an appropriate 'GROUP BY' clause to ensure the visualization displays the correct trend.

Why this answer

The configuration shows that both widgets share the same X-axis ('date'), but they are visualizing different metrics ('sales' vs 'revenue'). If the data is aggregated at different levels or filtered differently, the trends might appear conflicting. Identifying mismatches between data sources and visualization axes is a common troubleshooting step for analysts, ensuring that the dashboard accurately reflects the underlying business logic and prevents misleading interpretations of the reported data.

Exam trap

Candidates often look for complex syntax errors in the SQL code rather than checking whether the underlying aggregation levels match the visualization axes.

23
MCQeasy

A data analyst is creating a Databricks SQL dashboard to display a single key performance indicator: the total number of active subscriptions for the current day. The value must be prominent and readable at a glance, with no axes or categories. Which visualization type should the analyst choose?

A.Counter
B.Bar chart
C.Line chart
D.Pie chart
AnswerA

A counter visualization displays a single aggregated value prominently, which is exactly what is needed for a KPI such as today's active subscription count. It has no axes or category encodings, so it presents the number clearly for at-a-glance reading. This makes it the appropriate choice for a single-value dashboard widget focused on one metric without additional dimensions.

Why this answer

A counter visualization is purpose-built to display one aggregated numeric value without axes, categories, or series. For a dashboard KPI such as the current day's active subscription count, it presents the figure prominently and is immediately readable. Other chart types require dimensions or series that do not exist in this single-value scenario, so they would add unnecessary complexity.

Exam trap

The trap here is assuming any chart type can display a single value, when only a single-value visualization like a counter avoids axes and categories entirely.

24
MCQeasy

An analyst is creating a dashboard in Databricks SQL and wants to display the number of active users per day over the last 30 days. The data is stored in a Delta table with a timestamp column. Which visualization type should the analyst use to best show the trend over time?

A.Scatter plot
B.Bar chart
C.Line chart
D.Pie chart
AnswerC

A line chart is ideal for displaying trends over time. It plots data points connected by lines, making it easy to see how the number of active users changes from day to day. With dates on the x-axis and user count on the y-axis, the analyst can quickly identify increases, decreases, or patterns over the 30-day period.

Why this answer

A line chart is the most appropriate visualization for showing trends over time. It connects data points to illustrate changes and patterns, making it easy to interpret the daily active user count over the 30-day period. Other chart types are better suited for different analytical purposes.

Exam trap

The trap here is selecting a bar chart because it can show time on the x-axis, but a line chart is superior for trend analysis.

25
Multi-Selectmedium

An analyst is preparing a Databricks SQL dashboard for an executive review. The dashboard contains several visualizations built from different queries. The analyst wants to ensure that viewers can change a single value, such as a fiscal quarter, and have all relevant visualizations update consistently. Which TWO approaches allow the analyst to achieve this interactive filtering across multiple visualizations? (Choose two.)

Select 2 answers
A.Embed the quarter value directly in each query's WHERE clause and republish the dashboard whenever the quarter changes.
B.Add a dashboard-level filter for the fiscal quarter field, ensuring each visualization's dataset exposes a field with the same name and type so the filter applies to all of them.
C.Create a parameter in each query that references the same parameter name, add a parameter widget to the dashboard, and use it to drive the value across the queries.
D.Use a cross-filter from a table visualization that lists quarters, relying on the dashboard to propagate the selection to all other widgets regardless of their datasets.
E.Duplicate each visualization and create separate copies for each quarter, then instruct viewers to switch between dashboard tabs manually.
AnswersB, C

Dashboard-level filters apply to all visualizations whose datasets contain a matching field. When each dataset exposes a fiscal quarter field with the same name and compatible type, a single filter selection propagates to every relevant widget. This gives viewers one control that updates multiple visualizations consistently, which is exactly the cross-visualization behavior requested for the executive review.

Why this answer

Shared parameters and dashboard-level filters are the two supported mechanisms for driving multiple visualizations from one control. Parameters work when queries reference the same parameter name and a parameter widget is added, while dashboard filters work when datasets expose a matching field. Both give viewers a single selection point that updates all relevant widgets, unlike hardcoding values or duplicating charts.

Exam trap

The trap here is assuming cross-filtering or duplicated charts can uniformly filter every visualization, when shared parameters or dashboard-level filters with matching fields are the mechanisms that actually do so.

26
MCQmedium

An analyst is creating a visualization of daily sales trends over the past year. They notice that the chart is cluttered and difficult to interpret due to the high volume of individual data points. Which action should the analyst take to improve readability?

A.Change the chart type to a scatter plot.
B.Filter the dataset to only include the last seven days.
C.Change the X-axis grouping from 'Day' to 'Month'.
D.Increase the chart size to fill the entire screen width.
AnswerC

Grouping by month aggregates the daily values into manageable segments, effectively smoothing out the line chart. This reduction in granularity helps the viewer focus on monthly performance patterns and seasonal changes, which provides clearer insights than attempting to interpret 365 individual data points on a single chart view.

Why this answer

Aggregating data by a larger time grain, such as weeks or months, is a best practice when visualizing high-frequency time-series data. This reduces noise and highlights long-term trends rather than daily fluctuations. By adjusting the visualization settings to group data, the analyst makes the insights more accessible to stakeholders, facilitating faster decision-making and preventing cognitive overload caused by displaying hundreds of individual data points simultaneously.

Exam trap

Candidates often try to solve visualization clutter by deleting data points or filtering out rows, which results in inaccurate reporting, rather than simply changing the aggregation interval for better clarity.

27
MCQmedium

You are visualizing server error logs over time. You want to highlight days where the error count exceeds a specific threshold (e.g., 50 errors). Which visualization feature is best for this?

A.Add a trend line to the chart.
B.Use conditional formatting on the data series.
C.Change the chart type to a pie chart.
D.Filter out all days with fewer than 50 errors.
AnswerB

Conditional formatting allows you to define rules, such as changing the color of a bar or line segment when the count exceeds 50. This provides immediate, intuitive visual feedback to the user about which days are problematic, satisfying the requirement to highlight specific data points effectively.

Why this answer

Conditional formatting is the standard tool for data highlighting. By applying rules to the visualization, the analyst can automatically change colors or icons based on the data values. This 'at-a-glance' identification of anomalies is crucial for operational monitoring, as it allows users to pinpoint problematic timeframes immediately, reducing the mean time to detect issues without requiring the user to inspect every individual data point manually.

Exam trap

Candidates often wrongly select manual filters or separate dashboard creation instead of utilizing conditional formatting rules to automatically highlight data anomalies.

28
Multi-Selecthard

An analyst is preparing a Databricks SQL dashboard for an executive review and needs to ensure the numbers shown are trustworthy and reproducible. The analyst wants to document the data lineage and make the dashboard resilient to schema changes in the source tables. Which TWO actions should the analyst take? (Choose two.)

Select 2 answers
A.Convert every numeric column to a string in the query so formatting is consistent.
B.Use fully qualified three-level namespace names such as catalog.schema.table in the dataset query.
C.Grant the dashboard viewers CAN MANAGE permission on the underlying tables.
D.Create the visualizations from a saved Databricks SQL query that is stored in a Git-backed workspace folder.
E.Enable the dashboard's scheduled refresh to run every minute.
AnswersB, D

Referencing tables with their full catalog.schema.table names removes ambiguity about which object is being read, especially in a Unity Catalog environment with many similarly named tables. It makes the dependency graph explicit for lineage tools and reduces the chance that a session default schema change silently points the query at a different table. This improves resilience against schema and workspace reorganizations.

Why this answer

Trustworthy, reproducible dashboards depend on a versioned, reviewable source of SQL and on unambiguous object references. Storing the query in a Git-backed workspace folder provides history and peer review, while using fully qualified catalog.schema.table names makes dependencies explicit and guards against silent redirection when defaults change. Together these practices support lineage documentation and resilience, unlike refresh tuning, type coercion, or over-permissive grants.

Exam trap

The trap here is assuming that more frequent refreshes or broader permissions improve trustworthiness, when the real drivers are version-controlled SQL and explicit, fully qualified table references.

29
MCQeasy

Which visualization type is most appropriate for showing the distribution of a single continuous variable, such as the spread of customer ages?

A.Pie Chart
B.Line Chart
C.Histogram
D.Scatter Plot
AnswerC

Histograms are specifically designed to visualize the distribution of continuous numerical data. By binning values and showing counts per bin, they provide a clear view of where data points are concentrated, which is exactly what is needed to understand the spread of variables like customer age.

Why this answer

A histogram is the standard tool for visualizing the distribution of numerical data. It groups continuous values into ranges, or 'bins', and displays the frequency of observations in each bin. This allows analysts to quickly identify the shape of the data, such as whether it is normally distributed, skewed, or contains outliers, which is foundational for exploratory data analysis and effective business reporting.

Exam trap

Test-takers frequently confuse histograms with bar charts, failing to realize that histograms specifically plot continuous numerical data grouped into contiguous bins.

30
MCQmedium

An analyst wants to publish a dashboard for the executive team. The dashboard contains sensitive data that should only be accessible to specific users. What is the correct way to handle access control?

A.Hard-code the security logic into the SQL queries.
B.Export the dashboard as a PDF and email it to the team.
C.Use the 'Share' button to grant 'Can View' access to authorized groups.
D.Make the dashboard public and add a password to the title.
AnswerC

The 'Share' functionality in Databricks allows for precise, role-based access control. By sharing the dashboard with specific groups, the analyst ensures that authentication and authorization are handled by the platform's security framework, keeping data access centralized, auditable, and restricted to only those who strictly require it.

Why this answer

Managing dashboard permissions via the Workspace sharing settings is the standard approach to secure sensitive data. By assigning 'Can View' or 'Can Edit' roles based on user groups, the analyst ensures that only authorized individuals see the dashboard. This is a fundamental skill for data governance, ensuring that insights remain secure and compliant while still being available to the relevant stakeholders within the organization.

Exam trap

Candidates often confuse workspace-level permissions with object-level permissions, incorrectly assuming that granting access to a folder automatically grants access to all individual dashboards contained within the workspace without manual intervention.

31
MCQhard

A Databricks SQL dashboard uses a counter visualization to display total revenue for the current month. The analyst notices that the counter shows a value even when the underlying query returns zero rows for the selected filter. Which behavior explains this and what should the analyst do to make the counter reflect the empty result set correctly?

A.The counter is using a COUNT(*) aggregation, which returns 0 for empty sets; the analyst should switch to SUM(revenue).
B.The dashboard cache is serving a stale result; the analyst should disable caching for the warehouse.
C.The counter is aggregating a column that contains NULLs; the analyst should wrap the measure in COALESCE to force a zero.
D.The counter is configured to display the last non-null value or a default when the result set is empty; the analyst should adjust the counter's empty-state or default-value setting.
AnswerD

Counter visualizations in Databricks SQL can carry display defaults or retain a prior value when the underlying dataset returns no rows, which is why a stale or placeholder number appears. The fix is in the visualization configuration, not the SQL, so the analyst should inspect and clear the default or empty-state behavior so the counter shows no data or an explicit zero as intended.

Why this answer

When a counter's dataset returns no rows, the aggregate value is NULL, and Databricks SQL counters can be configured with a default or fallback display that produces the misleading number. The correct remedy is to review the counter's visualization settings, including any default value or empty-state option, and align them with the intended behavior so an empty result is shown honestly rather than replaced by a placeholder.

Exam trap

The trap here is jumping to SQL-level fixes like COALESCE or COUNT(*) when the symptom originates in the visualization's empty-state or default-value configuration.

32
MCQeasy

An analyst has a Databricks SQL dashboard with a table visualization showing the top 20 customers by lifetime value. The stakeholder wants the same numbers represented as proportional horizontal bars so differences between customers are easier to compare visually. Which visualization type should the analyst choose?

A.Line chart
B.Pie chart
C.Scatter plot
D.Bar chart
AnswerD

A bar chart places each customer on a categorical axis and encodes lifetime value as bar length, which makes ranking and magnitude comparisons immediate. When oriented horizontally, long customer names remain readable on the y-axis. Databricks SQL visualizations support horizontal bar charts directly, and the built-in sorting lets the analyst order customers by value so the top 20 are clearly ranked.

Why this answer

A bar chart is the standard choice for comparing a numeric measure across discrete categories. Each customer gets a bar whose length equals lifetime value, so ranking and relative differences are immediately visible, and a horizontal orientation keeps long customer names legible. Databricks SQL's visualization editor supports horizontal bar charts and sorting, making it straightforward to present the top 20 customers in descending order.

Exam trap

The trap here is reaching for a pie chart because the request mentions proportions, when the real task is comparing many discrete categories by magnitude, which bars handle far better.

33
MCQmedium

A data analyst is building a Databricks SQL dashboard to track daily sales. They need to ensure that the dashboard automatically updates every hour to reflect the latest ingestion from Delta tables. Which mechanism should the analyst configure to achieve this requirement?

A.Enable the 'Auto-refresh' toggle within the browser settings of the dashboard viewer.
B.Configure a SQL warehouse to 'Auto-stop' every hour to trigger a metadata update.
C.Configure a schedule on the dashboard using a SQL warehouse to run at the desired frequency.
D.Create a Job in the Workflows UI that explicitly opens the dashboard URL every hour.
AnswerC

Scheduling is the native Databricks feature that allows dashboards to run queries at defined intervals. This approach ensures that the SQL warehouse executes the underlying queries, updates the cache, and refreshes the visualizations, providing consistent and automated data delivery to users without requiring manual refreshes or browser activity.

Why this answer

Databricks SQL dashboards include a built-in schedule feature that allows analysts to define an interval for automated refreshes. By configuring a schedule, the dashboard queries run automatically in the background, ensuring stakeholders view current data without manual intervention. This feature is vital for operational reporting where timeliness is critical for business decision-making and performance monitoring across the organization.

Exam trap

Candidates often think dashboards update in real time automatically without configuring an explicit schedule tied to a running SQL warehouse.

34
MCQhard

A dashboard author wants viewers to click a bar in a Databricks SQL chart and have the dashboard display a second chart filtered to that bar's category. Which feature should the author configure to achieve this interactive behavior?

A.A scheduled refresh on the dashboard so the second chart reloads on an interval
B.A separate query per category added as individual visualizations to the dashboard
C.Dashboard cross-filtering or a dashboard-level filter driven by the selected value
D.A parameter default value set to a specific category in the second chart's query
AnswerC

Databricks SQL dashboards support interactive filtering where selecting a value in one visualization, such as a bar's category, can drive a dashboard filter that updates other visualizations. Configuring this cross-filter or selection-driven filter lets viewers drill into a category and see the second chart update accordingly, matching the requested behavior.

Why this answer

Interactive cross-chart behavior comes from dashboard filtering driven by a selected value, so clicking a bar's category updates the other chart. Scheduled refresh only reloads data, a parameter default is static, and separate per-category queries create static charts, none of which respond to a viewer's selection.

Exam trap

The trap here is confusing data-refresh scheduling with interactivity, when only selection-driven dashboard filtering reacts to a viewer clicking a chart element.

35
Multi-Selectmedium

Which THREE of the following steps are necessary to create an interactive dashboard in Databricks SQL? (Choose three)

Select 3 answers
A.Write a SQL query that includes filter parameters.
B.Define the visualization type in the SQL query code.
C.Add the visualization to a dashboard canvas.
D.Configure dashboard filters to link to parameters.
E.Upload a CSV file containing the final report data.
AnswersA, C, D

To make a dashboard interactive, the underlying SQL queries must be parameterized. By using syntax like '{{ parameter_name }}', the analyst creates placeholders that the dashboard interface can dynamically replace with user-selected values, enabling the interactivity required for meaningful data exploration and ad-hoc analysis by the end-users.

Why this answer

Building an interactive dashboard involves creating the underlying queries, selecting appropriate visualizations, and adding parameters for end-user interaction. Mastering this workflow is the core competency of a Databricks Data Analyst. These steps create a robust, self-service environment where users can filter and analyze data dynamically, reducing the burden on analysts to generate custom reports and empowering stakeholders to find their own answers to business questions.

Exam trap

Candidates often forget the step of configuring the filter link, believing that simply adding a parameter to the query is sufficient to make it appear and function in the dashboard interface.

36
MCQmedium

An analyst is designing a dashboard in Databricks SQL to monitor key performance indicators (KPIs). The dashboard will be viewed by executives who need to quickly see the current value of each KPI and whether it is meeting its target. Which visualization type is most appropriate for displaying a single KPI value along with its target?

A.Counter visualization
B.Bar chart
C.Table
D.Pie chart
AnswerA

A counter visualization in Databricks SQL is designed to display a single numeric value prominently. It can be configured to show a target value and indicate whether the current value meets, exceeds, or falls short of the target. This makes it ideal for executive dashboards where quick assessment of KPI status is needed.

Why this answer

The counter visualization is specifically designed for displaying a single KPI value with optional target comparison. It provides a clear, visual indication of whether the KPI meets its target, making it the best choice for executive dashboards that require quick status assessment.

Exam trap

The trap here is assuming any chart that can show a number works, but the counter is purpose-built for single KPI display with target tracking.

Ready to test yourself?

Try a timed practice session using only Creating Dashboards Visualizations questions.