Google Professional Cloud Database Engineer Practice Test 21 - 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 21

Question 200

A Google Cloud database operations team approves: Separate application identities and scope their database privileges and secrets to the least required operations. The triggering incident was: A retail chain runs multiple applications against one Cloud SQL database using an unmanaged shared login. Which limited rollout and expansion condition best protects other database services?

  1. Deploy the credential stored in deployment manifest correction only to the reviewed database or workload slice first; expand after confirming: A deployed instance retrieves a protected secret and the previous password is rejected with a traceable rotation record.
  2. Deploy the database audit policy misses privileged changes correction only to the reviewed database or workload slice first; expand after confirming: A reviewed schema change generates attributable audit evidence with protected retention while routine access remains operational.
  3. Deploy the service-account authentication accidentally shared correction only to the reviewed database or workload slice first; expand after confirming: Test audit records distinguish each application and unrelated privileges fail controlled negative tests.
  4. Deploy the proxy dns resolution fails for private database correction only to the reviewed database or workload slice first; expand after confirming: Application containers resolve the expected private destination and complete authenticated transactions.

Explanation

Correct Answer

C:

The database access trail shows actions by one shared principal even when three separate applications performed them. A leaked shared credential could provide broader and less traceable access across unrelated applications. Limit the change to the affected scope. Expand only after a pilot demonstrates that Test audit records distinguish each application and unrelated privileges fail controlled negative tests.

Incorrect Answers

A:

Secrets should be controlled independently from application source and deployment manifests. The pilot must instead verify this outcome: Test audit records distinguish each application and unrelated privileges fail controlled negative tests.

B:

Audit design must capture the events required by the threat model and applicable policy. The pilot must instead verify this outcome: Test audit records distinguish each application and unrelated privileges fail controlled negative tests.

D:

DNS name resolution and network routing are distinct dependencies of successful database connectivity. The pilot must instead verify this outcome: Test audit records distinguish each application and unrelated privileges fail controlled negative tests.

Question 201

In a fictional Google Cloud database environment: A payroll database audit configuration captures failed logins but omits privileged schema changes required for investigation. The decisive evidence is: A controlled ALTER TABLE is visible in the database but absent from the retained audit evidence. Which narrowly scoped action best addresses this database problem?

  1. Separate application identities and scope their database privileges and secrets to the least required operations.
  2. Configure the supported private database connectivity method and least-privilege identity for the workload.
  3. Enable the appropriate supported audit coverage and retention for privileged changes under policy.
  4. Review co-location and replica strategies against residency needs and place latency-sensitive operations appropriately.

Explanation

Correct Answer

C:

Audit design must capture the events required by the threat model and applicable policy. Missing administrative audit events can obstruct incident reconstruction after sensitive payroll changes. After the change, verify that a reviewed schema change generates attributable audit evidence with protected retention while routine access remains operational.

Incorrect Answers

A:

Accountability for database access requires identities that identify individual workload purposes. That does not resolve the reported finding: A controlled ALTER TABLE is visible in the database but absent from the retained audit evidence.

B:

Application connectivity must satisfy topology and security requirements as well as functional success. That does not resolve the reported finding: A controlled ALTER TABLE is visible in the database but absent from the retained audit evidence.

D:

Database network distance can dominate small transactional queries even when CPU and indexes are healthy. That does not resolve the reported finding: A controlled ALTER TABLE is visible in the database but absent from the retained audit evidence.

Question 202

A Google Cloud database engineer investigates this fictional database audit policy misses privileged changes issue: A payroll database audit configuration captures failed logins but omits privileged schema changes required for investigation. 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 database access trail shows actions by one shared principal even when three separate applications performed them.
  2. The total open-session graph breaches database connection limits while incoming request queue length grows.
  3. A controlled ALTER TABLE is visible in the database but absent from the retained audit evidence.
  4. Access audit shows the database service identity lacks the required key usage grant for the intended key.

Explanation

Correct Answer

C:

Audit design must capture the events required by the threat model and applicable policy. Compare audit flags, event categories, logging sinks, actor identities and retention requirements.

Incorrect Answers

A:

Accountability for database access requires identities that identify individual workload purposes. The evidence needed here is different: A controlled ALTER TABLE is visible in the database but absent from the retained audit evidence.

B:

Pooling must control aggregate concurrent sessions rather than simply increasing each application pool. The evidence needed here is different: A controlled ALTER TABLE is visible in the database but absent from the retained audit evidence.

D:

Encryption key ownership and service-identity authorization must align before workloads depend on CMEK. The evidence needed here is different: A controlled ALTER TABLE is visible in the database but absent from the retained audit evidence.

Question 203

In a fictional Google Cloud database environment: A payroll database audit configuration captures failed logins but omits privileged schema changes required for investigation. The decisive evidence is: A controlled ALTER TABLE is visible in the database but absent from the retained audit evidence. Which database engineering principle is most applicable to this incident?

  1. Audit design must capture the events required by the threat model and applicable policy.
  2. Secrets should be controlled independently from application source and deployment manifests.
  3. Database network distance can dominate small transactional queries even when CPU and indexes are healthy.
  4. Application connectivity must satisfy topology and security requirements as well as functional success.

Explanation

Correct Answer

A:

A controlled ALTER TABLE is visible in the database but absent from the retained audit evidence. Enable the appropriate supported audit coverage and retention for privileged changes under policy. Missing administrative audit events can obstruct incident reconstruction after sensitive payroll changes.

Incorrect Answers

B:

The alternative principle fits this different finding: Repository history shows the active credential readable by users who have no database access role. Audit design must capture the events required by the threat model and applicable policy.

C:

The alternative principle fits this different finding: Network traces show every short transaction crossing regions and suffering high round-trip latency. Audit design must capture the events required by the threat model and applicable policy.

D:

The alternative principle fits this different finding: The proposal uses a public database endpoint despite a binding private-connectivity security requirement. Audit design must capture the events required by the threat model and applicable policy.

Question 204

A Google Cloud database team plans this bounded correction: Enable the appropriate supported audit coverage and retention for privileged changes under policy. The initiating situation is: A payroll database audit configuration captures failed logins but omits privileged schema changes required for investigation. Which independently verified result would demonstrate that the change worked?

  1. A deployed instance retrieves a protected secret and the previous password is rejected with a traceable rotation record.
  2. Test audit records distinguish each application and unrelated privileges fail controlled negative tests.
  3. A reviewed schema change generates attributable audit evidence with protected retention while routine access remains operational.
  4. The database uses the authorized key under audit without granting application users broad key administration.

Explanation

Correct Answer

C:

A controlled ALTER TABLE is visible in the database but absent from the retained audit evidence. Audit design must capture the events required by the threat model and applicable policy. The correction must be verified in practice: A reviewed schema change generates attributable audit evidence with protected retention while routine access remains operational.

Incorrect Answers

A:

Secrets should be controlled independently from application source and deployment manifests. Success here requires a different result: A reviewed schema change generates attributable audit evidence with protected retention while routine access remains operational.

B:

Accountability for database access requires identities that identify individual workload purposes. Success here requires a different result: A reviewed schema change generates attributable audit evidence with protected retention while routine access remains operational.

D:

Encryption key ownership and service-identity authorization must align before workloads depend on CMEK. Success here requires a different result: A reviewed schema change generates attributable audit evidence with protected retention while routine access remains operational.

Question 205

In a fictional Google Cloud database environment: A payroll database audit configuration captures failed logins but omits privileged schema changes required for investigation. The decisive evidence is: A controlled ALTER TABLE is visible in the database but absent from the retained audit evidence. Which material data integrity, security or availability risk must the team control?

  1. Switching to a public address to bypass DNS can violate the intended database isolation boundary.
  2. Moving data without residency review could create a compliance risk despite faster transactions.
  3. Missing administrative audit events can obstruct incident reconstruction after sensitive payroll changes.
  4. A denied key-access request can make an otherwise healthy database unusable during recovery or creation.

Explanation

Correct Answer

C:

Audit design must capture the events required by the threat model and applicable policy. Enable the appropriate supported audit coverage and retention for privileged changes under policy. Missing administrative audit events can obstruct incident reconstruction after sensitive payroll changes.

Incorrect Answers

A:

The alternative risk relates to this separate finding: Connectivity tests show private IP routing works while the configured DNS name returns no answer in the application network. Missing administrative audit events can obstruct incident reconstruction after sensitive payroll changes.

B:

The alternative risk relates to this separate finding: Network traces show every short transaction crossing regions and suffering high round-trip latency. Missing administrative audit events can obstruct incident reconstruction after sensitive payroll changes.

D:

The alternative risk relates to this separate finding: Access audit shows the database service identity lacks the required key usage grant for the intended key. Missing administrative audit events can obstruct incident reconstruction after sensitive payroll changes.

Question 206

In a fictional Google Cloud database environment: A payroll database audit configuration captures failed logins but omits privileged schema changes required for investigation. The decisive evidence is: A controlled ALTER TABLE is visible in the database but absent from the retained audit evidence. Which focused investigation best confirms the suspected database failure?

  1. Inspect actual connection destination, regional locations, request latency breakdown and residency constraints.
  2. Compare application replica count, per-replica pool size, database active sessions and timeout logs.
  3. Compare audit flags, event categories, logging sinks, actor identities and retention requirements.
  4. Inspect private zone visibility, resolver policies, connector subnet and application DNS traces.

Explanation

Correct Answer

C:

A controlled ALTER TABLE is visible in the database but absent from the retained audit evidence. Audit design must capture the events required by the threat model and applicable policy. The follow-up test should demonstrate that a reviewed schema change generates attributable audit evidence with protected retention while routine access remains operational.

Incorrect Answers

A:

The proposed investigation targets a different finding: Network traces show every short transaction crossing regions and suffering high round-trip latency. A controlled ALTER TABLE is visible in the database but absent from the retained audit evidence.

B:

The proposed investigation targets a different finding: The total open-session graph breaches database connection limits while incoming request queue length grows. A controlled ALTER TABLE is visible in the database but absent from the retained audit evidence.

D:

The proposed investigation targets a different finding: Connectivity tests show private IP routing works while the configured DNS name returns no answer in the application network. A controlled ALTER TABLE is visible in the database but absent from the retained audit evidence.

Question 207

In a fictional Google Cloud database environment: A payroll database audit configuration captures failed logins but omits privileged schema changes required for investigation. The decisive evidence is: A controlled ALTER TABLE is visible in the database but absent from the retained audit evidence. Which scoped approval record most appropriately authorizes this correction?

  1. Obtain approval from database identity governance lead for the scoped change: Separate application identities and scope their database privileges and secrets to the least required operations. Record independent proof: Test audit records distinguish each application and unrelated privileges fail controlled negative tests.
  2. Obtain approval from private networking administrator for the scoped change: Correct the approved private DNS and resolver configuration without opening the database to public access. Record independent proof: Application containers resolve the expected private destination and complete authenticated transactions.
  3. Obtain approval from cloud database security auditor for the scoped change: Enable the appropriate supported audit coverage and retention for privileged changes under policy. Record independent proof: A reviewed schema change generates attributable audit evidence with protected retention while routine access remains operational.
  4. Obtain approval from database encryption administrator for the scoped change: Grant only the documented key permission to the correct managed service identity and retest the approved key state. Record independent proof: The database uses the authorized key under audit without granting application users broad key administration.

Explanation

Correct Answer

C:

Missing administrative audit events can obstruct incident reconstruction after sensitive payroll changes. The accountable owners must approve the affected scope and the acceptance test: A reviewed schema change generates attributable audit evidence with protected retention while routine access remains operational.

Incorrect Answers

A:

That approval concerns a different condition: The database access trail shows actions by one shared principal even when three separate applications performed them. Enable the appropriate supported audit coverage and retention for privileged changes under policy.

B:

That approval concerns a different condition: Connectivity tests show private IP routing works while the configured DNS name returns no answer in the application network. Enable the appropriate supported audit coverage and retention for privileged changes under policy.

D:

That approval concerns a different condition: Access audit shows the database service identity lacks the required key usage grant for the intended key. Enable the appropriate supported audit coverage and retention for privileged changes under policy.

Question 208

A Google Cloud database design review considers: A payroll database audit configuration captures failed logins but omits privileged schema changes required for investigation. Which evidence, change, and independent validation sequence is coherent?

  1. Evidence: Access audit shows the database service identity lacks the required key usage grant for the intended key. Corrective change: Grant only the documented key permission to the correct managed service identity and retest the approved key state. Independently verify: The database uses the authorized key under audit without granting application users broad key administration.
  2. Evidence: Connectivity tests show private IP routing works while the configured DNS name returns no answer in the application network. Corrective change: Correct the approved private DNS and resolver configuration without opening the database to public access. Independently verify: Application containers resolve the expected private destination and complete authenticated transactions.
  3. Evidence: The database access trail shows actions by one shared principal even when three separate applications performed them. Corrective change: Separate application identities and scope their database privileges and secrets to the least required operations. Independently verify: Test audit records distinguish each application and unrelated privileges fail controlled negative tests.
  4. Evidence: A controlled ALTER TABLE is visible in the database but absent from the retained audit evidence. Corrective change: Enable the appropriate supported audit coverage and retention for privileged changes under policy. Independently verify: A reviewed schema change generates attributable audit evidence with protected retention while routine access remains operational.

Explanation

Correct Answer

D:

Audit design must capture the events required by the threat model and applicable policy. A controlled ALTER TABLE is visible in the database but absent from the retained audit evidence. Validate the result independently: A reviewed schema change generates attributable audit evidence with protected retention while routine access remains operational.

Incorrect Answers

A:

This sequence starts from a different condition: Access audit shows the database service identity lacks the required key usage grant for the intended key. Audit design must capture the events required by the threat model and applicable policy. A reviewed schema change generates attributable audit evidence with protected retention while routine access remains operational.

B:

This sequence starts from a different condition: Connectivity tests show private IP routing works while the configured DNS name returns no answer in the application network. Audit design must capture the events required by the threat model and applicable policy. A reviewed schema change generates attributable audit evidence with protected retention while routine access remains operational.

C:

This sequence starts from a different condition: The database access trail shows actions by one shared principal even when three separate applications performed them. Audit design must capture the events required by the threat model and applicable policy. A reviewed schema change generates attributable audit evidence with protected retention while routine access remains operational.

Question 209

A Google Cloud database operations team approves: Enable the appropriate supported audit coverage and retention for privileged changes under policy. The triggering incident was: A payroll database audit configuration captures failed logins but omits privileged schema changes required for investigation. Which rollback approach should be ready if the proposed correction fails acceptance?

  1. For the connection pool exhaustion during autoscale change, stop expansion on failed pilot, restore the last safe approved baseline and record the unmet test: A simulated scale-out keeps active sessions within the database limit while meeting request latency targets.
  2. For the database audit policy misses privileged changes change, stop expansion on failed pilot, restore the last safe approved baseline and record the unmet test: A reviewed schema change generates attributable audit evidence with protected retention while routine access remains operational.
  3. For the cross-region app traffic triggers latency change, stop expansion on failed pilot, restore the last safe approved baseline and record the unmet test: A realistic transaction replay meets p95 latency while regional data placement remains compliant.
  4. For the cloud run database reachable only by public route change, stop expansion on failed pilot, restore the last safe approved baseline and record the unmet test: The application reaches the approved database privately while an unauthorized public path is not used.

Explanation

Correct Answer

B:

Missing administrative audit events can obstruct incident reconstruction after sensitive payroll changes. Stop expansion and restore the last approved state safely if the required outcome is not achieved: A reviewed schema change generates attributable audit evidence with protected retention while routine access remains operational.

Incorrect Answers

A:

Unrestricted pooling can make autoscaling amplify the outage it is supposed to prevent. The recovery plan must instead protect against this risk: Missing administrative audit events can obstruct incident reconstruction after sensitive payroll changes.

C:

Moving data without residency review could create a compliance risk despite faster transactions. The recovery plan must instead protect against this risk: Missing administrative audit events can obstruct incident reconstruction after sensitive payroll changes.

D:

Leaving broad public connectivity enabled can expose the database to unnecessary attack paths. The recovery plan must instead protect against this risk: Missing administrative audit events can obstruct incident reconstruction after sensitive payroll changes.

Question 210

A Google Cloud database operations team approves: Enable the appropriate supported audit coverage and retention for privileged changes under policy. The triggering incident was: A payroll database audit configuration captures failed logins but omits privileged schema changes required for investigation. Which limited rollout and expansion condition best protects other database services?

  1. Deploy the customer-managed key rotation breaks database access correction only to the reviewed database or workload slice first; expand after confirming: The database uses the authorized key under audit without granting application users broad key administration.
  2. Deploy the database audit policy misses privileged changes correction only to the reviewed database or workload slice first; expand after confirming: A reviewed schema change generates attributable audit evidence with protected retention while routine access remains operational.
  3. Deploy the service-account authentication accidentally shared correction only to the reviewed database or workload slice first; expand after confirming: Test audit records distinguish each application and unrelated privileges fail controlled negative tests.
  4. Deploy the cloud run database reachable only by public route correction only to the reviewed database or workload slice first; expand after confirming: The application reaches the approved database privately while an unauthorized public path is not used.

Explanation

Correct Answer

B:

A controlled ALTER TABLE is visible in the database but absent from the retained audit evidence. Missing administrative audit events can obstruct incident reconstruction after sensitive payroll changes. Limit the change to the affected scope. Expand only after a pilot demonstrates that a reviewed schema change generates attributable audit evidence with protected retention while routine access remains operational.

Incorrect Answers

A:

Encryption key ownership and service-identity authorization must align before workloads depend on CMEK. The pilot must instead verify this outcome: A reviewed schema change generates attributable audit evidence with protected retention while routine access remains operational.

C:

Accountability for database access requires identities that identify individual workload purposes. The pilot must instead verify this outcome: A reviewed schema change generates attributable audit evidence with protected retention while routine access remains operational.

D:

Application connectivity must satisfy topology and security requirements as well as functional success. The pilot must instead verify this outcome: A reviewed schema change generates attributable audit evidence with protected retention while routine access remains operational.

Professional Cloud Database Engineer Practice Tests