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

Question 330

A Google Cloud database operations team approves: Grant the documented least-privilege connection permission to the new verified runtime identity and retire the old grant after testing. The triggering incident was: A healthcare API previously accessed Cloud SQL but begins receiving authorization errors after service account rotation. Which limited rollout and expansion condition best protects other database services?

  1. Deploy the former contractor retains production connection correction only to the reviewed database or workload slice first; expand after confirming: A controlled login attempt using retired credentials is rejected without interrupting authorized application accounts.
  2. Deploy the database iam denies legitimate runtime identity correction only to the reviewed database or workload slice first; expand after confirming: The API reconnects using the intended identity while unrelated service accounts remain denied.
  3. Deploy the break-glass identity lacks accountability correction only to the reviewed database or workload slice first; expand after confirming: A staged emergency drill records the responsible person and revokes elevated access when the window ends.
  4. Deploy the iam authentication confused with application authorization correction only to the reviewed database or workload slice first; expand after confirming: Authorized reporting queries succeed and a deliberately unauthorized sensitive table remains inaccessible.

Explanation

Correct Answer

B:

Cloud audit events identify the new workload service account without the specific instance connection permission used by the old identity. Granting owner-level permissions merely to restore one connection exposes unrelated resources. Limit the change to the affected scope. Expand only after a pilot demonstrates that the API reconnects using the intended identity while unrelated service accounts remain denied.

Incorrect Answers

A:

User lifecycle controls must remove data access when business authorization ends. The pilot must instead verify this outcome: The API reconnects using the intended identity while unrelated service accounts remain denied.

C:

Exceptional access should be accountable, least-privileged where possible and independently reviewed. The pilot must instead verify this outcome: The API reconnects using the intended identity while unrelated service accounts remain denied.

D:

Successful infrastructure authentication does not itself authorize every database schema or row operation. The pilot must instead verify this outcome: The API reconnects using the intended identity while unrelated service accounts remain denied.

Question 331

In a fictional Google Cloud database environment: A billing microservice needs to read invoices but its managed PostgreSQL database role can modify billing schema objects. The decisive evidence is: A negative access test shows the read-only API user can run an unapproved ALTER TABLE against invoice tables. Which narrowly scoped action best addresses this database problem?

  1. Grant the documented least-privilege connection permission to the new verified runtime identity and retire the old grant after testing.
  2. Create an approved individually attributable and time-limited emergency access procedure with monitored escalation.
  3. Replace the application's schema-owner privilege with only the tested read permissions required for its operation.
  4. Grant only the required database object privilege following data-owner approval without broadening cloud project roles.

Explanation

Correct Answer

C:

Database privileges must be reduced to the specific query and object operations a workload needs. An injected query could change invoice tables if the application retains unnecessary DDL powers. After the change, verify that approved invoice lookups succeed and table alteration attempts by that application role fail and are audited.

Incorrect Answers

A:

Cloud IAM authorization and database-level user permissions are separate controls that both may be required. That does not resolve the reported finding: A negative access test shows the read-only API user can run an unapproved ALTER TABLE against invoice tables.

B:

Exceptional access should be accountable, least-privileged where possible and independently reviewed. That does not resolve the reported finding: A negative access test shows the read-only API user can run an unapproved ALTER TABLE against invoice tables.

D:

Successful infrastructure authentication does not itself authorize every database schema or row operation. That does not resolve the reported finding: A negative access test shows the read-only API user can run an unapproved ALTER TABLE against invoice tables.

Question 332

A Google Cloud database engineer investigates this fictional application role overgranted schema ownership issue: A billing microservice needs to read invoices but its managed PostgreSQL database role can modify billing schema objects. The team needs a specific diagnostic observation, not an overall symptom. Which observed fact most clearly distinguishes this issue from another database fault?

  1. A negative access test shows the read-only API user can run an unapproved ALTER TABLE against invoice tables.
  2. Cloud audit events identify the new workload service account without the specific instance connection permission used by the old identity.
  3. An audit drill cannot identify which of three administrators used the emergency credential to change a permission.
  4. Cloud connection succeeds while database logs explicitly reject SELECT on one protected schema.

Explanation

Correct Answer

A:

Database privileges must be reduced to the specific query and object operations a workload needs. Inspect effective PostgreSQL grants, application SQL, schema ownership and negative privilege test logs.

Incorrect Answers

B:

Cloud IAM authorization and database-level user permissions are separate controls that both may be required. The evidence needed here is different: A negative access test shows the read-only API user can run an unapproved ALTER TABLE against invoice tables.

C:

Exceptional access should be accountable, least-privileged where possible and independently reviewed. The evidence needed here is different: A negative access test shows the read-only API user can run an unapproved ALTER TABLE against invoice tables.

D:

Successful infrastructure authentication does not itself authorize every database schema or row operation. The evidence needed here is different: A negative access test shows the read-only API user can run an unapproved ALTER TABLE against invoice tables.

Question 333

In a fictional Google Cloud database environment: A billing microservice needs to read invoices but its managed PostgreSQL database role can modify billing schema objects. The decisive evidence is: A negative access test shows the read-only API user can run an unapproved ALTER TABLE against invoice tables. Which database engineering principle is most applicable to this incident?

  1. Database privileges must be reduced to the specific query and object operations a workload needs.
  2. Cloud IAM authorization and database-level user permissions are separate controls that both may be required.
  3. Exceptional access should be accountable, least-privileged where possible and independently reviewed.
  4. Successful infrastructure authentication does not itself authorize every database schema or row operation.

Explanation

Correct Answer

A:

A negative access test shows the read-only API user can run an unapproved ALTER TABLE against invoice tables. Replace the application's schema-owner privilege with only the tested read permissions required for its operation. An injected query could change invoice tables if the application retains unnecessary DDL powers.

Incorrect Answers

B:

The alternative principle fits this different finding: Cloud audit events identify the new workload service account without the specific instance connection permission used by the old identity. Database privileges must be reduced to the specific query and object operations a workload needs.

C:

The alternative principle fits this different finding: An audit drill cannot identify which of three administrators used the emergency credential to change a permission. Database privileges must be reduced to the specific query and object operations a workload needs.

D:

The alternative principle fits this different finding: Cloud connection succeeds while database logs explicitly reject SELECT on one protected schema. Database privileges must be reduced to the specific query and object operations a workload needs.

Question 334

A Google Cloud database team plans this bounded correction: Replace the application's schema-owner privilege with only the tested read permissions required for its operation. The initiating situation is: A billing microservice needs to read invoices but its managed PostgreSQL database role can modify billing schema objects. Which independently verified result would demonstrate that the change worked?

  1. Approved invoice lookups succeed and table alteration attempts by that application role fail and are audited.
  2. The API reconnects using the intended identity while unrelated service accounts remain denied.
  3. A staged emergency drill records the responsible person and revokes elevated access when the window ends.
  4. Authorized reporting queries succeed and a deliberately unauthorized sensitive table remains inaccessible.

Explanation

Correct Answer

A:

A negative access test shows the read-only API user can run an unapproved ALTER TABLE against invoice tables. Database privileges must be reduced to the specific query and object operations a workload needs. The correction must be verified in practice: Approved invoice lookups succeed and table alteration attempts by that application role fail and are audited.

Incorrect Answers

B:

Cloud IAM authorization and database-level user permissions are separate controls that both may be required. Success here requires a different result: Approved invoice lookups succeed and table alteration attempts by that application role fail and are audited.

C:

Exceptional access should be accountable, least-privileged where possible and independently reviewed. Success here requires a different result: Approved invoice lookups succeed and table alteration attempts by that application role fail and are audited.

D:

Successful infrastructure authentication does not itself authorize every database schema or row operation. Success here requires a different result: Approved invoice lookups succeed and table alteration attempts by that application role fail and are audited.

Question 335

In a fictional Google Cloud database environment: A billing microservice needs to read invoices but its managed PostgreSQL database role can modify billing schema objects. The decisive evidence is: A negative access test shows the read-only API user can run an unapproved ALTER TABLE against invoice tables. Which material data integrity, security or availability risk must the team control?

  1. Granting owner-level permissions merely to restore one connection exposes unrelated resources.
  2. An injected query could change invoice tables if the application retains unnecessary DDL powers.
  3. A permanent shared administrator password makes sensitive changes difficult to attribute and contain.
  4. Expanding project IAM roles cannot safely replace carefully scoped database permissions.

Explanation

Correct Answer

B:

Database privileges must be reduced to the specific query and object operations a workload needs. Replace the application's schema-owner privilege with only the tested read permissions required for its operation. An injected query could change invoice tables if the application retains unnecessary DDL powers.

Incorrect Answers

A:

The alternative risk relates to this separate finding: Cloud audit events identify the new workload service account without the specific instance connection permission used by the old identity. An injected query could change invoice tables if the application retains unnecessary DDL powers.

C:

The alternative risk relates to this separate finding: An audit drill cannot identify which of three administrators used the emergency credential to change a permission. An injected query could change invoice tables if the application retains unnecessary DDL powers.

D:

The alternative risk relates to this separate finding: Cloud connection succeeds while database logs explicitly reject SELECT on one protected schema. An injected query could change invoice tables if the application retains unnecessary DDL powers.

Question 336

In a fictional Google Cloud database environment: A billing microservice needs to read invoices but its managed PostgreSQL database role can modify billing schema objects. The decisive evidence is: A negative access test shows the read-only API user can run an unapproved ALTER TABLE against invoice tables. Which focused investigation best confirms the suspected database failure?

  1. Compare runtime service account identifiers, IAM policies, connection audit logs and database authentication roles.
  2. Review emergency access runbook, IAM history, database grants, audit sinks and revocation tests.
  3. Compare principal identity, successful connection records, DB role grants and denied table-level query results.
  4. Inspect effective PostgreSQL grants, application SQL, schema ownership and negative privilege test logs.

Explanation

Correct Answer

D:

A negative access test shows the read-only API user can run an unapproved ALTER TABLE against invoice tables. Database privileges must be reduced to the specific query and object operations a workload needs. The follow-up test should demonstrate that approved invoice lookups succeed and table alteration attempts by that application role fail and are audited.

Incorrect Answers

A:

The proposed investigation targets a different finding: Cloud audit events identify the new workload service account without the specific instance connection permission used by the old identity. A negative access test shows the read-only API user can run an unapproved ALTER TABLE against invoice tables.

B:

The proposed investigation targets a different finding: An audit drill cannot identify which of three administrators used the emergency credential to change a permission. A negative access test shows the read-only API user can run an unapproved ALTER TABLE against invoice tables.

C:

The proposed investigation targets a different finding: Cloud connection succeeds while database logs explicitly reject SELECT on one protected schema. A negative access test shows the read-only API user can run an unapproved ALTER TABLE against invoice tables.

Question 337

In a fictional Google Cloud database environment: A billing microservice needs to read invoices but its managed PostgreSQL database role can modify billing schema objects. The decisive evidence is: A negative access test shows the read-only API user can run an unapproved ALTER TABLE against invoice tables. Which scoped approval record most appropriately authorizes this correction?

  1. Obtain approval from relational database security reviewer for the scoped change: Replace the application's schema-owner privilege with only the tested read permissions required for its operation. Record independent proof: Approved invoice lookups succeed and table alteration attempts by that application role fail and are audited.
  2. Obtain approval from database identity administrator for the scoped change: Grant the documented least-privilege connection permission to the new verified runtime identity and retire the old grant after testing. Record independent proof: The API reconnects using the intended identity while unrelated service accounts remain denied.
  3. Obtain approval from privileged database access steward for the scoped change: Create an approved individually attributable and time-limited emergency access procedure with monitored escalation. Record independent proof: A staged emergency drill records the responsible person and revokes elevated access when the window ends.
  4. Obtain approval from data access control specialist for the scoped change: Grant only the required database object privilege following data-owner approval without broadening cloud project roles. Record independent proof: Authorized reporting queries succeed and a deliberately unauthorized sensitive table remains inaccessible.

Explanation

Correct Answer

A:

An injected query could change invoice tables if the application retains unnecessary DDL powers. The accountable owners must approve the affected scope and the acceptance test: Approved invoice lookups succeed and table alteration attempts by that application role fail and are audited.

Incorrect Answers

B:

That approval concerns a different condition: Cloud audit events identify the new workload service account without the specific instance connection permission used by the old identity. Replace the application's schema-owner privilege with only the tested read permissions required for its operation.

C:

That approval concerns a different condition: An audit drill cannot identify which of three administrators used the emergency credential to change a permission. Replace the application's schema-owner privilege with only the tested read permissions required for its operation.

D:

That approval concerns a different condition: Cloud connection succeeds while database logs explicitly reject SELECT on one protected schema. Replace the application's schema-owner privilege with only the tested read permissions required for its operation.

Question 338

A Google Cloud database design review considers: A billing microservice needs to read invoices but its managed PostgreSQL database role can modify billing schema objects. Which evidence, change, and independent validation sequence is coherent?

  1. Evidence: Cloud audit events identify the new workload service account without the specific instance connection permission used by the old identity. Corrective change: Grant the documented least-privilege connection permission to the new verified runtime identity and retire the old grant after testing. Independently verify: The API reconnects using the intended identity while unrelated service accounts remain denied.
  2. Evidence: An audit drill cannot identify which of three administrators used the emergency credential to change a permission. Corrective change: Create an approved individually attributable and time-limited emergency access procedure with monitored escalation. Independently verify: A staged emergency drill records the responsible person and revokes elevated access when the window ends.
  3. Evidence: Cloud connection succeeds while database logs explicitly reject SELECT on one protected schema. Corrective change: Grant only the required database object privilege following data-owner approval without broadening cloud project roles. Independently verify: Authorized reporting queries succeed and a deliberately unauthorized sensitive table remains inaccessible.
  4. Evidence: A negative access test shows the read-only API user can run an unapproved ALTER TABLE against invoice tables. Corrective change: Replace the application's schema-owner privilege with only the tested read permissions required for its operation. Independently verify: Approved invoice lookups succeed and table alteration attempts by that application role fail and are audited.

Explanation

Correct Answer

D:

Database privileges must be reduced to the specific query and object operations a workload needs. A negative access test shows the read-only API user can run an unapproved ALTER TABLE against invoice tables. Validate the result independently: Approved invoice lookups succeed and table alteration attempts by that application role fail and are audited.

Incorrect Answers

A:

This sequence starts from a different condition: Cloud audit events identify the new workload service account without the specific instance connection permission used by the old identity. Database privileges must be reduced to the specific query and object operations a workload needs. Approved invoice lookups succeed and table alteration attempts by that application role fail and are audited.

B:

This sequence starts from a different condition: An audit drill cannot identify which of three administrators used the emergency credential to change a permission. Database privileges must be reduced to the specific query and object operations a workload needs. Approved invoice lookups succeed and table alteration attempts by that application role fail and are audited.

C:

This sequence starts from a different condition: Cloud connection succeeds while database logs explicitly reject SELECT on one protected schema. Database privileges must be reduced to the specific query and object operations a workload needs. Approved invoice lookups succeed and table alteration attempts by that application role fail and are audited.

Question 339

A Google Cloud database operations team approves: Replace the application's schema-owner privilege with only the tested read permissions required for its operation. The triggering incident was: A billing microservice needs to read invoices but its managed PostgreSQL database role can modify billing schema objects. Which rollback approach should be ready if the proposed correction fails acceptance?

  1. For the application role overgranted schema ownership change, stop expansion on failed pilot, restore the last safe approved baseline and record the unmet test: Approved invoice lookups succeed and table alteration attempts by that application role fail and are audited.
  2. For the database iam denies legitimate runtime identity change, stop expansion on failed pilot, restore the last safe approved baseline and record the unmet test: The API reconnects using the intended identity while unrelated service accounts remain denied.
  3. For the break-glass identity lacks accountability change, stop expansion on failed pilot, restore the last safe approved baseline and record the unmet test: A staged emergency drill records the responsible person and revokes elevated access when the window ends.
  4. For the iam authentication confused with application authorization change, stop expansion on failed pilot, restore the last safe approved baseline and record the unmet test: Authorized reporting queries succeed and a deliberately unauthorized sensitive table remains inaccessible.

Explanation

Correct Answer

A:

An injected query could change invoice tables if the application retains unnecessary DDL powers. Stop expansion and restore the last approved state safely if the required outcome is not achieved: Approved invoice lookups succeed and table alteration attempts by that application role fail and are audited.

Incorrect Answers

B:

Granting owner-level permissions merely to restore one connection exposes unrelated resources. The recovery plan must instead protect against this risk: An injected query could change invoice tables if the application retains unnecessary DDL powers.

C:

A permanent shared administrator password makes sensitive changes difficult to attribute and contain. The recovery plan must instead protect against this risk: An injected query could change invoice tables if the application retains unnecessary DDL powers.

D:

Expanding project IAM roles cannot safely replace carefully scoped database permissions. The recovery plan must instead protect against this risk: An injected query could change invoice tables if the application retains unnecessary DDL powers.

Question 340

A Google Cloud database operations team approves: Replace the application's schema-owner privilege with only the tested read permissions required for its operation. The triggering incident was: A billing microservice needs to read invoices but its managed PostgreSQL database role can modify billing schema objects. Which limited rollout and expansion condition best protects other database services?

  1. Deploy the application role overgranted schema ownership correction only to the reviewed database or workload slice first; expand after confirming: Approved invoice lookups succeed and table alteration attempts by that application role fail and are audited.
  2. Deploy the database iam denies legitimate runtime identity correction only to the reviewed database or workload slice first; expand after confirming: The API reconnects using the intended identity while unrelated service accounts remain denied.
  3. Deploy the break-glass identity lacks accountability correction only to the reviewed database or workload slice first; expand after confirming: A staged emergency drill records the responsible person and revokes elevated access when the window ends.
  4. Deploy the iam authentication confused with application authorization correction only to the reviewed database or workload slice first; expand after confirming: Authorized reporting queries succeed and a deliberately unauthorized sensitive table remains inaccessible.

Explanation

Correct Answer

A:

A negative access test shows the read-only API user can run an unapproved ALTER TABLE against invoice tables. An injected query could change invoice tables if the application retains unnecessary DDL powers. Limit the change to the affected scope. Expand only after a pilot demonstrates that Approved invoice lookups succeed and table alteration attempts by that application role fail and are audited.

Incorrect Answers

B:

Cloud IAM authorization and database-level user permissions are separate controls that both may be required. The pilot must instead verify this outcome: Approved invoice lookups succeed and table alteration attempts by that application role fail and are audited.

C:

Exceptional access should be accountable, least-privileged where possible and independently reviewed. The pilot must instead verify this outcome: Approved invoice lookups succeed and table alteration attempts by that application role fail and are audited.

D:

Successful infrastructure authentication does not itself authorize every database schema or row operation. The pilot must instead verify this outcome: Approved invoice lookups succeed and table alteration attempts by that application role fail and are audited.

Professional Cloud Database Engineer Practice Tests