ExamGecko
Question list
Search
Search

List of questions

Search

Related questions

Question 10 - ARA-C01 discussion

Report
Export

A Snowflake Architect is setting up database replication to support a disaster recovery plan. The primary database has external tables.

How should the database be replicated?

A.
Create a clone of the primary database then replicate the database.
Answers
A.
Create a clone of the primary database then replicate the database.
B.
Move the external tables to a database that is not replicated, then replicate the primary database.
Answers
B.
Move the external tables to a database that is not replicated, then replicate the primary database.
C.
Replicate the database ensuring the replicated database is in the same region as the external tables.
Answers
C.
Replicate the database ensuring the replicated database is in the same region as the external tables.
D.
Share the primary database with an account in the same region that the database will be replicated to.
Answers
D.
Share the primary database with an account in the same region that the database will be replicated to.
Suggested answer: B

Explanation:

Database replication is a feature that allows you to create a copy of a database in another account, region, or cloud platform for disaster recovery or business continuity purposes. However, not all database objects can be replicated. External tables are one of the exceptions, as they reference data files stored in an external stage that is not part of Snowflake. Therefore, to replicate a database that contains external tables, you need to move the external tables to a separate database that is not replicated, and then replicate the primary database that contains the other objects. This way, you can avoid replication errors and ensure consistency between the primary and secondary databases. The other options are incorrect because they either do not address the issue of external tables, or they use an alternative method that is not supported by Snowflake. You cannot create a clone of the primary database and then replicate it, as replication only works on the original database, not on its clones. You also cannot share the primary database with another account, as sharing is a different feature that does not create a copy of the database, but rather grants access to the shared objects. Finally, you do not need to ensure that the replicated database is in the same region as the external tables, as external tables can access data files stored in any region or cloud platform, as long as the stage URL is valid and accessible.Reference:

[Replication and Failover/Failback]1

[Introduction to External Tables]2

[Working with External Tables]3

[Replication : How to migrate an account from One Cloud Platform or Region to another in Snowflake]4

asked 23/09/2024
David Hartnett
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first