2025 Data Replication and Failovers Flashcards

1
Q

What are the two key performance indicators that are considered for disaster recovery

A

Recovery Time Objective (RTO)
Recovery Point Objective (RPO)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Tri-Secret Secure

A

A composite key is a combination of Snowflake and consumer-managed keys

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is data replication used for

A

Duplicating/sharing data across regions/clouds

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How do you modify an existing database to act as the primary database for replication?

A

ALTER DATABASE <DB-NAME> ENABLE REPLICATOIN TO ACCOUNTS <ACCOUNT1>, <ACCOUNT2></ACCOUNT2></ACCOUNT1></DB-NAME>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do you create a secondary database for use in replication

A

CREATE DATABASE <dbname> AS REPLICA OF <dbname></dbname></dbname>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do you refresh a secondary database

A

ALTER DATABASE <dbname> REFRESH; (either manual or a task)</dbname>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Are incremental refreshes supported?

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What happens when trying to replicate a database with an external table

A

Replication is blocked

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Can Stages and Pipes be replicated

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Is Historical usage data on a primary database replicated

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Can databases from shares be replicated

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

When replicating streams, the stream can successfully track the change in what objects

A

Tables and Views in the same database as the stream (and not shared)

This excludes Directory and External Tables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

If you want to drop a primary database, what steps do you have to take

A

Promote the secondary database to a primary database.
Drop the former primary database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Are stored procedures and UDFS replicated from the primary to the secondary database

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

When does automatic clustering occur on a secondary database

A

When it is promoted to the primary database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Where does automatic maintenance of the materialized views occur

A

Primary database

17
Q

What happens when the primary database is Enterprise or higher and the other account is lower

A

Replication fails

18
Q

What happens if the primary database has a dangling reference to a tag in another DB

A

Replication fails

19
Q

How is Time Travel and Fail Safe data maintained on a secondary database

A

Independently and not replicated

20
Q

How are cloned objects treated during replication

A

They are physically replicated

21
Q

How can you enable failover for a database

A

ALTER DATABASE ENABLE FAILOVER TO ACCOUNTS….

22
Q

What edition is required for failover

A

Business Critical

23
Q

What role is required to enable failover

A

ACCOUNTADMIN

24
Q

Can zero copy clones be cloned into transient tables

A

Yes, you will save money by using transient tables because you do not need time travel on the cloned tables

25
What is the state of a task when it is cloned?
Paused, it will need to be resumed to start again.