100% Latest & Updated Google Professional Cloud Security Engineer Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 80
An engineer investigates this issue: Developers need authenticated web access to an internal app without assigning public ingress to VMs. Which failure mechanism best explains the requirement?
- Network location alone does not enforce identity-aware access for the web app
- A valid certificate authority signature does not compensate for hostname mismatch
- Unused enabled APIs expand configuration and abuse surface even without current clients
- Project ownership must remain separate while private routing is exchanged between peers
Explanation
Correct Answer
A:Network location alone does not enforce identity-aware access for the web app. The appropriate response is to protect supported load-balanced application access with Identity-Aware Proxy and IAM.
Incorrect Answers
B:“A valid certificate authority signature does not compensate for hostname mismatch” addresses another issue: an app has a certificate valid for the wrong hostname and users see browser trust warnings. In this case, network location alone does not enforce identity-aware access for the web app; the targeted response is to protect supported load-balanced application access with Identity-Aware Proxy and IAM.
C:“Unused enabled APIs expand configuration and abuse surface even without current clients” addresses another issue: Cloud APIs enabled during testing remain active in dozens of production projects. In this case, network location alone does not enforce identity-aware access for the web app; the targeted response is to protect supported load-balanced application access with Identity-Aware Proxy and IAM.
D:“Project ownership must remain separate while private routing is exchanged between peers” addresses another issue: two independently managed VPCs need direct private VM address communication without consolidating projects. In this case, network location alone does not enforce identity-aware access for the web app; the targeted response is to protect supported load-balanced application access with Identity-Aware Proxy and IAM.
Question 81
A hybrid network needs BGP routing for two separate VPCs with overlapping on-premises routes. Which action most directly satisfies the stated security requirement?
- Configure the restricted Google APIs VIP or appropriate private connectivity with restrictive DNS and routes
- Use Shared VPC with a host project and controlled service-project attachments
- Expose a supported service attachment and use Private Service Connect consumer endpoints
- Design scoped route advertisements and resolve conflicting address plans before enabling BGP
Explanation
Correct Answer
D:Design scoped route advertisements and resolve conflicting address plans before enabling BGP. The risk arises because indiscriminate advertised prefixes can create ambiguity or unintended routing. Verify that each VPC learns only its approved routes and packet paths are deterministic.
Incorrect Answers
A:“Configure the restricted Google APIs VIP or appropriate private connectivity with restrictive DNS and routes” addresses another issue: a team needs restricted Google API access compatible with VPC Service Controls protected services. In this case, indiscriminate advertised prefixes can create ambiguity or unintended routing; the targeted response is to design scoped route advertisements and resolve conflicting address plans before enabling BGP.
B:“Use Shared VPC with a host project and controlled service-project attachments” addresses another issue: a team wants one centrally managed VPC shared by many application projects. In this case, indiscriminate advertised prefixes can create ambiguity or unintended routing; the targeted response is to design scoped route advertisements and resolve conflicting address plans before enabling BGP.
C:“Expose a supported service attachment and use Private Service Connect consumer endpoints” addresses another issue: a private backend in one producer VPC must be consumed by separate customer projects without broad network peering. In this case, indiscriminate advertised prefixes can create ambiguity or unintended routing; the targeted response is to design scoped route advertisements and resolve conflicting address plans before enabling BGP.
Question 82
A model endpoint returns confidential examples from other tenant contexts during evaluation. Which action most directly satisfies the stated security requirement?
- Select the key-management model according to product support and control requirements
- Evaluate grounded task performance, red-team prompt injection and disclosure failures
- Use restricted versioned model artifact storage and authenticated pipeline identities
- Partition retrieval and session state by tenant and enforce boundary checks
Explanation
Correct Answer
D:Partition retrieval and session state by tenant and enforce boundary checks. The risk arises because mixing tenant context can leak training examples or retrieved private data. Verify that an adversarial cross-tenant query never returns another tenant's confidential examples.
Incorrect Answers
A:“Select the key-management model according to product support and control requirements” addresses another issue: a security team assumes an exported customer-supplied key is identical to a CMEK held in Cloud KMS. In this case, mixing tenant context can leak training examples or retrieved private data; the targeted response is to partition retrieval and session state by tenant and enforce boundary checks.
B:“Evaluate grounded task performance, red-team prompt injection and disclosure failures” addresses another issue: a security assessment uses only standard language benchmarks for a health-data reasoning assistant. In this case, mixing tenant context can leak training examples or retrieved private data; the targeted response is to partition retrieval and session state by tenant and enforce boundary checks.
C:“Use restricted versioned model artifact storage and authenticated pipeline identities” addresses another issue: a training pipeline writes model artifacts to an unversioned bucket with broad write permissions. In this case, mixing tenant context can leak training examples or retrieved private data; the targeted response is to partition retrieval and session state by tenant and enforce boundary checks.
Question 83
Select THREE directly relevant elements: the targeted action, its validation, and a recurrence-prevention control. Issue: A company schedules rotation of a Cloud KMS key and assumes existing ciphertext is automatically reencrypted.
- Document the product-specific rotation and re-encryption behavior before changing key versions
- Treat transport TLS alone as a complete substitute for data-at-rest and confidential-computing requirements
- Track key versions and protect the ability to decrypt retained backups
- Disable every old encryption key version before testing access to data encrypted with those versions
- Test data written before and after rotation remains decryptable through supported processes
- Treat changing a key alias as proof existing ciphertext has been re-encrypted under a new key version
Explanation
Correct Answers
A:Document the product-specific rotation and re-encryption behavior before changing key versions. The risk arises because new key version selection does not universally rewrite all historical ciphertext in every service. To verify, test data written before and after rotation remains decryptable through supported processes.
C:Track key versions and protect the ability to decrypt retained backups. This helps prevent new key version selection does not universally rewrite all historical ciphertext in every service.
E:Test data written before and after rotation remains decryptable through supported processes. This tests the effect of document the product-specific rotation and re-encryption behavior before changing key versions, not merely whether a setting was saved.
Incorrect Answers
B:“Treat transport TLS alone as a complete substitute for data-at-rest and confidential-computing requirements” would not resolve new key version selection does not universally rewrite all historical ciphertext in every service. The supported response is to document the product-specific rotation and re-encryption behavior before changing key versions. To verify, test data written before and after rotation remains decryptable through supported processes.
D:“Disable every old encryption key version before testing access to data encrypted with those versions” would not resolve new key version selection does not universally rewrite all historical ciphertext in every service. The supported response is to document the product-specific rotation and re-encryption behavior before changing key versions. To verify, test data written before and after rotation remains decryptable through supported processes.
F:“Treat changing a key alias as proof existing ciphertext has been re-encrypted under a new key version” would not resolve new key version selection does not universally rewrite all historical ciphertext in every service. The supported response is to document the product-specific rotation and re-encryption behavior before changing key versions. To verify, test data written before and after rotation remains decryptable through supported processes.
Question 84
A project log viewer cannot see sensitive Data Access logs even though ordinary log queries work. Which action most directly satisfies the stated security requirement?
- Enable VPC Flow Logs on relevant subnets with suitable sampling and aggregation
- Apply appropriate organization policy prevention in addition to posture detection
- Grant only approved investigators a suitable Private Logs Viewer role where required
- Enable required Data Access audit logs for the relevant services and resource scope
Explanation
Correct Answer
C:Grant only approved investigators a suitable Private Logs Viewer role where required. The risk arises because data Access logs require more specific permissions than ordinary Logs Viewer grants. Verify that a standard viewer remains denied sensitive audit entries while approved investigators can read them.
Incorrect Answers
A:“Enable VPC Flow Logs on relevant subnets with suitable sampling and aggregation” addresses another issue: an investigator needs to know which VM sent traffic to an unknown external destination. In this case, data Access logs require more specific permissions than ordinary Logs Viewer grants; the targeted response is to grant only approved investigators a suitable Private Logs Viewer role where required.
B:“Apply appropriate organization policy prevention in addition to posture detection” addresses another issue: a security posture team uses an audit-only detector where policy requires prevention of risky resource creation. In this case, data Access logs require more specific permissions than ordinary Logs Viewer grants; the targeted response is to grant only approved investigators a suitable Private Logs Viewer role where required.
D:“Enable required Data Access audit logs for the relevant services and resource scope” addresses another issue: an auditor expects Cloud Storage object read events but sees only Admin Activity records. In this case, data Access logs require more specific permissions than ordinary Logs Viewer grants; the targeted response is to grant only approved investigators a suitable Private Logs Viewer role where required.
Question 85
Select THREE directly relevant elements: the targeted action, its validation, and a recurrence-prevention control. Issue: An organization has a regional policy but a developer can still create an unrestricted external IP VM.
- Treat a provider compliance certificate as proof every custom application and data flow meets every obligation
- Turn off all regulated-workload logging without verifying approved audit retention requirements
- Maintain a control matrix covering compute, data, network and storage
- Combine region constraints with network, external-IP and identity guardrails
- Assume one regional placement setting proves that backups, processing, and exports remain within scope
- Tests verify both region and internet exposure constraints independently
Explanation
Correct Answers
C:Maintain a control matrix covering compute, data, network and storage. This helps prevent geographic restrictions do not also impose complete network-exposure protections.
D:Combine region constraints with network, external-IP and identity guardrails. The risk arises because geographic restrictions do not also impose complete network-exposure protections. Verify that tests verify both region and internet exposure constraints independently.
F:Tests verify both region and internet exposure constraints independently. This tests the effect of combine region constraints with network, external-IP and identity guardrails, not merely whether a setting was saved.
Incorrect Answers
A:“Treat a provider compliance certificate as proof every custom application and data flow meets every obligation” would not resolve geographic restrictions do not also impose complete network-exposure protections. The supported response is to combine region constraints with network, external-IP and identity guardrails. Verify that tests verify both region and internet exposure constraints independently.
B:“Turn off all regulated-workload logging without verifying approved audit retention requirements” would not resolve geographic restrictions do not also impose complete network-exposure protections. The supported response is to combine region constraints with network, external-IP and identity guardrails. Verify that tests verify both region and internet exposure constraints independently.
E:“Assume one regional placement setting proves that backups, processing, and exports remain within scope” would not resolve geographic restrictions do not also impose complete network-exposure protections. The supported response is to combine region constraints with network, external-IP and identity guardrails. Verify that tests verify both region and internet exposure constraints independently.
Question 86
After correcting this issue, which evidence most convincingly shows the fix works? A legacy object ACL grants a user access despite the team reviewing only bucket IAM roles.
- Only the authorized workload can read its target bucket; neighboring pods are denied
- A permitted engineer establishes an IAP SSH session from a compliant device while an untrusted-device attempt is denied
- Test deletion is allowed where policy permits and production deletion is blocked
- A tested user cannot access the object after all intended permissions are revoked
Explanation
Correct Answer
D:A tested user cannot access the object after all intended permissions are revoked. This tests the effect of inventory relevant ACLs and IAM controls and migrate to coherent supported access models, not merely whether a setting was saved.
Incorrect Answers
A:“Only the authorized workload can read its target bucket; neighboring pods are denied” addresses another issue: a Kubernetes workload receives credentials of the node service account for a simple bucket read. In this case, legacy resource ACLs may provide access paths outside the inspected IAM policy; the targeted response is to inventory relevant ACLs and IAM controls and migrate to coherent supported access models.
B:“A permitted engineer establishes an IAP SSH session from a compliant device while an untrusted-device attempt is denied” addresses another issue: production engineers may open IAP TCP-forwarded SSH sessions to sensitive Compute Engine VMs only from compliant devices and approved networks. In this case, legacy resource ACLs may provide access paths outside the inspected IAM policy; the targeted response is to inventory relevant ACLs and IAM controls and migrate to coherent supported access models.
C:“Test deletion is allowed where policy permits and production deletion is blocked” addresses another issue: a folder administrator must prevent production resource deletion while allowing similar test actions. In this case, legacy resource ACLs may provide access paths outside the inspected IAM policy; the targeted response is to inventory relevant ACLs and IAM controls and migrate to coherent supported access models.
Question 87
An internal Cloud SQL instance is accidentally reachable through public authorized networks. Which action most directly satisfies the stated security requirement?
- Use private connectivity and narrowly scoped database identities and network controls
- Apply identity-aware access filters to data connectors and retrieved context
- Inspect and redact relevant PII fields in the application logging path
- Configure policy tags and corresponding column-level BigQuery data policies where supported
Explanation
Correct Answer
A:Use private connectivity and narrowly scoped database identities and network controls. The risk arises because broad SQL network exposure increases credential attack surface. Verify that unapproved public clients cannot reach the database; approved private application works.
Incorrect Answers
B:“Apply identity-aware access filters to data connectors and retrieved context” addresses another issue: a Gemini-based assistant is allowed to retrieve files across every department. In this case, broad SQL network exposure increases credential attack surface; the targeted response is to use private connectivity and narrowly scoped database identities and network controls.
C:“Inspect and redact relevant PII fields in the application logging path” addresses another issue: a call-center API forwards raw customer phone numbers into logs for debugging. In this case, broad SQL network exposure increases credential attack surface; the targeted response is to use private connectivity and narrowly scoped database identities and network controls.
D:“Configure policy tags and corresponding column-level BigQuery data policies where supported” addresses another issue: finance analysts require access to a BigQuery table but not the salary column. In this case, broad SQL network exposure increases credential attack surface; the targeted response is to use private connectivity and narrowly scoped database identities and network controls.
Question 88
Select TWO directly relevant elements: the corrective action and evidence that it worked. Issue: A CI pipeline writes a database password directly to standard output on each deployment.
- Read the credential from Secret Manager at runtime without printing or persisting it in CI logs
- Move regulated data to an unmanaged test project before sensitive-data scans or access review
- Grant every service identity access to every data bucket and rely on application code alone for isolation
- Store unencrypted production secrets in instance startup metadata because project users are trusted
- A deployment audit contains no cleartext secret and the service authenticates using scoped identity
Explanation
Correct Answers
A:Read the credential from Secret Manager at runtime without printing or persisting it in CI logs. The risk arises because secret delivery is safe only when log and process exposure are controlled. Verify that a deployment audit contains no cleartext secret and the service authenticates using scoped identity.
E:A deployment audit contains no cleartext secret and the service authenticates using scoped identity. This tests the effect of read the credential from Secret Manager at runtime without printing or persisting it in CI logs, not merely whether a setting was saved.
Incorrect Answers
B:“Move regulated data to an unmanaged test project before sensitive-data scans or access review” would not resolve secret delivery is safe only when log and process exposure are controlled. The supported response is to read the credential from Secret Manager at runtime without printing or persisting it in CI logs. Verify that a deployment audit contains no cleartext secret and the service authenticates using scoped identity.
C:“Grant every service identity access to every data bucket and rely on application code alone for isolation” would not resolve secret delivery is safe only when log and process exposure are controlled. The supported response is to read the credential from Secret Manager at runtime without printing or persisting it in CI logs. Verify that a deployment audit contains no cleartext secret and the service authenticates using scoped identity.
D:“Store unencrypted production secrets in instance startup metadata because project users are trusted” would not resolve secret delivery is safe only when log and process exposure are controlled. The supported response is to read the credential from Secret Manager at runtime without printing or persisting it in CI logs. Verify that a deployment audit contains no cleartext secret and the service authenticates using scoped identity.
Question 89
After correcting this issue, which evidence most convincingly shows the fix works? A production GKE workload runs a container with privileged host access merely to simplify debugging.
- A prohibited creation attempt fails and drift alerts still catch existing issues
- A privileged test manifest is rejected and the authorized nonprivileged pod runs
- An approved test packet reaches the collection system with expected payload context
- An image scan and boot test confirm approved patch and hardening baselines
Explanation
Correct Answer
B:A privileged test manifest is rejected and the authorized nonprivileged pod runs. This tests the effect of use appropriate pod security controls and remove unneeded privilege flags, not merely whether a setting was saved.
Incorrect Answers
A:“A prohibited creation attempt fails and drift alerts still catch existing issues” addresses another issue: a security posture team uses an audit-only detector where policy requires prevention of risky resource creation. In this case, excess pod privileges can enlarge the node compromise path; the targeted response is to use appropriate pod security controls and remove unneeded privilege flags.
C:“An approved test packet reaches the collection system with expected payload context” addresses another issue: network security needs full packet payload evidence for suspicious east-west traffic rather than only flow metadata. In this case, excess pod privileges can enlarge the node compromise path; the targeted response is to use appropriate pod security controls and remove unneeded privilege flags.
D:“An image scan and boot test confirm approved patch and hardening baselines” addresses another issue: a golden VM image is five months behind security patches before new instances are created. In this case, excess pod privileges can enlarge the node compromise path; the targeted response is to use appropriate pod security controls and remove unneeded privilege flags.
Question 90
A GitHub Actions workflow needs to deploy a Cloud Run service from a single protected branch. Which action most directly satisfies the stated security requirement?
- Use Workload Identity Federation with repository and branch attribute restrictions
- Disable the exposed key, rotate dependent credentials and migrate to keyless authentication
- Automate deprovisioning from the authoritative human resources or identity workflow
- Grant restricted impersonation permissions to approved engineers rather than exporting a private key
Explanation
Correct Answer
A:Use Workload Identity Federation with repository and branch attribute restrictions. The risk arises because repository-to-cloud authentication based on a stored service account JSON key is unnecessarily risky. Verify that an approved branch obtains a short-lived deployment identity while a fork cannot.
Incorrect Answers
B:“Disable the exposed key, rotate dependent credentials and migrate to keyless authentication” addresses another issue: a service account JSON key appears in a public CI artifact downloaded by outsiders. In this case, repository-to-cloud authentication based on a stored service account JSON key is unnecessarily risky; the targeted response is to use Workload Identity Federation with repository and branch attribute restrictions.
C:“Automate deprovisioning from the authoritative human resources or identity workflow” addresses another issue: a departing engineer retains Cloud Identity group membership after payroll removes their employment status. In this case, repository-to-cloud authentication based on a stored service account JSON key is unnecessarily risky; the targeted response is to use Workload Identity Federation with repository and branch attribute restrictions.
D:“Grant restricted impersonation permissions to approved engineers rather than exporting a private key” addresses another issue: a central operations engineer must troubleshoot production as an application service account without a key file. In this case, repository-to-cloud authentication based on a stored service account JSON key is unnecessarily risky; the targeted response is to use Workload Identity Federation with repository and branch attribute restrictions.
Professional Cloud Security Engineer Practice Tests