Google Professional Cloud Security Engineer Dumps
Google Professional Cloud Security Engineer Practice Test 5
Question 40
At Pinecrest Research external collaborators must authenticate through their federation issuer. Which shortcut most directly undermines this security requirement?
Answer & Explanations
Correct answer: D
Remove every recommendation without considering rare but necessary emergency tasks. This concerns another issue: At Cedarbank Engineering an automation identity still has Editor but only reads metrics. In the stated case—At Pinecrest Research external collaborators must authenticate through their federation issuer—reject: Issue one shared service-account JSON key to every external consultant as a login method. The safer response is: Configure Workforce Identity Federation for external workforce users with the supported external identity provider.
Manually create unmanaged duplicate user accounts outside the company directory. This concerns another issue: At Northbridge Health the corporate directory must provision clinical analytics staff into the cloud identity tenant. In the stated case—At Pinecrest Research external collaborators must authenticate through their federation issuer—reject: Issue one shared service-account JSON key to every external consultant as a login method. The safer response is: Configure Workforce Identity Federation for external workforce users with the supported external identity provider.
Grant permission to impersonate every service account in the organization for convenience. This concerns another issue: At Northpoint Operations an automation worker must impersonate only the reporting service account. In the stated case—At Pinecrest Research external collaborators must authenticate through their federation issuer—reject: Issue one shared service-account JSON key to every external consultant as a login method. The safer response is: Configure Workforce Identity Federation for external workforce users with the supported external identity provider.
Issue one shared service-account JSON key to every external consultant as a login method. The scenario is: At Pinecrest Research external collaborators must authenticate through their federation issuer. The likely failure is: Shared service credentials destroy individual accountability and increase key theft risk. Instead: Configure Workforce Identity Federation for external workforce users with the supported external identity provider.
Question 41
At Cedarline Commerce a Cloud Run service reads one approved storage bucket. Which security configuration best addresses this requirement?
Answer & Explanations
Correct answer: A
Attach a dedicated least-privilege service account to the workload that needs Google Cloud API access. This works because: Attached service-account identity lets the runtime obtain managed credentials without embedding downloadable keys in code. The scenario is: At Cedarline Commerce a Cloud Run service reads one approved storage bucket. Verify the outcome by: Run a test job and confirm its API permissions work while a forbidden resource call fails.
Configure Cloud Identity SAML single sign-on with the external identity provider and validate the assertion mapping. This addresses a different situation: At Elmwood Manufacturing staff must use a company SAML portal to access Google Cloud. The present case is: At Cedarline Commerce a Cloud Run service reads one approved storage bucket. The relevant action here is: Attach a dedicated least-privilege service account to the workload that needs Google Cloud API access.
Grant the workload only the serviceAccountTokenCreator impersonation role on the explicitly allowed target service account. This addresses a different situation: At Northpoint Operations an automation worker must impersonate only the reporting service account. The present case is: At Cedarline Commerce a Cloud Run service reads one approved storage bucket. The relevant action here is: Attach a dedicated least-privilege service account to the workload that needs Google Cloud API access.
Avoid unintended broad IAM inheritance by placing a sensitive project in a carefully governed folder and reviewing ancestors. This addresses a different situation: At Pineport Commerce a confidential project inherited a broad shared group from its parent. The present case is: At Cedarline Commerce a Cloud Run service reads one approved storage bucket. The relevant action here is: Attach a dedicated least-privilege service account to the workload that needs Google Cloud API access.
Question 42
At Cedarline Commerce a Cloud Run service reads one approved storage bucket. The proposed approach is: Attach a dedicated least-privilege service account to the workload that needs Google Cloud API access. Which underlying security principle explains why it works?
Answer & Explanations
Correct answer: B
Audit trails and key-creation constraints help identify unmanaged nonhuman credential proliferation. That explains a separate situation: At Oakridge Compliance auditors need evidence that new downloadable service-account keys are restricted. The current case is: At Cedarline Commerce a Cloud Run service reads one approved storage bucket. The actual mechanism is: Attached service-account identity lets the runtime obtain managed credentials without embedding downloadable keys in code.
Attached service-account identity lets the runtime obtain managed credentials without embedding downloadable keys in code. This principle supports the intervention: Attach a dedicated least-privilege service account to the workload that needs Google Cloud API access. The relevant scenario is: At Cedarline Commerce a Cloud Run service reads one approved storage bucket. Verify the result by: Run a test job and confirm its API permissions work while a forbidden resource call fails.
SAML federates interactive authentication to a trusted identity provider while Google Cloud IAM still governs resource authorization. That explains a separate situation: At Elmwood Manufacturing staff must use a company SAML portal to access Google Cloud. The current case is: At Cedarline Commerce a Cloud Run service reads one approved storage bucket. The actual mechanism is: Attached service-account identity lets the runtime obtain managed credentials without embedding downloadable keys in code.
Least-privilege resource-level grants avoid inheriting unnecessary permissions to sibling projects and datasets. That explains a separate situation: At Cedarwood Retail a support engineer should inspect only one production bucket. The current case is: At Cedarline Commerce a Cloud Run service reads one approved storage bucket. The actual mechanism is: Attached service-account identity lets the runtime obtain managed credentials without embedding downloadable keys in code.
Question 43
At Cedarline Commerce a Cloud Run service reads one approved storage bucket. After implementing the change—Attach a dedicated least-privilege service account to the workload that needs Google Cloud API access—which test most directly demonstrates the required security outcome?
Answer & Explanations
Correct answer: A
Run a test job and confirm its API permissions work while a forbidden resource call fails. This tests the targeted action: Attach a dedicated least-privilege service account to the workload that needs Google Cloud API access. The reason is: Attached service-account identity lets the runtime obtain managed credentials without embedding downloadable keys in code. The reported case is: At Cedarline Commerce a Cloud Run service reads one approved storage bucket.
Test a service operator on the intended resource and confirm equivalent access to a sibling resource is denied. This tests a separate situation: At Cedarwood Retail a support engineer should inspect only one production bucket. The observed case is: At Cedarline Commerce a Cloud Run service reads one approved storage bucket. Use this acceptance check instead: Run a test job and confirm its API permissions work while a forbidden resource call fails.
Attempt authorized and unauthorized target impersonations and inspect the audit trail. This tests a separate situation: At Northpoint Operations an automation worker must impersonate only the reporting service account. The observed case is: At Cedarline Commerce a Cloud Run service reads one approved storage bucket. Use this acceptance check instead: Run a test job and confirm its API permissions work while a forbidden resource call fails.
Sign in with a permitted test identity and confirm incorrect audience or expired assertions are rejected. This tests a separate situation: At Elmwood Manufacturing staff must use a company SAML portal to access Google Cloud. The observed case is: At Cedarline Commerce a Cloud Run service reads one approved storage bucket. Use this acceptance check instead: Run a test job and confirm its API permissions work while a forbidden resource call fails.
Question 44
At Cedarline Commerce a Cloud Run service reads one approved storage bucket. Which shortcut most directly undermines this security requirement?
Answer & Explanations
Correct answer: B
Leave default Compute Engine service accounts with project-wide Editor rights forever. This concerns another issue: At Harborcrest Consulting newly provisioned VMs still use broadly privileged default credentials. In the stated case—At Cedarline Commerce a Cloud Run service reads one approved storage bucket—reject: Ship a developer-owned JSON service-account key inside the application repository. The safer response is: Attach a dedicated least-privilege service account to the workload that needs Google Cloud API access.
Ship a developer-owned JSON service-account key inside the application repository. The scenario is: At Cedarline Commerce a Cloud Run service reads one approved storage bucket. This undermines the mechanism: Attached service-account identity lets the runtime obtain managed credentials without embedding downloadable keys in code. Instead: Attach a dedicated least-privilege service account to the workload that needs Google Cloud API access.
Store each employee's corporate password inside an application service-account key. This concerns another issue: At Elmwood Manufacturing staff must use a company SAML portal to access Google Cloud. In the stated case—At Cedarline Commerce a Cloud Run service reads one approved storage bucket—reject: Ship a developer-owned JSON service-account key inside the application repository. The safer response is: Attach a dedicated least-privilege service account to the workload that needs Google Cloud API access.
Leave administrator sessions valid indefinitely on shared public computers. This concerns another issue: At Brookfield Insurance cloud admins sometimes work from temporary managed devices. In the stated case—At Cedarline Commerce a Cloud Run service reads one approved storage bucket—reject: Ship a developer-owned JSON service-account key inside the application repository. The safer response is: Attach a dedicated least-privilege service account to the workload that needs Google Cloud API access.
Question 45
At Oakport Media a Compute Engine process publishes to a restricted Pub/Sub topic. Which security configuration best addresses this requirement?
Answer & Explanations
Correct answer: C
Organize projects into folders aligned with policy and ownership boundaries, with distinct production and development governance. This addresses a different situation: At Northbridge Labs regulated analytics projects need a dedicated folder boundary. The present case is: At Oakport Media a Compute Engine process publishes to a restricted Pub/Sub topic. The relevant action here is: Attach a dedicated least-privilege service account to the workload that needs Google Cloud API access.
Protect Cloud Identity super administrator accounts with strong multifactor authentication and tightly controlled emergency access. This addresses a different situation: At Silverlake Retail the only identity super administrator is also used for ordinary development. The present case is: At Oakport Media a Compute Engine process publishes to a restricted Pub/Sub topic. The relevant action here is: Attach a dedicated least-privilege service account to the workload that needs Google Cloud API access.
Attach a dedicated least-privilege service account to the workload that needs Google Cloud API access. This works because: Attached service-account identity lets the runtime obtain managed credentials without embedding downloadable keys in code. The scenario is: At Oakport Media a Compute Engine process publishes to a restricted Pub/Sub topic. Verify the outcome by: Run a test job and confirm its API permissions work while a forbidden resource call fails.
Disable unused default service accounts and remove broad automatic IAM grants after verifying workload dependencies. This addresses a different situation: At Harborcrest Consulting newly provisioned VMs still use broadly privileged default credentials. The present case is: At Oakport Media a Compute Engine process publishes to a restricted Pub/Sub topic. The relevant action here is: Attach a dedicated least-privilege service account to the workload that needs Google Cloud API access.
Question 46
At Oakport Media a Compute Engine process publishes to a restricted Pub/Sub topic. The proposed approach is: Attach a dedicated least-privilege service account to the workload that needs Google Cloud API access. Which underlying security principle explains why it works?
Answer & Explanations
Correct answer: A
Attached service-account identity lets the runtime obtain managed credentials without embedding downloadable keys in code. This principle supports the intervention: Attach a dedicated least-privilege service account to the workload that needs Google Cloud API access. The relevant scenario is: At Oakport Media a Compute Engine process publishes to a restricted Pub/Sub topic. Verify the result by: Run a test job and confirm its API permissions work while a forbidden resource call fails.
Privileged Access Manager supports just-in-time entitlement and approval workflows rather than perpetual high-risk grants. That explains a separate situation: At Baybridge Utilities incident responders need temporary high-impact change rights. The current case is: At Oakport Media a Compute Engine process publishes to a restricted Pub/Sub topic. The actual mechanism is: Attached service-account identity lets the runtime obtain managed credentials without embedding downloadable keys in code.
Multifactor authentication adds another factor beyond a stolen account password for interactive administrator sign-in. That explains a separate situation: At Glenbrook Healthcare privileged cloud administrators must use phishing-resistant authentication. The current case is: At Oakport Media a Compute Engine process publishes to a restricted Pub/Sub topic. The actual mechanism is: Attached service-account identity lets the runtime obtain managed credentials without embedding downloadable keys in code.
Service-account impersonation issues time-limited access tokens under audited delegation rather than disclosing the target account key. That explains a separate situation: At Northpoint Operations an automation worker must impersonate only the reporting service account. The current case is: At Oakport Media a Compute Engine process publishes to a restricted Pub/Sub topic. The actual mechanism is: Attached service-account identity lets the runtime obtain managed credentials without embedding downloadable keys in code.
Question 47
At Oakport Media a Compute Engine process publishes to a restricted Pub/Sub topic. After implementing the change—Attach a dedicated least-privilege service account to the workload that needs Google Cloud API access—which test most directly demonstrates the required security outcome?
Answer & Explanations
Correct answer: A
Run a test job and confirm its API permissions work while a forbidden resource call fails. This tests the targeted action: Attach a dedicated least-privilege service account to the workload that needs Google Cloud API access. The reason is: Attached service-account identity lets the runtime obtain managed credentials without embedding downloadable keys in code. The reported case is: At Oakport Media a Compute Engine process publishes to a restricted Pub/Sub topic.
Request a narrow test token and verify it cannot call an unrelated protected API. This tests a separate situation: At Pinehaven HR a dashboard requests read-only employee profile access. The observed case is: At Oakport Media a Compute Engine process publishes to a restricted Pub/Sub topic. Use this acceptance check instead: Run a test job and confirm its API permissions work while a forbidden resource call fails.
Confirm the revoked key fails authentication and the application runs under its replacement identity. This tests a separate situation: At Cedarbank Media a key was accidentally committed to a public code repository. The observed case is: At Oakport Media a Compute Engine process publishes to a restricted Pub/Sub topic. Use this acceptance check instead: Run a test job and confirm its API permissions work while a forbidden resource call fails.
Inspect the project's effective IAM policies and test access from a principal granted only at the organization level. This tests a separate situation: At Pineport Commerce a confidential project inherited a broad shared group from its parent. The observed case is: At Oakport Media a Compute Engine process publishes to a restricted Pub/Sub topic. Use this acceptance check instead: Run a test job and confirm its API permissions work while a forbidden resource call fails.
Question 48
At Oakport Media a Compute Engine process publishes to a restricted Pub/Sub topic. Which shortcut most directly undermines this security requirement?
Answer & Explanations
Correct answer: C
Leave default Compute Engine service accounts with project-wide Editor rights forever. This concerns another issue: At Harborcrest Consulting newly provisioned VMs still use broadly privileged default credentials. In the stated case—At Oakport Media a Compute Engine process publishes to a restricted Pub/Sub topic—reject: Ship a developer-owned JSON service-account key inside the application repository. The safer response is: Attach a dedicated least-privilege service account to the workload that needs Google Cloud API access.
Make the sole shared super administrator account available to all project developers. This concerns another issue: At Silverlake Retail the only identity super administrator is also used for ordinary development. In the stated case—At Oakport Media a Compute Engine process publishes to a restricted Pub/Sub topic—reject: Ship a developer-owned JSON service-account key inside the application repository. The safer response is: Attach a dedicated least-privilege service account to the workload that needs Google Cloud API access.
Ship a developer-owned JSON service-account key inside the application repository. The scenario is: At Oakport Media a Compute Engine process publishes to a restricted Pub/Sub topic. This undermines the mechanism: Attached service-account identity lets the runtime obtain managed credentials without embedding downloadable keys in code. Instead: Attach a dedicated least-privilege service account to the workload that needs Google Cloud API access.
Exempt every organization administrator from MFA to avoid support calls. This concerns another issue: At Glenbrook Healthcare privileged cloud administrators must use phishing-resistant authentication. In the stated case—At Oakport Media a Compute Engine process publishes to a restricted Pub/Sub topic—reject: Ship a developer-owned JSON service-account key inside the application repository. The safer response is: Attach a dedicated least-privilege service account to the workload that needs Google Cloud API access.
Question 49
At Silvercrest Software a GitHub Actions job deploys approved artifacts to Cloud Run. Which security configuration best addresses this requirement?
Answer & Explanations
Correct answer: A
Replace long-lived external workload keys with Workload Identity Federation and short-lived identity exchange. This works because: Federation exchanges trusted external workload assertions for temporary Google access without storing persistent service-account private keys. The scenario is: At Silvercrest Software a GitHub Actions job deploys approved artifacts to Cloud Run. Verify the outcome by: Run a test CI job using its external OIDC identity and verify token expiry and scoped resource access.
Rotate and revoke an exposed service-account key while migrating the application to managed short-lived credentials. This addresses a different situation: At Cedarbank Media a key was accidentally committed to a public code repository. The present case is: At Silvercrest Software a GitHub Actions job deploys approved artifacts to Cloud Run. The relevant action here is: Replace long-lived external workload keys with Workload Identity Federation and short-lived identity exchange.
Organize projects into folders aligned with policy and ownership boundaries, with distinct production and development governance. This addresses a different situation: At Northbridge Labs regulated analytics projects need a dedicated folder boundary. The present case is: At Silvercrest Software a GitHub Actions job deploys approved artifacts to Cloud Run. The relevant action here is: Replace long-lived external workload keys with Workload Identity Federation and short-lived identity exchange.
Apply Access Context Manager access levels only for conditions they actually evaluate and test the combined boundary. This addresses a different situation: At Pinehill Banking data access must come from approved corporate devices. The present case is: At Silvercrest Software a GitHub Actions job deploys approved artifacts to Cloud Run. The relevant action here is: Replace long-lived external workload keys with Workload Identity Federation and short-lived identity exchange.
Question 50
At Silvercrest Software a GitHub Actions job deploys approved artifacts to Cloud Run. The proposed approach is: Replace long-lived external workload keys with Workload Identity Federation and short-lived identity exchange. Which underlying security principle explains why it works?
Answer & Explanations
Correct answer: B
Multifactor authentication adds another factor beyond a stolen account password for interactive administrator sign-in. That explains a separate situation: At Glenbrook Healthcare privileged cloud administrators must use phishing-resistant authentication. The current case is: At Silvercrest Software a GitHub Actions job deploys approved artifacts to Cloud Run. The actual mechanism is: Federation exchanges trusted external workload assertions for temporary Google access without storing persistent service-account private keys.
Federation exchanges trusted external workload assertions for temporary Google access without storing persistent service-account private keys. This principle supports the intervention: Replace long-lived external workload keys with Workload Identity Federation and short-lived identity exchange. The relevant scenario is: At Silvercrest Software a GitHub Actions job deploys approved artifacts to Cloud Run. Verify the result by: Run a test CI job using its external OIDC identity and verify token expiry and scoped resource access.
Attached service-account identity lets the runtime obtain managed credentials without embedding downloadable keys in code. That explains a separate situation: At Cedarline Commerce a Cloud Run service reads one approved storage bucket. The current case is: At Silvercrest Software a GitHub Actions job deploys approved artifacts to Cloud Run. The actual mechanism is: Federation exchanges trusted external workload assertions for temporary Google access without storing persistent service-account private keys.
Deny policies restrict the effective permission set independently of allow bindings for supported permissions. That explains a separate situation: At Silverbrook Technology a project owner must not disable required audit logging. The current case is: At Silvercrest Software a GitHub Actions job deploys approved artifacts to Cloud Run. The actual mechanism is: Federation exchanges trusted external workload assertions for temporary Google access without storing persistent service-account private keys.
Professional Cloud Security Engineer Practice Tests
- Google Professional Cloud Security Engineer Practice Test 3 - 10 Questions (Last Reviewed 28-Nov-2026)
- Google Professional Cloud Security Engineer Practice Test 4 - 10 Questions (Last Reviewed 27-Nov-2026)
- Google Professional Cloud Security Engineer Practice Test 5 - 10 Questions (Last Reviewed 26-Nov-2026)
- Google Professional Cloud Security Engineer Practice Test 6 - 10 Questions (Last Reviewed 25-Nov-2026)
- Google Professional Cloud Security Engineer Practice Test 7 - 10 Questions (Last Reviewed 24-Nov-2026)