Search Header Logo

RBAC - 10

Authored by Sydney Cucchiara

Instructional Technology

Professional Development

Used 2+ times

RBAC - 10
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Complete the following sentence?

Privileges are granted to ________.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In the hierarchy shown below, User1

has been granted ROLE_A. What

other roles can they USE?

Role B

Role C

Public and Role B

Role C and PUBLIC

Answer explanation

When you are granted a role, you can

USE that role, and any others that are

connected below it in the hierarchy.

User1 can USE ROLE_A, ROLE_C, or

PUBLIC.

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

You log into Snowflake and run this

command:

SELECT * FROM tablea;

Snowflake tells you that the object

does not exist, or you are not

authorized – but you know it exists

because you created it.

What should you check?

Answer explanation

• Make sure you are using a role that

has access to the object. If you

created the object under one role, and

now you are using another, you may

not see it.

• Check your context to see if you are

using the correct database and

schema for that object.

• Check for typos!

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

• ROLE_A and ROLE_B are not

connected in the hierarchy

• ROLE_A can create tables in

PROD_DB.SCHEMA1

• ROLE_B can create tables in

DEV_DB.SCHEMA1

You have access to both roles. What

objects can you create after this:

USE ROLE ROLE_A;

USE SECONDARY ROLES ALL;

Answer explanation

You will be able to create tables in

PROD_DB.SCHEMA1.

When you enable secondary roles, you

only get the create privileges of your

primary role (the one you have chosen to

USE).

5.

LABELLING QUESTION

1 min • 1 pt

Fill out the following to identify the hierarchy of system roles:

c
b
d
e
a

SECURITYADMIN

PUBLIC

USERADMIN

ACCOUNTADMIN

SYSADMIN

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?