Google Professional Cloud Database Engineer Practice Test 87 - Prepaway
Practice Exams:

Pass Google Professional Cloud Database Engineer Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers!

30 Days Free Updates, Instant Download!

Verified By Experts
Premium Bundle
$29.98
$79.99 $109.97

Professional Cloud Database Engineer Premium Bundle


  • Premium File 197 Questions & Answers. Last update: Nov 24, 2026
  • Training Course 72 Lectures
  • Study Guide 501 Pages

Google Professional Cloud Database Engineer Practice Test 87

Question 860

A Google Cloud database operations team approves: Import or reconcile the supported resource into reviewed infrastructure-as-code state before applying further updates. The triggering incident was: A SaaS company manages its database service through Terraform but a production read replica is created manually without code review. Which limited rollout and expansion condition best protects other database services?

  1. Deploy the spanner geographic placement conflicts with latency objective correction only to the reviewed database or workload slice first; expand after confirming: A representative multi-region test meets critical write latency and withstands the targeted regional failure scenario.
  2. Deploy the database resources created manually outside iac correction only to the reviewed database or workload slice first; expand after confirming: A dry-run plan shows the approved topology without destructive drift and a staged apply behaves as expected.
  3. Deploy the cross-region replica created in wrong region correction only to the reviewed database or workload slice first; expand after confirming: The replica passes an independent geographic failure rehearsal and remains compliant with residency rules.
  4. Deploy the alloydb read pool absent after rollout correction only to the reviewed database or workload slice first; expand after confirming: The primary write latency remains within target under dashboard load and the read pool serves intended eligible queries.

Explanation

Correct Answer

B:

The live inventory differs from the state file and the next plan proposes deleting or replacing a resource unexpectedly. Blindly applying drifted Terraform can destroy a replica or interrupt critical database connectivity. Limit the change to the affected scope. Expand only after a pilot demonstrates that a dry-run plan shows the approved topology without destructive drift and a staged apply behaves as expected.

Incorrect Answers

A:

Global resilience and consensus transaction latency involve tradeoffs in geographic replica placement. The pilot must instead verify this outcome: A dry-run plan shows the approved topology without destructive drift and a staged apply behaves as expected.

C:

Cross-regional resilience depends on actual geographic separation and supported replication topology. The pilot must instead verify this outcome: A dry-run plan shows the approved topology without destructive drift and a staged apply behaves as expected.

D:

Separating supported read capacity from primary transaction handling can reduce contention. The pilot must instead verify this outcome: A dry-run plan shows the approved topology without destructive drift and a staged apply behaves as expected.

Question 861

In a fictional Google Cloud database environment: A regulated service provisions Cloud SQL automatically but stores the administrator password as plaintext in a shared deployment variable file. The decisive evidence is: A code scanner finds the active production secret in the reviewed repository and deployment logs. Which narrowly scoped action best addresses this database problem?

  1. Evaluate appropriate supported Spanner instance configurations and leader/compute placement against consistency and availability requirements.
  2. Run an approved controlled regional failure rehearsal with documented RPO, RTO and application reconnection checks.
  3. Rotate the exposed credential and use supported protected secret injection with least-privilege deployment identity.
  4. Choose a supported distributed key strategy and verify workload placement before increasing nodes blindly.

Explanation

Correct Answer

C:

Automated provisioning should keep high-privilege secrets separate from committed infrastructure code. A disclosed automation password could allow unauthorized schema changes across every redeployed instance. After the change, verify that an automated deployment works without printing or storing usable passwords in source or build logs.

Incorrect Answers

A:

Global resilience and consensus transaction latency involve tradeoffs in geographic replica placement. That does not resolve the reported finding: A code scanner finds the active production secret in the reviewed repository and deployment logs.

B:

Availability configuration must be validated against actual regional failure scenarios. That does not resolve the reported finding: A code scanner finds the active production secret in the reviewed repository and deployment logs.

D:

A distributed database still needs keys and access patterns that avoid hotspots. That does not resolve the reported finding: A code scanner finds the active production secret in the reviewed repository and deployment logs.

Question 862

A Google Cloud database engineer investigates this fictional iac deployment embeds root password issue: A regulated service provisions Cloud SQL automatically but stores the administrator password as plaintext in a shared deployment variable file. The team needs a specific diagnostic observation, not an overall symptom. Which observed fact most clearly distinguishes this issue from another database fault?

  1. The recovery scorecard contains configuration screenshots but no actual region-failover timing or transaction verification.
  2. A synthetic load accidentally drives instance capacity far beyond budget while request latency already meets target.
  3. Performance traces identify a narrow key range receiving nearly all concurrent writes under load.
  4. A code scanner finds the active production secret in the reviewed repository and deployment logs.

Explanation

Correct Answer

D:

Automated provisioning should keep high-privilege secrets separate from committed infrastructure code. Inspect repository history, build logs, secret manager permissions and deployment credential behavior.

Incorrect Answers

A:

Availability configuration must be validated against actual regional failure scenarios. The evidence needed here is different: A code scanner finds the active production secret in the reviewed repository and deployment logs.

B:

Database autoscaling should balance performance objectives against explicit cost and governance constraints. The evidence needed here is different: A code scanner finds the active production secret in the reviewed repository and deployment logs.

C:

A distributed database still needs keys and access patterns that avoid hotspots. The evidence needed here is different: A code scanner finds the active production secret in the reviewed repository and deployment logs.

Question 863

In a fictional Google Cloud database environment: A regulated service provisions Cloud SQL automatically but stores the administrator password as plaintext in a shared deployment variable file. The decisive evidence is: A code scanner finds the active production secret in the reviewed repository and deployment logs. Which database engineering principle is most applicable to this incident?

  1. Database autoscaling should balance performance objectives against explicit cost and governance constraints.
  2. Automated provisioning should keep high-privilege secrets separate from committed infrastructure code.
  3. Encrypted standby availability depends on key-management authorization in the recovery location.
  4. Failover designs must prevent simultaneous conflicting writable primaries.

Explanation

Correct Answer

B:

A code scanner finds the active production secret in the reviewed repository and deployment logs. Rotate the exposed credential and use supported protected secret injection with least-privilege deployment identity. A disclosed automation password could allow unauthorized schema changes across every redeployed instance.

Incorrect Answers

A:

The alternative principle fits this different finding: A synthetic load accidentally drives instance capacity far beyond budget while request latency already meets target. Automated provisioning should keep high-privilege secrets separate from committed infrastructure code.

C:

The alternative principle fits this different finding: A dry run succeeds through replication yet recovery fails when the standby tries to decrypt necessary storage resources. Automated provisioning should keep high-privilege secrets separate from committed infrastructure code.

D:

The alternative principle fits this different finding: A controlled network partition permits both database endpoints to accept separate test writes. Automated provisioning should keep high-privilege secrets separate from committed infrastructure code.

Question 864

A Google Cloud database team plans this bounded correction: Rotate the exposed credential and use supported protected secret injection with least-privilege deployment identity. The initiating situation is: A regulated service provisions Cloud SQL automatically but stores the administrator password as plaintext in a shared deployment variable file. Which independently verified result would demonstrate that the change worked?

  1. A controlled primary-zone disruption recovers database writes within the agreed RTO with consistent committed data.
  2. A simulated primary failure returns customer tracking updates within the service objective without manual restarts.
  3. Tracking responses meet the one-second freshness commitment under tested peak volume and outages.
  4. An automated deployment works without printing or storing usable passwords in source or build logs.

Explanation

Correct Answer

D:

A code scanner finds the active production secret in the reviewed repository and deployment logs. Automated provisioning should keep high-privilege secrets separate from committed infrastructure code. The correction must be verified in practice: An automated deployment works without printing or storing usable passwords in source or build logs.

Incorrect Answers

A:

High availability settings must be implemented in the deployed database resource, not merely asserted in design documents. Success here requires a different result: An automated deployment works without printing or storing usable passwords in source or build logs.

B:

High availability automation must validate application service restoration, not only database resource state. Success here requires a different result: An automated deployment works without printing or storing usable passwords in source or build logs.

C:

Read replicas trade off scale, latency and eventual freshness depending on product capabilities. Success here requires a different result: An automated deployment works without printing or storing usable passwords in source or build logs.

Question 865

In a fictional Google Cloud database environment: A regulated service provisions Cloud SQL automatically but stores the administrator password as plaintext in a shared deployment variable file. The decisive evidence is: A code scanner finds the active production secret in the reviewed repository and deployment logs. Which material data integrity, security or availability risk must the team control?

  1. Last-minute quota failure can leave new geographic customers without database service.
  2. Simultaneous restart of recovery nodes can create a complete outage despite a nominal HA architecture.
  3. A disclosed automation password could allow unauthorized schema changes across every redeployed instance.
  4. Blindly applying drifted Terraform can destroy a replica or interrupt critical database connectivity.

Explanation

Correct Answer

C:

Automated provisioning should keep high-privilege secrets separate from committed infrastructure code. Rotate the exposed credential and use supported protected secret injection with least-privilege deployment identity. A disclosed automation password could allow unauthorized schema changes across every redeployed instance.

Incorrect Answers

A:

The alternative risk relates to this separate finding: Deployment operations fail with quota-exceeded errors despite sufficient instance specifications and billing authorization. A disclosed automation password could allow unauthorized schema changes across every redeployed instance.

B:

The alternative risk relates to this separate finding: The change plan has no staggered availability validation or supported rolling upgrade sequence. A disclosed automation password could allow unauthorized schema changes across every redeployed instance.

D:

The alternative risk relates to this separate finding: The live inventory differs from the state file and the next plan proposes deleting or replacing a resource unexpectedly. A disclosed automation password could allow unauthorized schema changes across every redeployed instance.

Question 866

In a fictional Google Cloud database environment: A regulated service provisions Cloud SQL automatically but stores the administrator password as plaintext in a shared deployment variable file. The decisive evidence is: A code scanner finds the active production secret in the reviewed repository and deployment logs. Which focused investigation best confirms the suspected database failure?

  1. Analyze key distribution, split statistics, insert frequency and realistic write benchmarks.
  2. Inspect autoscaling rules, billing alerts, utilization history and performance acceptance metrics.
  3. Inspect repository history, build logs, secret manager permissions and deployment credential behavior.
  4. Review leader election, write fencing, endpoint routing, transaction IDs and partition tests.

Explanation

Correct Answer

C:

A code scanner finds the active production secret in the reviewed repository and deployment logs. Automated provisioning should keep high-privilege secrets separate from committed infrastructure code. The follow-up test should demonstrate that an automated deployment works without printing or storing usable passwords in source or build logs.

Incorrect Answers

A:

The proposed investigation targets a different finding: Performance traces identify a narrow key range receiving nearly all concurrent writes under load. A code scanner finds the active production secret in the reviewed repository and deployment logs.

B:

The proposed investigation targets a different finding: A synthetic load accidentally drives instance capacity far beyond budget while request latency already meets target. A code scanner finds the active production secret in the reviewed repository and deployment logs.

D:

The proposed investigation targets a different finding: A controlled network partition permits both database endpoints to accept separate test writes. A code scanner finds the active production secret in the reviewed repository and deployment logs.

Question 867

In a fictional Google Cloud database environment: A regulated service provisions Cloud SQL automatically but stores the administrator password as plaintext in a shared deployment variable file. The decisive evidence is: A code scanner finds the active production secret in the reviewed repository and deployment logs. Which scoped approval record most appropriately authorizes this correction?

  1. Obtain approval from cloud database automation security owner for the scoped change: Rotate the exposed credential and use supported protected secret injection with least-privilege deployment identity. Record independent proof: An automated deployment works without printing or storing usable passwords in source or build logs.
  2. Obtain approval from cloud database provisioning planner for the scoped change: Request appropriate quota changes or redesign deployment pacing before the scheduled expansion. Record independent proof: A dry-run or controlled deployment creates the planned instance count with quotas and cost alerts documented.
  3. Obtain approval from kubernetes database connectivity engineer for the scoped change: Configure the supported VPC networking and approved private connection route for the database and cluster. Record independent proof: Application pods complete authenticated transactions over the allowed private route and public fallback remains disabled.
  4. Obtain approval from database infrastructure-as-code steward for the scoped change: Import or reconcile the supported resource into reviewed infrastructure-as-code state before applying further updates. Record independent proof: A dry-run plan shows the approved topology without destructive drift and a staged apply behaves as expected.

Explanation

Correct Answer

A:

A disclosed automation password could allow unauthorized schema changes across every redeployed instance. The accountable owners must approve the affected scope and the acceptance test: An automated deployment works without printing or storing usable passwords in source or build logs.

Incorrect Answers

B:

That approval concerns a different condition: Deployment operations fail with quota-exceeded errors despite sufficient instance specifications and billing authorization. Rotate the exposed credential and use supported protected secret injection with least-privilege deployment identity.

C:

That approval concerns a different condition: Packet traces show cluster pod traffic taking a path without required VPC connectivity while the database reports healthy status. Rotate the exposed credential and use supported protected secret injection with least-privilege deployment identity.

D:

That approval concerns a different condition: The live inventory differs from the state file and the next plan proposes deleting or replacing a resource unexpectedly. Rotate the exposed credential and use supported protected secret injection with least-privilege deployment identity.

Question 868

A Google Cloud database design review considers: A regulated service provisions Cloud SQL automatically but stores the administrator password as plaintext in a shared deployment variable file. Which evidence, change, and independent validation sequence is coherent?

  1. Evidence: A code scanner finds the active production secret in the reviewed repository and deployment logs. Corrective change: Rotate the exposed credential and use supported protected secret injection with least-privilege deployment identity. Independently verify: An automated deployment works without printing or storing usable passwords in source or build logs.
  2. Evidence: The live inventory differs from the state file and the next plan proposes deleting or replacing a resource unexpectedly. Corrective change: Import or reconcile the supported resource into reviewed infrastructure-as-code state before applying further updates. Independently verify: A dry-run plan shows the approved topology without destructive drift and a staged apply behaves as expected.
  3. Evidence: A zone-loss drill makes the telemetry collector disappear even though the standby database remains available. Corrective change: Use appropriate managed or independent monitoring paths and test alerting across the supported failure boundary. Independently verify: Database failover and corresponding incident alerts remain visible during a controlled primary-zone loss.
  4. Evidence: Drill logs show the secondary promoted while application queries still fail because the connection pool targets the old endpoint. Corrective change: Extend the failover process with supported client reconnection and independent end-to-end transaction validation. Independently verify: A simulated primary failure returns customer tracking updates within the service objective without manual restarts.

Explanation

Correct Answer

A:

Automated provisioning should keep high-privilege secrets separate from committed infrastructure code. A code scanner finds the active production secret in the reviewed repository and deployment logs. Validate the result independently: An automated deployment works without printing or storing usable passwords in source or build logs.

Incorrect Answers

B:

This sequence starts from a different condition: The live inventory differs from the state file and the next plan proposes deleting or replacing a resource unexpectedly. Automated provisioning should keep high-privilege secrets separate from committed infrastructure code. An automated deployment works without printing or storing usable passwords in source or build logs.

C:

This sequence starts from a different condition: A zone-loss drill makes the telemetry collector disappear even though the standby database remains available. Automated provisioning should keep high-privilege secrets separate from committed infrastructure code. An automated deployment works without printing or storing usable passwords in source or build logs.

D:

This sequence starts from a different condition: Drill logs show the secondary promoted while application queries still fail because the connection pool targets the old endpoint. Automated provisioning should keep high-privilege secrets separate from committed infrastructure code. An automated deployment works without printing or storing usable passwords in source or build logs.

Question 869

A Google Cloud database operations team approves: Rotate the exposed credential and use supported protected secret injection with least-privilege deployment identity. The triggering incident was: A regulated service provisions Cloud SQL automatically but stores the administrator password as plaintext in a shared deployment variable file. Which rollback approach should be ready if the proposed correction fails acceptance?

  1. For the iac deployment embeds root password change, stop expansion on failed pilot, restore the last safe approved baseline and record the unmet test: An automated deployment works without printing or storing usable passwords in source or build logs.
  2. For the failover automation lacks application verification change, stop expansion on failed pilot, restore the last safe approved baseline and record the unmet test: A simulated primary failure returns customer tracking updates within the service objective without manual restarts.
  3. For the upgrade rolls both ha nodes together change, stop expansion on failed pilot, restore the last safe approved baseline and record the unmet test: A maintenance rehearsal keeps the authorized transaction endpoint available and preserves committed payment data.
  4. For the replica promotion performed without lag check change, stop expansion on failed pilot, restore the last safe approved baseline and record the unmet test: A disaster simulation meets documented data-loss limits and preserves an auditable promotion record.

Explanation

Correct Answer

A:

A disclosed automation password could allow unauthorized schema changes across every redeployed instance. Stop expansion and restore the last approved state safely if the required outcome is not achieved: An automated deployment works without printing or storing usable passwords in source or build logs.

Incorrect Answers

B:

Marking failover complete prematurely can leave downstream customer operations unavailable. The recovery plan must instead protect against this risk: A disclosed automation password could allow unauthorized schema changes across every redeployed instance.

C:

Simultaneous restart of recovery nodes can create a complete outage despite a nominal HA architecture. The recovery plan must instead protect against this risk: A disclosed automation password could allow unauthorized schema changes across every redeployed instance.

D:

Promoting a delayed asynchronous replica can omit acknowledged financial transfers. The recovery plan must instead protect against this risk: A disclosed automation password could allow unauthorized schema changes across every redeployed instance.

Question 870

A Google Cloud database operations team approves: Rotate the exposed credential and use supported protected secret injection with least-privilege deployment identity. The triggering incident was: A regulated service provisions Cloud SQL automatically but stores the administrator password as plaintext in a shared deployment variable file. Which limited rollout and expansion condition best protects other database services?

  1. Deploy the replica promotion performed without lag check correction only to the reviewed database or workload slice first; expand after confirming: A disaster simulation meets documented data-loss limits and preserves an auditable promotion record.
  2. Deploy the database resources created manually outside iac correction only to the reviewed database or workload slice first; expand after confirming: A dry-run plan shows the approved topology without destructive drift and a staged apply behaves as expected.
  3. Deploy the iac deployment embeds root password correction only to the reviewed database or workload slice first; expand after confirming: An automated deployment works without printing or storing usable passwords in source or build logs.
  4. Deploy the cross-region replica created in wrong region correction only to the reviewed database or workload slice first; expand after confirming: The replica passes an independent geographic failure rehearsal and remains compliant with residency rules.

Explanation

Correct Answer

C:

A code scanner finds the active production secret in the reviewed repository and deployment logs. A disclosed automation password could allow unauthorized schema changes across every redeployed instance. Limit the change to the affected scope. Expand only after a pilot demonstrates that an automated deployment works without printing or storing usable passwords in source or build logs.

Incorrect Answers

A:

Replica promotion is a recovery decision requiring consistency and loss-bound checks. The pilot must instead verify this outcome: An automated deployment works without printing or storing usable passwords in source or build logs.

B:

Infrastructure automation needs alignment between deployed resources and authoritative configuration state. The pilot must instead verify this outcome: An automated deployment works without printing or storing usable passwords in source or build logs.

D:

Cross-regional resilience depends on actual geographic separation and supported replication topology. The pilot must instead verify this outcome: An automated deployment works without printing or storing usable passwords in source or build logs.

Professional Cloud Database Engineer Practice Tests