Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam SnowPro Core All Questions

View all questions & answers for the SnowPro Core exam

Exam SnowPro Core topic 1 question 534 discussion

Actual exam question from Snowflake's SnowPro Core
Question #: 534
Topic #: 1
[All SnowPro Core Questions]

A user wants to add additional privileges to the system-defined roles for their virtual warehouse.

How does Snowflake recommend they accomplish this?

  • A. Grant the additional privileges to a custom role.
  • B. Grant the additional privileges to the ACCOUNTADMIN role.
  • C. Grant the additional privileges to the SYSADMIN role.
  • D. Grant the additional privileges to the ORGADMIN role.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
EmiB
Highly Voted 1 year, 8 months ago
Selected Answer: C
Q: ... to the system-defined roles ... A - is not a system-defined, otherwise would be added: "and grant this user role to SYSADMIN."
upvoted 15 times
...
Anblicks
Most Recent 5 months, 3 weeks ago
Selected Answer: A
Although additional privileges can be granted to the system-defined roles, it is not recommended. System-defined roles are created with privileges related to account-management. As a best practice, it is not recommended to mix account-management privileges and entity-specific privileges in the same role. If additional privileges are needed, Snowflake recommends granting the additional privileges to a custom role and assigning the custom role to the system-defined role.
upvoted 1 times
...
0e504b5
9 months, 2 weeks ago
Selected Answer: A
A. Although additional privileges can be granted to the system-defined roles, it is not recommended. System-defined roles are created with privileges related to account-management. As a best practice, it is not recommended to mix account-management privileges and entity-specific privileges in the same role. If additional privileges are needed, Snowflake recommends granting the additional privileges to a custom role and assigning the custom role to the system-defined role. https://docs.snowflake.com/en/user-guide/security-access-control-overview
upvoted 2 times
...
Hrvo77
9 months, 4 weeks ago
Selected Answer: A
Check this: https://docs.snowflake.com/en/user-guide/security-access-control-configure#:~:text=The%20following%20diagram%20shows%20an%20example%20role%20hierarchy%20and%20the%20privileges%20granted%20to%20each%20role%3A Clearly shows that procedure of adding additional privileges to the system-defined roles is by granting the additional privileges to a custom role which is than assigned to SYSADMIN role. And we know that Snowflake recomends assigning custom roles to SYSADMIN role - which is what this trick questions is all about.
upvoted 3 times
...
junaid2107
11 months, 3 weeks ago
Selected Answer: C
Custom role is not system defined, hence it is only SYSADMIN
upvoted 1 times
...
stornati
1 year ago
Selected Answer: A
A - It is not recommended to use system roles for customer privileges.
upvoted 2 times
...
[Removed]
1 year ago
Selected Answer: A
Although additional privileges can be granted to the system-defined roles, it is not recommended. System-defined roles are created with privileges related to account-management. As a best practice, it is not recommended to mix account-management privileges and entity-specific privileges in the same role. If additional privileges are needed, Snowflake recommends granting the additional privileges to a custom role and assigning the custom role to the system-defined role. Documented.. don't spam vote wrong answers
upvoted 4 times
...
MultiCloudIronMan
1 year, 4 months ago
Selected Answer: A
correct
upvoted 2 times
...
KnightVictor
1 year, 6 months ago
Selected Answer: A
use custom role. Custom roles should be attached to SYSADMIN. this way additional privilege can be granted to system defined roles
upvoted 2 times
...
whymatter
1 year, 7 months ago
A is not about system defined roles... I asked chat gpt In Snowflake, it is generally not recommended to add additional privileges to the system-defined roles because doing so can potentially compromise the security and integrity of the system. Instead, it is recommended to create custom roles and grant specific privileges to those roles as needed. However, if you do need to add additional privileges to a system-defined role, the recommended way to do so is by using the "GRANT" statement. For example, to add the "CREATE TABLE" privilege to the "SYSADMIN" role, you can....
upvoted 1 times
Hopefan
1 year, 6 months ago
Chat gpt is nice but never trust it 100%! Also it has info up until 2021 and Snowflake release update every week as far as I remember so be more cautious about your search :)
upvoted 5 times
SvenSven
1 year ago
The premium version of chatGPT can access web content and is therefore not restricted by 2021 data cut off.
upvoted 1 times
...
...
...
bibisa
1 year, 7 months ago
Selected Answer: A
Snowflake recommends that a user should grant the additional privileges to a custom role, instead of modifying the system-defined roles for their virtual warehouse. System-defined roles are preconfigured roles provided by Snowflake, which are intended to be used as-is. Modifying the privileges of these roles can cause unexpected behavior and can impact the security of your Snowflake environment. Additionally, system-defined roles cannot be deleted or modified, which means that any changes you make to these roles will be permanent and cannot be undone. Instead, Snowflake recommends that you create custom roles and grant the necessary privileges to those roles. This approach allows you to grant precise privileges to users, while maintaining the security and integrity of your Snowflake environment. You can also modify and delete custom roles as needed, providing greater flexibility and control over your Snowflake environment.
upvoted 2 times
...
jtm22
1 year, 7 months ago
Selected Answer: A
https://docs.snowflake.com/en/user-guide/security-access-control-overview
upvoted 1 times
...
ShagunMittal
1 year, 8 months ago
Selected Answer: A
Although additional privileges can be granted to the system-defined roles, it is not recommended. If additional privileges are needed, Snowflake recommends granting the additional privileges to a custom role and assigning the custom role to the system-defined role.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...