0
0
Tableaubi_tool~20 mins

Database connections (SQL Server, PostgreSQL) in Tableau - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Database Connection Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Connection Types in Tableau

Which of the following statements correctly describes the difference between a live connection and an extract connection in Tableau when connecting to SQL Server or PostgreSQL databases?

ABoth live and extract connections query the database directly, but extracts are faster because they use caching on the server side.
BA live connection queries the database directly every time you interact with the dashboard, while an extract connection uses a snapshot of the data stored locally in Tableau.
CA live connection stores all data locally and never queries the database, whereas an extract connection queries the database on demand.
DLive connections only work with SQL Server, and extract connections only work with PostgreSQL.
Attempts:
2 left
💡 Hint

Think about how Tableau handles data updates and performance when connected to a database.

🎯 Scenario
intermediate
2:00remaining
Choosing the Right Authentication Method

You want to connect Tableau to a PostgreSQL database hosted on a remote server. Which authentication method should you choose to ensure secure access without storing your password in Tableau?

AUse Windows Authentication (Kerberos) if your environment supports it, so Tableau uses your Windows credentials securely.
BUse username and password authentication and save the password in Tableau for convenience.
CUse no authentication since the database is on a trusted network.
DUse anonymous login to avoid entering credentials.
Attempts:
2 left
💡 Hint

Consider security best practices for enterprise environments.

dax_lod_result
advanced
2:30remaining
Calculating Total Sales per Region with LOD Expressions

Given a Tableau data source connected live to SQL Server with sales data, you want to calculate total sales per region regardless of filters on product categories. Which Tableau LOD expression achieves this?

Tableau
{ FIXED [Region] : SUM([Sales]) }
A{ FIXED [Region] : SUM([Sales]) }
B{ EXCLUDE [Category] : SUM([Sales]) }
CSUM([Sales])
D{ INCLUDE [Region] : SUM([Sales]) }
Attempts:
2 left
💡 Hint

Think about which LOD expression ignores filters on other dimensions.

🔧 Formula Fix
advanced
2:00remaining
Troubleshooting Connection Errors in Tableau

You try to connect Tableau to a PostgreSQL database but receive the error: 'SSL connection is required. Please specify SSL options.' Which option correctly fixes this issue?

ADisable SSL in Tableau connection settings to avoid the error.
BUse a live connection instead of an extract to fix SSL errors.
CChange the database port to 80 to bypass SSL requirements.
DEnable SSL in Tableau connection settings and provide the required certificates if needed.
Attempts:
2 left
💡 Hint

SSL errors usually mean the connection requires encryption settings.

visualization
expert
3:00remaining
Designing a Dashboard to Monitor Database Connection Performance

You want to create a Tableau dashboard that shows the average query response time for SQL Server and PostgreSQL connections over the last 30 days. Which visualization best communicates this information clearly and accessibly?

AA pie chart showing the proportion of total queries from SQL Server vs PostgreSQL.
BA scatter plot with query response time on the x-axis and query count on the y-axis.
CA line chart with two lines, one for SQL Server and one for PostgreSQL, showing average response time by day.
DA stacked bar chart showing total queries per day for both databases combined.
Attempts:
2 left
💡 Hint

Think about how to show trends over time for two categories.