Google Professional Cloud Security Engineer Practice Test 85
Question 840
A compliance reviewer must prove new finance employees received only their assigned Cloud Identity group permissions. If the relevant Group-based provisioning audit trail safeguard is omitted, which outcome is the MOST directly associated failure?
- Checking only successful SSO sessions overlooks excess permissions inherited through groups.
- Permanent Owner assignments bypass the intended approval and expiry control.
- Reusing one broad principal mapping for every contractor can grant unauthorized access.
- Broad unreviewed deletion rules can disable legitimate cloud users during synchronization.
Explanation
Correct Answer
A:Checking only successful SSO sessions overlooks excess permissions inherited through groups. Identity groups and IAM inheritance require separate checks for effective access. The corrective approach is to perform regular privileged-group recertification with exception tickets and negative access tests.
Incorrect Answers
B:Permanent Owner assignments bypass the intended approval and expiry control. This failure pattern belongs chiefly to Privileged Access Manager just-in-time approval; it is not the failure most directly tested in the Group-based provisioning audit trail situation. Checking only successful SSO sessions overlooks excess permissions inherited through groups.
C:Reusing one broad principal mapping for every contractor can grant unauthorized access. This failure pattern belongs chiefly to Workforce Identity Federation for external workers; it is not the failure most directly tested in the Group-based provisioning audit trail situation. Checking only successful SSO sessions overlooks excess permissions inherited through groups.
D:Broad unreviewed deletion rules can disable legitimate cloud users during synchronization. This failure pattern belongs chiefly to Cloud Identity directory synchronization; it is not the failure most directly tested in the Group-based provisioning audit trail situation. Checking only successful SSO sessions overlooks excess permissions inherited through groups.
Question 841
An enterprise wants a regional private endpoint for accessing supported managed Google API services. An engineer must explain the recommendation for Private Service Connect Google APIs endpoints. Which underlying principle is the MOST accurate?
- Private Google Access supports API reachability for suitable private-resource networking contexts.
- Cloud Router exchanges dynamic routing information but does not itself carry application packets.
- Hybrid connectivity creates a route path but application and subnet firewall policy still governs permitted flows.
- Private Service Connect provides controlled private connectivity to supported services and APIs.
Explanation
Correct Answer
D:Private Service Connect provides controlled private connectivity to supported services and APIs. Therefore the implementation decision is to create supported Private Service Connect endpoint connectivity for Google APIs with matching DNS.
Incorrect Answers
A:Private Google Access supports API reachability for suitable private-resource networking contexts. This describes the separate Private Google Access for internal VMs mechanism; the present case instead requires Private Service Connect Google APIs endpoints. Confusing PSC endpoint creation with a resource IAM role may leave access denied.
B:Cloud Router exchanges dynamic routing information but does not itself carry application packets. This describes the separate Cloud Router dynamic BGP advertisement mechanism; the present case instead requires Private Service Connect Google APIs endpoints. Confusing PSC endpoint creation with a resource IAM role may leave access denied.
C:Hybrid connectivity creates a route path but application and subnet firewall policy still governs permitted flows. This describes the separate Hybrid network segmentation policy placement mechanism; the present case instead requires Private Service Connect Google APIs endpoints. Confusing PSC endpoint creation with a resource IAM role may leave access denied.
Question 842
A company separates finance production, shared operations and development projects for governance. If the relevant Project folder segmentation for environments safeguard is omitted, which outcome is the MOST directly associated failure?
- Accepting a token intended for another resource can enable token substitution.
- A policy with broad project exemption may restore publicly reachable attack paths.
- Putting development projects in a production folder can impose unintended controls and privileges.
- A blanket top-level policy reset can expose every child project to avoid one outage.
Explanation
Correct Answer
C:Putting development projects in a production folder can impose unintended controls and privileges. Resource hierarchy shapes both inheritance and administrative blast radius. The corrective approach is to map existing project ancestry before migration and validate inherited policies.
Incorrect Answers
A:Accepting a token intended for another resource can enable token substitution. This failure pattern belongs chiefly to SAML versus OAuth authentication purpose; it is not the failure most directly tested in the Project folder segmentation for environments situation. Putting development projects in a production folder can impose unintended controls and privileges.
B:This failure pattern belongs chiefly to Restricting external IPv4 addresses through org policy; it is not the failure most directly tested in the Project folder segmentation for environments situation.
D:This failure pattern belongs chiefly to Hierarchy-scoped exception and policy rollback; it is not the failure most directly tested in the Project folder segmentation for environments situation.
Question 843
A network team needs to advertise only selected on-premises prefixes to Google Cloud. Testing exposes this failure: Incorrect or broad advertisements can blackhole or leak sensitive routes. Which remediation should be applied FIRST?
- Choose Cloud Interconnect for suitable dedicated connectivity and layer required encryption or MACsec where supported.
- Inspect BGP session status, next hops and custom advertisement masks.
- Create a Cloud Router object without BGP peers and assume all VPN routes are automatically exchanged.
- Configure supported restricted.googleapis.com DNS and routing where the perimeter design requires it.
Explanation
Correct Answer
B:Inspect BGP session status, next hops and custom advertisement masks. Confirmation requires seeing that expected network prefixes appear in learned and advertised route tables after convergence.
Incorrect Answers
A:Choose Cloud Interconnect for suitable dedicated connectivity and layer required encryption or MACsec where supported. It addresses Cloud Interconnect transport and encryption, not the diagnosed Cloud Router dynamic BGP advertisement failure. Incorrect or broad advertisements can blackhole or leak sensitive routes.
C:Create a Cloud Router object without BGP peers and assume all VPN routes are automatically exchanged. This retains the Cloud Router dynamic BGP advertisement problem. Cloud Router exchanges dynamic routing information but does not itself carry application packets.
D:Configure supported restricted.googleapis.com DNS and routing where the perimeter design requires it. It addresses Restricted Google APIs VIP for perimeters, not the diagnosed Cloud Router dynamic BGP advertisement failure. Incorrect or broad advertisements can blackhole or leak sensitive routes.
Question 844
On-call engineers need emergency project administration for approved maintenance windows. Which approach BEST meets the requirement while respecting the system constraints?
- Publish a static shared project Owner key to let technicians bypass the approval queue.
- Enable uniform bucket-level access where appropriate and manage object access through IAM.
- Use supported IAM Conditions expressions with the correct resource and time attributes.
- Configure Privileged Access Manager entitlement, approval flow, eligibility and time-limited grants.
Explanation
Correct Answer
D:Configure Privileged Access Manager entitlement, approval flow, eligibility and time-limited grants. Just-in-time privileged access reduces standing administrative exposure and preserves an approval record. Verification should demonstrate that approved requests yield bounded temporary privileges and unapproved users cannot self-elevate.
Incorrect Answers
A:Publish a static shared project Owner key to let technicians bypass the approval queue. This is an unsafe or ineffective shortcut for Privileged Access Manager just-in-time approval. Permanent Owner assignments bypass the intended approval and expiry control.
B:Enable uniform bucket-level access where appropriate and manage object access through IAM. This primarily addresses Cloud Storage ACL versus IAM with uniform access, not the specific Privileged Access Manager just-in-time approval decision. Here, just-in-time privileged access reduces standing administrative exposure and preserves an approval record.
C:Use supported IAM Conditions expressions with the correct resource and time attributes. This primarily addresses Conditional IAM access restrictions, not the specific Privileged Access Manager just-in-time approval decision. Here, just-in-time privileged access reduces standing administrative exposure and preserves an approval record.
Question 845
A financial reviewer requires a second approver before an operator receives powerful access. Select TWO statements that correctly combine the Privileged Access Manager just-in-time approval method with evidence or its governing principle.
- Publish a static shared project Owner key to let technicians bypass the approval queue.
- Enable uniform bucket-level access where appropriate and manage object access through IAM.
- Use supported IAM Conditions expressions with the correct resource and time attributes.
- Configure Privileged Access Manager entitlement, approval flow, eligibility and time-limited grants.
- Approved requests yield bounded temporary privileges and unapproved users cannot self-elevate.
Explanation
Correct Answers
D:Configure Privileged Access Manager entitlement, approval flow, eligibility and time-limited grants. This is the intended action for Privileged Access Manager just-in-time approval.
E:Approved requests yield bounded temporary privileges and unapproved users cannot self-elevate. This is directly observable validation of the Privileged Access Manager just-in-time approval result.
Incorrect Answers
A:Publish a static shared project Owner key to let technicians bypass the approval queue. This is not part of a safe or effective Privileged Access Manager just-in-time approval design. Permanent Owner assignments bypass the intended approval and expiry control.
B:Enable uniform bucket-level access where appropriate and manage object access through IAM. This serves the different Cloud Storage ACL versus IAM with uniform access objective, not the selected Privileged Access Manager just-in-time approval plan. Just-in-time privileged access reduces standing administrative exposure and preserves an approval record.
C:Use supported IAM Conditions expressions with the correct resource and time attributes. This serves the different Conditional IAM access restrictions objective, not the selected Privileged Access Manager just-in-time approval plan. Just-in-time privileged access reduces standing administrative exposure and preserves an approval record.
Question 846
A GKE cluster must run only approved container images built by its controlled pipeline. If the relevant Binary Authorization GKE admission safeguard is omitted, which outcome is the MOST directly associated failure?
- Without deploy enforcement a registry push alone may let unreviewed images run.
- Writing a policy YAML in an unsupported or unenforced cluster does not create isolation.
- Giving all developers logging administrator and private-log access may expose sensitive audit metadata.
- Treating a successful image push as proof all dependencies are free of known CVEs may ship unsafe images.
Explanation
Correct Answer
A:Without deploy enforcement a registry push alone may let unreviewed images run. Binary Authorization checks deployment policy and attestation against image identity rather than trusting a mutable tag. The corrective approach is to test missing, invalid and valid attestations using immutable image digests.
Incorrect Answers
B:This failure pattern belongs chiefly to GKE network policy for pod segmentation; it is not the failure most directly tested in the Binary Authorization GKE admission situation.
C:This failure pattern belongs chiefly to Least privilege access to audit logs; it is not the failure most directly tested in the Binary Authorization GKE admission situation.
D:This failure pattern belongs chiefly to Artifact Registry vulnerability scanning policy; it is not the failure most directly tested in the Binary Authorization GKE admission situation.
Question 847
Data engineers need to prevent shared training jobs from reading datasets belonging to other tenants. Which practical correction or implementation decision is MOST directly appropriate?
- Give every training run project Owner and assume the trained weights cannot expose private information.
- Test malicious retrieval fixtures and verify independent permission checks on every sensitive tool.
- Perform adversarial data-exposure tests and verify effective data classification policies.
- Test data access, job execution identity and output artifact permissions before training.
Explanation
Correct Answer
D:Test data access, job execution identity and output artifact permissions before training. The intended behavior can be checked because training jobs ingest only approved data and unauthorized dataset access fails in tests.
Incorrect Answers
A:Give every training run project Owner and assume the trained weights cannot expose private information. This would not correct the AI training data isolation and least privilege workflow. Overprivileged training pipelines can leak data into artifacts and logs.
B:Test malicious retrieval fixtures and verify independent permission checks on every sensitive tool. This could help Prompt injection and retrieved data boundary, but it does not resolve the AI training data isolation and least privilege case. AI training workloads inherit ordinary cloud identity and data governance responsibilities.
C:Perform adversarial data-exposure tests and verify effective data classification policies. This could help AI output data loss prevention, but it does not resolve the AI training data isolation and least privilege case. AI training workloads inherit ordinary cloud identity and data governance responsibilities.
Question 848
Regulators require supported storage resources to comply with a company-specific configuration predicate. Which approach BEST meets the requirement while respecting the system constraints?
- Grant only the narrow permitted policy exception and retain documented rollback and audit approval.
- Claim arbitrary free-text comments can enforce any Cloud API property as a custom policy.
- Define and enforce an applicable custom organization policy constraint with supported resource rules.
- Configure the supported Compute Engine external-IP restriction organization policy and review project exceptions.
Explanation
Correct Answer
C:Define and enforce an applicable custom organization policy constraint with supported resource rules. Custom organization constraints restrict supported resource configurations using explicit evaluated rules. Verification should demonstrate that compliant test creations succeed and prohibited configurations are rejected with useful error evidence.
Incorrect Answers
A: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 Custom organization policy on resource attributes decision. Here, custom organization constraints restrict supported resource configurations using explicit evaluated rules.
B:Claim arbitrary free-text comments can enforce any Cloud API property as a custom policy. This is an unsafe or ineffective shortcut for Custom organization policy on resource attributes. Untested constraints may unexpectedly block service integrations and maintenance.
D:Configure the supported Compute Engine external-IP restriction organization policy and review project exceptions. This primarily addresses Restricting external IPv4 addresses through org policy, not the specific Custom organization policy on resource attributes decision. Here, custom organization constraints restrict supported resource configurations using explicit evaluated rules.
Question 849
A scheduled export is authorized to leave one service perimeter but not access all services. Select TWO statements that correctly combine the VPC Service Controls ingress egress policy method with evidence or its governing principle.
- Only approved cross-boundary calls succeed and unrelated principals remain denied.
- Configure Shared VPC with host and service projects and appropriate subnet-use IAM grants.
- Add narrowly scoped VPC Service Controls ingress or egress rules using principal and service operation constraints.
- Apply routed network segmentation and firewall policies to restrict hybrid source ranges and workload targets.
- Add any user to a perimeter access list and assume that controls all destination API methods automatically.
Explanation
Correct Answers
A:Only approved cross-boundary calls succeed and unrelated principals remain denied. This is directly observable validation of the VPC Service Controls ingress egress policy result.
C:Add narrowly scoped VPC Service Controls ingress or egress rules using principal and service operation constraints. This is the intended action for VPC Service Controls ingress egress policy.
Incorrect Answers
B:Configure Shared VPC with host and service projects and appropriate subnet-use IAM grants. This serves the different Shared VPC host and service project boundaries objective, not the selected VPC Service Controls ingress egress policy plan. Ingress and egress policies define controlled exceptions around restricted service perimeter boundaries.
D:Apply routed network segmentation and firewall policies to restrict hybrid source ranges and workload targets. This serves the different Hybrid network segmentation policy placement objective, not the selected VPC Service Controls ingress egress policy plan. Ingress and egress policies define controlled exceptions around restricted service perimeter boundaries.
E:Add any user to a perimeter access list and assume that controls all destination API methods automatically. This is not part of a safe or effective VPC Service Controls ingress egress policy design. A wildcard ingress policy can eliminate the intended restriction for untrusted callers.
Question 850
A team-level firewall allow rule appears insufficient because an inherited firewall policy blocks traffic. An engineer must explain the recommendation for Hierarchical Cloud NGFW policy ordering. Which underlying principle is the MOST accurate?
- Hierarchical firewall policies can govern descendant networks independently of local VPC rule intent.
- Private connectivity mechanisms solve different routing and service exposure problems and are not interchangeable.
- DNSSEC authenticates DNS data integrity but does not encrypt DNS queries or content.
- Edge rate controls mitigate abusive request volume but do not replace application authentication.
Explanation
Correct Answer
A:Hierarchical firewall policies can govern descendant networks independently of local VPC rule intent. Therefore the implementation decision is to configure hierarchical and network firewall policies with correct priority and target scope.
Incorrect Answers
B:Private connectivity mechanisms solve different routing and service exposure problems and are not interchangeable. This describes the separate Private connectivity choice and API access troubleshooting mechanism; the present case instead requires Hierarchical Cloud NGFW policy ordering. Assuming a lower-priority allow overrides a higher-priority deny may leave an exposure or outage.
C:DNSSEC authenticates DNS data integrity but does not encrypt DNS queries or content. This describes the separate Cloud DNSSEC authoritative zone protection mechanism; the present case instead requires Hierarchical Cloud NGFW policy ordering. Assuming a lower-priority allow overrides a higher-priority deny may leave an exposure or outage.
D:Edge rate controls mitigate abusive request volume but do not replace application authentication. This describes the separate Cloud Armor rate limiting and bot mitigation mechanism; the present case instead requires Hierarchical Cloud NGFW policy ordering. Assuming a lower-priority allow overrides a higher-priority deny may leave an exposure or outage.