Account And Access Security Flashcards

(20 cards)

1
Q

What are the two frameworks for access control?

A

Role-based Access Control (RBAC) and Discretionary Access Control (DAC)

RBAC assigns access privileges to roles, while DAC allows object owners to grant access.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a securable object?

A

An object owned by a single role, access denied unless granted

Owning role has privileges to manage grants and ownership.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What can the owning role do?

A
  • Grant or revoke privileges on an object to other roles
  • Transfer ownership to another role
  • Share control of the object if shared

The owning role has all privileges on the role.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How many system-defined roles are there in Snowflake?

A

Six

The roles are ORGADMIN, ACCOUNTADMIN, SECURITYADMIN, SYSADMIN, USERADMIN, and PUBLIC.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the role of ORGADMIN?

A
  • Manages operations at the organization level
  • Can create accounts in the organization
  • Can view all accounts and regions in the organization

ORGADMIN also views usage info across organizations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the primary function of ACCOUNTADMIN?

A
  • Most powerful role for account management
  • Encapsulates SYSADMIN and SECURITYADMIN roles
  • Responsible for configuring account-level parameters

Should be granted to limited users due to its power.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does SECURITYADMIN manage?

A

Manages grants globally via the MANAGE GRANTS privilege

Also responsible for creating, monitoring, and managing users and roles.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a custom role in Snowflake?

A

A role with custom and fine-grained security privileges defined

Admins can exercise the principle of least privilege to reduce risks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the four categories of security privileges?

A
  • Global
  • For Account objects
  • For Schemas
  • For Schema objects

Each category defines different access levels and actions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the default method of user authentication in Snowflake?

A

User-provided username and password credentials

This can be done through the UI or client applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the password requirements for Snowflake users?

A
  • At least 8 characters
  • Must contain 1 digit
  • Must include at least 1 uppercase and 1 lowercase letter

Passwords can be up to 256 characters and can be case-sensitive.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does Multi-Factor Authentication (MFA) provide?

A

An additional layer of security requiring proof of identity beyond just a password

MFA in Snowflake is powered by Duo Security.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is Federated Authentication?

A

Connects to Snowflake using SSO via a SAML 2.0 compliant external identity provider

Native support includes Okta and ADFS IdPs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the purpose of Network Policies?

A

To allow or deny access based on a single IP address or a list of addresses

Provides an additional layer of security on top of authentication.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the encryption method used for data at rest in Snowflake?

A

AES-256

All data in the storage layer is encrypted by default.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is Dynamic Data Masking?

A

Sensitive data loaded in plain text with masking applied at runtime

Masking policies define who can see the column’s data.

17
Q

What does Row Level Security enable?

A

Restricts which rows are returned to a query based on conditions

Policies are applied transparently and return type is always BOOLEAN.

18
Q

What is the purpose of Secure Views?

A

Limit access to underlying tables or internal structural details of a view

Secure views can bypass query optimizations, potentially affecting performance.

19
Q

What is the function of the SNOWFLAKE database?

A

Provides shared read-only access to account usage metrics

It contains six schemas for fine-grained usage metrics.

20
Q

What is Object Tagging in Snowflake?

A

Allows assigning specific metadata to database objects for classification

Helps with data governance and can be applied at the CREATE or ALTER stage.