Google Professional Cloud Security Engineer Practice Test 90
Question 890
A build pipeline needs upload privileges only to its designated regional repository. Which practical correction or implementation decision is MOST directly appropriate?
- Validate rule conditions, scanning coverage and remediation workflow in a test project.
- Test write, delete and pull behavior for several repository-specific identities.
- Make every artifact repository publicly writable to simplify build troubleshooting.
- Test pod identities from distinct namespaces and confirm restricted API calls fail.
Explanation
Correct Answer
B:Test write, delete and pull behavior for several repository-specific identities. The intended behavior can be checked because pipeline uploads and runtime pulls work only for approved repositories.
Incorrect Answers
A:Validate rule conditions, scanning coverage and remediation workflow in a test project. This could help Security Health Analytics custom finding, but it does not resolve the Artifact Registry repository IAM isolation case. Artifact Registry permissions can be scoped independently from global project administrative access.
C:Make every artifact repository publicly writable to simplify build troubleshooting. This would not correct the Artifact Registry repository IAM isolation workflow. Giving all runners registry administrator access enables modification of unrelated supply-chain artifacts.
D:Test pod identities from distinct namespaces and confirm restricted API calls fail. This could help GKE Workload Identity for deployment runtime, but it does not resolve the Artifact Registry repository IAM isolation case. Artifact Registry permissions can be scoped independently from global project administrative access.
Question 891
A customer asks for evidence that cloud security incidents have defined severity and response ownership. If the relevant SOC control evidence and incident workflow safeguard is omitted, which outcome is the MOST directly associated failure?
- Assuming a vendor certificate transfers regulatory responsibility to the customer workload may produce audit gaps.
- An unused incident playbook cannot demonstrate a tested detection and response process.
- Assuming Access Approval controls every automated platform operation can misstate its scope.
- An easily phished one-time passcode may not stop real-time credential relay attacks.
Explanation
Correct Answer
B:An unused incident playbook cannot demonstrate a tested detection and response process. Audit frameworks assess the operation of controls, not only the existence of a vendor badge. The corrective approach is to conduct tabletop validation and sample ticket evidence against documented escalation targets.
Incorrect Answers
A:This failure pattern belongs chiefly to Vendor shared-control contract and service eligibility; it is not the failure most directly tested in the SOC control evidence and incident workflow situation.
C:This failure pattern belongs chiefly to Access Approval Google support access; it is not the failure most directly tested in the SOC control evidence and incident workflow situation.
D:An easily phished one-time passcode may not stop real-time credential relay attacks. This failure pattern belongs chiefly to Phishing-resistant multi-factor verification; it is not the failure most directly tested in the SOC control evidence and incident workflow situation. An unused incident playbook cannot demonstrate a tested detection and response process.
Question 892
Network engineers think Interconnect's private routing automatically satisfies application encryption policy. An engineer must explain the recommendation for Cloud Interconnect transport and encryption. Which underlying principle is the MOST accurate?
- Private Google Access supports API reachability for suitable private-resource networking contexts.
- Private transport connectivity is distinct from cryptographic confidentiality and encrypted tunnel requirements.
- 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.
Explanation
Correct Answer
B:Private transport connectivity is distinct from cryptographic confidentiality and encrypted tunnel requirements. Therefore the implementation decision is to choose Cloud Interconnect for suitable dedicated connectivity and layer required encryption or MACsec where supported.
Incorrect Answers
A:Assuming every Interconnect circuit is automatically encrypted end to end can violate policy. This describes the separate Private Google Access for internal VMs mechanism; the present case instead requires Cloud Interconnect transport and encryption.
C:Assuming every Interconnect circuit is automatically encrypted end to end can violate policy. HA VPN provides IPsec-based encrypted connectivity while redundancy depends on correct tunnel and BGP design.
D:Assuming every Interconnect circuit is automatically encrypted end to end can violate policy. Access levels are contextual expressions that must be consumed by a policy to enforce a boundary.
Question 893
An auditor wants to inventory regulated fields in newly uploaded Cloud Storage objects. Which practical correction or implementation decision is MOST directly appropriate?
- Assume renaming an object to public-safe prevents the inspection engine from finding PII.
- Validate selected detectors, false positives and secure findings storage before broad scanning.
- Test precision and recall with representative known and unknown PII formats.
- Test private IP route, database roles and unauthorized connection attempts.
Explanation
Correct Answer
B:Validate selected detectors, false positives and secure findings storage before broad scanning. The intended behavior can be checked because findings identify sensitive matches with record-level access governed by project policy.
Incorrect Answers
A:Assume renaming an object to public-safe prevents the inspection engine from finding PII. This would not correct the Sensitive Data Protection PII inspection workflow. Scanning sensitive data into an openly shared findings table can create a second disclosure path.
C:Test precision and recall with representative known and unknown PII formats. This could help Sensitive Data Protection inspection redaction, but it does not resolve the Sensitive Data Protection PII inspection case. Sensitive Data Protection classifies sensitive content but does not automatically revoke every reader's IAM permissions.
D:Test private IP route, database roles and unauthorized connection attempts. This could help Cloud SQL private IP and database authentication, but it does not resolve the Sensitive Data Protection PII inspection case. Sensitive Data Protection classifies sensitive content but does not automatically revoke every reader's IAM permissions.
Question 894
A security engineer investigates whether inherited allow, deny or condition rules explain an access failure. Which practical correction or implementation decision is MOST directly appropriate?
- Automatically add project Editor whenever a user reports permission denied without inspecting policy.
- Reproduce the authorization check with precise principal, permission and target resource.
- Use Policy Troubleshooter and negative tests to verify effective role scope.
- Inspect policy inheritance and test both denied and exempt principals.
Explanation
Correct Answer
B:Reproduce the authorization check with precise principal, permission and target resource. The intended behavior can be checked because the identified rule explains successful and failed operations for the exact principal and resource.
Incorrect Answers
A:Automatically add project Editor whenever a user reports permission denied without inspecting policy. This would not correct the IAM effective permission troubleshooting workflow. Guessing from only the project IAM screen may overlook higher-level policies.
C:Use Policy Troubleshooter and negative tests to verify effective role scope. This could help IAM least-privilege role scoping, but it does not resolve the IAM effective permission troubleshooting case. Effective IAM authorization depends on inheritance, permission, conditions and explicit deny interactions.
D:Inspect policy inheritance and test both denied and exempt principals. This could help IAM Deny policy enforcement, but it does not resolve the IAM effective permission troubleshooting case. Effective IAM authorization depends on inheritance, permission, conditions and explicit deny interactions.
Question 895
A company rotates internal issuing authorities and must avoid issuing certificates to unapproved teams. Which practical correction or implementation decision is MOST directly appropriate?
- Validate traffic aggregation keys, request volume windows and response codes under load.
- Validate issuance permissions, certificate chain and revocation or rotation processes.
- Test policy preview, adaptive traffic samples and false-positive behavior before enforce mode.
- Post a CA private signing key in a container environment variable accessible to all developers.
Explanation
Correct Answer
B:Validate issuance permissions, certificate chain and revocation or rotation processes. The intended behavior can be checked because approved workloads receive valid certificates and unauthorized principals cannot issue new ones.
Incorrect Answers
A:Validate traffic aggregation keys, request volume windows and response codes under load. This could help Cloud Armor rate limiting and bot mitigation, but it does not resolve the Certificate Authority Service private PKI case. Private CA service manages certificate issuance trust independently of external web DNS registration.
C:Test policy preview, adaptive traffic samples and false-positive behavior before enforce mode. This could help Cloud Armor WAF rule precedence, but it does not resolve the Certificate Authority Service private PKI case. Private CA service manages certificate issuance trust independently of external web DNS registration.
D:Post a CA private signing key in a container environment variable accessible to all developers. This would not correct the Certificate Authority Service private PKI workflow. Giving every project certificate authority administrator access can permit forged internal identities.
Question 896
A multi-business organization needs common guardrails while preserving team-level project autonomy. Which approach BEST meets the requirement while respecting the system constraints?
- Assume every project starts with no inherited roles regardless of its parent folder.
- Use supported organization policy domain-restricted sharing controls with approved identities or exceptions.
- Design organization, folders and projects to reflect governance boundaries and inherited IAM needs.
- Grant only the narrow permitted policy exception and retain documented rollback and audit approval.
Explanation
Correct Answer
C:Design organization, folders and projects to reflect governance boundaries and inherited IAM needs. IAM grants propagate downward through the Google Cloud resource hierarchy unless constrained by relevant controls. Verification should demonstrate that child project effective permissions and policy restrictions match the documented parent hierarchy.
Incorrect Answers
A:Assume every project starts with no inherited roles regardless of its parent folder. This is an unsafe or ineffective shortcut for Organization hierarchy and inherited roles. Misplaced high-level grants can grant permissions to every descendant project.
B:Use supported organization policy domain-restricted sharing controls with approved identities or exceptions. This primarily addresses Restricting allowed IAM member domains, not the specific Organization hierarchy and inherited roles decision. Here, iAM grants propagate downward through the Google Cloud resource hierarchy unless constrained by relevant controls.
D:Grant only the narrow permitted policy exception and retain documented rollback and audit approval. This primarily addresses Hierarchy-scoped exception and policy rollback, not the specific Organization hierarchy and inherited roles decision. Here, iAM grants propagate downward through the Google Cloud resource hierarchy unless constrained by relevant controls.
Question 897
Security wants inspection visibility beyond high-level VPC flow metadata for one controlled segment. An engineer must explain the recommendation for Packet Mirroring for intrusion investigation. Which underlying principle is the MOST accurate?
- Aggregated sinks centralize eligible descendant logs but need correct scope and sink writer identity access.
- Kubernetes network policies can restrict pod traffic when enforced by the cluster's networking implementation.
- Packet Mirroring copies network packets to authorized collectors and can expose sensitive traffic.
- Threat detection derives signals from audit and operational events, distinct from posture-only scanning.
Explanation
Correct Answer
C:Packet Mirroring copies network packets to authorized collectors and can expose sensitive traffic. Therefore the implementation decision is to configure supported Packet Mirroring with bounded source selection and collector permissions.
Incorrect Answers
A:Mirroring all production traffic to an untrusted collector creates a new exfiltration risk. Aggregated sinks centralize eligible descendant logs but need correct scope and sink writer identity access.
B:Mirroring all production traffic to an untrusted collector creates a new exfiltration risk. Kubernetes network policies can restrict pod traffic when enforced by the cluster's networking implementation.
D:Mirroring all production traffic to an untrusted collector creates a new exfiltration risk. Threat detection derives signals from audit and operational events, distinct from posture-only scanning.
Question 898
A platform administrator should rotate keys but must not decrypt protected application data. If the relevant Cloud KMS crypto key role separation safeguard is omitted, which outcome is the MOST directly associated failure?
- Skipping certificate verification permits active interception despite an encrypted connection.
- Combining key admin and decrypter grants broadly defeats separation of duties.
- Poor tweak or key management can weaken confidentiality and cause inconsistent decryptability.
- Copying raw key bytes into an unencrypted text field undermines key custody.
Explanation
Correct Answer
B:Combining key admin and decrypter grants broadly defeats separation of duties. Cloud KMS separates administrative operations from cryptographic actions through IAM permissions. The corrective approach is to review IAM roles and exercise encrypt or decrypt denial with representative identities.
Incorrect Answers
A: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 crypto key role separation situation. Combining key admin and decrypter grants broadly defeats separation of duties.
C:Poor tweak or key management can weaken confidentiality and cause inconsistent decryptability. This failure pattern belongs chiefly to Format-preserving encryption data handling; it is not the failure most directly tested in the Cloud KMS crypto key role separation situation. Combining key admin and decrypter grants broadly defeats separation of duties.
D:Copying raw key bytes into an unencrypted text field undermines key custody. This failure pattern belongs chiefly to Cloud KMS imported key material; it is not the failure most directly tested in the Cloud KMS crypto key role separation situation. Combining key admin and decrypter grants broadly defeats separation of duties.
Question 899
Several projects drift from required restrictions on public IPs and service account keys. If the relevant Custom organization policy drift monitoring safeguard is omitted, which outcome is the MOST directly associated failure?
- A one-time audit without ongoing monitoring can miss later configuration changes.
- An overprivileged builder can modify deployment images, secrets and policies beyond its intended pipeline.
- Giving all runners registry administrator access enables modification of unrelated supply-chain artifacts.
- Assuming all service data reads are logged by default may leave incident evidence gaps.
Explanation
Correct Answer
A:A one-time audit without ongoing monitoring can miss later configuration changes. Preventive guardrails and detective drift monitoring complement each other across cloud projects. The corrective approach is to compare live resource posture against the approved baseline and test violation creation.
Incorrect Answers
B:This failure pattern belongs chiefly to Secure Cloud Build execution identity; it is not the failure most directly tested in the Custom organization policy drift monitoring situation.
C:Giving all runners registry administrator access enables modification of unrelated supply-chain artifacts. This failure pattern belongs chiefly to Artifact Registry repository IAM isolation; it is not the failure most directly tested in the Custom organization policy drift monitoring situation. A one-time audit without ongoing monitoring can miss later configuration changes.
D:This failure pattern belongs chiefly to Data Access Audit Logs enablement and cost; it is not the failure most directly tested in the Custom organization policy drift monitoring situation.
Question 900
Security wants to prevent unauthorized Cloud Run service revisions from accepting traffic. Which approach BEST meets the requirement while respecting the system constraints?
- Enable supported container vulnerability scanning and connect findings to release review.
- Enable applicable Cloud Run Binary Authorization with reviewed service and job policy semantics.
- Configure trusted attestors and require valid attestations bound to the specific image digest.
- Assume changing a Binary Authorization policy instantly rewrites or terminates all existing Cloud Run revisions.
Explanation
Correct Answer
B:Enable applicable Cloud Run Binary Authorization with reviewed service and job policy semantics. Cloud Run revision admission and job execution have distinct Binary Authorization evaluation timing. Verification should demonstrate that noncompliant new service revisions or job executions fail at their respective enforcement points.
Incorrect Answers
A:Enable supported container vulnerability scanning and connect findings to release review. This primarily addresses Artifact Registry vulnerability scanning policy, not the specific Binary Authorization Cloud Run revision policy decision. Here, cloud Run revision admission and job execution have distinct Binary Authorization evaluation timing.
C:Configure trusted attestors and require valid attestations bound to the specific image digest. This primarily addresses Binary Authorization attestor chain of custody, not the specific Binary Authorization Cloud Run revision policy decision. Here, cloud Run revision admission and job execution have distinct Binary Authorization evaluation timing.
D:Assume changing a Binary Authorization policy instantly rewrites or terminates all existing Cloud Run revisions. This is an unsafe or ineffective shortcut for Binary Authorization Cloud Run revision policy. Updating a policy does not automatically retroactively remove every existing running revision.