ExamGecko
Question list
Search
Search

Question 525 - SnowPro Core discussion

Report
Export

Which statements reflect valid commands when using secondary roles? (Select TWO).

A.

Use SECONDARY ROLES RESUME

Answers
A.

Use SECONDARY ROLES RESUME

B.

USE SECONDARY ROLES SUSPEND

Answers
B.

USE SECONDARY ROLES SUSPEND

C.

USE SECONDARY RLES ALL

Answers
C.

USE SECONDARY RLES ALL

D.

USE SECONDARY ROLES ADD <Role Name>

Answers
D.

USE SECONDARY ROLES ADD <Role Name>

E.

Use SECONDARY ROLES NONE

Answers
E.

Use SECONDARY ROLES NONE

Suggested answer: C, E

Explanation:

USE SECONDARY ROLES ALL: Activates all granted secondary roles for the current session.

USE SECONDARY ROLES NONE: Deactivates all active secondary roles for the current session.

Incorrect Commands: The options referencing 'RESUME', 'SUSPEND', and 'ADD' are not valid commands in the context of secondary roles.

Snowflake Documentation (USE SECONDARY ROLES):https://docs.snowflake.com/en/sql-reference/sql/use-secondary-roles.html

asked 29/10/2024
Hicham Kaoussi
28 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first