Q1. A user reports the following SQL error when selecting the discounted sale price field: ERROR: column ''order_items.sale_price''; must appear in the GROUP BY clause or be used in an aggregate function. The developer checks the field definition and finds it to be: measure: discounted_sale_price { type: number sql: ${sale_price} * 0.8 ;; } The developer also finds the LookML definition of the sale_price field to be: dimension: sale_price { type: number sql: ${TABLE}.sale_price ;; } What is the likely cause of the SQL error?
A.The discounted_sale_price field should have a group_by: yes parameter.
B. The sale_price field should be defined as a measure of type: number, not as a dimension.
C. The underlying database table does not have a field called sale_price.
D. The discounted_sale_price field should be defined as a dimension of type: number, not as a measure.
Correct Answer: B
Q2. A LookML developer is creating a new view with 20 dimensions in Development Mode using the Create View from Table functionality. Now users want the developer to add only four dimensions from this new view to an existing Explore. What can the developer add to the Explore to limit the number of fields from the view that are accessible to the user in the Explore?
A.Set definition
B. Join condition
C. Fields parameter
D. Hidden parameter
Correct Answer: B
Q3. A developer wants to create a new Explore based on the order_items view. The developer creates an Explore in the ecommerce model file with the following definition: explore: order_items {} After saving and validations, the developer receives this LookML validator error: Inaccessible view ''inventory_items'', ''inventory_items'' is not accessible in explore'' ''order_items''. Check for typos and missing joins in explore ''order_items''. What caused this error to appear?
A.A field in the order_items view references a field in the inventory_items view.
B. A field in the inventory_items view references a field in the order_items view.
C. There is an Explore named inventory_items which references the order_items view.
D. There is another Explore named order_items which references the inventory_items view.
Correct Answer: A
Q4. A user reports an error message on an Explore: ''Non-unique value/primary key (or sql_distinct_key), value overflow or collision when computing sum''. What should the LookML developer check for in the joined views of the Explore?
A.The sum measure used is defined correctly.
B. A unique primary key is defined in each view.
C. Symmetric_aggregates: no is not present in the Explore definition.
D. No concatenated primary keys are used.
Correct Answer: C
$ 39
jamesale.jhoan –
It was an amazing experience to pass in my Google LookML-Developer exam within 4 days of preparation, Hurray. You are the best.