Professional Cloud Database Engineer Practice Questions

Google Cloud Professional Cloud Database Engineer exam preparation

Professional Cloud Database Engineer practice questions in English: 180 questions with explanations. The mock exam has 60 questions and 120 minutes.

Professional Cloud Database Engineer free question 7 / 10 · Domain 3: Migrate data solutions

You migrate PostgreSQL tables placed in a custom tablespace to Cloud SQL with DMS. How is the storage location handled?

  1. The tables are migrated, and a separate Cloud SQL instance is created for each tablespace name
  2. The tables are migrated, and a tablespace with the same name and the same OS path is created
  3. The table definitions are migrated, but the row data in the custom tablespace is excluded
  4. The tables are migrated and land in the default pg_default tablespace on the destination
Show the answer and explanation

Answer: D

Why this is correct
The known limitations page for DMS PostgreSQL says that Cloud SQL does not support custom tablespaces, and that objects in a custom tablespace are all moved to the default pg_default tablespace of Cloud SQL. The table data is migrated, but a design that separated performance by laying out disks does not hold on the destination, so you review designs that depend on physical placement.

Why the other options are wrong
"The table definitions are migrated, but the row data in the custom tablespace is excluded" … Using a custom tablespace is not a reason to leave the row data of a table out of the migration.
"The tables are migrated, and a tablespace with the same name and the same OS path is created" … You cannot have a tablespace with the same name and an OS path of your choice created automatically on the destination.
"The tables are migrated, and a separate Cloud SQL instance is created for each tablespace name" … It is not a process that converts tablespaces into Cloud SQL instances one to one.

Key point
Reassess designs that relied on disk placement for performance isolation. Verify a match of the logical schema separately from a match of the physical placement.

Go to the Professional Cloud Database Engineer practice app (10 free questions; purchase unlocks all questions)

See the full practice set