Looker and LookML interview questions, from views to governance

Looker interview questions focus on LookML, the modeling layer that turns warehouse tables into trusted metrics: views, dimensions and measures, explores and joins, relationship settings and fanout, derived tables and persistent derived tables, caching with datagroups, and access control with user attributes. Expect to write or review LookML, debug a number that looks wrong, and explain how you keep a model fast and consistent as more teams use it.

By Published 6 min read

How Looker shows up in interviews

Looker is Google Cloud's BI platform, built around LookML, a modeling language that defines metrics once so every dashboard uses the same logic. It is not the same product as Looker Studio (formerly Data Studio), and interviewers notice when candidates mix them up. Roles that ask for Looker include BI developers, analytics engineers and data analysts at companies with a cloud warehouse such as BigQuery, Snowflake or Redshift. Many interviews pair Looker with SQL and dbt questions; the SQL interview questions and the analytics engineer guide cover those.

  1. ScreenYour Looker experience: did you build LookML or mostly use explores and dashboards? Which warehouse and how many users?
  2. LookML review or exerciseRead a view and explore and find the bugs, or write dimensions, measures and a join for a small schema.
  3. SQL roundJoins, window functions and aggregation, since every Looker query becomes SQL in the end.
  4. Scenario discussionA slow dashboard, a metric that disagrees with finance, or a request to give a partner limited access.

LookML fundamentals

Core Looker questions, what they test, and what a strong answer shows
QuestionWhat it testsWhat a strong answer shows
What are models, views and explores?StructureA view maps to a table or derived table and defines fields; an explore is a starting point users query, joining views; a model groups explores and sets the connection
What is the difference between a dimension and a measure?BasicsDimensions are row-level attributes users group by; measures aggregate across rows, such as sum, count or average
What does a dimension_group of type time give you?DatesOne definition that produces several timeframes (date, week, month and so on) from one timestamp column
Why must every view have a primary key?CorrectnessLooker uses it to count distinct rows and to compute symmetric aggregates when joins repeat rows
What does the ${TABLE} and ${field} syntax do?Substitution${TABLE} refers to the view's table alias, and ${field} references another field so logic is defined once and reused
What is the difference between type: count and count_distinct?Measurescount counts rows of the view (using the primary key), count_distinct counts unique values of a chosen field
How do sql_always_where and always_filter differ?Explore filterssql_always_where adds a hidden condition users cannot remove; always_filter shows a filter users must keep but can change
Core Looker questions, what they test, and what a strong answer shows. Scroll sideways on a small screen.
view: orders {
  sql_table_name: analytics.orders ;;

  dimension: id {
    primary_key: yes
    type: number
    sql: ${TABLE}.id ;;
  }

  dimension: customer_id {
    type: number
    sql: ${TABLE}.customer_id ;;
  }

  dimension_group: created {
    type: time
    timeframes: [date, week, month]
    sql: ${TABLE}.created_at ;;
  }

  dimension: amount {
    type: number
    sql: ${TABLE}.amount ;;
  }

  measure: total_revenue {
    type: sum
    sql: ${amount} ;;
  }

  measure: order_count {
    type: count
  }
}

explore: orders {
  join: customers {
    type: left_outer
    sql_on: ${orders.customer_id} = ${customers.id} ;;
    relationship: many_to_one
  }
}
A view and an explore with a many-to-one join (reviewed by hand)

Joins, fanout and symmetric aggregates

  • What is fanout, and why is it dangerous? When a join to a one-to-many table repeats rows from the "one" side, sums and counts from that side are inflated. It is the most common cause of wrong numbers in BI.
  • How does Looker protect you from fanout? Symmetric aggregates: if primary keys and relationship settings are correct, Looker writes SQL that aggregates each row of the one side only once.
  • What happens if the relationship parameter is wrong? Looker may skip symmetric aggregates and return inflated totals, or add unnecessary work. Set it from the real cardinality, and verify against the data.
  • When would you use a join with type: inner instead of left_outer? When rows without a match should disappear, such as limiting orders to active stores; otherwise left joins keep the base explore's rows.
  • How do you decide what belongs in one explore? Around one business question and a clear base view, with only the joins people need, rather than one huge explore that joins everything.
CREATE TABLE orders (id INTEGER PRIMARY KEY, amount REAL);
CREATE TABLE order_items (id INTEGER PRIMARY KEY, order_id INTEGER, sku TEXT);
INSERT INTO orders VALUES (1, 100), (2, 50);
INSERT INTO order_items VALUES (1, 1, 'A'), (2, 1, 'B'), (3, 1, 'C'), (4, 2, 'A');

-- Naive join: order 1 is repeated once per item
SELECT SUM(o.amount) AS naive_revenue
FROM orders o JOIN order_items i ON i.order_id = o.id;   -- 350

-- Each order counted once, which is what symmetric aggregates give you
SELECT SUM(amount) AS revenue
FROM orders
WHERE id IN (SELECT order_id FROM order_items);           -- 150
Fanout in plain SQL (run in SQLite through Python)

Derived tables, caching and performance

Intermediate performance questions
QuestionWhat it testsWhat a strong answer shows
What is a derived table, and when do you persist it?Derived tablesA view built from a query instead of a table; persist it as a PDT when the query is expensive and used often, if the connection allows writing to a scratch schema
SQL-based or native derived tables: which do you prefer?MaintainabilityNative derived tables reuse existing LookML fields and stay in sync with the model; SQL-based ones are flexible for complex logic
What is a datagroup?CachingA named rule for when cached results and PDTs are stale, often tied to an ETL log query and a maximum cache age
A dashboard takes a minute to load. How do you investigate?DebuggingCheck each tile's generated SQL and run time, reduce tiles and filters that scan everything, add PDTs or aggregate tables, and check warehouse load
What is aggregate awareness?OptimizationLooker routes a query to a smaller pre-aggregated table when it can answer the question, falling back to the detailed table otherwise
Should business logic live in LookML or in dbt?ArchitectureStable transformations and wide tables in the warehouse layer, metric definitions and access rules in LookML, with one owner for each definition
Intermediate performance questions. Scroll sideways on a small screen.
datagroup: nightly_etl {
  sql_trigger: SELECT MAX(loaded_at) FROM analytics.etl_log ;;
  max_cache_age: "24 hours"
}

view: customer_ltv {
  derived_table: {
    sql: SELECT customer_id, SUM(amount) AS lifetime_value
         FROM analytics.orders
         GROUP BY 1 ;;
    datagroup_trigger: nightly_etl
  }

  dimension: customer_id {
    primary_key: yes
    sql: ${TABLE}.customer_id ;;
  }

  dimension: lifetime_value {
    type: number
    sql: ${TABLE}.lifetime_value ;;
  }
}
A persistent derived table rebuilt when the nightly load finishes (reviewed by hand)

Liquid, parameters and flexible content

  • What is Liquid used for in LookML? Templating inside SQL, links and labels, for example changing a field's SQL based on a parameter or building a link to another dashboard with the current value.
  • What is a parameter field, and how is it different from a filter? A parameter passes a user's choice into Liquid without filtering rows, such as letting users pick which metric a chart shows.
  • What are templated filters? Filters whose values are inserted into a derived table's SQL, so a heavy query only scans the rows the user asked for.
  • How do extends and refinements differ? extends creates a new object that copies another; refinements change an existing object in place, which helps layer changes on generated or shared LookML.

Governance, security and workflow

Senior and scenario questions
QuestionWhat it testsWhat a strong answer shows
How do LookML changes get to production?WorkflowEdit in development mode on a Git branch, run the LookML and content validators and data tests, review, then merge and deploy to production
What does the content validator catch?Change safetyLooks and dashboards that reference fields you renamed or removed, so you can fix them before users see errors
How would you give each regional manager access to only their region's data?Row-level securityA user attribute for region and an access_filter on the explore, tested with the sudo or view-as feature
How do you control which users see which models and fields?PermissionsRoles combining permission sets and model sets, plus hiding or restricting sensitive fields with access grants
Finance says your revenue number is wrong. What do you do?TrustReproduce both numbers, compare definitions (refunds, tax, time zone, dates), trace the generated SQL, agree one definition and document it in the field description
How do you keep a growing LookML project maintainable?ScaleClear folder and naming rules, shared base views, descriptions on every field users see, removing unused explores, and code review
How would you migrate dashboards from another BI tool to Looker?MigrationInventory what is used, rebuild the core metrics in LookML first, check numbers side by side, then rebuild dashboards and retire the old ones
Senior and scenario questions. Scroll sideways on a small screen.

Fictional example

Answering "Tell me about a time a Looker number was wrong"
At a subscription software company, the sales team's dashboard showed annual recurring revenue about a fifth higher than finance's report. I opened the explore's generated SQL and saw the subscriptions view joined to an invoices view marked many_to_one, when one subscription has many invoices. The relationship setting was wrong and the subscriptions view had no primary key, so Looker could not apply symmetric aggregates. I added the primary key, corrected the relationship to one_to_many, and added a data test that compared the total against a direct warehouse query. The numbers matched finance within rounding, and I wrote a short note for the team on how to set relationships when adding joins.

A two-week Looker practice plan

  • Days 1 to 3: write views for three related tables from scratch, with primary keys, dimension groups and measures.
  • Days 4 to 6: build explores with joins, then create fanout on purpose and check how relationship settings change the SQL.
  • Days 7 to 9: derived tables and a PDT with a datagroup, plus a parameter that switches a chart's metric.
  • Days 10 to 12: access filters with user attributes, the validators and a simple data test.
  • Days 13 and 14: practice SQL questions and two scenarios aloud: a slow dashboard and a disputed metric.

If you are comparing BI tools, the Tableau and Power BI question pages cover the other two most common platforms. For the analysis side, see R programming interview questions, and for spreadsheet automation in finance teams, VBA interview questions.

LookML reviews reward talking through generated SQL calmly. With Natively, an AI interview assistant on Mac and Windows, you can record a mock review as a transcript and see whether you explained fanout clearly. During practice it can read a LookML snippet or SQL from a screenshot, suggest hints, and on Pro or the free trial consider your résumé and the job description. Transcripts and notes are kept between sessions.

Questions people ask

What are common Looker interview questions?

What models, views and explores are, dimensions versus measures, why every view needs a primary key, what fanout is and how symmetric aggregates fix it, when to use a PDT, what a datagroup does, and how to restrict data with user attributes and access filters.

What is LookML?

Looker's modeling language. It describes tables, fields, joins and metrics once, and Looker turns each user's question into SQL from those definitions, so dashboards share the same logic.

Is Looker the same as Looker Studio?

No. Looker is the BI platform built on LookML. Looker Studio, formerly Data Studio, is a separate reporting tool. Interviews for Looker roles usually focus on LookML and the semantic model.

How do I prepare for a LookML exercise?

Write views, explores and joins for a few related tables, set primary keys and relationships, create fanout on purpose to see how the SQL changes, and practice explaining generated SQL out loud.

Where to go next

Practice with the same assistant you would use on a call: it listens, transcribes and suggests answers from your own resume and the job description.

Facts on this page were last checked on . Product details come from the Natively app itself; if something here is out of date, tell us at hello@heynatively.com.

Keep reading

Put it on your own machine.

A live-conversation assistant that runs locally. Your conversations stay on your machine.

macOS 12+ · Windows 10/11

© 2026 Natively AI Private Limited

Source-available under the Natively Personal Use Source License v1.0 · IP geolocation by DB-IP