NewWork mode: your Claude Code or Codex on work calls, answering from your project's codeSkip to content

Quiz: BI / Tableau / PowerBI

BI / Tableau / PowerBI questions from real interviews as a quiz, with an explanation for every option.

Try it: 5 questions

Loading…

Sample questions

  1. Which statement best describes the difference between TCP and UDP?

    • TCP is only for local networks, while UDP is only for the internet.
    • TCP sends data without a connection, while UDP establishes a connection before sending.
    • Both TCP and UDP guarantee delivery, but only UDP preserves packet order.
    • TCP establishes a connection and provides ordered delivery; UDP sends datagrams without those guarantees.
    Full answer
  2. In DAX, how can you count rows where DueDate falls between one and two calendar months before today, inclusive?

    • Filter for DueDate >= EDATE(TODAY(), -2) and DueDate <= EDATE(TODAY(), -1), then use COUNTROWS.
    • Filter for dates from TODAY() - 60 to TODAY() - 30, then use COUNTROWS.
    • Filter for DATEDIFF(DueDate, TODAY(), MONTH) = 1, then use COUNTROWS.
    • Filter for DueDate >= EOMONTH(TODAY(), -2) and DueDate <= EOMONTH(TODAY(), -1), then use COUNTROWS.
    Full answer
  3. A Power BI model has valid active 1:N relationships between a fact table and its lookup tables. There is no need to preserve historical attribute snapshots or apply special matching logic. What should you usually do with fact-table columns created using RELATED or LOOKUPVALUE to copy lookup attributes?

    • Keep them solely to speed up model refreshes
    • Replace them with LOOKUPVALUE columns to make filtering faster
    • Remove them and use the lookup-table attributes directly
    • Keep them because lookup attributes are unavailable in visuals without copies
    Full answer
  4. In an SQL dialect that supports LIMIT and OFFSET, which query returns users' names from the third through the seventh row, inclusive, after sorting alphabetically?

    • SELECT name FROM users ORDER BY name LIMIT 7 OFFSET 2;
    • SELECT name FROM users ORDER BY name LIMIT 5 OFFSET 2;
    • SELECT name FROM users ORDER BY name LIMIT 5 OFFSET 3;
    • SELECT name FROM users ORDER BY name LIMIT 2 OFFSET 5;
    Full answer
  5. What does a LEFT JOIN return when joining two tables?

    • Only rows that have a match in both tables.
    • Every row from the right table and matching rows from the left; unmatched left-side values are NULL.
    • Every row from both tables, including unmatched rows with NULL values for the other table's columns.
    • Every row from the left table and matching rows from the right; unmatched right-side values are NULL.
    Full answer
  6. What is the main difference between Docker and Kubernetes?

    • Docker and Kubernetes are two names for the same containerization platform.
    • Docker distributes traffic across servers; Kubernetes runs an application in a single container.
    • Docker manages a container cluster; Kubernetes builds application images.
    • Docker creates and runs containers; Kubernetes manages them in a cluster.
    Full answer
  7. Which statement correctly describes the difference between INNER JOIN and FULL JOIN?

    • INNER JOIN returns only unmatched rows; FULL JOIN returns only matching rows.
    • INNER JOIN returns matching rows; FULL JOIN returns matching and unmatched rows from both tables.
    • INNER JOIN returns every row from the left table; FULL JOIN returns only matching rows.
    • INNER JOIN returns every row from both tables; FULL JOIN returns only rows from the left table.
    Full answer
  8. How can you select the latest record for each customer with a window function, while making the result deterministic when creation times tie?

    • Use ROW_NUMBER() ordered by created_at DESC without PARTITION BY, then keep rn = 1.
    • Use ROW_NUMBER() with PARTITION BY customer_id and order by created_at ASC, then keep rn = 1.
    • Group rows by customer_id and select MAX(created_at), then return the other columns.
    • Use ROW_NUMBER() with PARTITION BY customer_id and order by created_at DESC, order_id DESC, then keep rn = 1.
    Full answer
  9. How should you calculate a metric’s change between two reporting dates in a BI report?

    • Subtract the baseline value from the current value, then always divide the result by the current value.
    • Get the values for the baseline and current dates under comparable filters; calculate the difference and percentage change, handling a zero baseline.
    • Compare the values on the two dates without aligning filters, and calculate percentage change for any baseline value.
    • Compare the values on both dates, then calculate percentage change as the baseline value divided by the current value.
    Full answer
  10. What does newArray contain after this code runs?

    const array = [{ title: 'A', value: 1 }, { title: 'B', value: 2 }];
    const newArray = array.map(item => item.value);
    
    • [1, 2]
    • [{ value: 1 }, { value: 2 }]
    • ['A', 'B']
    • [0, 1]
    Full answer