Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Snowflake Exam ADA-C01 Topic 1 Question 19 Discussion

Actual exam question for Snowflake's ADA-C01 exam
Question #: 19
Topic #: 1
[All ADA-C01 Questions]

A company enabled replication between accounts and is ready to replicate data across regions in the same cloud service provider.

The primary database object is : PROD_AWS_EAST. Location : AWS_EAST

The secondary database object is : PROD_AWS_WEST. Location : AWS_WEST

What command and account location is needed to refresh the data?

Show Suggested Answer Hide Answer
Suggested Answer: A

A masking policy is a SQL expression that transforms the data in a column based on the role that queries the column1. The is_role_in_session function returns true if the specified role is in the current session2. Therefore, the masking policy in option A will mask the column data with asterisks whenever it is queried through a view owned by the MASKED_VIEW_ROLE3. The other options use different functions that do not check the ownership of the view, but rather the current role, the invoker role, or the available roles in the session45. These functions may not return the desired result if the role that owns the view is different from the role that queries the view.


Contribute your Thoughts:

Justa
16 days ago
This question is like a geography quiz, but with databases instead of maps. I'm going to use my best guess and choose option A.
upvoted 0 times
...
Anjelica
18 days ago
Wait, are we refreshing the West or the East? I'm so confused, I think I'll just go with option C and hope for the best.
upvoted 0 times
...
Veronika
20 days ago
Haha, this question is like a game of 'Guess Which Region'! I'm going to go with option B just to be different.
upvoted 0 times
...
Maile
1 months ago
Hmm, I'm not sure about that. I was thinking option D might be the right answer since the priRoxanne database object is PROD_AWS_EAST, which is located in AWS_EAST.
upvoted 0 times
Benton
1 days ago
User1: I think option D is correct because the primary database is in AWS_EAST.
upvoted 0 times
...
...
Roxanne
1 months ago
I think option A is the correct choice. The secondary database object is PROD_AWS_WEST, which is located in AWS_WEST, so the command and location should match that.
upvoted 0 times
...
Shannan
2 months ago
I'm not sure, but I think option C might also be correct because it mentions refreshing the data in PROD_AWS_WEST which is the secondary database.
upvoted 0 times
...
Elise
2 months ago
I agree with Ronnie, option A seems to be the right choice because the secondary database is located in AWS_WEST.
upvoted 0 times
...
Ronnie
2 months ago
I think the correct command is A) Location : AWS_WEST Command : REFRESH DATABASE PROD_AWS WEST REFRESH;
upvoted 0 times
...

Save Cancel