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 8 Question 41 Discussion

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

A company has implemented Snowflake replication between two Snowflake accounts, both of which are running on a Snowflake Enterprise edition. The replication is for the

database APP_DB containing only one schema, APP_SCHEMA. The company's Time Travel retention policy is currently set for 30 days for both accounts. An Administrator

has been asked to extend the Time Travel retention policy to 60 days on the secondary database only.

How can this requirement be met?

Show Suggested Answer Hide Answer
Suggested Answer: A

According to the Replication considerations documentation, the Time Travel retention period for a secondary database can be different from the primary database. The retention period can be set at the database, schema, or table level using the DATA_RETENTION_TIME_IN_DAYS parameter. Therefore, to extend the Time Travel retention policy to 60 days on the secondary database only, the best option is to set the data retention policy on the secondary database to 60 days using the ALTER DATABASE command. The other options are incorrect because:

* B. Setting the data retention policy on the schemas in the secondary database to 60 days will not affect the database-level retention period, which will remain at 30 days. The most specific setting overrides the more general ones, so the schema-level setting will apply to the tables in the schema, but not to the database itself.

* C. Setting the data retention policy on the primary database to 30 days and the schemas to 60 days will not affect the secondary database, which will have its own retention period. The replication process does not copy the retention period settings from the primary to the secondary database, so they can be configured independently.

* D. Setting the data retention policy on the primary database to 60 days will not affect the secondary database, which will have its own retention period. The replication process does not copy the retention period settings from the primary to the secondary database, so they can be configured independently.


Contribute your Thoughts:

Rory
2 days ago
I think the answer is A) Set the data retention policy on the secondary database to 60 days.
upvoted 0 times
...
Noelia
3 days ago
Easy! The answer is B. Setting the data retention policy on the schemas in the secondary database to 60 days is the way to go. That's the most efficient and targeted approach.
upvoted 0 times
...

Save Cancel