Google Professional Cloud Database Engineer exam dumps

Google Professional Cloud Database Engineer practice question 244 of 259

Professional Cloud Database Engineer. Professional level, Google Cloud. Free question with the correct answer and a full explanation.

Google Professional Cloud Database Engineer Question 244

Select 2Google Cloud Platform

Your company has a global e-commerce application running on Google Cloud, backed by a Cloud SQL database. To ensure high availability and low latency for customers in different regions, you are tasked with setting up multi-regional replication for the database. Which of the following steps are required to configure multi-regional replication for Cloud SQL?

  1. A

    Enable binary logging on the primary instance.

  2. B

    Create a read replica in the desired secondary region.

  3. C

    Configure a replica instance to use the Cloud SQL Proxy.

  4. D

    Set up a managed instance group for the primary database.

  5. E

    Ensure the primary instance has sufficient storage for write-ahead logs.

Show answer and explanation

Correct answers: A, B

Explanation

To set up multi-regional replication for Cloud SQL, binary logging must be enabled on the primary instance, as it facilitates the replication process. Additionally, a read replica must be created in the secondary region to serve regional traffic. Other options, such as using the Cloud SQL Proxy or setting up managed instance groups, are unrelated to the replication setup process.

  • A. Correct.

    Enabling binary logging is required because Cloud SQL uses binary logging to replicate data from the primary instance to the replica instance.

  • B. Correct.

    Creating a read replica in the desired region is a necessary step to achieve multi-regional replication in Cloud SQL.

  • C. Incorrect.

    Configuring a replica instance to use the Cloud SQL Proxy is not required for multi-regional replication. The proxy is typically used for secure connections, not replication setup.

  • D. Incorrect.

    A managed instance group is unrelated to Cloud SQL. These are used for Compute Engine instances, not databases.

  • E. Incorrect.

    While write-ahead logs (WALs) are important for database recovery, they are not directly related to setting up multi-regional replication in Cloud SQL.

Timed practice exam

Take a Google Professional Cloud Database Engineer practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam