ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 51 - ADA-C01 discussion

Report
Export

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?


A.
Set the data retention policy on the secondary database to 60 days.
Answers
A.
Set the data retention policy on the secondary database to 60 days.
B.
Set the data retention policy on the schemas in the secondary database to 60 days.
Answers
B.
Set the data retention policy on the schemas in the secondary database to 60 days.
C.
Set the data retention policy on the primary database to 30 days and the schemas to 60 days.
Answers
C.
Set the data retention policy on the primary database to 30 days and the schemas to 60 days.
D.
Set the data retention policy on the primary database to 60 days.
Answers
D.
Set the data retention policy on the primary database to 60 days.
Suggested answer: A

Explanation:

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.

asked 23/09/2024
Ravi Bhatt
28 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first