









































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










































Question 1. Which LookML file type defines the relationships between views for end-users? A) view file B) model file C) dashboard file D) explore file Answer: B Explanation: Model files contain explore definitions that join views together, establishing the relationships users can query. Question 2. In LookML, the extends parameter is primarily used to: A) Create a new database table B) Inherit fields from another view or explore C) Define a user attribute D) Set caching policy Answer: B Explanation: extends lets one view or explore reuse the fields and logic of another, reducing duplication. Question 3. When working in Development Mode, which of the following actions automatically updates the production version? A) Commit B) Push C) Deploy to Production D) Pull request merge Answer: C Explanation: Deploy to Production pushes committed changes from the development branch to the production branch, making them live. Question 4. Which Git command in Looker’s IDE creates a snapshot of your current changes without sending them to the remote repository?
A) Commit B) Push C) Pull D) Reset Answer: A Explanation: A commit records changes locally; they are not sent to the remote until a push is performed. Question 5. What does the sql_always_where parameter add to an explore? A) A default filter applied to every query on that explore B) A join condition for all views C) A hidden dimension D) A caching rule Answer: A Explanation: sql_always_where injects a WHERE clause into every generated SQL for the explore, enforcing mandatory filtering. Question 6. Which join type preserves rows from the left view even when there is no matching row in the right view? A) inner B) left_outer C) full_outer D) cross Answer: B Explanation: left_outer keeps all rows from the left side and adds NULLs for missing matches on the right. Question 7. In LookML, a many_to_one relationship indicates: A) Each row in the left view maps to many rows in the right view B) Each row in the left view maps to one row in the right view
D) group_label Answer: B Explanation: The filters parameter restricts the rows used when the measure is calculated. Question 11. How does value_format_name: percent_2 affect a numeric measure? A) Rounds to two decimal places B) Displays as a percentage with two decimal places C) Adds a currency symbol D) Shows values in scientific notation Answer: B Explanation: The predefined format percent_2 multiplies the value by 100 and appends a % sign with two decimal places. Question 12. Which LookML construct is used to hide a field from the Explore UI but keep it available for calculations? A) hidden: yes B) sql_hide: true C) access_filter: no D) always_filter: yes Answer: A Explanation: Setting hidden: yes removes the field from the UI while still allowing it to be referenced in other LookML. Question 13. What is the purpose of a datagroup in Looker? A) To define a set of user attributes B) To schedule PDT refreshes and cache invalidation C) To create a new view D) To enforce row-level security Answer: B
Explanation: Datagroups provide a timestamp that can trigger PDT rebuilds and clear cached results when the underlying data changes. Question 14. Which of the following statements about Persistent Derived Tables (PDTs) is FALSE? A) They are materialized in the database. B) They can be refreshed on a schedule or by a trigger. C) They are defined using derived_table: sql: blocks only. D) They improve query performance for complex transformations. Answer: C Explanation: PDTs can be defined with either sql: or LookML view: {derived_table: {sql: …}} and also with persist_for and triggers; they are not limited to raw SQL. Question 15. The sql_trigger_value parameter is used to: A) Set the maximum rows returned by a query. B) Define a value that, when changed, forces a PDT to rebuild. C) Specify a default filter for an explore. D) Control user access to a model. Answer: B Explanation: sql_trigger_value evaluates a SQL expression; when its result changes, Looker rebuilds the PDT. Question 16. Which LookML setting controls the maximum time a PDT may remain stale before it is automatically refreshed? A) persist_for B) datagroup C) sql_trigger_value D) cache_max_age Answer: A
Question 20. Which LookML feature allows you to replace a field’s definition without editing the original view file? A) extends B) include C) refinement D) sql_always_where Answer: C Explanation: Refinements let you override or add to a view or explore definition from another file, preserving the original source. Question 21. When you need to reuse a constant value across many files, you should define it in a: A) view file B) model file C) .lkml file using constant: D) .lkml file using include: Answer: C Explanation: The constant: declaration creates a reusable value that can be referenced throughout the project. Question 22. Which LookML command in the IDE opens the validator to check for syntax errors? A) Run → Validate B) File → Check Syntax C) LookML → Validate Project D) Tools → LookML Validator Answer: C Explanation: “LookML → Validate Project” runs the built-in validator across all files. Question 23. What does the suggest_dimension parameter do?
A) Adds a dimension to the explore UI automatically. B) Provides a default dimension for the user to filter on when a measure is selected. C) Hides a dimension from suggestions. D) Sets the order of dimensions in the UI. Answer: B Explanation: suggest_dimension tells Looker which dimension to suggest when a user drags a measure onto the query canvas. Question 24. Which of the following is NOT a valid aggregate awareness configuration option? A) aggregate_table_name B) aggregate_source C) sql_trigger_value D) aggregate_group_by Answer: C Explanation: sql_trigger_value is for PDT triggers, not for aggregate awareness. The other options help Looker select pre-aggregated tables. Question 25. In an explore, the always_filter parameter: A) Prevents users from removing the filter. B) Suggests a filter but allows removal. C) Marks a filter as hidden. D) Applies a filter only when a user selects it. Answer: A Explanation: always_filter forces the filter to be applied to every query and cannot be removed by the end-user. Question 26. Which LookML type would you choose for a field that stores ZIP codes but should be treated as a string, not a number? A) number
C) view: D) explore: Answer: B Explanation: Blocks are imported into a project with the include: statement, referencing the block’s file path. Question 30. Which of the following statements about the Looker Content Validator is TRUE? A) It only checks dashboard visualizations. B) It validates LookML syntax but not data access. C) It detects broken Looks and dashboards after model changes. D) It runs automatically on every Git push. Answer: C Explanation: The Content Validator scans saved Looks and dashboards for broken references when models are modified. Question 31. In LookML, the parameter field type is primarily used for: A) Storing static text values. B) Allowing users to select from predefined options that affect SQL. C) Defining numeric calculations. D) Setting user permissions. Answer: B Explanation: parameter creates a dropdown in the UI; its selected value can be referenced in Liquid or SQL to modify queries. Question 32. Which Liquid tag is used to conditionally include SQL snippets based on a parameter’s value? A) {% if %} … {% endif %} B) {{ if }} C) {% switch %} … {% endswitch %} D) {{ case }}
Answer: A Explanation: {% if %} allows conditional logic in LookML SQL using Liquid syntax. Question 33. The bind_all_filters attribute is used to: A) Automatically apply all user-selected filters to a derived table. B) Prevent filters from being applied to a view. C) Create a new user attribute for each filter. D) Cache filter results for faster queries. Answer: A Explanation: bind_all_filters tells Looker to bind every filter from the explore into the generated SQL of a derived table. Question 34. Which LookML setting determines the default time zone for timestamp dimensions? A) sql_timezone B) time_zone C) default_timezone D) timezone: Answer: B Explanation: The time_zone parameter on a view or model sets the default time zone for all time dimensions defined within. Question 35. When you want to prevent a dimension from being used in a filter but still display it in results, you should set: A) hidden: yes B) filterable: no C) can_filter: no D) filter: no Answer: B Explanation: filterable: no keeps the dimension visible in the data table but removes it from the filter UI.
Question 39. What does the persist_for: "24 hours" setting accomplish for a PDT? A) It caches query results for 24 hours. B) It forces the PDT to be rebuilt every 24 hours regardless of triggers. C) It sets a 24-hour expiration on the underlying database table. D) It limits user access to the PDT for 24 hours. Answer: B Explanation: persist_for defines the maximum lifetime of a PDT; after this period, Looker will rebuild it even if the trigger value hasn’t changed. Question 40. Which of the following is the correct syntax for including another LookML file? A) import: "filename.lkml" B) include: "filename" C) include: "filename.lkml" D) require: "filename" Answer: C Explanation: include: "filename.lkml" tells Looker to load the specified file into the current project. Question 41. To create a measure that calculates the median of a numeric column, you would set: A) type: median B) type: average C) type: percentile, percentile: 50 D) type: number, sql: PERCENTILE_CONT(0.5) … Answer: A Explanation: Looker provides a native median measure type that computes the median directly.
Question 42. Which parameter allows a view to inherit the sql_table_name from another view? A) extends B) include C) inherits_sql_table_name D) sql_always_where Answer: A Explanation: When a view extends another, it inherits properties like sql_table_name unless overridden. Question 43. In LookML, the group_label attribute is used to: A) Define a security group. B) Organize fields into UI sections within an explore. C) Set a database schema. D) Create a new user attribute. Answer: B Explanation: group_label groups related fields together under a collapsible heading in the explore UI. Question 44. Which of the following statements about sql_trigger_value is correct? A) It must return a timestamp. B) It can return any scalar value; any change forces a PDT rebuild. C) It is only evaluated once per day. D) It is ignored if persist_for is set. Answer: B Explanation: sql_trigger_value can return any scalar (e.g., MAX(updated_at)). When the result changes, Looker rebuilds the PDT. Question 45. To limit a user’s ability to see a specific dimension, you would configure:
B) {% if {{ user_attribute('region') }} == 'EMEA' %} … {% endif %} C) {% if _user_attribute.region == 'EMEA' %} … {% endif %} D) {% if attribute.region == 'EMEA' %} … {% endif %} Answer: A Explanation: The Liquid if statement can call user_attribute('name') directly to evaluate its value. Question 49. In the Looker IDE, which shortcut opens the Find and Replace dialog across the entire project? A) Ctrl+F B) Ctrl+Shift+F C) Alt+R D) Cmd+Option+F Answer: B Explanation: Ctrl+Shift+F (or Cmd+Shift+F on macOS) searches and replaces text across all files in the project. Question 50. Which of the following is the correct syntax for defining a LookML constant? A) constant: "MAX_ROWS" = 1000 B) constant: MAX_ROWS 1000 C) constant: MAX_ROWS: 1000 D) constant: MAX_ROWS = 1000 Answer: D Explanation: The constant: declaration uses NAME = value format. Question 51. To create a derived table that uses a LookML view as its source (instead of raw SQL), you would use: A) derived_table: sql: … B) derived_table: explore: view_name C) derived_table: view: view_name
D) derived_table: {view: view_name} Answer: C Explanation: derived_table: view: view_name tells Looker to generate the SQL for the specified view and use it as a subquery. Question 52. Which parameter can be used to force a Looker explore to always join a particular view, even if the user does not select any fields from it? A) required_joins: yes B) always_join: yes C) sql_always_join D) sql_always_where Answer: B Explanation: always_join: yes on a join ensures the view is included in every query generated from the explore. Question 53. In LookML, the suggest_explore parameter is used to: A) Recommend an explore when a user searches. B) Suggest a default explore for a dashboard. C) Provide a fallback explore if the current one fails. D) None of the above. Answer: D Explanation: There is no suggest_explore parameter in LookML; this option is a distractor. Question 54. Which of the following best describes the purpose of a Looker Block? A) A reusable piece of LookML that can be included in multiple projects. B) A UI widget for dashboards. C) A Git branch naming convention. D) A data warehouse schema. Answer: A
Explanation: The html parameter allows you to embed custom HTML, such as an anchor tag, using the field’s value. Question 58. Which of the following is true about the sql_always_have parameter? A) It adds a HAVING clause that cannot be removed by the user. B) It adds a WHERE clause that can be overridden. C) It defines a default join condition. D) It hides fields from the UI. Answer: A Explanation: sql_always_have injects a HAVING clause into every query, enforcing aggregate-level filters. Question 59. In LookML, the type: tier field is used for: A) Defining price tiers. B) Creating a dimension that groups numeric values into buckets. C) Setting user permission levels. D) None of the above. Answer: B Explanation: type: tier creates a dimension that maps numeric values into predefined ranges (tiers). Question 60. Which of the following statements about sql_trigger_value and datagroup is correct? A) Both can be used together; the datagroup’s timestamp can be referenced in the trigger. B) They are mutually exclusive; you cannot use both on the same PDT. C) sql_trigger_value only works with Snowflake databases. D) datagroup automatically disables sql_trigger_value. Answer: A
Explanation: You can reference a datagroup’s max_cache_age timestamp inside sql_trigger_value to coordinate refreshes. Question 61. When a LookML project is set to “Production Mode,” what is the effect on the IDE? A) All changes are automatically committed. B) The IDE disables editing; only read-only access is allowed. C) Users can edit but cannot push changes. D) The project switches to a different Git branch. Answer: B Explanation: Production Mode locks the IDE to prevent accidental edits; developers must switch to Development Mode to make changes. Question 62. Which LookML parameter is used to define a reusable set of filters that can be applied to multiple explores? A) filter_set B) access_filter C) always_filter D) sql_always_where Answer: A Explanation: filter_set (also known as “named filters”) allows you to define a group of filter conditions that can be referenced in multiple explores. Question 63. To ensure a dimension’s values are displayed with two decimal places, you would set: A) value_format: "0.00" B) value_format_name: decimal_ C) type: number, decimals: 2 D) both A and B are acceptable Answer: D