Salesforce certification · Exam Salesforce-Tableau-Data-Analyst

Salesforce-Tableau-Data-Analyst Mock Exam Page 5

Salesforce Tableau Data Analyst

Free Salesforce-Tableau-Data-Analyst mock exam questions 41–50, each with the answer and an explanation.

20 questions · 35 minutes · free, no sign-up

Free Salesforce-Tableau-Data-Analyst questions

41–50 of 62 free
Question 41 Choose 1
A Data Analyst is working with the following dataset.

The analyst has dragged Vendor onto Rows and Discount onto Columns, added a reference line, and selected Box Plot without changing any default configuration settings. Which action does the analyst need to take next to achieve the desired box plot?
Show answerHide answer

Correct answer: B Add Invoice Number to the Marks card Detail shelf.

Explanation

Explanation

The correct answer is B. Add Invoice Number to the Marks card Detail shelf. The current result shows only one aggregated mark per Vendor because Tableau is aggregating the Discount values (using AVG by default) at the Vendor level. To create a proper box plot, Tableau needs access to the individual, disaggregated data points for each Vendor. Adding a unique identifier, such as Invoice Number, to the Detail shelf of the Marks card disaggregates the data, allowing Tableau to plot every individual Discount value. Once the individual marks are visible, the Box Plot reference line can accurately calculate and display the distribution (median, quartiles, and whiskers) for each Vendor, as shown in the desired result. This makes option B the correct answer.

Why the other options are incorrect:

A. Allow whiskers to extend to the maximum extent of the data
– This configuration setting only changes how the whiskers of the box plot are drawn (e.g., to the 1.5 IQR or the full data range). It does not resolve the underlying issue that the data is currently aggregated into a single mark per Vendor. The box plot cannot be generated correctly without individual data points.

C. Change AVG(Discount) field aggregation to Count Distinct
– Changing the aggregation to Count Distinct would count the number of unique discount values per Vendor. This would still result in a single aggregated mark per Vendor and would not provide the individual discount values needed to draw the box plot.

D. Convert AVG(Discount) field to Discrete
– Converting the measure to discrete would change how the values are displayed on the axis (as individual headers rather than a continuous range). It does not disaggregate the data or provide the individual points required for the box plot distribution.

Reference:

Tableau Desktop Specialist and Tableau Data Analyst content areas on Visualizations — specifically creating box plots, the requirement of disaggregated data using a dimension on the Detail shelf, and configuring reference lines for distribution analysis.
Question 42 Choose 1
A Data Analyst is using containers on a dashboard. How should the analyst make sure multiple objects within a container are always taking up the same width or height, even if the container is resized?
Show answerHide answer

Correct answer: D Use the distribute evenly option

Explanation

Explanation

In Tableau dashboards, the only way to guarantee that multiple objects inside a container (horizontal or vertical) always maintain identical width or height — no matter how the container or browser window is resized — is by using the “Distribute Evenly” feature. This locks the objects to share the container’s space equally and automatically.

✅ Correct Option: D. Use the distribute evenly option
Select all objects inside the container → right-click (or use the toolbar) → Distribute Evenly (horizontally for equal width, vertically for equal height). Tableau then forces every object to occupy exactly the same proportion of the container at all times, even during resizing or on different devices.

❌ Incorrect Option: A. Use the Layout tab to set the size of each object
The Layout tab lets you enter fixed pixel values, but fixed sizes break responsiveness. When the container shrinks or grows, objects with fixed sizes will overlap, leave gaps, or get cut off instead of resizing together.

❌ Incorrect Option: B. Float the objects and manually adjust the size
Floating objects ignore containers completely. They sit on an absolute layer and do not react to container resizing at all — you would have to manually reposition and resize everything again every time the dashboard size changes.

❌ Incorrect Option: C. Adjust the size of each object individually
Manually dragging or typing sizes gives inconsistent results. As soon as the container is resized (browser zoom, mobile view, etc.), objects keep their individual sizes and stop aligning properly — no automatic equal distribution occurs.

Reference:
Size and Lay Out Your Dashboard
Question 43 Choose 1
You have the following tiled dashboard that has one sheet.

You want to replace the sheet with Sheet2.

What should you do?
Show answerHide answer

Correct answer: D Drag Sheet2 to the dashboard.

Explanation

Explanation

In a tiled Tableau dashboard, a sheet can be replaced by dragging another sheet into its tile area. Tableau highlights the target location and automatically swaps the sheet while keeping the existing layout, size, spacing, and formatting intact. This drag-and-drop method avoids deleting objects or adding extra tiles and is the only direct way to replace a sheet without altering the dashboard’s structure.

🟦 Correct Answer: D. 🟦 Drag Sheet2 to the dashboard
Dragging Sheet2 onto the tile where the existing sheet is displayed allows Tableau to immediately replace it while preserving the layout. This method maintains formatting, spacing, borders, and sizing with no extra cleanup or adjustments, making it the most efficient and accurate way to replace a sheet on a tiled dashboard.

🟥 Why the other options are incorrect

A. 🟥 Right-click Sheet2 and select “Add to Dashboard”
This action adds Sheet2 as a new extra tile instead of replacing the existing one. It requires manual removal or rearrangement afterward, causing additional effort and layout disruption.

B. 🟥 Select Sheet3 and click the Swap Sheet button
Tableau dashboards do not contain a swap sheet button. Swapping can only be performed using drag-and-drop. This option refers to a non-existent feature.

C. 🟥 From the context menu of Sheet3, select “Remove Dashboard item”
Removing the item deletes the tile and breaks the layout, forcing you to rebuild spacing and repositioning. It does not replace the existing sheet and adds unnecessary steps.

E. 🟥 From the context menu of Sheet3, select “Deselect”
Deselect does not change dashboard content or layout. It cannot replace, swap, or remove sheets, making it irrelevant to modifying dashboard objects.

🔗 Official Reference
📄 Tableau Help — Create a Dashboard
Question 44 Choose 1
What should a Data Analyst use to visualize the distribution and variability of measure values along an axis?
Show answerHide answer

Correct answer: B

Explanation

Explanation

When you need to show how a measure is distributed (spread, central tendency, outliers, skewness) across categories or time, the chart that explicitly displays variability along an axis with clear statistical markers is a box-and-whisker plot.

🟢 Correct Option: B. Box Plot
A Box Plot visually summarizes distribution and variability in one glance:

The box shows the interquartile range (25th to 75th percentile)
The line inside is the median
Whiskers extend to min/max (or 1.5× IQR)
Dots beyond whiskers are outliers
Perfect for comparing variability of a continuous measure (e.g., Sales, Profit, Duration) across categories.

🔴 Incorrect Option: A. Bullet Graph
Bullet graphs are designed for comparing a primary measure against a target and benchmarks (like a gauge alternative). They show performance, not statistical distribution or variability of the underlying data points.

🔴 Incorrect Option: C. Scatter Plot
Scatter plots are excellent for showing relationships or correlation between two continuous measures, or spotting clusters/outliers individually. They do not summarize distribution (median, quartiles, whiskers) in a compact statistical way like a box plot does.

🔴 Incorrect Option: D. Histogram
Histograms show the frequency distribution of a single measure using bins, but they are not placed “along an axis” of categories. They visualize one overall distribution, not side-by-side variability across multiple groups.

Reference:
Tableau Official – Build a Box Plot
Question 45 Choose 1
You have the following chart that shows profits and discounts over time.

You need to combine the lines to appear as shown in the following chart.

What should you do?
Show answerHide answer

Correct answer: C Set Discount to Dual Axis

Explanation

Explanation

When you want to show two measures (e.g. Profit and Discount) together on a single chart over time, using a dual-axis is the standard way in Tableau to overlay two independent value lines — each with its own axis, but sharing the same time dimension on the x-axis. This lets each measure keep its own scale (if required) while combining them visually in one view. Other methods won’t properly overlay two continuous measure-lines with separate axes.

Why 🟢 C (Dual Axis) is correct

Setting Discount to Dual Axis ensures both measures (Profit and Discount) draw on the same time-based X-axis but with separate Y-axes. This allows Tableau to overlay the two lines in the same pane, while preserving independent scaling and visual clarity. Once dual axis is applied, you can use the Marks card to ensure each line has its own style/color.

❌ Why the other options are incorrect

🔴 A. Drag Discount to Color on the Marks card
Dragging Discount to color would only change the color encoding of existing marks — it doesn’t add a second measure. You would still have just one measure (e.g. Profit) plotted; Discount would be used merely as a color dimension, not drawn as a separate line. So you won’t get two lines.

🔴 B. Convert Discount to Discrete
Converting Discount to discrete changes how Tableau treats discount values — as categorical, not continuous measures. That won’t cause it to plot Discount as a second continuous measure over time. Instead, it would treat discount as categories, not a meaningful line trend over time. That fails your goal of “combining lines over time.”

🔴 D. Drag Discount to the Columns shelf
Dragging Discount to Columns would create a different chart dimension (e.g. separate columns per discount value) — not overlay Discount as a second measure over time. This restructures the chart, rather than combining measures along the time axis. It is not how you overlay two measures over the same time series.

Summary
To overlay two measures (Profit and Discount) over time in one chart in Tableau, you should use Dual Axis — this overlays the measures with independent axes but a common time dimension. Other approaches (color encoding, discrete conversion, moving to Columns) do not create a proper dual-measure overlay. Dual-axis is the correct, standard method in Tableau for this scenario.
Question 46 Choose 1
When should a Data Analyst use a Treemap in Tableau?
Show answerHide answer

Correct answer: C To display hierarchical data with nested categories

Explanation

Explanation

Treemaps are Tableau’s go-to chart for showing hierarchical (nested) relationships and part-to-whole contributions at the same time. Larger rectangles dominate the view, smaller ones nest inside, and color adds an extra performance layer — making complex category structures instantly readable.

✅ Correct Option: C. To display hierarchical data with nested categories
Treemaps shine when data has multiple levels (e.g., Region → Country → Product Category → Product). Each rectangle’s size shows the weight of a measure (sales, profit), while nesting clearly reveals the parent-child structure. Color can highlight profitability or growth, giving a rich, space-efficient overview of hierarchies.

❌ Incorrect Option: A. To analyze the distribution of a measure over time
Treemaps have no built-in time axis and cannot display sequence, trends, or seasonality. If you need to see how a measure evolves day-by-day, month-over-month, or year-over-year, line charts, area charts, or Gantt bars are far more effective and intuitive than forcing time into a treemap.

❌ Incorrect Option: B. To show the correlation between two continuous variables
Correlation analysis requires an X-Y scatter plot where both axes are continuous measures (e.g., Sales vs. Profit). Treemaps are driven by discrete categories for nesting and only one primary measure for size — they cannot plot two continuous variables against each other or reveal linear relationships, clusters, or regression patterns.

❌ Incorrect Option: D. To visualize the change in a measure across different regions in a map
Geographic patterns demand spatial context. Maps (filled, symbol, or density) use real-world coordinates and boundaries so viewers instantly recognize locations. Treemaps ignore geography entirely; regions would just become random rectangles with no sense of proximity, borders, or relative position.

Reference:
Tableau Official – Build a Treemap
Which Type of Chart or Graph is Right for You?
Question 47 Choose 1
You have a database that includes field named sales, City and Region.
You have the following chart that shows the number of sales made in different cities.
 


You want to dynamically show the corresponding region when users hover their mouse over any of the bars.
What should you do?
Show answerHide answer

Correct answer: D Drag Region to Tooltip on the Marks card

Explanation

Explanation

The Tooltip feature in Tableau is specifically designed to display additional, relevant information when a user hovers their mouse over a mark (like a bar, point, or area) on a visualization. To dynamically show the corresponding Region when hovering over a City bar, you must drag the Region field onto the Tooltip shelf on the Marks card. This action embeds the field's value into the pop-up text that appears on hover.

✅ Correct Option: D. Drag Region to Tooltip on the Marks card
✅ Dragging the Region field to the Tooltip shelf on the Marks card is the precise action needed to display that field's value in the pop-up that appears when hovering over a mark. The Marks card controls the appearance and properties of the marks, and the Tooltip shelf manages the information displayed on hover, achieving the required dynamic display of region.

❌ Incorrect Option: A. Right-click a bar in the chart, select Annotate and then select Mark.
❌ The Annotate function is used to add static, persistent text notes directly to a mark on the view, often to highlight a specific data point. It does not dynamically show a field's value on hover; it places a fixed text box that remains visible even when the mouse moves away.

❌ Incorrect Option: B. Right-click a bar in the chart, select Mark Label and then select Always show.
❌ The Mark Label feature is used to display the value of the mark itself (e.g., the Sales total for that bar) or the field on the Label shelf, permanently next to the mark. This is a static label, not a dynamic hover-based tooltip, and it wouldn't automatically include the Region field unless Region was placed on the Label shelf.

❌ Incorrect Option: C. Edit the aliases for City.
❌ Aliases are used to change how a field member's name is displayed in the view without altering the underlying data (e.g., changing "LA" to "Los Angeles"). Editing the alias for City would only change the name of the bar; it would not display a completely different field, Region, on hover.

🌐 Reference:
Format Individual Parts of the View
Question 48 Choose 1
You plan to create a visualization that has a dual axis chart. The dual axis chart will contain a shape chart and a line chart will use the same measure named Population on the axis.

You need to configure be shapes to be much larger than the line.

What should you do?
Show answerHide answer

Correct answer: A Duplicate Population Drag the duplicate to the second Marks card and configure the see of the marks independently.

Explanation

Explanation

✅ Correct Approach (Option A):
Creating separate mark layers is essential for dual-axis customization in Tableau. When you duplicate a measure, Tableau generates independent Marks cards for each visual layer. This allows you to set one layer as a line chart and another as shapes while controlling their sizes separately through individual Size sliders. The shapes can be made significantly larger than the line while maintaining synchronized axes for accurate data representation.

Why Other Options Don't Work:

❌ Option B:
Custom shapes only change the symbol design but don't control the actual display size. The fundamental issue is that without separate Marks cards, both the line and shapes share the same size settings. Creating custom shapes involves complex file management but doesn't address the core need for independent size control between chart elements.

❌ Option C:
The Shape Palette merely provides different symbol options but doesn't manage their scale. Resetting the palette reloads default symbols but maintains the current size constraints. This approach fails because it doesn't create the necessary separation between the line and shape formatting properties needed for size differentiation.

❌ Option D:
Converting to discrete dimensions fundamentally changes the data structure from continuous to categorical. This breaks the dual-axis capability since discrete fields create headers instead of measurable axes. The visualization would lose its quantitative scaling, making it impossible to properly compare the line and shape elements.

Key Takeaway
Duplicate the measure to create independent mark layers, then use separate Size controls to make shapes larger than the line. Other options modify symbols or data structure but don't enable proportional sizing.

Reference
Tableau Help: "Create Dual Axis Charts" - Use separate Marks cards to customize the appearance of each axis in dual-axis visualizations.
Question 49 Choose 1
When using a Show/Hide button in Tableau, what happens if the object is in a Tiled layout container?
Show answerHide answer

Correct answer: A The layout automatically adjusts to fill the space.

Explanation

Explanation

Tiled containers are designed to ensure that no empty space is left on the dashboard; they manage a single-layer grid where objects resize automatically to occupy all available space. When you use the Show/Hide button to hide a tiled object or container, the object's allocated space is effectively reduced to zero size (it collapses). Consequently, the remaining tiled objects inside the same parent container automatically expand or shift to fill the space that the hidden object previously occupied, maintaining the full utilization of the container's area.

✅ Correct Option: A. The layout automatically adjusts to fill the space.
This is the key behavior of a Tiled layout. When the Show/Hide button is used to hide a tiled container (or an object within a tiled container), the hidden object collapses to a size of zero. Since tiled objects are designed to share space and not overlap, the remaining adjacent tiled objects immediately expand or shift position to completely fill the newly created empty space. This is a crucial feature for creating responsive dashboards.

❌ Incorrect Option: B. The object disappears from the item hierarchy.
The object remains in the dashboard's Item Hierarchy on the Layout pane, as it has not been removed, only hidden. The hierarchy allows you to select, configure, and re-show the object later. The object itself is still part of the dashboard's structure, just not rendered on the canvas.

❌ Incorrect Option: C. The hidden object remains in the same position but is grayed out.
This description applies to a Floating object that is hidden using an overlay or a parameter-driven method (like a sheet swap), but it is not how the native Show/Hide button works, especially with a Tiled layout. When hidden using the button, the object's size collapses to zero, making it completely invisible and reclaiming its space.

❌ Incorrect Option: D. The object gets deleted from the dashboard.
The Show/Hide button is a toggle function, not a deletion function. The object is merely hidden and can be brought back by clicking the button again. Deleting an object requires explicitly selecting it and choosing Remove from Dashboard.

📚 Reference
You can find the official documentation for dashboard organization, which details the behavior of tiled layouts:
Tableau Help: Size and Lay Out Your Dashboard
Question 50 Choose 1
Which attributes are required for the field that is used to hide or show an object with Dynamic Zone Visibility?
Show answerHide answer

Correct answer: B Boolean, Single Value, Independent of the viz

Explanation

Explanation:

Dynamic Zone Visibility (DZV) uses a field to act as a simple switch, determining whether a dashboard zone (like a sheet or object) should be visible or hidden. For this switch to function correctly and efficiently across various contexts, it must be a Boolean (True/False) result, and it must be a Single Value so Tableau only has one clear instruction (show or hide). Crucially, the calculation must be Independent of the viz (view) on the sheet it controls, ensuring the visibility decision is made before the sheet loads its data, preventing conflicts or circular dependencies.

Correct Option: 🟢 B. Boolean, Single Value, Independent of the viz

Boolean:
The field must evaluate to a True (Show) or False (Hide) result. This is the fundamental requirement for a simple on/off switch for visibility.
Single Value:
The calculation or field must return only one value for the entire dashboard zone it controls. If it returned multiple values, Tableau wouldn't know if it should show or hide the zone.
Independent of the viz:
The calculation cannot reference any dimension or measure that is on the sheet whose visibility it controls. The decision to show/hide must be global to the dashboard or based on a parameter or field not tied to the view itself. This allows Tableau to resolve the visibility before rendering the sheet.

Incorrect Options:

❌ A. Boolean, Parameter, Single Value:
While Boolean and Single Value are required, Parameter is a type of object that can meet the requirements, but it's not a required attribute of the controlling field itself. The field could be a parameter, a calculated field, or another type, as long as it has the three core attributes listed in option B.

❌ C. String, Fixed Level of Detail (LOD), Dependent on the viz:
This option fails on all three points. The field must be Boolean, not a String. LOD expressions are often used to achieve Single Value results, but using a FIXED LOD isn't a strict requirement, and it must be Independent of the viz, not Dependent.

❌ D. Single Value, Integer, Independent of the viz:
This option fails because the result must be Boolean (True/False), not an Integer. While an integer can sometimes be converted to a boolean (e.g., 1=True, 0=False), the underlying requirement is a boolean output for the visibility switch.

Reference:
Use Dynamic Zone Visibility - Tableau Help
Full mock exam

Sit the Salesforce-Tableau-Data-Analyst exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real Salesforce-Tableau-Data-Analyst exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full Salesforce-Tableau-Data-Analyst mock exam
  • 60questions per mock
  • 105 mintime limit
  • 212questions in the bank
  • Newmock on every attempt