ExamGecko
Question list
Search
Search

List of questions

Search

Question 156 - ARA-C01 discussion

Report
Export

A user has activated primary and secondary roles for a session.

What operation is the user prohibited from using as part of SQL actions in Snowflake using the secondary role?

A.

Insert

Answers
A.

Insert

B.

Create

Answers
B.

Create

C.

Delete

Answers
C.

Delete

D.

Truncate

Answers
D.

Truncate

Suggested answer: B

Explanation:

In Snowflake, when a user activates a secondary role during a session, certain privileges associated with DDL (Data Definition Language) operations are restricted. The CREATE statement, which falls under DDL operations, cannot be executed using a secondary role. This limitation is designed to enforce role-based access control and ensure that schema modifications are managed carefully, typically reserved for primary roles that have explicit permissions to modify database structures.

Reference: Snowflake's security and access control documentation specifying the limitations and capabilities of primary versus secondary roles in session management.

asked 29/10/2024
shridhar deshpande
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first