Exam Information
Free practice questions with explanations
Google Professional-Cloud-Security-Engineer Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 13
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice Configuring access
A company uses Cloud Identity with Google Workspace-style user provisioning driven from an on-premises Active Directory. The security team wants a service account that a CI/CD runner in a separate project uses to deploy to Cloud Run. The runner currently authenticates with a downloaded JSON key that was created two years ago and is stored in the pipeline's variables. Audit logs show the key was copied to a developer laptop last quarter. The organization policy iam.disableServiceAccountKeyCreation is enforced at the organization level. The pipeline already runs on a supported identity provider that issues OIDC tokens. Which action should the security engineer take FIRST to remove the risk while keeping deployments working with no long-lived credentials?
Correct Answer: AExplanationWorkload Identity Federation lets an external workload exchange its OIDC token for short-lived Google Cloud credentials, so no exported key is needed. Configuring a pool and provider for the CI/CD issuer, granting the federated identity roles/iam.workloadIdentityUser or direct impersonation on the deployment account, and then deleting the leaked key removes the long-lived secret. Rotating the key still leaves a copyable credential, and Secret Manager only relocates the same key. Granting organization-wide admin rights violates least privilege and does not address the exposed credential.
-
2 Question 2 Single choice Configuring access
A financial services firm must prevent employees from signing in to Google Cloud with personal accounts. Their identities are managed in Cloud Identity, and a third-party SAML 2.0 identity provider handles SSO for the workforce. An audit found that a super administrator account is used daily by an automation script that authenticates with a password stored in a shared vault. The firm must keep at least two super administrators for break-glass recovery, enforce phishing-resistant MFA on them, and stop the automation from using a human account. Which combination of actions best meets these requirements? (Choose one.)
Correct Answer: AExplanationSuper administrator accounts are intended to remain outside the SSO path so they can recover the domain if the external IdP fails, so keeping at least two of them on Google login with security keys satisfies break-glass and phishing-resistant MFA goals. Automation should never use a human super administrator; a service account with narrowly scoped roles is the correct replacement. Routing super admins through the IdP removes the break-glass path. Rotating a password still leaves a shared human credential in automation. Deleting all super admins can lock the domain out of administration.
-
3 Question 3 Single choice Configuring access
A platform team runs a GKE cluster in project prod-app. Pods in one namespace call the Cloud Storage API, and the team uses the default Compute Engine service account, which has the Editor role on the project. A penetration test showed that a compromised pod could create new service account keys. The team wants each workload to have only the permissions it needs, with no keys, and they want to keep Workload Identity compatible with existing Kubernetes service accounts. What is the MOST appropriate next step?
Correct Answer: BExplanationWorkload Identity maps a Kubernetes service account to a Google service account so pods obtain short-lived tokens without keys, and granting a narrow role on the specific bucket enforces least privilege. Granting project-wide storage admin widens access rather than narrowing it. A mounted key reintroduces a long-lived credential that the pod could exfiltrate. Disabling the default grant prevents future over-privilege but does not fix the existing Editor binding or give the workload a scoped identity, and pods would still share the node identity.
-
4 Question 4 Single choice Ensuring data protection
A healthcare provider stores patient intake forms in Cloud Storage. Analysts need to query de-identified data in BigQuery, but the data scientists must be able to link records back to the original patient across separate datasets during a study, using a consistent surrogate key. Regulations forbid storing raw identifiers in the analytics project. The security team must use Sensitive Data Protection and keep the transformation reversible only by a controlled service. Which approach should the engineer implement?
Correct Answer: AExplanationSensitive Data Protection supports deterministic encryption as a pseudonymization transformation, which produces the same surrogate for the same input, enabling joins across datasets. Wrapping the key with Cloud KMS and restricting decryption to a re-identification service account makes reversal a controlled operation. Per-dataset salted hashes give different surrogates across datasets, breaking the linkage. Masking is not reversible and loses the join key. Policy tags restrict visibility but still store raw identifiers in the analytics project, which the regulation forbids.
-
5 Question 5 Single choice Ensuring data protection
A retailer uses Cloud KMS customer-managed encryption keys for a Cloud Storage bucket holding regulated order data. A compliance requirement states that the retailer must be able to render all data unreadable within 24 hours if a breach is suspected, while keeping a copy of the keys in a separate on-premises HSM so data can be restored after a cloud incident. Cloud KMS is in the us-central1 region. The security team wants the least operationally risky design. Which option best satisfies these requirements?
Correct Answer: AExplanationCloud External Key Manager keeps key material outside Google Cloud, so revoking or disabling the key at the external partner immediately prevents Cloud Storage from decrypting data, and the organization retains custody of the key material. Default encryption cannot be cut off by the customer, and IAM revocation does not render encrypted data unreadable to anyone who has a valid path. Exporting and destroying the cloud copy is not a supported way to provide ongoing EKM semantics and risks losing access. A retention policy deletes data rather than rendering it unreadable and cannot be applied reactively to meet the 24-hour requirement.
-
6 Question 6 Single choice Ensuring data protection
A team stores database credentials for a Cloud SQL instance in Secret Manager. The application runs on Cloud Run with a runtime service account. After a deployment, a developer with roles/secretmanager.viewer on the project reported that they can see the secret's versions and metadata but not the payload. The security engineer must verify that only the runtime service account can access the secret payload, that the application can read the latest version without code changes, and that the team can rotate the password without redeploying. Which configuration should the engineer confirm?
Correct Answer: BExplanationSecret Manager separates metadata viewing from payload access, which is granted by roles/secretmanager.secretAccessor, and scoping that role to the specific secret limits exposure. Referencing the latest alias lets Cloud Run pick up new versions after rotation without a redeploy. Admin on the project grants far more than needed and pins a version that will break after rotation. Granting access to allAuthenticatedUsers exposes the payload to any signed-in identity. Project-wide accessor is broader than required, and CMEK replication does not force redeployment.
-
7 Question 7 Single choice Managing operations
A company runs a container image pipeline in Cloud Build that pushes images to Artifact Registry, and GKE Autopilot clusters deploy them. The security team requires that only images built by the approved pipeline and scanned for critical CVEs can run in production. Developers occasionally push hotfix images directly from laptops during incidents, and the platform team wants those to be blocked unless an emergency exception is recorded. The team wants the enforcement at deploy time without modifying every manifest. Which design best meets these requirements?
Correct Answer: AExplanationBinary Authorization enforces policy at deployment time by requiring attestations from named attestors, and attestations can be created by a pipeline step only after the Container Analysis scan result meets the threshold. A default rule with a documented exception path fits the emergency process. Scanning alone does not block deployment. Restricting write access helps but depends on custom admission logic and does not verify scan results. Cloud Armor filters network traffic to services and does not govern which container images are deployed.
-
8 Question 8 Single choice Managing operations
A security operations team is building a detection pipeline for lateral movement in a Shared VPC environment with 40 projects. They want to detect when a Compute Engine instance in one project opens outbound connections to an IP range associated with known command-and-control infrastructure, and they need the data to be queryable with SQL for historical investigations over 90 days. Costs must be controlled, and they do not want to deploy agents on every VM. Which combination of configuration choices best meets the requirements? (Choose two.)
Correct Answer: CExplanationVPC Flow Logs capture connection metadata that can be stored in a Cloud Logging bucket with Log Analytics enabled, which supports SQL queries over retained history, and sampling and retention can be tuned to control cost. Cloud IDS inspects mirrored traffic with threat signatures and generates alerts without per-VM agents. Packet Mirroring on every VM is expensive and heavy for 40 projects. Logging only deny rules misses allowed outbound connections, which is exactly the behavior of interest. Custom agents on every VM violate the no-agent constraint.
-
9 Question 9 Single choice Securing communications and establishing boundary protection
A media company exposes a public web application through an external Application Load Balancer. The application was attacked with SQL injection payloads in query parameters, and the team needs layer 7 filtering with the least disruption to legitimate traffic. The organization also requires that rules be managed centrally and that changes be previewed before enforcement. A pilot shows that a standard OWASP rule set blocks a legitimate search feature that contains quoted terms. The team must keep protection against injection while allowing that feature. Which action is the MOST appropriate?
Correct Answer: BExplanationGoogle Cloud Armor evaluates rules by priority, so a targeted allow rule with a higher priority for the specific path lets the search feature bypass the signature rule while every other path remains protected, and preview mode lets the team check the impact before enforcing. Disabling the injection rule removes protection across the whole application. A Network Load Balancer operates at layer 4 and cannot provide layer 7 filtering at all. Cloud NGFW is a network firewall and does not inspect application parameters for SQL injection in this way.
-
10 Question 10 Single choice Securing communications and establishing boundary protection
A bank runs a three-tier application across two projects: a web project and a data project. Data-tier Cloud SQL instances must accept connections only from the application tier and must not be reachable through the public internet. Compliance requires that exfiltration of data from the data project to resources in other organizations be blocked even if an attacker obtains valid credentials with broad IAM roles. The network team has already restricted routes using firewall rules. Which additional control should the security engineer configure?
Correct Answer: BExplanationVPC Service Controls creates a service perimeter that blocks API requests crossing the boundary, including data exfiltration by a credentialed user, regardless of IAM roles, which is the exact protection required. Adding the application project as an allowed member keeps legitimate traffic working. Private Google Access and NAT address private IP reachability, not exfiltration via APIs. Cloud Armor edge policies apply to HTTP load balancers and are not the control for Cloud SQL exfiltration. Removing public IPs is good hygiene but does not stop an attacker with valid credentials from copying data through Google APIs.
-
11 Question 11 Single choice Supporting compliance requirements
A government contractor must keep all data processing for a regulated workload in the United States and enforce US persons-only support access, with an approval record for any Google personnel access to customer content. The team is building the environment in Assured Workloads using the FedRAMP High control package. Some engineers are proposing to set an organization policy that restricts resource locations to US regions and to enable Access Transparency logs in the same folder. A reviewer notes that Access Approval must also be configured before any engineer grants access. Which statement best describes how these controls complete the compliance requirement?
Correct Answer: AExplanationThe resource location organization policy keeps resources in approved regions, Access Transparency provides logs of actions taken by Google personnel, and Access Approval adds a customer approval gate for the access that occurs when Google needs to act on customer content. These controls work together to satisfy both residency and access governance. Assured Workloads provides control packages and folder configuration but the organization policies and approval services still need explicit setup. Access Approval does not log access, and Access Transparency does not approve it. Location policies govern resource placement, not the location of Google support personnel.
-
12 Question 12 Single choice Securing communications and establishing boundary protection
An enterprise uses a hub-and-spoke Shared VPC design. A development project in a spoke VPC needs to call a Google API endpoint using the private restricted.googleapis.com domain, and the on-premises network reaches the hub through Cloud Interconnect. The development project must not have a route to the public internet. DNS queries from on-premises must resolve the private VIP as well. The network team has a Cloud DNS private zone for googleapis.com in the hub. Which configuration is required so the development VMs resolve and reach the restricted VIP without public internet egress?
Correct Answer: BExplanationPrivate Google Access for restricted APIs requires resolving googleapis.com names to the restricted VIP range 199.36.153.4/30, typically via a CNAME of *.googleapis.com to restricted.googleapis.com and A records for that range, and the private zone must be visible to the VPCs that use it. The routes for the restricted VIP are advertised by default in VPCs and do not require a public egress path. Pointing records at public addresses or using Cloud NAT creates public internet egress, which the requirement forbids. Public DNS and default gateway routes fail the no-internet constraint, and public resolvers bypass the private zone.
-
13 Question 13 Single choice Configuring access
A company is replacing a long-running batch job that uses a service account with a downloaded key to read from BigQuery and write to Cloud Storage. The job runs on a VM in a separate project. The security team wants to eliminate key usage across the environment, and the VM is already configured with a dedicated service account attached to the instance. The team wants the VM's workloads to call Google APIs as that service account. The organization policy blocks key creation. Which approach should the engineer use?
Correct Answer: DExplanationCompute Engine attaches a service account to the VM and exposes short-lived tokens through the metadata server, and Application Default Credentials automatically uses those tokens when no key file is present, so no key is needed. Generating a key contradicts the policy and the goal. Owner across the organization is an extreme over-grant. Workload Identity Federation is for external identities and is not needed for a VM with an attached service account in the same organization.
These are 13 of the 331 questions in the full Professional-Cloud-Security-Engineer pack.
Get All 331 QuestionsGet all 331 questions & answers
Full access options for Google Professional-Cloud-Security-Engineer
Self-study
PDF Version
- 331 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 331 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 331 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the Professional-Cloud-Security-Engineer Exam (Professional Cloud Security Engineer) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.