Free PROFESSIONAL-CLOUD-DATABASE-ENGINEER Exam Braindumps (page: 7)

Page 7 of 34

Your organization deployed a new version of a critical application that uses Cloud SQL for MySQL with high availability (HA) and binary logging enabled to store transactional information. The latest release of the application had an error that caused massive data corruption in your Cloud SQL for MySQL database. You need to minimize data loss.
What should you do?

  1. Open the Google Cloud Console, navigate to SQL > Backups, and select the last version of the automated backup before the corruption.
  2. Reload the Cloud SQL for MySQL database using the LOAD DATA command to load data from CSV files that were used to initialize the instance.
  3. Perform a point-in-time recovery of your Cloud SQL for MySQL database, selecting a date and time before the data was corrupted.
  4. Fail over to the Cloud SQL for MySQL HA instance. Use that instance to recover the transactions that occurred before the corruption.

Answer(s): C

Explanation:

Binary Logging enabled, with that you can identify the point of time the data was good and recover from that point time. https://cloud.google.com/sql/docs/mysql/backup- recovery/pitr#perform_the_point-in-time_recovery_using_binary_log_positions



You plan to use Database Migration Service to migrate data from a PostgreSQL on-premises instance to Cloud SQL. You need to identify the prerequisites for creating and automating the task.
What should you do? (Choose two.)

  1. Drop or disable all users except database administration users.
  2. Disable all foreign key constraints on the source PostgreSQL database.
  3. Ensure that all PostgreSQL tables have a primary key.
  4. Shut down the database before the Data Migration Service task is started.
  5. Ensure that pglogical is installed on the source PostgreSQL database.

Answer(s): C,E

Explanation:

https://cloud.google.com/database-migration/docs/postgres/faq



You are using Compute Engine on Google Cloud and your data center to manage a set of MySQL databases in a hybrid configuration. You need to create replicas to scale reads and to offload part of the management operation.
What should you do?

  1. Use external server replication.
  2. Use Data Migration Service.
  3. Use Cloud SQL for MySQL external replica.
  4. Use the mysqldump utility and binary logs.

Answer(s): C

Explanation:

An external replica is a method that allows you to create a read-only copy of your Cloud SQL instance on an external server, such as a Compute Engine instance or an on-premises database server1. An external replica can help you scale reads and offload management operations from your data center to Google Cloud. You can also use an external replica for disaster recovery, migration, or reporting purposes1.
To create an external replica, you need to configure a Cloud SQL instance that replicates to one or more replicas external to Cloud SQL, and a source representation instance that represents the source database server in Cloud SQL1. You also need to enable access on the Cloud SQL instance for the IP address of the external replica, create a replication user, and export and import the data from the source database server to the external replica1.



Your company is shutting down their data center and migrating several MySQL and PostgreSQL databases to Google Cloud. Your database operations team is severely constrained by ongoing production releases and the lack of capacity for additional on-premises backups. You want to ensure that the scheduled migrations happen with minimal downtime and that the Google Cloud databases stay in sync with the on-premises data changes until the applications can cut over.

What should you do? (Choose two.)

  1. Use an external read replica to migrate the databases to Cloud SQL.
  2. Use a read replica to migrate the databases to Cloud SQL.
  3. Use Database Migration Service to migrate the databases to Cloud SQL.
  4. Use a cross-region read replica to migrate the databases to Cloud SQL.
  5. Use replication from an external server to migrate the databases to Cloud SQL.

Answer(s): C,E



Page 7 of 34



Post your Comments and Discuss Google PROFESSIONAL-CLOUD-DATABASE-ENGINEER exam with other Community members:

muksgreen commented on March 01, 2024
brainstorming excellent
JAPAN
upvote