Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - 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
1 months 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
Therese
4 days ago
User 2: That sounds right. Let's go with option A.
upvoted 0 times
...
Caren
5 days ago
User 1: I think the command is REFRESH DATABASE PROD_AWS WEST REFRESH; and the location is AWS_WEST.
upvoted 0 times
...
...
Anjelica
1 months 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
1 months 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
2 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
Gilberto
13 days ago
User3: Yes, option D is the right choice for refreshing the data between AWS regions.
upvoted 0 times
...
Kina
14 days ago
User2: I agree, the command should be ALTER DATABASE PROD_AWS_WEST REFRESH.
upvoted 0 times
...
Benton
16 days ago
User1: I think option D is correct because the primary database is in AWS_EAST.
upvoted 0 times
...
...
Roxanne
2 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
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77