Practice Exams:

Google Professional Cloud Security Engineer Dumps

EXAM: Professional Cloud Security Engineer
Verified By Experts
Premium Bundle
$40.00
$59.97 $99.97

Professional Cloud Security Engineer Premium Bundle


  • Premium File 376 Questions & Answers
  • Training Course 89 Lectures
  • Study Guide 335 Pages

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?

  1. Remove every recommendation without considering rare but necessary emergency tasks.
  2. Manually create unmanaged duplicate user accounts outside the company directory.
  3. Grant permission to impersonate every service account in the organization for convenience.
  4. Issue one shared service-account JSON key to every external consultant as a login method.

Answer & Explanations

Correct answer: D

A.

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.

B.

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.

C.

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.

D.

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?

  1. Attach a dedicated least-privilege service account to the workload that needs Google Cloud API access.
  2. Configure Cloud Identity SAML single sign-on with the external identity provider and validate the assertion mapping.
  3. Grant the workload only the serviceAccountTokenCreator impersonation role on the explicitly allowed target service account.
  4. Avoid unintended broad IAM inheritance by placing a sensitive project in a carefully governed folder and reviewing ancestors.

Answer & Explanations

Correct answer: A

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.

B.

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.

C.

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.

D.

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?

  1. Audit trails and key-creation constraints help identify unmanaged nonhuman credential proliferation.
  2. Attached service-account identity lets the runtime obtain managed credentials without embedding downloadable keys in code.
  3. SAML federates interactive authentication to a trusted identity provider while Google Cloud IAM still governs resource authorization.
  4. Least-privilege resource-level grants avoid inheriting unnecessary permissions to sibling projects and datasets.

Answer & Explanations

Correct answer: B

A.

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.

B.

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.

C.

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.

D.

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?

  1. Run a test job and confirm its API permissions work while a forbidden resource call fails.
  2. Test a service operator on the intended resource and confirm equivalent access to a sibling resource is denied.
  3. Attempt authorized and unauthorized target impersonations and inspect the audit trail.
  4. Sign in with a permitted test identity and confirm incorrect audience or expired assertions are rejected.

Answer & Explanations

Correct answer: A

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.

B.

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.

C.

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.

D.

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?

  1. Leave default Compute Engine service accounts with project-wide Editor rights forever.
  2. Ship a developer-owned JSON service-account key inside the application repository.
  3. Store each employee's corporate password inside an application service-account key.
  4. Leave administrator sessions valid indefinitely on shared public computers.

Answer & Explanations

Correct answer: B

A.

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.

B.

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.

C.

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.

D.

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?

  1. Organize projects into folders aligned with policy and ownership boundaries, with distinct production and development governance.
  2. Protect Cloud Identity super administrator accounts with strong multifactor authentication and tightly controlled emergency access.
  3. Attach a dedicated least-privilege service account to the workload that needs Google Cloud API access.
  4. Disable unused default service accounts and remove broad automatic IAM grants after verifying workload dependencies.

Answer & Explanations

Correct answer: C

A.

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.

B.

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.

C.

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.

D.

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?

  1. Attached service-account identity lets the runtime obtain managed credentials without embedding downloadable keys in code.
  2. Privileged Access Manager supports just-in-time entitlement and approval workflows rather than perpetual high-risk grants.
  3. Multifactor authentication adds another factor beyond a stolen account password for interactive administrator sign-in.
  4. Service-account impersonation issues time-limited access tokens under audited delegation rather than disclosing the target account key.

Answer & Explanations

Correct answer: A

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.

B.

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.

C.

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.

D.

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?

  1. Run a test job and confirm its API permissions work while a forbidden resource call fails.
  2. Request a narrow test token and verify it cannot call an unrelated protected API.
  3. Confirm the revoked key fails authentication and the application runs under its replacement identity.
  4. Inspect the project's effective IAM policies and test access from a principal granted only at the organization level.

Answer & Explanations

Correct answer: A

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.

B.

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.

C.

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.

D.

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?

  1. Leave default Compute Engine service accounts with project-wide Editor rights forever.
  2. Make the sole shared super administrator account available to all project developers.
  3. Ship a developer-owned JSON service-account key inside the application repository.
  4. Exempt every organization administrator from MFA to avoid support calls.

Answer & Explanations

Correct answer: C

A.

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.

B.

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.

C.

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.

D.

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?

  1. Replace long-lived external workload keys with Workload Identity Federation and short-lived identity exchange.
  2. Rotate and revoke an exposed service-account key while migrating the application to managed short-lived credentials.
  3. Organize projects into folders aligned with policy and ownership boundaries, with distinct production and development governance.
  4. Apply Access Context Manager access levels only for conditions they actually evaluate and test the combined boundary.

Answer & Explanations

Correct answer: A

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.

B.

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.

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 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.

D.

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?

  1. Multifactor authentication adds another factor beyond a stolen account password for interactive administrator sign-in.
  2. Federation exchanges trusted external workload assertions for temporary Google access without storing persistent service-account private keys.
  3. Attached service-account identity lets the runtime obtain managed credentials without embedding downloadable keys in code.
  4. Deny policies restrict the effective permission set independently of allow bindings for supported permissions.

Answer & Explanations

Correct answer: B

A.

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.

B.

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.

C.

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.

D.

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