Google Professional Cloud Security Engineer Practice Test 64
Question 630
An organization must import approved cryptographic key material generated outside Google Cloud. If the relevant Cloud KMS imported key material safeguard is omitted, which outcome is the MOST directly associated failure?
- Saving a filtered query in an analyst workspace does not enforce all later queries.
- Skipping certificate verification permits active interception despite an encrypted connection.
- Removing the service agent's key permissions may make resource data unavailable.
- Copying raw key bytes into an unencrypted text field undermines key custody.
Explanation
Correct Answer
D:Copying raw key bytes into an unencrypted text field undermines key custody. Imported key material requires compatible algorithms and a protected import workflow. The corrective approach is to test version import state and encrypt/decrypt behavior before production cutover.
Incorrect Answers
A:This failure pattern belongs chiefly to BigQuery row-level access policy; it is not the failure most directly tested in the Cloud KMS imported key material situation.
B:Skipping certificate verification permits active interception despite an encrypted connection. This failure pattern belongs chiefly to TLS certificate trust and cipher policy; it is not the failure most directly tested in the Cloud KMS imported key material situation. Copying raw key bytes into an unencrypted text field undermines key custody.
C:Removing the service agent's key permissions may make resource data unavailable. This failure pattern belongs chiefly to Cloud KMS CMEK service agent access; it is not the failure most directly tested in the Cloud KMS imported key material situation. Copying raw key bytes into an unencrypted text field undermines key custody.
Question 631
A remote worker is denied because a contextual access level does not match the request. An engineer must explain the recommendation for Access levels with perimeter identity trust. Which underlying principle is the MOST accurate?
- HA VPN provides IPsec-based encrypted connectivity while redundancy depends on correct tunnel and BGP design.
- Access levels are contextual expressions that must be consumed by a policy to enforce a boundary.
- Shared VPC separates centralized network ownership from application project resource ownership.
- Ingress and egress policies define controlled exceptions around restricted service perimeter boundaries.
Explanation
Correct Answer
B:Access levels are contextual expressions that must be consumed by a policy to enforce a boundary. Therefore the implementation decision is to attach a supported Access Context Manager access level to the relevant perimeter policy.
Incorrect Answers
A:HA VPN provides IPsec-based encrypted connectivity while redundancy depends on correct tunnel and BGP design. This describes the separate HA VPN encrypted hybrid tunnels mechanism; the present case instead requires Access levels with perimeter identity trust. Merely creating a named access level provides no effective network restriction.
C:Shared VPC separates centralized network ownership from application project resource ownership. This describes the separate Shared VPC host and service project boundaries mechanism; the present case instead requires Access levels with perimeter identity trust. Merely creating a named access level provides no effective network restriction.
D:Ingress and egress policies define controlled exceptions around restricted service perimeter boundaries. This describes the separate VPC Service Controls ingress egress policy mechanism; the present case instead requires Access levels with perimeter identity trust. Merely creating a named access level provides no effective network restriction.
Question 632
A shared workstation exposes long-lived browser sessions after an administrator walks away. If the relevant Session duration and reauthentication policy safeguard is omitted, which outcome is the MOST directly associated failure?
- A faulty global SSO switch without recovery may lock out administrators.
- Overbroad scopes or missing audience checks can expose unrelated APIs.
- Unverified group automation may silently grant inherited IAM roles to unintended principals.
- Unlimited privileged browser sessions magnify loss from an unattended workstation.
Explanation
Correct Answer
D:Unlimited privileged browser sessions magnify loss from an unattended workstation. Session expiration limits persistence of authenticated access after initial sign-in. The corrective approach is to test token/session lifecycle behavior for permitted accounts and common admin workflows.
Incorrect Answers
A:A faulty global SSO switch without recovery may lock out administrators. This failure pattern belongs chiefly to Identity-provider failover and recovery testing; it is not the failure most directly tested in the Session duration and reauthentication policy situation. Unlimited privileged browser sessions magnify loss from an unattended workstation.
B:Overbroad scopes or missing audience checks can expose unrelated APIs. This failure pattern belongs chiefly to OAuth audience and minimum scopes; it is not the failure most directly tested in the Session duration and reauthentication policy situation. Unlimited privileged browser sessions magnify loss from an unattended workstation.
C:Unverified group automation may silently grant inherited IAM roles to unintended principals. This failure pattern belongs chiefly to Programmatic group membership governance; it is not the failure most directly tested in the Session duration and reauthentication policy situation. Unlimited privileged browser sessions magnify loss from an unattended workstation.
Question 633
An assessor asks how to prevent a compromised public web tier from reaching the payment database directly. Which practical correction or implementation decision is MOST directly appropriate?
- Test allowed and denied connections and document path controls across projects.
- Test raw-table denial, re-identification risk and audit evidence with separate researcher roles.
- Test folder creation, resource restrictions and eligible personnel or support requirements.
- Declare network segmentation complete solely because payment resources use a different billing account.
Explanation
Correct Answer
A:Test allowed and denied connections and document path controls across projects. The intended behavior can be checked because only explicitly authorized payment-processing flows reach in-scope resources.
Incorrect Answers
B:Test raw-table denial, re-identification risk and audit evidence with separate researcher roles. This could help Healthcare data privacy segmentation, but it does not resolve the PCI workload network segmentation case. PCI segmentation reduces scope and attack surface only when enforced and validated.
C:Test folder creation, resource restrictions and eligible personnel or support requirements. This could help Assured Workloads compliance resource boundary, but it does not resolve the PCI workload network segmentation case. PCI segmentation reduces scope and attack surface only when enforced and validated.
D:Declare network segmentation complete solely because payment resources use a different billing account. This would not correct the PCI workload network segmentation workflow. A shared open network can pull unrelated workloads into the regulated assessment scope.
Question 634
A data team stores customer support transcripts that may contain government identifiers. Which approach BEST meets the requirement while respecting the system constraints?
- Run Sensitive Data Protection inspection using appropriate infoTypes and controlled discovery scope.
- Assume renaming an object to public-safe prevents the inspection engine from finding PII.
- Establish classification, retention and deletion controls on all authorized copies of regulated data.
- Store approved secrets in Secret Manager versions and grant secret access only to intended workloads.
Explanation
Correct Answer
A:Run Sensitive Data Protection inspection using appropriate infoTypes and controlled discovery scope. Sensitive Data Protection classifies sensitive content but does not automatically revoke every reader's IAM permissions. Verification should demonstrate that findings identify sensitive matches with record-level access governed by project policy.
Incorrect Answers
B:Assume renaming an object to public-safe prevents the inspection engine from finding PII. This is an unsafe or ineffective shortcut for Sensitive Data Protection PII inspection. Scanning sensitive data into an openly shared findings table can create a second disclosure path.
C:Establish classification, retention and deletion controls on all authorized copies of regulated data. This primarily addresses Sensitive data retention and data lifecycle, not the specific Sensitive Data Protection PII inspection decision. Here, sensitive Data Protection classifies sensitive content but does not automatically revoke every reader's IAM permissions.
D:Store approved secrets in Secret Manager versions and grant secret access only to intended workloads. This primarily addresses Secret Manager versioning and least privilege, not the specific Sensitive Data Protection PII inspection decision. Here, sensitive Data Protection classifies sensitive content but does not automatically revoke every reader's IAM permissions.
Question 635
A new high-risk resource must produce a trackable finding rather than an unstructured email. Testing exposes this failure: A detector with the wrong scope can miss important projects or overwhelm responders with noise. Which remediation should be applied FIRST?
- Enable Binary Authorization enforcement on GKE with an appropriate signed attestation policy.
- Validate rule conditions, scanning coverage and remediation workflow in a test project.
- Enable supported GKE network policy enforcement and define explicit ingress and egress policies.
- Name a project risk-monitoring and assume Security Health Analytics scans it for custom vulnerabilities.
Explanation
Correct Answer
B:Validate rule conditions, scanning coverage and remediation workflow in a test project. Confirmation requires seeing that test resources create the expected findings and remediated resources reflect updated status.
Incorrect Answers
A:Enable Binary Authorization enforcement on GKE with an appropriate signed attestation policy. It addresses Binary Authorization GKE admission, not the diagnosed Security Health Analytics custom finding failure. A detector with the wrong scope can miss important projects or overwhelm responders with noise.
C:Enable supported GKE network policy enforcement and define explicit ingress and egress policies. It addresses GKE network policy for pod segmentation, not the diagnosed Security Health Analytics custom finding failure. A detector with the wrong scope can miss important projects or overwhelm responders with noise.
D:Name a project risk-monitoring and assume Security Health Analytics scans it for custom vulnerabilities. This retains the Security Health Analytics custom finding problem. Custom security findings provide evidence of drift but do not always automatically prevent resource creation.
Question 636
Investigators discover that expected BigQuery read records are not visible in the selected logging scope. An engineer must explain the recommendation for Data Access Audit Logs enablement and cost. Which underlying principle is the MOST accurate?
- Data Access logs have different availability and configuration behavior from Admin Activity logs.
- VPC Flow Logs summarize network traffic metadata rather than full decrypted application content.
- Log export requires authorized destination write paths, filters and governance beyond local logging.
- Build-time identities are privileged actors in the software supply chain and require least privilege.
Explanation
Correct Answer
A:Data Access logs have different availability and configuration behavior from Admin Activity logs. Therefore the implementation decision is to enable and configure supported Data Access audit logging where needed and verify permissions and retention.
Incorrect Answers
B:VPC Flow Logs summarize network traffic metadata rather than full decrypted application content. This describes the separate VPC Flow Logs traffic analysis mechanism; the present case instead requires Data Access Audit Logs enablement and cost. Assuming all service data reads are logged by default may leave incident evidence gaps.
C:Log export requires authorized destination write paths, filters and governance beyond local logging. This describes the separate External SIEM log export privacy mechanism; the present case instead requires Data Access Audit Logs enablement and cost. Assuming all service data reads are logged by default may leave incident evidence gaps.
D:Build-time identities are privileged actors in the software supply chain and require least privilege. This describes the separate Secure Cloud Build execution identity mechanism; the present case instead requires Data Access Audit Logs enablement and cost. Assuming all service data reads are logged by default may leave incident evidence gaps.
Question 637
A network team needs private IP connectivity without merging VPC network administration. Which practical correction or implementation decision is MOST directly appropriate?
- Assume VPC peering grants all Cloud Storage IAM permissions between projects.
- Use dry-run method traces and negative tests before approving exceptions.
- Check route exchange and add the appropriate direct or supported transit architecture.
- Diagnose deny logs and IAM policy evaluation independently for the exact principal.
Explanation
Correct Answer
C:Check route exchange and add the appropriate direct or supported transit architecture. The intended behavior can be checked because test host reachability and exported routes without assuming implicit transit through another peer.
Incorrect Answers
A:Assume VPC peering grants all Cloud Storage IAM permissions between projects. This would not correct the VPC Network Peering transitivity limits workflow. Designing a three-network hub by peering alone may leave intended routes unreachable.
B: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 VPC Network Peering transitivity limits case. VPC Network Peering does not provide transitive routing or automatic IAM sharing.
D:Diagnose deny logs and IAM policy evaluation independently for the exact principal. This could help VPC Service Controls versus IAM authorization, but it does not resolve the VPC Network Peering transitivity limits case. VPC Network Peering does not provide transitive routing or automatic IAM sharing.
Question 638
A recently changed identity provider certificate causes a new SSO redirect to fail. Select TWO statements that correctly combine the SAML enterprise single sign-on method with evidence or its governing principle.
- Configure Workforce Identity Federation pools, identity provider mappings and least-privilege IAM bindings.
- Integrate the authoritative lifecycle source with managed user provisioning, group removal and deprovisioning controls.
- Configure Cloud Identity third-party SAML SSO with validated signing certificate and identity attributes.
- Test users complete sign-in through the designated provider and break-glass access remains available.
- Configure a firewall allow rule and assume it automatically establishes SAML assertion trust.
Explanation
Correct Answers
C:Configure Cloud Identity third-party SAML SSO with validated signing certificate and identity attributes. This is the intended action for SAML enterprise single sign-on.
D:Test users complete sign-in through the designated provider and break-glass access remains available. This is directly observable validation of the SAML enterprise single sign-on result.
Incorrect Answers
A:Configure Workforce Identity Federation pools, identity provider mappings and least-privilege IAM bindings. This serves the different Workforce Identity Federation for external workers objective, not the selected SAML enterprise single sign-on plan. SAML exchanges signed authentication assertions and requires coordinated trust configuration.
B:Integrate the authoritative lifecycle source with managed user provisioning, group removal and deprovisioning controls. This serves the different Cloud Identity user lifecycle automation objective, not the selected SAML enterprise single sign-on plan. SAML exchanges signed authentication assertions and requires coordinated trust configuration.
E:Configure a firewall allow rule and assume it automatically establishes SAML assertion trust. This is not part of a safe or effective SAML enterprise single sign-on design. Incorrect NameID mapping or expired signing certificates can prevent legitimate employee login.
Question 639
A permitted principal inside a service perimeter receives a BigQuery permission denied error. After the recommended VPC Service Controls versus IAM authorization change is implemented, which observation MOST directly verifies that it works?
- Authorized client traffic reaches the intended service privately and unrelated VPCs cannot use it by default.
- Tests show the caller has both sufficient resource permissions and a permitted perimeter path.
- Service-project instances attach to approved host subnets without receiving unnecessary network administrator roles.
- Only approved cross-boundary calls succeed and unrelated principals remain denied.
Explanation
Correct Answer
B:Tests show the caller has both sufficient resource permissions and a permitted perimeter path. This directly tests whether the VPC Service Controls versus IAM authorization goal was met. VPC Service Controls boundaries do not replace IAM roles on protected data resources.
Incorrect Answers
A:Authorized client traffic reaches the intended service privately and unrelated VPCs cannot use it by default. This is evidence about Private Service Connect Google APIs endpoints, not direct proof of the required VPC Service Controls versus IAM authorization behavior. The relevant check is that tests show the caller has both sufficient resource permissions and a permitted perimeter path.
C:Service-project instances attach to approved host subnets without receiving unnecessary network administrator roles. This is evidence about Shared VPC host and service project boundaries, not direct proof of the required VPC Service Controls versus IAM authorization behavior. The relevant check is that tests show the caller has both sufficient resource permissions and a permitted perimeter path.
D:Only approved cross-boundary calls succeed and unrelated principals remain denied. This is evidence about VPC Service Controls ingress egress policy, not direct proof of the required VPC Service Controls versus IAM authorization behavior. The relevant check is that tests show the caller has both sufficient resource permissions and a permitted perimeter path.
Question 640
An archive must move older objects to a cheaper class after a defined age. After the recommended Cloud Storage object lifecycle transition change is implemented, which observation MOST directly verifies that it works?
- The same query yields permitted rows for each test identity and denies or filters restricted rows.
- Test objects transition or expire according to policy while exempt legal artifacts are preserved.
- The service respects external key availability and data-access behavior under revocation tests.
- Untrusted certificates fail while approved service connections negotiate authenticated encryption.
Explanation
Correct Answer
B:Test objects transition or expire according to policy while exempt legal artifacts are preserved. This directly tests whether the Cloud Storage object lifecycle transition goal was met. Storage lifecycle rules automate object state changes under conditions separate from IAM authorization.
Incorrect Answers
A:The same query yields permitted rows for each test identity and denies or filters restricted rows. This is evidence about BigQuery row-level access policy, not direct proof of the required Cloud Storage object lifecycle transition behavior. The relevant check is that test objects transition or expire according to policy while exempt legal artifacts are preserved.
C: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 Cloud Storage object lifecycle transition behavior. The relevant check is that test objects transition or expire according to policy while exempt legal artifacts are preserved.
D:Untrusted certificates fail while approved service connections negotiate authenticated encryption. This is evidence about TLS certificate trust and cipher policy, not direct proof of the required Cloud Storage object lifecycle transition behavior. The relevant check is that test objects transition or expire according to policy while exempt legal artifacts are preserved.