exam questions

Exam SnowPro Core All Questions

View all questions & answers for the SnowPro Core exam

Exam SnowPro Core topic 1 question 308 discussion

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

Which commands should be used to grant the privilege allowing a role to select data from all current tables and any tables that will be created later in a schema? (Choose two.)

  • A. grant USAGE on all tables in schema DB1.SCHEMA to role MYROLE;
  • B. grant USAGE on future tables in schema DB1.SCHEMA to role MYROLE;
  • C. grant SELECT on all tables in schema DB1.SCHEMA to role MYROLE;
  • D. grant SELECT on future tables in schema DB1.SCHEMA to role MYROLE;
  • E. grant SELECT on all tables in database DB1 to role MYROLE;
  • F. grant SELECT on future tables in database DB1 to role MYROLE;
Show Suggested Answer Hide Answer
Suggested Answer: CD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
arpit_dataguy
Highly Voted 1 year, 10 months ago
Changing to C,D
upvoted 10 times
...
examed11
Highly Voted 1 year, 8 months ago
Selected Answer: CD
Asking two separate things
upvoted 5 times
...
_yyukta
Most Recent 8 months, 2 weeks ago
Selected Answer: CD
CD are correct
upvoted 1 times
...
VenkataPhaniPavanKumar
9 months, 2 weeks ago
Correct Answer: C & D GRANT SELECT ON ALL TABLES IN SCHEMA <SCHEMA NAME> TO ROLE <ROLENAME>; GRANT SELECT ON FUTURE TABLES IN SCHEMA <SCHEMA NAME> TO ROLE <ROLENAME>; Source : https://docs.snowflake.com/en/sql-reference/sql/grant-privilege
upvoted 1 times
...
Afzy
1 year ago
They are asking for select only not modify so A will not be an answer, c & d os correct
upvoted 1 times
...
MultiCloudIronMan
1 year, 3 months ago
Selected Answer: CD
Correct
upvoted 1 times
...
Jtravismiller
1 year, 9 months ago
A,C - You need Grant Usage before Grant Select. Grant Select will give you access to all current and future tables (without needing to specify future). Granting future is only when you need to restrict access to current tables.).
upvoted 2 times
...
sailoo
1 year, 10 months ago
A,D is the correct answer
upvoted 1 times
sailoo
1 year, 10 months ago
break this down into 1. select data from all current tables (A) 2. any tables that will be created later in a schema (D)
upvoted 1 times
sailoo
1 year, 10 months ago
changing to C,D
upvoted 1 times
...
...
...
Apo1021
1 year, 10 months ago
I think C, D
upvoted 2 times
...
arpit_dataguy
1 year, 10 months ago
Answer--A,D
upvoted 1 times
...
Rob__C
1 year, 11 months ago
https://community.snowflake.com/s/article/How-to-grant-select-on-all-future-tables-in-a-schema-and-database-level
upvoted 2 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago