ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 55 - ADA-C01 discussion

Report
Export

DatabaseA has a single schema called Schema1. This schema contains many tables and views. The ANALYST role has privileges to select from all objects in Database A. Schema1. The SYSADMIN role clones DatabaseA to DatabaseA_clone. What privileges does the ANALYST role have on tables and views in DatabaseA_clone? (Select TWO).

A.
USAGE on the schema DatabaseA clone
Answers
A.
USAGE on the schema DatabaseA clone
B.
USAGE on the database DatabaseA_clone. Schemal
Answers
B.
USAGE on the database DatabaseA_clone. Schemal
C.
SELECT on all tables, and only non-secure views in DatabaseA_clone. Schemal
Answers
C.
SELECT on all tables, and only non-secure views in DatabaseA_clone. Schemal
D.
SELECT on all tables, and only secure views in DatabaseA_clone. Schemal
Answers
D.
SELECT on all tables, and only secure views in DatabaseA_clone. Schemal
E.
SELECT on all tables and views in DatabaseA_clone. Schema1
Answers
E.
SELECT on all tables and views in DatabaseA_clone. Schema1
Suggested answer: C, E

Explanation:

According to the Snowflake documentation, when a database or schema is cloned, the clone inherits all granted privileges on the clones of all child objects contained in the source object, such as tables and views. However, the clone of the container itself does not inherit the privileges granted on the source container. Therefore, the ANALYST role will have SELECT privilege on all tables and views in DatabaseA_clone.Schema1, but not USAGE privilege on the database or schema. The type of view (secure or non-secure) does not affect the cloning of privileges.

asked 23/09/2024
Mariusz Szczubelek
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first