100% Latest & Updated Google Professional Cloud Security Engineer Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 90
A GitHub Actions workflow needs to deploy a Cloud Run service from a single protected branch. Which action most directly satisfies the stated security requirement?
- Use Workload Identity Federation with repository and branch attribute restrictions
- Disable the exposed key, rotate dependent credentials and migrate to keyless authentication
- Automate deprovisioning from the authoritative human resources or identity workflow
- Grant restricted impersonation permissions to approved engineers rather than exporting a private key
Explanation
Correct Answer
A:Use Workload Identity Federation with repository and branch attribute restrictions. The risk arises because repository-to-cloud authentication based on a stored service account JSON key is unnecessarily risky. Verify that an approved branch obtains a short-lived deployment identity while a fork cannot.
Incorrect Answers
B:“Disable the exposed key, rotate dependent credentials and migrate to keyless authentication” addresses another issue: a service account JSON key appears in a public CI artifact downloaded by outsiders. In this case, repository-to-cloud authentication based on a stored service account JSON key is unnecessarily risky; the targeted response is to use Workload Identity Federation with repository and branch attribute restrictions.
C:“Automate deprovisioning from the authoritative human resources or identity workflow” addresses another issue: a departing engineer retains Cloud Identity group membership after payroll removes their employment status. In this case, repository-to-cloud authentication based on a stored service account JSON key is unnecessarily risky; the targeted response is to use Workload Identity Federation with repository and branch attribute restrictions.
D:“Grant restricted impersonation permissions to approved engineers rather than exporting a private key” addresses another issue: a central operations engineer must troubleshoot production as an application service account without a key file. In this case, repository-to-cloud authentication based on a stored service account JSON key is unnecessarily risky; the targeted response is to use Workload Identity Federation with repository and branch attribute restrictions.
Question 91
Which preventive control best reduces recurrence of this problem? An aggregated log sink exists but records never arrive in the central destination.
- Monitor sink errors and destination permissions drift
- Audit central logging ACLs and change-control events
- Reconcile deviations with named owners and review exceptions
- Set telemetry retention and ensure sampling meets investigation requirements
Explanation
Correct Answer
A:Monitor sink errors and destination permissions drift. This helps prevent log routing requires the sink's writer identity to be authorized on its destination.
Incorrect Answers
B:“Audit central logging ACLs and change-control events” addresses another issue: an organization routes security logs through one central bucket but grants all project editors write access to that bucket. In this case, log routing requires the sink's writer identity to be authorized on its destination; the targeted response is to grant the sink writer only required destination access and validate routing configuration.
C:“Reconcile deviations with named owners and review exceptions” addresses another issue: organization policy constraints drift between production folders after project teams change settings. In this case, log routing requires the sink's writer identity to be authorized on its destination; the targeted response is to grant the sink writer only required destination access and validate routing configuration.
D:“Set telemetry retention and ensure sampling meets investigation requirements” addresses another issue: an investigator needs to know which VM sent traffic to an unknown external destination. In this case, log routing requires the sink's writer identity to be authorized on its destination; the targeted response is to grant the sink writer only required destination access and validate routing configuration.
Question 92
Select TWO directly relevant elements: the corrective action and evidence that it worked. Issue: An enterprise must prevent external-domain sharing of regulated project resources.
- Turn off all regulated-workload logging without verifying approved audit retention requirements
- Assume one regional placement setting proves that backups, processing, and exports remain within scope
- Apply suitable organization-level domain restricted sharing controls and defined exceptions
- Treat a provider compliance certificate as proof every custom application and data flow meets every obligation
- A test binding for an unapproved domain is rejected while approved users continue working
Explanation
Correct Answers
C:Apply suitable organization-level domain restricted sharing controls and defined exceptions. The risk arises because individual IAM reviews cannot reliably detect every newly granted foreign identity. Verify that a test binding for an unapproved domain is rejected while approved users continue working.
E:A test binding for an unapproved domain is rejected while approved users continue working. This tests the effect of apply suitable organization-level domain restricted sharing controls and defined exceptions, not merely whether a setting was saved.
Incorrect Answers
A:“Turn off all regulated-workload logging without verifying approved audit retention requirements” would not resolve individual IAM reviews cannot reliably detect every newly granted foreign identity. The supported response is to apply suitable organization-level domain restricted sharing controls and defined exceptions. Verify that a test binding for an unapproved domain is rejected while approved users continue working.
B:“Assume one regional placement setting proves that backups, processing, and exports remain within scope” would not resolve individual IAM reviews cannot reliably detect every newly granted foreign identity. The supported response is to apply suitable organization-level domain restricted sharing controls and defined exceptions. Verify that a test binding for an unapproved domain is rejected while approved users continue working.
D:“Treat a provider compliance certificate as proof every custom application and data flow meets every obligation” would not resolve individual IAM reviews cannot reliably detect every newly granted foreign identity. The supported response is to apply suitable organization-level domain restricted sharing controls and defined exceptions. Verify that a test binding for an unapproved domain is rejected while approved users continue working.
Question 93
Select TWO directly relevant elements: the corrective action and evidence that it worked. Issue: Two independently managed VPCs need direct private VM address communication without consolidating projects.
- Treat a VPC Service Controls perimeter as a complete replacement for IAM and network controls
- Configure VPC Network Peering with nonoverlapping ranges and appropriate firewall rules
- Assume VPC Network Peering is transitive and requires no explicit route or firewall analysis
- VMs exchange traffic directly over the peering connection within permitted CIDRs
- Combine unrelated trust zones in one unrestricted subnet without evaluating east-west traffic
Explanation
Correct Answers
B:Configure VPC Network Peering with nonoverlapping ranges and appropriate firewall rules. The risk arises because project ownership must remain separate while private routing is exchanged between peers. Verify that VMs exchange traffic directly over the peering connection within permitted CIDRs.
D:VMs exchange traffic directly over the peering connection within permitted CIDRs. This tests the effect of configure VPC Network Peering with nonoverlapping ranges and appropriate firewall rules, not merely whether a setting was saved.
Incorrect Answers
A:“Treat a VPC Service Controls perimeter as a complete replacement for IAM and network controls” would not resolve project ownership must remain separate while private routing is exchanged between peers. The supported response is to configure VPC Network Peering with nonoverlapping ranges and appropriate firewall rules. Verify that VMs exchange traffic directly over the peering connection within permitted CIDRs.
C:“Assume VPC Network Peering is transitive and requires no explicit route or firewall analysis” would not resolve project ownership must remain separate while private routing is exchanged between peers. The supported response is to configure VPC Network Peering with nonoverlapping ranges and appropriate firewall rules. Verify that VMs exchange traffic directly over the peering connection within permitted CIDRs.
E:“Combine unrelated trust zones in one unrestricted subnet without evaluating east-west traffic” would not resolve project ownership must remain separate while private routing is exchanged between peers. The supported response is to configure VPC Network Peering with nonoverlapping ranges and appropriate firewall rules. Verify that VMs exchange traffic directly over the peering connection within permitted CIDRs.
Question 94
An organization claims a provider certificate automatically proves that its custom web app is secure. Which action most directly satisfies the stated security requirement?
- Associate control requirements with telemetry, owners, thresholds and remediation timelines
- Scope log-bucket or view permissions to incident responders and auditors
- Map certificate coverage and test customer IAM, network and application requirements separately
- Use Security Command Center posture evidence as input to a scoped independent compliance assessment
Explanation
Correct Answer
C:Map certificate coverage and test customer IAM, network and application requirements separately. The risk arises because a provider assurance report does not replace assessment of customer-built application controls. Verify that an auditor can trace each requirement to either provider evidence or customer testing.
Incorrect Answers
A:“Associate control requirements with telemetry, owners, thresholds and remediation timelines” addresses another issue: a regulator asks how a particular compliance control is monitored and who responds when it fails. In this case, a provider assurance report does not replace assessment of customer-built application controls; the targeted response is to map certificate coverage and test customer IAM, network and application requirements separately.
B:“Scope log-bucket or view permissions to incident responders and auditors” addresses another issue: a sensitive security log bucket is visible to every developer because the whole project has broad viewer access. In this case, a provider assurance report does not replace assessment of customer-built application controls; the targeted response is to map certificate coverage and test customer IAM, network and application requirements separately.
D:“Use Security Command Center posture evidence as input to a scoped independent compliance assessment” addresses another issue: a compliance officer wants a single security posture dashboard to substitute for independent external audit. In this case, a provider assurance report does not replace assessment of customer-built application controls; the targeted response is to map certificate coverage and test customer IAM, network and application requirements separately.
Question 95
Select THREE directly relevant elements: the targeted action, its validation, and a recurrence-prevention control. Issue: A production DNS zone is at risk because arbitrary operators can modify public MX records.
- Disable perimeter rule logging for production services to conceal false-positive alerts
- An unauthorized user cannot alter the managed zone while approved changes resolve
- Alert on DNS policy changes and regularly audit privileged DNS roles
- Expose a service to all internet sources and treat its chosen TCP port as the only protection
- Assume one successful connection proves Cloud Armor and firewall rules enforce all expected deny cases
- Restrict Cloud DNS administrative IAM roles and use audited change procedures
Explanation
Correct Answers
B:An unauthorized user cannot alter the managed zone while approved changes resolve. This tests the effect of restrict Cloud DNS administrative IAM roles and use audited change procedures, not merely whether a setting was saved.
C:Alert on DNS policy changes and regularly audit privileged DNS roles. This helps prevent DNS integrity depends on controlled change rights and validated zone administration.
F:Restrict Cloud DNS administrative IAM roles and use audited change procedures. The risk arises because DNS integrity depends on controlled change rights and validated zone administration. Verify that an unauthorized user cannot alter the managed zone while approved changes resolve.
Incorrect Answers
A:“Disable perimeter rule logging for production services to conceal false-positive alerts” would not resolve DNS integrity depends on controlled change rights and validated zone administration. The supported response is to restrict Cloud DNS administrative IAM roles and use audited change procedures. Verify that an unauthorized user cannot alter the managed zone while approved changes resolve.
D:“Expose a service to all internet sources and treat its chosen TCP port as the only protection” would not resolve DNS integrity depends on controlled change rights and validated zone administration. The supported response is to restrict Cloud DNS administrative IAM roles and use audited change procedures. Verify that an unauthorized user cannot alter the managed zone while approved changes resolve.
E:“Assume one successful connection proves Cloud Armor and firewall rules enforce all expected deny cases” would not resolve DNS integrity depends on controlled change rights and validated zone administration. The supported response is to restrict Cloud DNS administrative IAM roles and use audited change procedures. Verify that an unauthorized user cannot alter the managed zone while approved changes resolve.
Question 96
A golden VM image is five months behind security patches before new instances are created. Which action most directly satisfies the stated security requirement?
- Use digest-bound attestations and verify the immutable image digest at deployment
- Rebuild hardened VM images from updated packages and run validation before publishing
- Use appropriate pod security controls and remove unneeded privilege flags
- Use a supported log sink export destination with restricted writer and transport protection
Explanation
Correct Answer
B:Rebuild hardened VM images from updated packages and run validation before publishing. The risk arises because outdated base images replicate vulnerabilities into every derived workload. Verify that an image scan and boot test confirm approved patch and hardening baselines.
Incorrect Answers
A:“Use digest-bound attestations and verify the immutable image digest at deployment” addresses another issue: a signed container tag is repointed to a different image digest after a security review. In this case, outdated base images replicate vulnerabilities into every derived workload; the targeted response is to rebuild hardened VM images from updated packages and run validation before publishing.
C:“Use appropriate pod security controls and remove unneeded privilege flags” addresses another issue: a production GKE workload runs a container with privileged host access merely to simplify debugging. In this case, outdated base images replicate vulnerabilities into every derived workload; the targeted response is to rebuild hardened VM images from updated packages and run validation before publishing.
D:“Use a supported log sink export destination with restricted writer and transport protection” addresses another issue: an SOC analyst exports Cloud Logging data to a third-party SIEM with an unmanaged public endpoint. In this case, outdated base images replicate vulnerabilities into every derived workload; the targeted response is to rebuild hardened VM images from updated packages and run validation before publishing.
Question 97
Select THREE directly relevant elements: the targeted action, its validation, and a recurrence-prevention control. Issue: A team wants to validate integrity of authoritative DNS responses instead of solely hiding resolver traffic.
- Expose a service to all internet sources and treat its chosen TCP port as the only protection
- Monitor DS and DNSKEY rollover against registrar settings
- Disable perimeter rule logging for production services to conceal false-positive alerts
- DNSSEC validation succeeds for signed records and rejects tampered responses
- Enable and correctly configure DNSSEC for a supported Cloud DNS public zone
- Assume one successful connection proves Cloud Armor and firewall rules enforce all expected deny cases
Explanation
Correct Answers
B:Monitor DS and DNSKEY rollover against registrar settings. This helps prevent DNSSEC protects DNS answer authenticity rather than encrypting all DNS transport.
D:DNSSEC validation succeeds for signed records and rejects tampered responses. This tests the effect of enable and correctly configure DNSSEC for a supported Cloud DNS public zone, not merely whether a setting was saved.
E:Enable and correctly configure DNSSEC for a supported Cloud DNS public zone. The risk arises because DNSSEC protects DNS answer authenticity rather than encrypting all DNS transport. Verify that DNSSEC validation succeeds for signed records and rejects tampered responses.
Incorrect Answers
A:“Expose a service to all internet sources and treat its chosen TCP port as the only protection” would not resolve DNSSEC protects DNS answer authenticity rather than encrypting all DNS transport. The supported response is to enable and correctly configure DNSSEC for a supported Cloud DNS public zone. Verify that DNSSEC validation succeeds for signed records and rejects tampered responses.
C:“Disable perimeter rule logging for production services to conceal false-positive alerts” would not resolve DNSSEC protects DNS answer authenticity rather than encrypting all DNS transport. The supported response is to enable and correctly configure DNSSEC for a supported Cloud DNS public zone. Verify that DNSSEC validation succeeds for signed records and rejects tampered responses.
F:“Assume one successful connection proves Cloud Armor and firewall rules enforce all expected deny cases” would not resolve DNSSEC protects DNS answer authenticity rather than encrypting all DNS transport. The supported response is to enable and correctly configure DNSSEC for a supported Cloud DNS public zone. Verify that DNSSEC validation succeeds for signed records and rejects tampered responses.
Question 98
Select TWO directly relevant elements: the corrective action and evidence that it worked. Issue: A team activates Security Command Center only for one test project but expects whole-organization coverage.
- Findings and asset inventory include protected projects across the intended organization
- Assume Admin Activity logs alone record every data read without checking Data Access logging requirements
- Assess and configure organization-level SCC activation to cover required projects
- Grant broad public write access to central security log destinations to simplify aggregation
- Discard security logs immediately after an incident rather than applying retention and evidence controls
Explanation
Correct Answers
A:Findings and asset inventory include protected projects across the intended organization. This tests the effect of assess and configure organization-level SCC activation to cover required projects, not merely whether a setting was saved.
C:Assess and configure organization-level SCC activation to cover required projects. The risk arises because project-level activation cannot scan resources outside its scope. Verify that findings and asset inventory include protected projects across the intended organization.
Incorrect Answers
B:“Assume Admin Activity logs alone record every data read without checking Data Access logging requirements” would not resolve project-level activation cannot scan resources outside its scope. The supported response is to assess and configure organization-level SCC activation to cover required projects. Verify that findings and asset inventory include protected projects across the intended organization.
D:“Grant broad public write access to central security log destinations to simplify aggregation” would not resolve project-level activation cannot scan resources outside its scope. The supported response is to assess and configure organization-level SCC activation to cover required projects. Verify that findings and asset inventory include protected projects across the intended organization.
E:“Discard security logs immediately after an incident rather than applying retention and evidence controls” would not resolve project-level activation cannot scan resources outside its scope. The supported response is to assess and configure organization-level SCC activation to cover required projects. Verify that findings and asset inventory include protected projects across the intended organization.
Question 99
Select TWO directly relevant elements: the corrective action and evidence that it worked. Issue: A security team places a Cloud Storage project in a perimeter but expects every third-party API to be blocked.
- Tests show protected service moves blocked and unrelated APIs handled by separate safeguards
- Treat a VPC Service Controls perimeter as a complete replacement for IAM and network controls
- Identify supported services and combine service perimeters with necessary network egress controls
- Combine unrelated trust zones in one unrestricted subnet without evaluating east-west traffic
- Assume VPC Network Peering is transitive and requires no explicit route or firewall analysis
Explanation
Correct Answers
A:Tests show protected service moves blocked and unrelated APIs handled by separate safeguards. This tests the effect of identify supported services and combine service perimeters with necessary network egress controls, not merely whether a setting was saved.
C:Identify supported services and combine service perimeters with necessary network egress controls. The risk arises because VPC Service Controls applies only to explicitly protected supported services and policies. Verify that tests show protected service moves blocked and unrelated APIs handled by separate safeguards.
Incorrect Answers
B:“Treat a VPC Service Controls perimeter as a complete replacement for IAM and network controls” would not resolve VPC Service Controls applies only to explicitly protected supported services and policies. The supported response is to identify supported services and combine service perimeters with necessary network egress controls. Verify that tests show protected service moves blocked and unrelated APIs handled by separate safeguards.
D:“Combine unrelated trust zones in one unrestricted subnet without evaluating east-west traffic” would not resolve VPC Service Controls applies only to explicitly protected supported services and policies. The supported response is to identify supported services and combine service perimeters with necessary network egress controls. Verify that tests show protected service moves blocked and unrelated APIs handled by separate safeguards.
E:“Assume VPC Network Peering is transitive and requires no explicit route or firewall analysis” would not resolve VPC Service Controls applies only to explicitly protected supported services and policies. The supported response is to identify supported services and combine service perimeters with necessary network egress controls. Verify that tests show protected service moves blocked and unrelated APIs handled by separate safeguards.
Question 100
An operations script stores an OAuth access token indefinitely for a weekly maintenance task. Which action most directly satisfies the stated security requirement?
- Attach a dedicated least-privilege service account with only the workload's required roles
- Disable the exposed key, rotate dependent credentials and migrate to keyless authentication
- Assign distinct folder or project role bindings with least privilege per team
- Obtain short-lived credentials at execution through approved impersonation or federation
Explanation
Correct Answer
D:Obtain short-lived credentials at execution through approved impersonation or federation. The risk arises because expiring access tokens are not safe permanent credentials and renewal must be controlled. Verify that after a prior token expires the authorized job retrieves a fresh scoped token successfully.
Incorrect Answers
A:“Attach a dedicated least-privilege service account with only the workload's required roles” addresses another issue: a newly created Compute Engine instance inherits a default service account with broad project permissions. In this case, expiring access tokens are not safe permanent credentials and renewal must be controlled; the targeted response is to obtain short-lived credentials at execution through approved impersonation or federation.
B:“Disable the exposed key, rotate dependent credentials and migrate to keyless authentication” addresses another issue: a service account JSON key appears in a public CI artifact downloaded by outsiders. In this case, expiring access tokens are not safe permanent credentials and renewal must be controlled; the targeted response is to obtain short-lived credentials at execution through approved impersonation or federation.
C:“Assign distinct folder or project role bindings with least privilege per team” addresses another issue: two product teams share an organization but must not administer each other's environments. In this case, expiring access tokens are not safe permanent credentials and renewal must be controlled; the targeted response is to obtain short-lived credentials at execution through approved impersonation or federation.
Professional Cloud Security Engineer Practice Tests