Google Professional Cloud Security Engineer Practice Test 10
Question 90
An administrator needs to know when a Binary Authorization policy is evaluated for Cloud Run jobs versus services. Which practical correction or implementation decision is MOST directly appropriate?
- Assume changing a Binary Authorization policy instantly rewrites or terminates all existing Cloud Run revisions.
- Test revision deployment, job execution and documented emergency break-glass logging.
- Test write, delete and pull behavior for several repository-specific identities.
- Test a known vulnerable fixture and verify developer feedback and gate behavior.
Explanation
Correct Answer
B:Test revision deployment, job execution and documented emergency break-glass logging. The intended behavior can be checked because noncompliant new service revisions or job executions fail at their respective enforcement points.
Incorrect Answers
A:Assume changing a Binary Authorization policy instantly rewrites or terminates all existing Cloud Run revisions. This would not correct the Binary Authorization Cloud Run revision policy workflow. Updating a policy does not automatically retroactively remove every existing running revision.
C:Test write, delete and pull behavior for several repository-specific identities. This could help Artifact Registry repository IAM isolation, but it does not resolve the Binary Authorization Cloud Run revision policy case. Cloud Run revision admission and job execution have distinct Binary Authorization evaluation timing.
D:Test a known vulnerable fixture and verify developer feedback and gate behavior. This could help Continuous integration dependency security gate, but it does not resolve the Binary Authorization Cloud Run revision policy case. Cloud Run revision admission and job execution have distinct Binary Authorization evaluation timing.
Question 91
A platform admin proposes reducing retention to remove evidence of a recent incident. Testing exposes this failure: Shortening retention indiscriminately can erase regulatory or forensic evidence. Which remediation should be applied FIRST?
- Put an audit label on a log entry and assume the log bucket now has immutable legal retention.
- Enable and configure supported Data Access audit logging where needed and verify permissions and retention.
- Test retention policy on sample logs and document privileged change approvals.
- Configure a controlled Cloud Logging sink to an approved transport and filter event contents.
Explanation
Correct Answer
C:Test retention policy on sample logs and document privileged change approvals. Confirmation requires seeing that the required log window remains searchable and deletion policy follows approved retention controls.
Incorrect Answers
A:Put an audit label on a log entry and assume the log bucket now has immutable legal retention. This retains the Log bucket retention and immutable audit evidence problem. Security logging retention must be managed independently of application log generation.
B:Enable and configure supported Data Access audit logging where needed and verify permissions and retention. It addresses Data Access Audit Logs enablement and cost, not the diagnosed Log bucket retention and immutable audit evidence failure. Shortening retention indiscriminately can erase regulatory or forensic evidence.
D:Configure a controlled Cloud Logging sink to an approved transport and filter event contents. It addresses External SIEM log export privacy, not the diagnosed Log bucket retention and immutable audit evidence failure. Shortening retention indiscriminately can erase regulatory or forensic evidence.
Question 92
Security asks how to maintain origin controls for imported key versions and encryption use. Which practical correction or implementation decision is MOST directly appropriate?
- Test version import state and encrypt/decrypt behavior before production cutover.
- Test supported machine family, image compatibility and confidential mode evidence.
- Inspect resource encryption configuration and authorized key-management operations.
- Upload the raw master key into an unaudited Cloud Storage public bucket to enable import.
Explanation
Correct Answer
A:Test version import state and encrypt/decrypt behavior before production cutover. The intended behavior can be checked because imported versions are usable only by authorized services and key origin records remain traceable.
Incorrect Answers
B:Test supported machine family, image compatibility and confidential mode evidence. This could help Confidential VM memory protection, but it does not resolve the Cloud KMS imported key material case. Imported key material requires compatible algorithms and a protected import workflow.
C:Inspect resource encryption configuration and authorized key-management operations. This could help Default at-rest encryption versus CMEK, but it does not resolve the Cloud KMS imported key material case. Imported key material requires compatible algorithms and a protected import workflow.
D:Upload the raw master key into an unaudited Cloud Storage public bucket to enable import. This would not correct the Cloud KMS imported key material workflow. Copying raw key bytes into an unencrypted text field undermines key custody.
Question 93
An internal legacy report expects a fixed-format identifier but must not see a clear customer number. Which approach BEST meets the requirement while respecting the system constraints?
- Apply supported format-preserving encryption with compatible key and tweak handling.
- Replace the last digit of the identifier and call it strong format-preserving encryption.
- Run Sensitive Data Protection inspection using appropriate infoTypes and controlled discovery scope.
- Configure Cloud SQL private connectivity and a supported database authentication model with least privilege.
Explanation
Correct Answer
A:Apply supported format-preserving encryption with compatible key and tweak handling. Format-preserving encryption retains structural constraints but is not the same as plain-text masking. Verification should demonstrate that encrypted identifiers follow the required format and only approved services can reverse them.
Incorrect Answers
B:Replace the last digit of the identifier and call it strong format-preserving encryption. This is an unsafe or ineffective shortcut for Format-preserving encryption data handling. Poor tweak or key management can weaken confidentiality and cause inconsistent decryptability.
C:Run Sensitive Data Protection inspection using appropriate infoTypes and controlled discovery scope. This primarily addresses Sensitive Data Protection PII inspection, not the specific Format-preserving encryption data handling decision. Here, format-preserving encryption retains structural constraints but is not the same as plain-text masking.
D:Configure Cloud SQL private connectivity and a supported database authentication model with least privilege. This primarily addresses Cloud SQL private IP and database authentication, not the specific Format-preserving encryption data handling decision. Here, format-preserving encryption retains structural constraints but is not the same as plain-text masking.
Question 94
A government program needs an eligible environment configured for prescribed controls and region choices. If the relevant Assured Workloads compliance resource boundary safeguard is omitted, which outcome is the MOST directly associated failure?
- An overly permissive domain exception can enable unauthorized external role assignments.
- Placing an unreviewed project outside the required environment can defeat the scoped controls.
- Missing a shared logging or integration dependency can understate the regulated environment.
- Assuming a vendor certificate transfers regulatory responsibility to the customer workload may produce audit gaps.
Explanation
Correct Answer
B:Placing an unreviewed project outside the required environment can defeat the scoped controls. Assured Workloads provides configurable compliance guardrails but does not certify arbitrary workloads by mere association. The corrective approach is to test folder creation, resource restrictions and eligible personnel or support requirements.
Incorrect Answers
A:An overly permissive domain exception can enable unauthorized external role assignments. This failure pattern belongs chiefly to Restricting allowed IAM member domains; it is not the failure most directly tested in the Assured Workloads compliance resource boundary situation. Placing an unreviewed project outside the required environment can defeat the scoped controls.
C:This failure pattern belongs chiefly to Regulatory scope inventory and boundaries; it is not the failure most directly tested in the Assured Workloads compliance resource boundary situation.
D:This failure pattern belongs chiefly to Vendor shared-control contract and service eligibility; it is not the failure most directly tested in the Assured Workloads compliance resource boundary situation.
Question 95
A healthcare support log contains accidental patient email addresses in free text. After the recommended Sensitive Data Protection inspection redaction change is implemented, which observation MOST directly verifies that it works?
- Test identities receive masked or denied sensitive columns while authorized principals receive approved fields.
- Partner queries return only allowed columns and aggregates and direct base table queries fail.
- Output removes intended values and controlled inspection confirms no exposed matches in sample logs.
- The service respects external key availability and data-access behavior under revocation tests.
Explanation
Correct Answer
C:Output removes intended values and controlled inspection confirms no exposed matches in sample logs. This directly tests whether the Sensitive Data Protection inspection redaction goal was met. Redaction obscures selected content but requires correct detector configuration and validation.
Incorrect Answers
A:Test identities receive masked or denied sensitive columns while authorized principals receive approved fields. This is evidence about BigQuery column-level policy tags and masking, not direct proof of the required Sensitive Data Protection inspection redaction behavior. The relevant check is that output removes intended values and controlled inspection confirms no exposed matches in sample logs.
B:Partner queries return only allowed columns and aggregates and direct base table queries fail. This is evidence about BigQuery authorized views, not direct proof of the required Sensitive Data Protection inspection redaction behavior. The relevant check is that output removes intended values and controlled inspection confirms no exposed matches in sample logs.
D:The service respects external key availability and data-access behavior under revocation tests. This is evidence about External Key Manager custody, not direct proof of the required Sensitive Data Protection inspection redaction behavior. The relevant check is that output removes intended values and controlled inspection confirms no exposed matches in sample logs.
Question 96
Internal services need centrally governed certificates with controlled issuance and expiry. Which approach BEST meets the requirement while respecting the system constraints?
- Remove unnecessary public ingress and use the supported internal endpoint or identity-protected front door.
- Post a CA private signing key in a container environment variable accessible to all developers.
- Design a supported Certificate Authority Service CA pool and narrowly delegated certificate issuance.
- Configure the proper external HTTPS load balancer certificates and backend protocol settings.
Explanation
Correct Answer
C:Design a supported Certificate Authority Service CA pool and narrowly delegated certificate issuance. Private CA service manages certificate issuance trust independently of external web DNS registration. Verification should demonstrate that approved workloads receive valid certificates and unauthorized principals cannot issue new ones.
Incorrect Answers
A:Remove unnecessary public ingress and use the supported internal endpoint or identity-protected front door. This primarily addresses Private versus public endpoint design, not the specific Certificate Authority Service private PKI decision. Here, private CA service manages certificate issuance trust independently of external web DNS registration.
B:Post a CA private signing key in a container environment variable accessible to all developers. This is an unsafe or ineffective shortcut for Certificate Authority Service private PKI. Giving every project certificate authority administrator access can permit forged internal identities.
D:Configure the proper external HTTPS load balancer certificates and backend protocol settings. This primarily addresses HTTPS load balancer certificate and backend TLS, not the specific Certificate Authority Service private PKI decision. Here, private CA service manages certificate issuance trust independently of external web DNS registration.
Question 97
A security test inserts hostile instructions in retrieved search results that are lower trust than application policy. Testing exposes this failure: Treating retrieved text as a privileged system command can disclose protected data. Which remediation should be applied FIRST?
- Configure supported model endpoint IAM and request logging with separate requester identities.
- Apply supported privacy filters, data access segmentation and output inspection for sensitive responses.
- Execute arbitrary instructions found in a document because the model describes them as system policy.
- Test malicious retrieval fixtures and verify independent permission checks on every sensitive tool.
Explanation
Correct Answer
D:Test malicious retrieval fixtures and verify independent permission checks on every sensitive tool. Confirmation requires seeing that the agent ignores unauthorized data-exfiltration requests and tool calls remain within caller permissions.
Incorrect Answers
A:Configure supported model endpoint IAM and request logging with separate requester identities. It addresses Managed AI endpoint access controls, not the diagnosed Prompt injection and retrieved data boundary failure. Treating retrieved text as a privileged system command can disclose protected data.
B:Apply supported privacy filters, data access segmentation and output inspection for sensitive responses. It addresses AI output data loss prevention, not the diagnosed Prompt injection and retrieved data boundary failure. Treating retrieved text as a privileged system command can disclose protected data.
C:Execute arbitrary instructions found in a document because the model describes them as system policy. This retains the Prompt injection and retrieved data boundary problem. Prompt-injection defenses require trusted instruction boundaries and downstream authorization, not only content filters.
Question 98
Risk owners need findings to close only after the underlying policy is corrected. An engineer must explain the recommendation for Security Health Analytics remediation workflow. Which underlying principle is the MOST accurate?
- Log export requires authorized destination write paths, filters and governance beyond local logging.
- Custom security findings provide evidence of drift but do not always automatically prevent resource creation.
- Object access investigation combines API audit events, identity state and potential downstream egress evidence.
- Posture findings describe detected conditions and do not equal an enforcement or repair action.
Explanation
Correct Answer
D:Posture findings describe detected conditions and do not equal an enforcement or repair action. Therefore the implementation decision is to investigate the specific SCC Security Health Analytics finding and remediate the actual resource configuration.
Incorrect Answers
A:Marking a finding reviewed without fixing the source resource leaves the exposure. Log export requires authorized destination write paths, filters and governance beyond local logging.
B:Marking a finding reviewed without fixing the source resource leaves the exposure. Custom security findings provide evidence of drift but do not always automatically prevent resource creation.
C:Marking a finding reviewed without fixing the source resource leaves the exposure. This describes the separate Cloud Storage audit trail for exfiltration mechanism; the present case instead requires Security Health Analytics remediation workflow.
Question 99
Security suspects stolen service account credentials are being used to mine cryptocurrency. If the relevant Event Threat Detection behavior monitoring safeguard is omitted, which outcome is the MOST directly associated failure?
- Signing only a repository name cannot prove integrity of a changed image digest.
- Treating sampled flow metadata as complete packet capture may hide short or unobserved exchanges.
- Disabling relevant audit data can limit the ability to reconstruct malicious behavior.
- Shortening retention indiscriminately can erase regulatory or forensic evidence.
Explanation
Correct Answer
C:Disabling relevant audit data can limit the ability to reconstruct malicious behavior. Threat detection derives signals from audit and operational events, distinct from posture-only scanning. The corrective approach is to validate detection sources, alert routing and incident enrichment.
Incorrect Answers
A:This failure pattern belongs chiefly to Binary Authorization attestor chain of custody; it is not the failure most directly tested in the Event Threat Detection behavior monitoring situation.
B:This failure pattern belongs chiefly to VPC Flow Logs traffic analysis; it is not the failure most directly tested in the Event Threat Detection behavior monitoring situation.
D:Shortening retention indiscriminately can erase regulatory or forensic evidence. This failure pattern belongs chiefly to Log bucket retention and immutable audit evidence; it is not the failure most directly tested in the Event Threat Detection behavior monitoring situation. Disabling relevant audit data can limit the ability to reconstruct malicious behavior.
Question 100
A compromised frontend VM should not connect to unrelated internal databases. Which practical correction or implementation decision is MOST directly appropriate?
- Test an explicit flow matrix for allowed and denied source-destination pairs.
- Test subnet attachment and unauthorized host-network mutation from service identities.
- Allow all traffic with a shared internal IP range and call the tiers microsegmented.
- Use dry-run method traces and negative tests before approving exceptions.
Explanation
Correct Answer
A:Test an explicit flow matrix for allowed and denied source-destination pairs. The intended behavior can be checked because authorized web-to-API and API-to-database flows succeed while web-to-database flows fail.
Incorrect Answers
B:Test subnet attachment and unauthorized host-network mutation from service identities. This could help Shared VPC host and service project boundaries, but it does not resolve the N-tier east-west network segmentation case. Lateral movement defenses require explicit east-west traffic restrictions independent of perimeter ingress.
C:Allow all traffic with a shared internal IP range and call the tiers microsegmented. This would not correct the N-tier east-west network segmentation workflow. One wide internal allow rule can turn a frontend breach into database reachability.
D:Use dry-run method traces and negative tests before approving exceptions. This could help VPC Service Controls ingress egress policy, but it does not resolve the N-tier east-west network segmentation case. Lateral movement defenses require explicit east-west traffic restrictions independent of perimeter ingress.