Google Professional Cloud Security Engineer Practice Test 56
Question 550
A project retains raw personal records for years after analytics is complete. Which approach BEST meets the requirement while respecting the system constraints?
- Configure appropriate BigQuery policy tags or data masking policies and targeted access roles.
- Apply supported format-preserving encryption with compatible key and tweak handling.
- Change the table description to expired and assume every backup copy is deleted.
- Establish classification, retention and deletion controls on all authorized copies of regulated data.
Explanation
Correct Answer
D:Establish classification, retention and deletion controls on all authorized copies of regulated data. Minimization and lifecycle governance reduce residual sensitive-data exposure beyond IAM encryption. Verification should demonstrate that expired personal data is removed under policy with evidence covering relevant snapshots and exports.
Incorrect Answers
A:Configure appropriate BigQuery policy tags or data masking policies and targeted access roles. This primarily addresses BigQuery column-level policy tags and masking, not the specific Sensitive data retention and data lifecycle decision. Here, minimization and lifecycle governance reduce residual sensitive-data exposure beyond IAM encryption.
B:Apply supported format-preserving encryption with compatible key and tweak handling. This primarily addresses Format-preserving encryption data handling, not the specific Sensitive data retention and data lifecycle decision. Here, minimization and lifecycle governance reduce residual sensitive-data exposure beyond IAM encryption.
C:Change the table description to expired and assume every backup copy is deleted. This is an unsafe or ineffective shortcut for Sensitive data retention and data lifecycle. Leaving uncontrolled copies in exports and logs can defeat a primary dataset deletion policy.
Question 551
A partner needs access to approved aggregated results without base table read privileges. An engineer must explain the recommendation for BigQuery authorized views. Which underlying principle is the MOST accurate?
- Authorized views delegate access to approved query results without requiring direct base table grants.
- Minimization and lifecycle governance reduce residual sensitive-data exposure beyond IAM encryption.
- Managed ML pipelines still depend on Google Cloud workload IAM and data protection.
- Signed URLs delegate bounded access through a signature rather than lasting IAM grants to each downloader.
Explanation
Correct Answer
A:Authorized views delegate access to approved query results without requiring direct base table grants. Therefore the implementation decision is to publish a controlled authorized view or supported approved dataset access configuration.
Incorrect Answers
B:Sharing the underlying dataset viewer role can reveal more than the intended view. This describes the separate Sensitive data retention and data lifecycle mechanism; the present case instead requires BigQuery authorized views.
C:Sharing the underlying dataset viewer role can reveal more than the intended view. Managed ML pipelines still depend on Google Cloud workload IAM and data protection.
D:Sharing the underlying dataset viewer role can reveal more than the intended view. Signed URLs delegate bounded access through a signature rather than lasting IAM grants to each downloader.
Question 552
A security test inserts hostile instructions in retrieved search results that are lower trust than application policy. An engineer must explain the recommendation for Prompt injection and retrieved data boundary. Which underlying principle is the MOST accurate?
- Sensitive Data Protection classifies sensitive content but does not automatically revoke every reader's IAM permissions.
- IaaS-hosted models leave more guest and runtime controls with customers than managed AI services.
- Prompt-injection defenses require trusted instruction boundaries and downstream authorization, not only content filters.
- Model inference endpoints are APIs that still require authorization, quotas and protected logging.
Explanation
Correct Answer
C:Prompt-injection defenses require trusted instruction boundaries and downstream authorization, not only content filters. Therefore the implementation decision is to enforce tool authorization and distinguish untrusted retrieved content from trusted application instructions.
Incorrect Answers
A:Treating retrieved text as a privileged system command can disclose protected data. Sensitive Data Protection classifies sensitive content but does not automatically revoke every reader's IAM permissions.
B:Treating retrieved text as a privileged system command can disclose protected data. This describes the separate IaaS versus managed AI training boundary mechanism; the present case instead requires Prompt injection and retrieved data boundary.
D:Treating retrieved text as a privileged system command can disclose protected data. This describes the separate Managed AI endpoint access controls mechanism; the present case instead requires Prompt injection and retrieved data boundary.
Question 553
An incident responder needs to know who changed an organization-level security configuration. An engineer must explain the recommendation for Admin Activity Audit Logs provenance. Which underlying principle is the MOST accurate?
- Runtime workload identity scopes cloud permissions to pods and service accounts rather than entire hosts.
- Containment, evidence preservation and recovery are coordinated security operations rather than one dashboard click.
- Admin Activity logs capture many configuration changes and differ from data access event logging.
- Cloud IDS observes replicated network traffic for threats but does not inherently replace blocking firewall controls.
Explanation
Correct Answer
C:Admin Activity logs capture many configuration changes and differ from data access event logging. Therefore the implementation decision is to inspect Cloud Audit Logs Admin Activity entries with precise resource and caller filters.
Incorrect Answers
A:Reviewing only workload stdout logs can miss changes to IAM or organization policies. Runtime workload identity scopes cloud permissions to pods and service accounts rather than entire hosts.
B:Reviewing only workload stdout logs can miss changes to IAM or organization policies. Containment, evidence preservation and recovery are coordinated security operations rather than one dashboard click.
D:Reviewing only workload stdout logs can miss changes to IAM or organization policies. Cloud IDS observes replicated network traffic for threats but does not inherently replace blocking firewall controls.
Question 554
An organization needs managed network threat detection on supported mirrored traffic. Which approach BEST meets the requirement while respecting the system constraints?
- Enable and tune supported Event Threat Detection signals using eligible security telemetry.
- Configure an aggregated log sink with appropriate inclusion filters and destination writer permissions.
- Assume Cloud IDS automatically blocks every threat even when no enforcement rule is configured.
- Configure supported Cloud IDS endpoints and Packet Mirroring paths for the intended traffic.
Explanation
Correct Answer
D:Configure supported Cloud IDS endpoints and Packet Mirroring paths for the intended traffic. Cloud IDS observes replicated network traffic for threats but does not inherently replace blocking firewall controls. Verification should demonstrate that detection alerts identify the monitored flow and are routed to responsible responders.
Incorrect Answers
A:Enable and tune supported Event Threat Detection signals using eligible security telemetry. This primarily addresses Event Threat Detection behavior monitoring, not the specific Cloud Intrusion Detection System alerts decision. Here, cloud IDS observes replicated network traffic for threats but does not inherently replace blocking firewall controls.
B:Configure an aggregated log sink with appropriate inclusion filters and destination writer permissions. This primarily addresses Organization aggregated log sink, not the specific Cloud Intrusion Detection System alerts decision. Here, cloud IDS observes replicated network traffic for threats but does not inherently replace blocking firewall controls.
C:Assume Cloud IDS automatically blocks every threat even when no enforcement rule is configured. This is an unsafe or ineffective shortcut for Cloud Intrusion Detection System alerts. Deploying IDS without mirroring relevant traffic can result in little detection coverage.
Question 555
A deployed AI assistant suddenly exhibits unusual tool invocation rates and retrieval requests. If the relevant AI model monitoring and abuse investigations safeguard is omitted, which outcome is the MOST directly associated failure?
- No audit trail makes prompt injection or misuse difficult to reconstruct.
- Misunderstanding the service model can leave unpatched training images or ungoverned data access.
- Default or shared broad access can disclose unrelated data during experimentation.
- Broad delete rules can remove records required by retention policy.
Explanation
Correct Answer
A:No audit trail makes prompt injection or misuse difficult to reconstruct. AI runtime threat detection requires operational telemetry and governed diagnostic retention. The corrective approach is to correlate anomaly times, model logs and downstream API audit events with privacy controls.
Incorrect Answers
B:This failure pattern belongs chiefly to IaaS versus managed AI training boundary; it is not the failure most directly tested in the AI model monitoring and abuse investigations situation.
C:This failure pattern belongs chiefly to Vertex AI training and pipeline service identities; it is not the failure most directly tested in the AI model monitoring and abuse investigations situation.
D:Broad delete rules can remove records required by retention policy. This failure pattern belongs chiefly to Cloud Storage object lifecycle transition; it is not the failure most directly tested in the AI model monitoring and abuse investigations situation. No audit trail makes prompt injection or misuse difficult to reconstruct.
Question 556
Security wants a unified view of exposed resources and high-priority vulnerabilities. Which approach BEST meets the requirement while respecting the system constraints?
- Enable appropriate firewall policy rule logging and inspect effective rules for denied connections.
- Configure a controlled Cloud Logging sink to an approved transport and filter event contents.
- Claim Security Command Center patches every vulnerable service as soon as a finding is displayed.
- Configure Security Command Center at suitable tier and scope with governed finding workflows.
Explanation
Correct Answer
D:Configure Security Command Center at suitable tier and scope with governed finding workflows. SCC centralizes supported risk findings but still requires response processes and access configuration. Verification should demonstrate that expected misconfiguration findings appear with resource identifiers and remediation status.
Incorrect Answers
A:Enable appropriate firewall policy rule logging and inspect effective rules for denied connections. This primarily addresses Firewall rule logging and deny analysis, not the specific Security Command Center centralized findings decision. Here, sCC centralizes supported risk findings but still requires response processes and access configuration.
B:Configure a controlled Cloud Logging sink to an approved transport and filter event contents. This primarily addresses External SIEM log export privacy, not the specific Security Command Center centralized findings decision. Here, sCC centralizes supported risk findings but still requires response processes and access configuration.
C:Claim Security Command Center patches every vulnerable service as soon as a finding is displayed. This is an unsafe or ineffective shortcut for Security Command Center centralized findings. Ignoring findings because a dashboard exists leaves exposure unremediated.
Question 557
Investigators discover that expected BigQuery read records are not visible in the selected logging scope. Select THREE statements that correctly combine the Data Access Audit Logs enablement and cost method with evidence or its governing principle.
- Delete the Cloud Logging viewer role and assume data access audit events will automatically be recorded.
- Data Access logs have different availability and configuration behavior from Admin Activity logs.
- Authorized test reads produce the expected data access evidence while logging costs are understood.
- Configure a controlled Cloud Logging sink to an approved transport and filter event contents.
- Enable and configure supported Data Access audit logging where needed and verify permissions and retention.
- Configure Cloud Logging bucket retention controls and appropriate restricted management privileges.
Explanation
Correct Answers
B:Data Access logs have different availability and configuration behavior from Admin Activity logs. This explains why the implementation and evidence fit together.
C:Authorized test reads produce the expected data access evidence while logging costs are understood. This is directly observable validation of the Data Access Audit Logs enablement and cost result.
E:Enable and configure supported Data Access audit logging where needed and verify permissions and retention. This is the intended action for Data Access Audit Logs enablement and cost.
Incorrect Answers
A:Delete the Cloud Logging viewer role and assume data access audit events will automatically be recorded. This is not part of a safe or effective Data Access Audit Logs enablement and cost design. Assuming all service data reads are logged by default may leave incident evidence gaps.
D:Configure a controlled Cloud Logging sink to an approved transport and filter event contents. This serves the different External SIEM log export privacy objective, not the selected Data Access Audit Logs enablement and cost plan. Data Access logs have different availability and configuration behavior from Admin Activity logs.
F:Configure Cloud Logging bucket retention controls and appropriate restricted management privileges. This serves the different Log bucket retention and immutable audit evidence objective, not the selected Data Access Audit Logs enablement and cost plan. Data Access logs have different availability and configuration behavior from Admin Activity logs.
Question 558
A production project requests an emergency exception to a centrally enforced policy. Which approach BEST meets the requirement while respecting the system constraints?
- Disable the entire organization policy set permanently to fix one failed deployment.
- Grant only the narrow permitted policy exception and retain documented rollback and audit approval.
- Design organization, folders and projects to reflect governance boundaries and inherited IAM needs.
- Configure the supported Compute Engine external-IP restriction organization policy and review project exceptions.
Explanation
Correct Answer
B:Grant only the narrow permitted policy exception and retain documented rollback and audit approval. Policy inheritance and exceptions must be understood before overriding organization or folder guardrails. Verification should demonstrate that the specific approved project works while other descendants remain protected by the broader constraint.
Incorrect Answers
A:Disable the entire organization policy set permanently to fix one failed deployment. This is an unsafe or ineffective shortcut for Hierarchy-scoped exception and policy rollback. A blanket top-level policy reset can expose every child project to avoid one outage.
C:Design organization, folders and projects to reflect governance boundaries and inherited IAM needs. This primarily addresses Organization hierarchy and inherited roles, not the specific Hierarchy-scoped exception and policy rollback decision. Here, policy inheritance and exceptions must be understood before overriding organization or folder guardrails.
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 Hierarchy-scoped exception and policy rollback decision. Here, policy inheritance and exceptions must be understood before overriding organization or folder guardrails.
Question 559
An auditor requires cloud security logs retained for a defined review period. If the relevant Log bucket retention and immutable audit evidence safeguard is omitted, which outcome is the MOST directly associated failure?
- Treating a successful image push as proof all dependencies are free of known CVEs may ship unsafe images.
- Giving all developers logging administrator and private-log access may expose sensitive audit metadata.
- Deleting resources and logs before evidence collection can undermine root-cause analysis.
- Shortening retention indiscriminately can erase regulatory or forensic evidence.
Explanation
Correct Answer
D:Shortening retention indiscriminately can erase regulatory or forensic evidence. Security logging retention must be managed independently of application log generation. The corrective approach is to test retention policy on sample logs and document privileged change approvals.
Incorrect Answers
A:This failure pattern belongs chiefly to Artifact Registry vulnerability scanning policy; it is not the failure most directly tested in the Log bucket retention and immutable audit evidence situation.
B:This failure pattern belongs chiefly to Least privilege access to audit logs; it is not the failure most directly tested in the Log bucket retention and immutable audit evidence situation.
C:Deleting resources and logs before evidence collection can undermine root-cause analysis. This failure pattern belongs chiefly to Incident response alert routing and containment; it is not the failure most directly tested in the Log bucket retention and immutable audit evidence situation. Shortening retention indiscriminately can erase regulatory or forensic evidence.
Question 560
One sensitive dataset must remain inaccessible to a contractor even if a group grants broad project read access. Which approach BEST meets the requirement while respecting the system constraints?
- Configure a supported IAM deny policy with carefully scoped principal and permission conditions.
- Enable uniform bucket-level access where appropriate and manage object access through IAM.
- Evaluate IAM Recommender and Policy Intelligence findings against actual workload use and required operations.
- Assume an allow binding overrides every matching higher-level IAM deny rule.
Explanation
Correct Answer
A:Configure a supported IAM deny policy with carefully scoped principal and permission conditions. IAM deny policy can restrict specified permissions notwithstanding an otherwise matching allow grant. Verification should demonstrate that the prohibited operation is denied despite applicable allow bindings and legitimate exceptions remain functional.
Incorrect Answers
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 IAM Deny policy enforcement decision. Here, iAM deny policy can restrict specified permissions notwithstanding an otherwise matching allow grant.
C:Evaluate IAM Recommender and Policy Intelligence findings against actual workload use and required operations. This primarily addresses Policy Intelligence permission recommendations, not the specific IAM Deny policy enforcement decision. Here, iAM deny policy can restrict specified permissions notwithstanding an otherwise matching allow grant.
D:Assume an allow binding overrides every matching higher-level IAM deny rule. This is an unsafe or ineffective shortcut for IAM Deny policy enforcement. An overly broad deny rule can block critical service agents and break production operations.