Google Professional Cloud Security Engineer Practice Test 34
Question 330
Security wants new virtual machines to avoid unnecessary external IP addresses. If the relevant Restricting external IPv4 addresses through org policy safeguard is omitted, which outcome is the MOST directly associated failure?
- An overly permissive domain exception can enable unauthorized external role assignments.
- 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.
- Orphan accounts and retained group memberships can expose projects after employment ends.
Explanation
Correct Answer
B:A policy with broad project exemption may restore publicly reachable attack paths. Organization policy constraints enforce supported resource configuration beyond individual IAM grants. The corrective approach is to test creation with and without external IPs across restricted and exception projects.
Incorrect Answers
A:This failure pattern belongs chiefly to Restricting allowed IAM member domains; it is not the failure most directly tested in the Restricting external IPv4 addresses through org policy situation.
C:This failure pattern belongs chiefly to Project folder segmentation for environments; it is not the failure most directly tested in the Restricting external IPv4 addresses through org policy situation.
D:This failure pattern belongs chiefly to Cloud Identity user lifecycle automation; it is not the failure most directly tested in the Restricting external IPv4 addresses through org policy situation.
Question 331
Compliance requires restricted cloud administrator sessions to expire or reauthenticate more frequently. Testing exposes this failure: Unlimited privileged browser sessions magnify loss from an unattended workstation. Which remediation should be applied FIRST?
- Select the protocol appropriate to identity federation versus delegated API authorization and validate claims.
- Stage authentication changes with a fallback path and monitored test accounts before enforcement.
- Increase a cloud firewall timeout and assume it terminates all browser authentication sessions.
- Test token/session lifecycle behavior for permitted accounts and common admin workflows.
Explanation
Correct Answer
D:Test token/session lifecycle behavior for permitted accounts and common admin workflows. Confirmation requires seeing that old privileged sessions expire according to policy and authorized workers can reauthenticate.
Incorrect Answers
A:Select the protocol appropriate to identity federation versus delegated API authorization and validate claims. It addresses SAML versus OAuth authentication purpose, not the diagnosed Session duration and reauthentication policy failure. Unlimited privileged browser sessions magnify loss from an unattended workstation.
B:Stage authentication changes with a fallback path and monitored test accounts before enforcement. It addresses Identity-provider failover and recovery testing, not the diagnosed Session duration and reauthentication policy failure. Unlimited privileged browser sessions magnify loss from an unattended workstation.
C:Increase a cloud firewall timeout and assume it terminates all browser authentication sessions. This retains the Session duration and reauthentication policy problem. Session expiration limits persistence of authenticated access after initial sign-in.
Question 332
A dataset needs defined deletion, anonymization and backup handling after a compliance retention window. Which practical correction or implementation decision is MOST directly appropriate?
- Test precision and recall with representative known and unknown PII formats.
- Change the table description to expired and assume every backup copy is deleted.
- Test lifecycle execution and backup exception handling against retention requirements.
- Validate format rules, deterministic behavior where required and cryptographic key permissions.
Explanation
Correct Answer
C:Test lifecycle execution and backup exception handling against retention requirements. The intended behavior can be checked because expired personal data is removed under policy with evidence covering relevant snapshots and exports.
Incorrect Answers
A: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 retention and data lifecycle case. Minimization and lifecycle governance reduce residual sensitive-data exposure beyond IAM encryption.
B:Change the table description to expired and assume every backup copy is deleted. This would not correct the Sensitive data retention and data lifecycle workflow. Leaving uncontrolled copies in exports and logs can defeat a primary dataset deletion policy.
D:Validate format rules, deterministic behavior where required and cryptographic key permissions. This could help Format-preserving encryption data handling, but it does not resolve the Sensitive data retention and data lifecycle case. Minimization and lifecycle governance reduce residual sensitive-data exposure beyond IAM encryption.
Question 333
Security operations must ensure a lost third-party SSO provider does not lock out every Google Cloud identity administrator. After the recommended Super administrator emergency access change is implemented, which observation MOST directly verifies that it works?
- Approved external subjects obtain federated console or API access while unmapped identities are denied.
- Operators can execute approved tasks but cannot grant themselves unrelated security-admin privileges.
- Test users complete sign-in through the designated provider and break-glass access remains available.
- Emergency accounts can regain administrative access during an identity-provider outage without being used routinely.
Explanation
Correct Answer
D:Emergency accounts can regain administrative access during an identity-provider outage without being used routinely. This directly tests whether the Super administrator emergency access goal was met. Super administrators have organization-wide identity privileges that require heightened protection and auditing.
Incorrect Answers
A:Approved external subjects obtain federated console or API access while unmapped identities are denied. This is evidence about Workforce Identity Federation for external workers, not direct proof of the required Super administrator emergency access behavior. The relevant check is that emergency accounts can regain administrative access during an identity-provider outage without being used routinely.
B:Operators can execute approved tasks but cannot grant themselves unrelated security-admin privileges. This is evidence about IAM separation of security duties, not direct proof of the required Super administrator emergency access behavior. The relevant check is that emergency accounts can regain administrative access during an identity-provider outage without being used routinely.
C:Test users complete sign-in through the designated provider and break-glass access remains available. This is evidence about SAML enterprise single sign-on, not direct proof of the required Super administrator emergency access behavior. The relevant check is that emergency accounts can regain administrative access during an identity-provider outage without being used routinely.
Question 334
Compliance requires different access and retention treatment depending on information sensitivity. Select TWO statements that correctly combine the Sensitive data classification and policy labels method with evidence or its governing principle.
- Classify data and map each class to applicable access, encryption, monitoring and retention controls.
- Document in-scope resources, identities, services, networks, external dependencies and data flows.
- Assume data becomes encrypted and access-restricted when its table description contains confidential.
- Map controls to documented incident runbooks, test outcomes and preserved audit logs.
- Sample datasets receive appropriate handling rules that match the approved classification.
Explanation
Correct Answers
A:Classify data and map each class to applicable access, encryption, monitoring and retention controls. This is the intended action for Sensitive data classification and policy labels.
E:Sample datasets receive appropriate handling rules that match the approved classification. This is directly observable validation of the Sensitive data classification and policy labels result.
Incorrect Answers
B:Document in-scope resources, identities, services, networks, external dependencies and data flows. This serves the different Regulatory scope inventory and boundaries objective, not the selected Sensitive data classification and policy labels plan. Data classification drives control selection and should be based on sensitivity and legal purpose.
C:Assume data becomes encrypted and access-restricted when its table description contains confidential. This is not part of a safe or effective Sensitive data classification and policy labels design. A generic restricted label without actual IAM or lifecycle rules offers no confidentiality guarantee.
D:Map controls to documented incident runbooks, test outcomes and preserved audit logs. This serves the different SOC control evidence and incident workflow objective, not the selected Sensitive data classification and policy labels plan. Data classification drives control selection and should be based on sensitivity and legal purpose.
Question 335
A team trains on Compute Engine VMs and assumes Google manages all guest operating system patches. If the relevant IaaS versus managed AI training boundary safeguard is omitted, which outcome is the MOST directly associated failure?
- Copying raw key bytes into an unencrypted text field undermines key custody.
- Treating retrieved text as a privileged system command can disclose protected data.
- Importing unreviewed model files can introduce malicious code or poisoned behavior.
- Misunderstanding the service model can leave unpatched training images or ungoverned data access.
Explanation
Correct Answer
D:Misunderstanding the service model can leave unpatched training images or ungoverned data access. IaaS-hosted models leave more guest and runtime controls with customers than managed AI services. The corrective approach is to create a workload-specific shared-responsibility matrix and verify controls.
Incorrect Answers
A:This failure pattern belongs chiefly to Cloud KMS imported key material; it is not the failure most directly tested in the IaaS versus managed AI training boundary situation.
B:This failure pattern belongs chiefly to Prompt injection and retrieved data boundary; it is not the failure most directly tested in the IaaS versus managed AI training boundary situation.
C:This failure pattern belongs chiefly to AI model artifact provenance and integrity; it is not the failure most directly tested in the IaaS versus managed AI training boundary situation.
Question 336
A retailer processes public catalog data alongside highly confidential customer payment metadata. After the recommended Sensitive data classification and policy labels change is implemented, which observation MOST directly verifies that it works?
- Sample datasets receive appropriate handling rules that match the approved classification.
- Provider-related access entries and customer administrative events are categorized correctly.
- ACL-based grants no longer provide unintended access and IAM-defined users continue to work.
- Verified resource metadata and data flows stay within the approved geographic policy boundary.
Explanation
Correct Answer
A:Sample datasets receive appropriate handling rules that match the approved classification. This directly tests whether the Sensitive data classification and policy labels goal was met. Data classification drives control selection and should be based on sensitivity and legal purpose.
Incorrect Answers
B:Provider-related access entries and customer administrative events are categorized correctly. This is evidence about Access Transparency provider audit visibility, not direct proof of the required Sensitive data classification and policy labels behavior. The relevant check is that sample datasets receive appropriate handling rules that match the approved classification.
C:ACL-based grants no longer provide unintended access and IAM-defined users continue to work. This is evidence about Cloud Storage ACL versus IAM with uniform access, not direct proof of the required Sensitive data classification and policy labels behavior. The relevant check is that sample datasets receive appropriate handling rules that match the approved classification.
D:Verified resource metadata and data flows stay within the approved geographic policy boundary. This is evidence about Data residency and regionalization validation, not direct proof of the required Sensitive data classification and policy labels behavior. The relevant check is that sample datasets receive appropriate handling rules that match the approved classification.
Question 337
A company rotates internal issuing authorities and must avoid issuing certificates to unapproved teams. Select TWO statements that correctly combine the Certificate Authority Service private PKI method with evidence or its governing principle.
- Post a CA private signing key in a container environment variable accessible to all developers.
- Configure hierarchical and network firewall policies with correct priority and target scope.
- Design a supported Certificate Authority Service CA pool and narrowly delegated certificate issuance.
- Approved workloads receive valid certificates and unauthorized principals cannot issue new ones.
- Enable DNSSEC on the supported Cloud DNS public zone and publish matching trust-chain records.
Explanation
Correct Answers
C:Design a supported Certificate Authority Service CA pool and narrowly delegated certificate issuance. This is the intended action for Certificate Authority Service private PKI.
D:Approved workloads receive valid certificates and unauthorized principals cannot issue new ones. This is directly observable validation of the Certificate Authority Service private PKI result.
Incorrect Answers
A:Post a CA private signing key in a container environment variable accessible to all developers. This is not part of a safe or effective Certificate Authority Service private PKI design. Giving every project certificate authority administrator access can permit forged internal identities.
B:Configure hierarchical and network firewall policies with correct priority and target scope. This serves the different Hierarchical Cloud NGFW policy ordering objective, not the selected Certificate Authority Service private PKI plan. Private CA service manages certificate issuance trust independently of external web DNS registration.
E:Enable DNSSEC on the supported Cloud DNS public zone and publish matching trust-chain records. This serves the different Cloud DNSSEC authoritative zone protection objective, not the selected Certificate Authority Service private PKI plan. Private CA service manages certificate issuance trust independently of external web DNS registration.
Question 338
A security engineer must relate suspicious signature alerts to specific affected network segments. An engineer must explain the recommendation for Cloud Intrusion Detection System alerts. Which underlying principle is the MOST accurate?
- Cloud Run revision admission and job execution have distinct Binary Authorization evaluation timing.
- Containment, evidence preservation and recovery are coordinated security operations rather than one dashboard click.
- Cloud IDS observes replicated network traffic for threats but does not inherently replace blocking firewall controls.
- Log export requires authorized destination write paths, filters and governance beyond local logging.
Explanation
Correct Answer
C:Cloud IDS observes replicated network traffic for threats but does not inherently replace blocking firewall controls. Therefore the implementation decision is to configure supported Cloud IDS endpoints and Packet Mirroring paths for the intended traffic.
Incorrect Answers
A:Deploying IDS without mirroring relevant traffic can result in little detection coverage. This describes the separate Binary Authorization Cloud Run revision policy mechanism; the present case instead requires Cloud Intrusion Detection System alerts.
B:Deploying IDS without mirroring relevant traffic can result in little detection coverage. Containment, evidence preservation and recovery are coordinated security operations rather than one dashboard click.
D:Deploying IDS without mirroring relevant traffic can result in little detection coverage. Log export requires authorized destination write paths, filters and governance beyond local logging.
Question 339
A healthcare support log contains accidental patient email addresses in free text. If the relevant Sensitive Data Protection inspection redaction safeguard is omitted, which outcome is the MOST directly associated failure?
- A dataset viewer role with no column protection may expose sensitive values.
- Unavailable external keys can make protected cloud data inaccessible even when IAM allows access.
- Overly broad or incomplete detectors can destroy useful logs or leave sensitive fields exposed.
- Sharing the underlying dataset viewer role can reveal more than the intended view.
Explanation
Correct Answer
C:Overly broad or incomplete detectors can destroy useful logs or leave sensitive fields exposed. Redaction obscures selected content but requires correct detector configuration and validation. The corrective approach is to test precision and recall with representative known and unknown PII formats.
Incorrect Answers
A:This failure pattern belongs chiefly to BigQuery column-level policy tags and masking; it is not the failure most directly tested in the Sensitive Data Protection inspection redaction situation.
B:This failure pattern belongs chiefly to External Key Manager custody; it is not the failure most directly tested in the Sensitive Data Protection inspection redaction situation.
D:This failure pattern belongs chiefly to BigQuery authorized views; it is not the failure most directly tested in the Sensitive Data Protection inspection redaction situation.
Question 340
A branch must learn specific VPC routes through an established HA VPN connection. After the recommended Cloud Router dynamic BGP advertisement change is implemented, which observation MOST directly verifies that it works?
- Tests show the caller has both sufficient resource permissions and a permitted perimeter path.
- On-premises clients can reach supported APIs through the intended private Google connectivity path.
- Packet flow, DNS, routes and IAM checks confirm the chosen method reaches exactly the target service.
- Expected network prefixes appear in learned and advertised route tables after convergence.
Explanation
Correct Answer
D:Expected network prefixes appear in learned and advertised route tables after convergence. This directly tests whether the Cloud Router dynamic BGP advertisement goal was met. Cloud Router exchanges dynamic routing information but does not itself carry application packets.
Incorrect Answers
A:Tests show the caller has both sufficient resource permissions and a permitted perimeter path. This is evidence about VPC Service Controls versus IAM authorization, not direct proof of the required Cloud Router dynamic BGP advertisement behavior. The relevant check is that expected network prefixes appear in learned and advertised route tables after convergence.
B:On-premises clients can reach supported APIs through the intended private Google connectivity path. This is evidence about Private Google Access for on-premises, not direct proof of the required Cloud Router dynamic BGP advertisement behavior. The relevant check is that expected network prefixes appear in learned and advertised route tables after convergence.
C:Packet flow, DNS, routes and IAM checks confirm the chosen method reaches exactly the target service. This is evidence about Private connectivity choice and API access troubleshooting, not direct proof of the required Cloud Router dynamic BGP advertisement behavior. The relevant check is that expected network prefixes appear in learned and advertised route tables after convergence.