You want to migrate your PostgreSQL database from another cloud provider to Cloud SQL. You plan on using Database Migration Service and need to assess the impact of any known limitations. What should you do? (Choose two.)
A.
Identify whether the database has over 512 tables.
B.
Identify all tables that do not have a primary key.
C.
Identity all tables that do not have at least one foreign key.
D.
Identify whether the source database is encrypted using pgcrypto extension.
E.
Identify whether the source database uses customer-managed encryption keys (CMEK).
If encrypted databases require customer-managed encryption keys to decrypt the databases, and if Database Migration Service doesn't have access to the keys, then the databases can't be migrated.
However, if customer data is encrypted by the pgcrypto extension, then the data can be migrated with Database Migration Service (because Cloud SQL supports the extension).
https://cloud.google.com/database-migration/docs/postgres/known-limitations:
If encrypted databases require customer-managed encryption keys to decrypt the databases, and if Database Migration Service doesn't have access to the keys, then the databases can't be migrated.
For tables that don't have primary keys, Database Migration Service supports migration of the initial snapshot and INSERT statements during the change data capture (CDC) phase. You should migrate UPDATE and DELETE statements manually.
From this link (https://cloud.google.com/database-migration/docs/postgres/known-limitations), correct answers should be B and D.
Excerpts supporting these choices:
"For tables that don't have primary keys, Database Migration Service supports migration of the initial snapshot and INSERT statements during the change data capture (CDC) phase. You should migrate UPDATE and DELETE statements manually."
"If encrypted databases require customer-managed encryption keys to decrypt the databases, and if Database Migration Service doesn't have access to the keys, then the databases can't be migrated.
However, if customer data is encrypted by the pgcrypto extension, then the data can be migrated with Database Migration Service (because Cloud SQL supports the extension)."
Therefore, for the migration to be executable:
* Only tables with a primary key can be migrated;
* Only data encrypted by the pgcrypto extension can be migrated.
The correct answer is B & D. option E (customer-managed encryption keys) is not directly related to the limitations of Database Migration Service for PostgreSQL to Cloud SQL.
B, E.
A is irrelevant. So is C. Cloud SQL supports the pgcrypto extension so that’s also irrelevant. That leaves B and E. The link provided by chelbsik is spot on.
B: Identify all tables that do not have a ***** primary key. Tables in databases that don't have a primary key aren't migrated automatically by Database Migration Service. You must manually migrate them. The Migrating tables without a primary key section outlines different strategies.
E: Identify whether the source database uses customer-managed encryption ***** keys (CMEK).
upvoted 3 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
chelbsik
Highly Voted 1 year, 11 months agorglearn
Most Recent 4 weeks, 1 day agoPime13
6 months, 3 weeks agoDBA03
9 months, 2 weeks agoexamprof
11 months, 2 weeks agolearnazureportal
1 year, 1 month agodynamic_dba
1 year, 8 months agopk349
1 year, 11 months ago