Snowflake ARA-R01 Exam - Topic 3 Question 31 Discussion
An Architect needs to grant a group of ORDER_ADMIN users the ability to clean old data in an ORDERS table (deleting all records older than 5 years), without granting any privileges on the table. The group's manager (ORDER_MANAGER) has full DELETE privileges on the table.How can the ORDER_ADMIN role be enabled to perform this data cleanup, without needing the DELETE privilege held by the ORDER_MANAGER role?
C) Create a stored procedure that runs with owner's rights, including the appropriate '> 5 years' business logic, and grant USAGE on this procedure to ORDER_ADMIN. The ORDER_MANAGER role owns the procedure.
A) Create a stored procedure that runs with caller's rights, including the appropriate '> 5 years' business logic, and grant USAGE on this procedure to ORDER_ADMIN. The ORDER_MANAGER role owns the procedure.
B) Create a stored procedure that can be run using both caller's and owner's rights (allowing the user to specify which rights are used during execution), and grant USAGE on this procedure to ORDER_ADMIN. The ORDER_MANAGER role owns the procedure.
D) This scenario would actually not be possible in Snowflake -- any user performing a DELETE on a table requires the DELETE privilege to be granted to the role they are using.
Annette
7 months agoShala
7 months agoElroy
7 months agoBelen
7 months agoDaren
8 months agoCrista
8 months agoFletcher
8 months agoMertie
8 months agoDaren
8 months agoKrystina
9 months agoLai
9 months agoEmerson
9 months agoTequila
9 months agoPamella
9 months agoNancey
1 year agoEmiko
1 year agoDonte
1 year agoNada
1 year agoRessie
1 year agoShelba
1 year agoJunita
1 year agoKimberlie
1 year agoSherell
1 year agoLouisa
1 year agoArletta
1 year agoReyes
1 year agoGerman
1 year agoLillian
1 year agoEffie
1 year agoCarisa
1 year agoNaomi
1 year agoSelene
1 year agoRose
1 year agoApolonia
1 year agoOretha
1 year agoSantos
1 year agoAlease
1 year agoMy
1 year agoTuyet
1 year agoMaryann
1 year agoAmina
1 year agoKayleigh
1 year agoMichel
1 year agoNikita
1 year ago