Looker Flashcards
What parameter would you use to limit access to specific Explores, joins, views, or fields.
access_grant
The access_grant parameter takes two parameters. What are they?
user_attribute, and allowed_values
To apply a defined access grant within a dimension, what parameter do you need to use?
requiered_access_grants
True or False. Access grants can be applied at the dimension and view level.
True
For row level access controls, which LookML parameter should you use?
access_filter
The access_filter parameter takes two parameters. What are they?
field, user_attribute
True or False. The access_filter parameter is applied for a specific Explore?
True
Where are user attributes defined?
Admin > Users > User Attributes
True or False. When using access_filter, Admins can access all the data without having to set a user attribute.
False
To allow Admins to access all values of a string field controlled by the access_filter parameter, what user attribute type and value should be set?
type: String Filter (advanced)
value: %, NULL
To allow Admins to access all values of a number field controlled by the access_filter parameter, what user attribute type and value should be set?
type: Number FIlter (advanced)
value: <0, >=0, NULL
True or False. The hidden parameter should be used for field control access.
False
True or False. A user can use a field with the hidden: yes parameter by using the field in the URL?
True
Name the three types of access available in Looker.
Data Access
Content Access
Feature Access
What two things do you need to create a user role?
Permission Set
Model Set
What is wrong in the following LookML code?
measure: total_impressions {
type: sum
sql: SUM(${TABLE}.impressions) ;;
}
The SUM() function is not necessary as Looker will automatically sum the field when running a query
True or False. Using the Content Validator applies changes only to the mode you are in (Production or Development)?
False. Content Validator applies changes at a global level. However, changes made in development mode will need to be deployed for them to be reflected in Production.
What is a Looker Model file?
A Model file specifies the database connection and the set of Explores that use that connection. It also defined the Explores themselves and their relationships to other views.
What is an Explore?
AN Explore is what the users use to query data from the database. They are defined in the Model file. An Explore is the equivalent of the FROM clause in a SQL query.
The name of an Explore is usually the name of the view that forms the base of the Explore. If the Explore name is different, what parameter must be given in the Explore?
The from parameter needs to be given along with the base view name