Limited-Time Offer: Enjoy 50% Savings! - Ends In 0d 00h 00m 00s Coupon code: 50OFF
Welcome to QA4Exam

Free practice questions with explanations

Google Professional-Cloud-Database-Engineer Dumps 2026 with Free Practice Questions and Answers

Practise for the Professional Cloud Database Engineer exam with 15 original questions, each with an answer and explanation.

Topics: Manage A Solution That Can Span Multiple Database Technologies, Design Innovative, Scalable, And Highly Available Cloud Database Solutions, Deploy Scalable And Highly Available Databases In Google Cloud and Migrate Data Solutions.

Includes single answer, multiple answers, order list, drag and drop and dropdown. A new question is added every 15 days.

Professional-Cloud-Database-Engineer Practice Set Details

Vendor
Google
Exam Code
Professional-Cloud-Database-Engineer
Questions On This Page
15
Exam Topics Covered
4 of 4
Question Types
5
Newest Question
New Question
Every 15 days
Full Question Set
141
Certification
Google Cloud Certified
15 questions

Google Professional-Cloud-Database-Engineer Exam Questions and Answers by Topic

Design Innovative, Scalable, and Highly Available Cloud Database Solutions

32% of the exam

4 practice questions on this topicWhat this topic covers

Question 1

Added

Single Answer

A SaaS provider is sizing a Cloud SQL for PostgreSQL instance for a workload with a measured peak of 3,500 read IOPS and 900 write IOPS. CPU utilization is low, but storage latency rises during peak periods. The database currently has a small SSD volume, and the workload is expected to grow by 40 percent over the next year. The team must retain SSD storage, minimize unnecessary compute spend, and preserve headroom for growth. What should the team do first?

Correct answer: C

Cloud SQL SSD performance is affected by provisioned storage capacity as well as workload and instance characteristics. Since CPU is low and latency rises at peak storage demand, the team should validate the storage bottleneck and size SSD capacity for measured IOPS plus forecast growth before paying for more compute. Adding vCPUs alone may not address the storage limit. HDD conflicts with the SSD requirement and is unsuitable for the stated latency and IOPS. Read replicas do not accept writes as independent write targets.

Question 2

Added

Multiple Answers

A financial application uses Cloud SQL for PostgreSQL and connects from workloads in a private VPC. Security requires private IP connectivity, encrypted client connections, and database authentication tied to short-lived Google credentials for supported application clients. The team also needs centralized control over who may connect, without distributing long-lived database passwords to application teams. Which two measures best meet the requirements? (Choose two.)

Correct answer: A, E

Private IP keeps database traffic on the configured VPC path, while Cloud SQL IAM database authentication lets supported clients authenticate using IAM identities rather than a shared long-lived database password. The application must still use encrypted connections as required by the service and configuration. A public IP is unnecessary and conflicts with the private-connectivity requirement. Private networking does not itself encrypt database protocol traffic. A shared superuser password defeats centralized identity control and least privilege.

Question 3

Added

Drag And Drop

A company is designing Cloud SQL connectivity for three application tiers. A serverless application must connect without a public database address, a fleet of short-lived PostgreSQL clients needs efficient backend connection reuse, and administrators require keys managed outside Google Cloud's default key management. Match each requirement to the most appropriate Google Cloud capability.

Drag each item onto its matching target. On a phone: tap an item, then tap a target.

Short-lived PostgreSQL clients need backend connection reuse
Serverless application needs private connectivity to Cloud SQL
Administrators manage encryption keys externally
Cloud External Key Manager
Serverless VPC Access connector
PgBouncer connection pooler
Correct answer:
  • Serverless application needs private connectivity to Cloud SQL → Serverless VPC Access connector
  • Short-lived PostgreSQL clients need backend connection reuse → PgBouncer connection pooler
  • Administrators manage encryption keys externally → Cloud External Key Manager

A Serverless VPC Access connector provides a path from supported serverless workloads into a VPC where Cloud SQL private IP is reachable. PgBouncer pools PostgreSQL client connections and reduces backend connection churn; it is distinct from a built-in Cloud SQL connection feature. Cloud External Key Manager supports using externally managed key material for supported CMEK integrations. A public IP does not meet the private-path requirement, and default-managed encryption does not satisfy the external-key control.

Question 4

Added

Single Answer

An online retailer operates Cloud SQL for MySQL with a strict uptime objective during maintenance. The database can accept planned maintenance during a low-traffic weekly window, but the operations team must know in advance which window applies and receive notifications about upcoming maintenance. The application can retry brief connection interruptions, and the team does not require maintenance to be eliminated entirely. Which approach is most appropriate?

Correct answer: B

A preferred maintenance window lets the team schedule maintenance at a time aligned with application availability, and notifications provide advance operational awareness. Retry logic helps the application handle brief connection interruption but does not replace scheduling or notification. Automated backups do not prevent maintenance or provide advance notice. A read replica is not an automatic maintenance failover mechanism. Larger compute capacity does not exempt an instance from maintenance.

Manage a Solution That Can Span Multiple Database Technologies

25% of the exam

5 practice questions on this topicWhat this topic covers

Question 5

Added

Multiple Answers

A healthcare company runs a Cloud SQL for PostgreSQL instance that contains patient data. The application connects from Compute Engine through a private IP address, and database administrators currently share a PostgreSQL login stored in a deployment script. Auditors require each administrator's database activity to be attributable to an individual, while the platform team must avoid distributing database passwords to the VM fleet. The team can update the application and administrator connection workflows, but cannot introduce a proxy appliance or change the instance's private networking. Which two changes best meet these requirements? (Choose two.)

Correct answer: A, C

IAM database authentication lets authorized administrators authenticate to PostgreSQL using their Google identities rather than a password embedded in scripts; the Cloud SQL IAM database login role provides the required login permission. Individual PostgreSQL users preserve per-person attribution and allow database-level privileges to be scoped appropriately. Audit logging with a shared login does not reliably identify which administrator performed an action. The Cloud SQL Client role authorizes connecting to the instance but is not itself a PostgreSQL username or database identity. Enabling public IP is unnecessary and conflicts with the existing private-only networking constraint.

Question 6

Added

Order List

A company needs point-in-time recovery for a Cloud SQL for PostgreSQL production instance after accidental application writes. Automated backups and transaction log retention are configured, and the recovery target must be a separate instance so the existing database remains available for investigation. Arrange the recovery steps in the order they must be performed.

Drag the steps into the correct order, or use the arrows.

  1. Validate recovered data and application consistency on the new instance
  2. Redirect application traffic after approval of the recovered instance
  3. Restore a backup to a new Cloud SQL instance using that recovery timestamp
  4. Identify the recovery timestamp within the retained transaction-log window
Correct answer:
  1. Identify the recovery timestamp within the retained transaction-log window
  2. Restore a backup to a new Cloud SQL instance using that recovery timestamp
  3. Validate recovered data and application consistency on the new instance
  4. Redirect application traffic after approval of the recovered instance

Point-in-time recovery uses a backup and retained transaction logs to create a database state at the selected timestamp. Choosing the target time first ensures the restore is configured for the desired recovery point. Restoring to a new instance preserves the original for investigation. Validation should precede any application cutover, and traffic should move only after the recovered data has been approved.

Question 7

Added

Multiple Answers

A platform team operates Cloud SQL for PostgreSQL and must detect both query regressions and instance resource contention. Users report slow requests, but the team has not established whether the cause is SQL execution, lock waits, or infrastructure saturation. They need an approach using managed observability, with actionable alerts rather than a dashboard that is checked only after incidents. Which two actions are most appropriate? (Choose two.)

Correct answer: C, E

Query Insights helps identify costly or regressed query patterns, while Cloud Monitoring metrics and alerts reveal resource saturation and availability conditions. Together they provide evidence to distinguish SQL-level problems from instance capacity issues and notify operators promptly. Upsizing before diagnosis can add cost without fixing inefficient queries or locks. Disabling logs removes useful diagnostic evidence and does not substitute for performance analysis. Replication lag alone is not a complete measure of primary contention or query performance.

Question 8

Added

Single Answer

A Cloud SQL for PostgreSQL database stores customer records subject to a 30-day recovery requirement. The organization must recover from accidental deletion to a point within the previous 14 days, and auditors require backup copies to remain available for 30 days. The team wants to avoid relying solely on a logical export and needs recovery to a separate instance for verification before cutover. Which design best meets the requirements?

Correct answer: C

Automated backups combined with point-in-time recovery provide restoration to a selected time within the retained transaction-log window. Backup retention must also meet the separate 30-day archival requirement, and restoring to another instance allows validation before cutover. A weekly CSV export has coarse recovery points and is not a complete managed database recovery strategy. A read replica follows changes and is not a historical backup. Automatic storage increase prevents storage exhaustion; it does not preserve deleted data.

Question 9

Added

Dropdown

A Cloud SQL for MySQL application has rising CPU utilization and slow requests. Query analysis identifies repeated full table scans on a frequently filtered column, while memory and storage metrics remain healthy. The team wants to validate whether an index addresses the dominant query cost before changing the instance machine type. Complete the statement with the best next action.

Choose the correct value for each blank.

Use to identify the costly query pattern, then validate a candidate index with before considering a machine-type change.
Correct answer:

Use Query Insights to identify the costly query pattern, then validate a candidate index with EXPLAIN before considering a machine-type change.

Query Insights helps surface expensive query patterns in Cloud SQL, and EXPLAIN shows the execution plan so the team can assess whether a candidate index changes access from a full scan to a more efficient plan. Cloud Audit Logs record administrative and access activity, not query-plan costs. Billing reports do not diagnose SQL execution. The Auth Proxy provides connectivity and authentication, not query analysis. The other commands either stop a server, fail over an instance, or apply to PostgreSQL backup rather than validating a MySQL plan.

Migrate Data Solutions

23% of the exam

3 practice questions on this topicWhat this topic covers

Question 10

Added

Single Answer

A company is moving a self-managed MySQL database in its own data center to Cloud SQL for MySQL. The database is large, the business permits only a brief final cutover, and the team must keep the source available while changes are copied to the target. The schema uses features that must be checked for Cloud SQL compatibility before replication begins. Which migration approach best fits?

Correct answer: A

Database Migration Service supports continuous migration from supported external MySQL sources, reducing the final outage by copying ongoing changes before cutover. Compatibility assessment and remediation should precede migration so unsupported source features do not cause failure. A one-time export and import does not capture writes made during the import. Cloud SQL does not create a native read replica directly from an arbitrary data-center source in the manner described. A CSV snapshot loses relational behavior and changes made after export.

Question 11

Added

Order List

A company is migrating a self-managed PostgreSQL application to Cloud SQL for PostgreSQL with a near-zero-downtime goal. Database Migration Service has completed the initial load and continuous change replication is running. The source remains the production write endpoint until the cutover window. Arrange the final migration actions in the correct order.

Drag the steps into the correct order, or use the arrows.

  1. Promote the migration by completing the cutover to the Cloud SQL target
  2. Update application connection configuration and validate production transactions
  3. Pause application writes to the source database
  4. Verify migration health and confirm the target has caught up with source changes
Correct answer:
  1. Verify migration health and confirm the target has caught up with source changes
  2. Pause application writes to the source database
  3. Promote the migration by completing the cutover to the Cloud SQL target
  4. Update application connection configuration and validate production transactions

Before cutover, the team confirms that replication is healthy and the target has caught up. Pausing source writes then prevents new changes from being missed while the migration is finalized. Completing cutover transitions the target to the production database role. Only after that should application connections be redirected and transactions validated. Redirecting first risks writes reaching the wrong endpoint or an incompletely synchronized target.

Question 12

Added

Single Answer

A retailer migrates an on-premises PostgreSQL database to Cloud SQL using continuous replication. The business requires a documented fallback if the application discovers a critical issue shortly after cutover. The source is retained temporarily, and the team can pause application writes during a controlled recovery window. Which planning action is essential to make fallback operationally credible rather than merely keeping the old server powered on?

Correct answer: A

After cutover, new writes exist on the Cloud SQL target and are not automatically present on the old source. A credible rollback plan must account for those changes, for example through reverse replication or a controlled reconciliation process, before directing writes back to the source. Merely retaining the old server risks data loss. A Cloud SQL read replica remains a replica of the target and does not synchronize changes to the original source. Backups support recovery but do not provide immediate lossless rollback of every post-cutover transaction.

Deploy Scalable and Highly Available Databases in Google Cloud

20% of the exam

3 practice questions on this topicWhat this topic covers

Question 13

Added

Single Answer

A ticketing platform runs a regional Cloud SQL for PostgreSQL instance. During a zonal outage, the service must recover without an operator promoting a replica, and the application must continue using the same database connection endpoint. The team accepts a short reconnection period but cannot maintain its own failover automation. The instance currently uses a single zone, and the application has retry logic for interrupted connections. Which change best meets the availability requirement?

Correct answer: B

Regional high availability provides a standby in a different zone and Cloud SQL manages failover while retaining the instance's primary connection endpoint. The application may need to reconnect, which its retry logic supports. A cross-region read replica requires promotion and endpoint changes rather than automatic regional failover. More storage does not protect against a zonal outage. Two writable standalone instances do not provide coordinated replication or safe single-primary failover.

Question 14

Added

Multiple Answers

A media company serves read-heavy reports from Cloud SQL for MySQL. Its primary is in us-central1, but users in Europe need lower-latency reads and the reports must not compete with transaction writes. The company can tolerate replica lag and can route report connections to a different endpoint. It does not require automatic promotion during a regional disaster, and it wants to avoid running an additional full-size primary. Which two actions best satisfy these needs? (Choose two.)

Correct answer: C, E

A cross-region read replica places report-serving data nearer to European users and isolates those queries from primary transaction work. Monitoring replication lag is important because asynchronous replication can leave reports temporarily behind, and the replica can be sized for its own workload. The HA standby is for failover, not a read endpoint. Sending reports to the primary does not isolate workload or improve geographic latency. A same-region replica does not provide the requested regional proximity.

Question 15

Added

Single Answer

A regulated company provisions Cloud SQL instances through Terraform. Its operations policy requires a weekly backup before maintenance, while a central scheduler must receive notification of a completed backup and then start a dependent data-validation job. The team wants to use managed Cloud SQL backup capability and avoid polling instance state from a custom script. Which design is the best fit?

Correct answer: D

A scheduled export to Cloud Storage produces an object whose finalized event can trigger downstream processing, giving the scheduler a concrete completion signal without polling. Cloud SQL automated backups are managed backup operations, but the proposed audit-log trigger is not a dependable completion notification mechanism for this workflow. Storage-utilization alerts do not indicate backup completion. A replica's replication state says nothing about whether a backup finished.

More Google Practice Questions

Get the Full Google Professional-Cloud-Database-Engineer Dumps as PDF and Practice Test

15 questions are free on this page and the full set has 141. It comes as a PDF and an online practice test, with 90 days of free updates.