# Roles quiz https://www.sanity.io/learn/course/introduction-to-users-and-roles/roles-quiz.md A short test of everything you've learned through this course. **Question:** Custom roles are great for 1. Customizing the user experience of the Studio 2. Ensuring security, compliance and content integrity 3. Content workflows 4. Localization and market-specific content 5. All of the above **Question:** If a user is assigned the default "editor" role and a custom role which can only edit "article" documents, what can that user edit? 1. Nothing, because the roles conflict 2. Only the "article" documents 3. All documents **Question:** If I need to restrict the ability of a role to view certain documents, how should I configure my dataset? 1. It should be public 2. It should be private **Question:** What are content resources? 1. A set of documents in a dataset defined by a GROQ filter 2. Custom roles created for specific users 3. An API endpoint for selecting a group of documents 4. Schemas that define document structures **Question:** What does SAML role mapping allow you to do? 1. Control Studio access for groups of users 2. Set conditional access rules for specific content 3. Assign roles to users based on roles from a third-party identity provider 4. Navigate between two users' geographical locations **Question:** Which functions in Sanity Studio can you use to check the current user and validate their role? 1. getUser() and hasPermission() 2. useCurrentUser() and userHasRole() 3. fetchUser() and roleChecker() 4. whoAmI() and canIHazRole() **Question:** What value do end users get from studio customizations based on their role(s)? 1. A tailored editing experience that aligns with their responsibilities 2. Access to all hidden fields and content, regardless of their role 3. Dynamic Studio themes that match their favorite colors and personal tastes 4. An additional eight week vacation because of the efficiencies they enjoy