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 6 / 10 · Domain 2: Manage a solution that can span multiple database technologies

You run the major version upgrade precheck on Cloud SQL for PostgreSQL. No operation is blocking it, and each database is accessible. Which combination of instance role and running state can use the precheck?

  1. A read replica instance whose state is STOPPED
  2. A primary instance whose state is RUNNING
  3. A primary instance whose state is STOPPED
  4. A read replica instance whose state is RUNNING
Show the answer and explanation

Answer: B

Why this is correct
The Limitations section of the in-place major version upgrade page lists the limits of the precheck: the instance state must be RUNNING, the instance must be a primary because the precheck does not support replicas, and there must be no pending blocking operations. The question already satisfies the last condition, so only a primary in the RUNNING state can run it.

Why the other options are wrong
"A primary instance whose state is STOPPED" … The role of primary is right, but running the precheck requires the RUNNING state. A STOPPED state does not satisfy that prerequisite.
"A read replica instance whose state is STOPPED" … The precheck does not support replicas, and it also requires the RUNNING state. This combination fails both the role and the state prerequisite.
"A read replica instance whose state is RUNNING" … A read replica is outside the scope of the precheck even when it is RUNNING. Being up and running and being a supported instance role are separate conditions.

Key point
The precheck is a long-running operation that looks for compatibility and configuration problems before the upgrade. Once the target meets the prerequisites, review the problems and warnings in its results.

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

See the full practice set