Practice Exams:

Google Professional Cloud Security Engineer Dumps

EXAM: Professional Cloud Security Engineer
Verified By Experts
Premium Bundle
$40.00
$59.97 $99.97

Professional Cloud Security Engineer Premium Bundle


  • Premium File 376 Questions & Answers
  • Training Course 89 Lectures
  • Study Guide 335 Pages

Google Professional Cloud Security Engineer Practice Test 42

Question 410

At Silverridge Healthcare a managed relational database should be reachable only from an application VPC. The proposed approach is: Protect Cloud SQL with private networking and least-privilege database and IAM access, rather than public access alone. Which underlying security principle explains why it works?

  1. Sensitive Data Protection detectors and transformation rules can discover and mask supported sensitive information before downstream sharing.
  2. Cloud SQL network connectivity and database authentication are separate controls that both affect who can reach and query data.
  3. Customer-managed encryption keys provide customer administrative control over supported service encryption while Google default encryption alone does not expose the same key governance.
  4. Agentic systems can execute downstream tools with granted identities; narrow tool privileges and confirmation gates reduce unintended changes.

Answer & Explanations

Correct answer: B

A.

Sensitive Data Protection detectors and transformation rules can discover and mask supported sensitive information before downstream sharing. That explains a separate situation: At Cedarpoint Retail a support dataset contains customer emails before analytics export. The current case is: At Silverridge Healthcare a managed relational database should be reachable only from an application VPC. The actual mechanism is: Cloud SQL network connectivity and database authentication are separate controls that both affect who can reach and query data.

B.

Cloud SQL network connectivity and database authentication are separate controls that both affect who can reach and query data. This principle supports the intervention: Protect Cloud SQL with private networking and least-privilege database and IAM access, rather than public access alone. The relevant scenario is: At Silverridge Healthcare a managed relational database should be reachable only from an application VPC. Verify the result by: Attempt connection from an approved private workload and a nonauthorized source, then test a restricted database role.

C.

Customer-managed encryption keys provide customer administrative control over supported service encryption while Google default encryption alone does not expose the same key governance. That explains a separate situation: At Harborbank Securities a supported storage service requires company-controlled encryption keys. The current case is: At Silverridge Healthcare a managed relational database should be reachable only from an application VPC. The actual mechanism is: Cloud SQL network connectivity and database authentication are separate controls that both affect who can reach and query data.

D.

Agentic systems can execute downstream tools with granted identities; narrow tool privileges and confirmation gates reduce unintended changes. That explains a separate situation: At Cedarbrook Procurement a cloud agent drafts purchases but must not change IAM policy. The current case is: At Silverridge Healthcare a managed relational database should be reachable only from an application VPC. The actual mechanism is: Cloud SQL network connectivity and database authentication are separate controls that both affect who can reach and query data.

Question 411

At Silverridge Healthcare a managed relational database should be reachable only from an application VPC. After implementing the change—Protect Cloud SQL with private networking and least-privilege database and IAM access, rather than public access alone—which test most directly demonstrates the required security outcome?

  1. Seed expired fictional records and confirm approved lifecycle or deletion controls remove only eligible data.
  2. Attempt connection from an approved private workload and a nonauthorized source, then test a restricted database role.
  3. Invoke a sandbox endpoint as the approved identity and verify an unrelated project identity is denied.
  4. Disable access to a test external key and verify the workload reports a controlled key-unavailable failure.

Answer & Explanations

Correct answer: B

A.

Seed expired fictional records and confirm approved lifecycle or deletion controls remove only eligible data. This tests a separate situation: At Brookcrest HR short-lived application exports need a fixed deletion schedule. The observed case is: At Silverridge Healthcare a managed relational database should be reachable only from an application VPC. Use this acceptance check instead: Attempt connection from an approved private workload and a nonauthorized source, then test a restricted database role.

B.

Attempt connection from an approved private workload and a nonauthorized source, then test a restricted database role. This tests the targeted action: Protect Cloud SQL with private networking and least-privilege database and IAM access, rather than public access alone. The reason is: Cloud SQL network connectivity and database authentication are separate controls that both affect who can reach and query data. The reported case is: At Silverridge Healthcare a managed relational database should be reachable only from an application VPC.

C.

Invoke a sandbox endpoint as the approved identity and verify an unrelated project identity is denied. This tests a separate situation: At Pineport Healthcare a private prediction endpoint serves authorized clinical analytics. The observed case is: At Silverridge Healthcare a managed relational database should be reachable only from an application VPC. Use this acceptance check instead: Attempt connection from an approved private workload and a nonauthorized source, then test a restricted database role.

D.

Disable access to a test external key and verify the workload reports a controlled key-unavailable failure. This tests a separate situation: At Cedarwood Banking a regulated archive must use externally controlled key material. The observed case is: At Silverridge Healthcare a managed relational database should be reachable only from an application VPC. Use this acceptance check instead: Attempt connection from an approved private workload and a nonauthorized source, then test a restricted database role.

Question 412

At Silverridge Healthcare a managed relational database should be reachable only from an application VPC. Which shortcut most directly undermines this security requirement?

  1. Give the production workload full key-administrator permissions merely to decrypt its files.
  2. Assume any process inside a VM can use a broadly privileged default identity safely.
  3. Make customer transcripts publicly readable so any model experiment can use them.
  4. Expose the database on a public IP and grant a shared superuser to every application.

Answer & Explanations

Correct answer: D

A.

Give the production workload full key-administrator permissions merely to decrypt its files. This concerns another issue: At Northbank Health a data pipeline needs key use but no key lifecycle authority. In the stated case—At Silverridge Healthcare a managed relational database should be reachable only from an application VPC—reject: Expose the database on a public IP and grant a shared superuser to every application. The safer response is: Protect Cloud SQL with private networking and least-privilege database and IAM access, rather than public access alone.

B.

Assume any process inside a VM can use a broadly privileged default identity safely. This concerns another issue: At Westlake Manufacturing a shared VM hosts applications that should not inherit project Editor. In the stated case—At Silverridge Healthcare a managed relational database should be reachable only from an application VPC—reject: Expose the database on a public IP and grant a shared superuser to every application. The safer response is: Protect Cloud SQL with private networking and least-privilege database and IAM access, rather than public access alone.

C.

Make customer transcripts publicly readable so any model experiment can use them. This concerns another issue: At Northlake Research a model trains on confidential laboratory reports. In the stated case—At Silverridge Healthcare a managed relational database should be reachable only from an application VPC—reject: Expose the database on a public IP and grant a shared superuser to every application. The safer response is: Protect Cloud SQL with private networking and least-privilege database and IAM access, rather than public access alone.

D.

Expose the database on a public IP and grant a shared superuser to every application. The scenario is: At Silverridge Healthcare a managed relational database should be reachable only from an application VPC. The likely failure is: Credentials or network weaknesses can expose the entire database. Instead: Protect Cloud SQL with private networking and least-privilege database and IAM access, rather than public access alone.

Question 413

At Harborview Sales a service queries Cloud SQL with a narrowly privileged database identity. Which security configuration best addresses this requirement?

  1. Prevent disclosure of sensitive Compute Engine metadata by restricting workload identity and guest access paths.
  2. Protect Cloud SQL with private networking and least-privilege database and IAM access, rather than public access alone.
  3. Test key disable and revocation behavior on dependent services before enforcing a production key shutdown.
  4. Use a threat-model-based distinction between self-hosted IaaS training workloads and managed AI platform capabilities.

Answer & Explanations

Correct answer: B

A.

Prevent disclosure of sensitive Compute Engine metadata by restricting workload identity and guest access paths. This addresses a different situation: At Westlake Manufacturing a shared VM hosts applications that should not inherit project Editor. The present case is: At Harborview Sales a service queries Cloud SQL with a narrowly privileged database identity. The relevant action here is: Protect Cloud SQL with private networking and least-privilege database and IAM access, rather than public access alone.

B.

Protect Cloud SQL with private networking and least-privilege database and IAM access, rather than public access alone. This works because: Cloud SQL network connectivity and database authentication are separate controls that both affect who can reach and query data. The scenario is: At Harborview Sales a service queries Cloud SQL with a narrowly privileged database identity. Verify the outcome by: Attempt connection from an approved private workload and a nonauthorized source, then test a restricted database role.

C.

Test key disable and revocation behavior on dependent services before enforcing a production key shutdown. This addresses a different situation: At Cedarline Utilities a compromised encryption key requires staged revocation. The present case is: At Harborview Sales a service queries Cloud SQL with a narrowly privileged database identity. The relevant action here is: Protect Cloud SQL with private networking and least-privilege database and IAM access, rather than public access alone.

D.

Use a threat-model-based distinction between self-hosted IaaS training workloads and managed AI platform capabilities. This addresses a different situation: At Northcrest Science teams compare GPU VMs with managed training pipelines for sensitive data. The present case is: At Harborview Sales a service queries Cloud SQL with a narrowly privileged database identity. The relevant action here is: Protect Cloud SQL with private networking and least-privilege database and IAM access, rather than public access alone.

Question 414

At Harborview Sales a service queries Cloud SQL with a narrowly privileged database identity. The proposed approach is: Protect Cloud SQL with private networking and least-privilege database and IAM access, rather than public access alone. Which underlying security principle explains why it works?

  1. Consistent pseudonymous tokens enable authorized matching across datasets while reducing exposure of direct identifiers.
  2. IaaS training requires direct responsibility for VM and guest hardening whereas managed platforms shift some infrastructure operations but not dataset governance or access policy.
  3. CMEK-dependent services may become unavailable when key access or an essential version is revoked; shutdown requires dependency inventory and rollback planning.
  4. Cloud SQL network connectivity and database authentication are separate controls that both affect who can reach and query data.

Answer & Explanations

Correct answer: D

A.

Consistent pseudonymous tokens enable authorized matching across datasets while reducing exposure of direct identifiers. That explains a separate situation: At Harborland Insurance two datasets need customer-level joins without revealing account numbers. The current case is: At Harborview Sales a service queries Cloud SQL with a narrowly privileged database identity. The actual mechanism is: Cloud SQL network connectivity and database authentication are separate controls that both affect who can reach and query data.

B.

IaaS training requires direct responsibility for VM and guest hardening whereas managed platforms shift some infrastructure operations but not dataset governance or access policy. That explains a separate situation: At Northcrest Science teams compare GPU VMs with managed training pipelines for sensitive data. The current case is: At Harborview Sales a service queries Cloud SQL with a narrowly privileged database identity. The actual mechanism is: Cloud SQL network connectivity and database authentication are separate controls that both affect who can reach and query data.

C.

CMEK-dependent services may become unavailable when key access or an essential version is revoked; shutdown requires dependency inventory and rollback planning. That explains a separate situation: At Cedarline Utilities a compromised encryption key requires staged revocation. The current case is: At Harborview Sales a service queries Cloud SQL with a narrowly privileged database identity. The actual mechanism is: Cloud SQL network connectivity and database authentication are separate controls that both affect who can reach and query data.

D.

Cloud SQL network connectivity and database authentication are separate controls that both affect who can reach and query data. This principle supports the intervention: Protect Cloud SQL with private networking and least-privilege database and IAM access, rather than public access alone. The relevant scenario is: At Harborview Sales a service queries Cloud SQL with a narrowly privileged database identity. Verify the result by: Attempt connection from an approved private workload and a nonauthorized source, then test a restricted database role.

Question 415

At Harborview Sales a service queries Cloud SQL with a narrowly privileged database identity. After implementing the change—Protect Cloud SQL with private networking and least-privilege database and IAM access, rather than public access alone—which test most directly demonstrates the required security outcome?

  1. Feed a synthetic prompt requesting an unauthorized export and confirm the agent's tool call is blocked or escalated for review.
  2. Attempt connection from an approved private workload and a nonauthorized source, then test a restricted database role.
  3. Create a test encrypted resource using an approved Cloud KMS key and verify operations fail when its service identity loses use permission.
  4. Retrieve a test secret as the application service account and verify a different service account is denied.

Answer & Explanations

Correct answer: B

A.

Feed a synthetic prompt requesting an unauthorized export and confirm the agent's tool call is blocked or escalated for review. This tests a separate situation: At Cedarbrook Procurement a cloud agent drafts purchases but must not change IAM policy. The observed case is: At Harborview Sales a service queries Cloud SQL with a narrowly privileged database identity. Use this acceptance check instead: Attempt connection from an approved private workload and a nonauthorized source, then test a restricted database role.

B.

Attempt connection from an approved private workload and a nonauthorized source, then test a restricted database role. This tests the targeted action: Protect Cloud SQL with private networking and least-privilege database and IAM access, rather than public access alone. The reason is: Cloud SQL network connectivity and database authentication are separate controls that both affect who can reach and query data. The reported case is: At Harborview Sales a service queries Cloud SQL with a narrowly privileged database identity.

C.

Create a test encrypted resource using an approved Cloud KMS key and verify operations fail when its service identity loses use permission. This tests a separate situation: At Harborbank Securities a supported storage service requires company-controlled encryption keys. The observed case is: At Harborview Sales a service queries Cloud SQL with a narrowly privileged database identity. Use this acceptance check instead: Attempt connection from an approved private workload and a nonauthorized source, then test a restricted database role.

D.

Retrieve a test secret as the application service account and verify a different service account is denied. This tests a separate situation: At Glenwood Commerce a Cloud Run app needs a protected payment API secret. The observed case is: At Harborview Sales a service queries Cloud SQL with a narrowly privileged database identity. Use this acceptance check instead: Attempt connection from an approved private workload and a nonauthorized source, then test a restricted database role.

Question 416

At Harborview Sales a service queries Cloud SQL with a narrowly privileged database identity. Which shortcut most directly undermines this security requirement?

  1. Replace every identity with a random value on each use and assume future dataset joins will still work.
  2. Destroy an old key version immediately after rotating it without checking its ciphertext dependencies.
  3. Treat a retrieved text paragraph as a trusted administrator command for a privileged agent.
  4. Expose the database on a public IP and grant a shared superuser to every application.

Answer & Explanations

Correct answer: D

A.

Replace every identity with a random value on each use and assume future dataset joins will still work. This concerns another issue: At Harborland Insurance two datasets need customer-level joins without revealing account numbers. In the stated case—At Harborview Sales a service queries Cloud SQL with a narrowly privileged database identity—reject: Expose the database on a public IP and grant a shared superuser to every application. The safer response is: Protect Cloud SQL with private networking and least-privilege database and IAM access, rather than public access alone.

B.

Destroy an old key version immediately after rotating it without checking its ciphertext dependencies. This concerns another issue: At Baybridge Insurance an audit policy mandates periodic CMEK key rotation. In the stated case—At Harborview Sales a service queries Cloud SQL with a narrowly privileged database identity—reject: Expose the database on a public IP and grant a shared superuser to every application. The safer response is: Protect Cloud SQL with private networking and least-privilege database and IAM access, rather than public access alone.

C.

Treat a retrieved text paragraph as a trusted administrator command for a privileged agent. This concerns another issue: At Bayridge Legal an AI assistant searches documents supplied by external parties. In the stated case—At Harborview Sales a service queries Cloud SQL with a narrowly privileged database identity—reject: Expose the database on a public IP and grant a shared superuser to every application. The safer response is: Protect Cloud SQL with private networking and least-privilege database and IAM access, rather than public access alone.

D.

Expose the database on a public IP and grant a shared superuser to every application. The scenario is: At Harborview Sales a service queries Cloud SQL with a narrowly privileged database identity. This undermines the mechanism: Cloud SQL network connectivity and database authentication are separate controls that both affect who can reach and query data. Instead: Protect Cloud SQL with private networking and least-privilege database and IAM access, rather than public access alone.

Question 417

At Glenwood Commerce a Cloud Run app needs a protected payment API secret. Which security configuration best addresses this requirement?

  1. Store API credentials in Secret Manager with scoped secret version access for the intended runtime identity.
  2. Configure a Cloud Storage lifecycle rule that removes only objects meeting the approved age and prefix conditions.
  3. Enforce Cloud Storage uniform bucket-level access with carefully scoped IAM when object ACL inconsistency poses risk.
  4. Apply IAM and controlled network perimeters around supported Vertex AI model endpoints and pipelines.

Answer & Explanations

Correct answer: A

A.

Store API credentials in Secret Manager with scoped secret version access for the intended runtime identity. This works because: Secret Manager separates credential material from code and provides per-secret IAM and version management. The scenario is: At Glenwood Commerce a Cloud Run app needs a protected payment API secret. Verify the outcome by: Retrieve a test secret as the application service account and verify a different service account is denied.

B.

Configure a Cloud Storage lifecycle rule that removes only objects meeting the approved age and prefix conditions. This addresses a different situation: At Pinecrest Media temporary transcoding assets must expire after a retention period. The present case is: At Glenwood Commerce a Cloud Run app needs a protected payment API secret. The relevant action here is: Store API credentials in Secret Manager with scoped secret version access for the intended runtime identity.

C.

Enforce Cloud Storage uniform bucket-level access with carefully scoped IAM when object ACL inconsistency poses risk. This addresses a different situation: At Meadowbridge Logistics a bucket has legacy public ACLs inconsistent with company policy. The present case is: At Glenwood Commerce a Cloud Run app needs a protected payment API secret. The relevant action here is: Store API credentials in Secret Manager with scoped secret version access for the intended runtime identity.

D.

Apply IAM and controlled network perimeters around supported Vertex AI model endpoints and pipelines. This addresses a different situation: At Pineport Healthcare a private prediction endpoint serves authorized clinical analytics. The present case is: At Glenwood Commerce a Cloud Run app needs a protected payment API secret. The relevant action here is: Store API credentials in Secret Manager with scoped secret version access for the intended runtime identity.

Question 418

At Glenwood Commerce a Cloud Run app needs a protected payment API secret. The proposed approach is: Store API credentials in Secret Manager with scoped secret version access for the intended runtime identity. Which underlying security principle explains why it works?

  1. Customer-managed encryption keys provide customer administrative control over supported service encryption while Google default encryption alone does not expose the same key governance.
  2. Model training pipelines can memorize or expose confidential information when training inputs are not governed.
  3. Dataset and table IAM can allow analysis without granting project-wide data administration.
  4. Secret Manager separates credential material from code and provides per-secret IAM and version management.

Answer & Explanations

Correct answer: D

A.

Customer-managed encryption keys provide customer administrative control over supported service encryption while Google default encryption alone does not expose the same key governance. That explains a separate situation: At Harborbank Securities a supported storage service requires company-controlled encryption keys. The current case is: At Glenwood Commerce a Cloud Run app needs a protected payment API secret. The actual mechanism is: Secret Manager separates credential material from code and provides per-secret IAM and version management.

B.

Model training pipelines can memorize or expose confidential information when training inputs are not governed. That explains a separate situation: At Northlake Research a model trains on confidential laboratory reports. The current case is: At Glenwood Commerce a Cloud Run app needs a protected payment API secret. The actual mechanism is: Secret Manager separates credential material from code and provides per-secret IAM and version management.

C.

Dataset and table IAM can allow analysis without granting project-wide data administration. That explains a separate situation: At Northshore Finance fraud analysts require one curated BigQuery dataset. The current case is: At Glenwood Commerce a Cloud Run app needs a protected payment API secret. The actual mechanism is: Secret Manager separates credential material from code and provides per-secret IAM and version management.

D.

Secret Manager separates credential material from code and provides per-secret IAM and version management. This principle supports the intervention: Store API credentials in Secret Manager with scoped secret version access for the intended runtime identity. The relevant scenario is: At Glenwood Commerce a Cloud Run app needs a protected payment API secret. Verify the result by: Retrieve a test secret as the application service account and verify a different service account is denied.

Question 419

At Glenwood Commerce a Cloud Run app needs a protected payment API secret. After implementing the change—Store API credentials in Secret Manager with scoped secret version access for the intended runtime identity—which test most directly demonstrates the required security outcome?

  1. Invoke a sandbox endpoint as the approved identity and verify an unrelated project identity is denied.
  2. Retrieve a test secret as the application service account and verify a different service account is denied.
  3. Disable access to a test external key and verify the workload reports a controlled key-unavailable failure.
  4. Run a query as an authorized analyst and verify an unrelated restricted dataset remains unreadable.

Answer & Explanations

Correct answer: B

A.

Invoke a sandbox endpoint as the approved identity and verify an unrelated project identity is denied. This tests a separate situation: At Pineport Healthcare a private prediction endpoint serves authorized clinical analytics. The observed case is: At Glenwood Commerce a Cloud Run app needs a protected payment API secret. Use this acceptance check instead: Retrieve a test secret as the application service account and verify a different service account is denied.

B.

Retrieve a test secret as the application service account and verify a different service account is denied. This tests the targeted action: Store API credentials in Secret Manager with scoped secret version access for the intended runtime identity. The reason is: Secret Manager separates credential material from code and provides per-secret IAM and version management. The reported case is: At Glenwood Commerce a Cloud Run app needs a protected payment API secret.

C.

Disable access to a test external key and verify the workload reports a controlled key-unavailable failure. This tests a separate situation: At Cedarwood Banking a regulated archive must use externally controlled key material. The observed case is: At Glenwood Commerce a Cloud Run app needs a protected payment API secret. Use this acceptance check instead: Retrieve a test secret as the application service account and verify a different service account is denied.

D.

Run a query as an authorized analyst and verify an unrelated restricted dataset remains unreadable. This tests a separate situation: At Northshore Finance fraud analysts require one curated BigQuery dataset. The observed case is: At Glenwood Commerce a Cloud Run app needs a protected payment API secret. Use this acceptance check instead: Retrieve a test secret as the application service account and verify a different service account is denied.

Question 420

At Glenwood Commerce a Cloud Run app needs a protected payment API secret. Which shortcut most directly undermines this security requirement?

  1. Publish the raw dataset to analysts and ask them to ignore personal information.
  2. Upload the private key material to a public object storage URL as a convenient transfer method.
  3. Put the production API password into environment files committed with application source.
  4. Allow all identities to invoke a sensitive model endpoint with unrestricted prediction data.

Answer & Explanations

Correct answer: C

A.

Publish the raw dataset to analysts and ask them to ignore personal information. This concerns another issue: At Cedarpoint Retail a support dataset contains customer emails before analytics export. In the stated case—At Glenwood Commerce a Cloud Run app needs a protected payment API secret—reject: Put the production API password into environment files committed with application source. The safer response is: Store API credentials in Secret Manager with scoped secret version access for the intended runtime identity.

B.

Upload the private key material to a public object storage URL as a convenient transfer method. This concerns another issue: At Meadowwood Insurance a legacy encryption key needs an approved import path. In the stated case—At Glenwood Commerce a Cloud Run app needs a protected payment API secret—reject: Put the production API password into environment files committed with application source. The safer response is: Store API credentials in Secret Manager with scoped secret version access for the intended runtime identity.

C.

Put the production API password into environment files committed with application source. The scenario is: At Glenwood Commerce a Cloud Run app needs a protected payment API secret. This undermines the mechanism: Secret Manager separates credential material from code and provides per-secret IAM and version management. Instead: Store API credentials in Secret Manager with scoped secret version access for the intended runtime identity.

D.

Allow all identities to invoke a sensitive model endpoint with unrestricted prediction data. This concerns another issue: At Pineport Healthcare a private prediction endpoint serves authorized clinical analytics. In the stated case—At Glenwood Commerce a Cloud Run app needs a protected payment API secret—reject: Put the production API password into environment files committed with application source. The safer response is: Store API credentials in Secret Manager with scoped secret version access for the intended runtime identity.

Professional Cloud Security Engineer Practice Tests