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 6

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.

Question 51

At Silvercrest Software a GitHub Actions job deploys approved artifacts to Cloud Run. After implementing the change—Replace long-lived external workload keys with Workload Identity Federation and short-lived identity exchange—which test most directly demonstrates the required security outcome?

  1. Validate a partner test subject can access its approved project and an unrelated subject is denied.
  2. Attempt a disallowed test resource setting in a child project and verify the inherited constraint rejects it.
  3. Run a test CI job using its external OIDC identity and verify token expiry and scoped resource access.
  4. Attempt authorized and unauthorized target impersonations and inspect the audit trail.

Answer & Explanations

Correct answer: C

A.

Validate a partner test subject can access its approved project and an unrelated subject is denied. This tests a separate situation: At Harborwood Analytics vendor staff need short-term access using their employer identity provider. The observed case is: At Silvercrest Software a GitHub Actions job deploys approved artifacts to Cloud Run. Use this acceptance check instead: Run a test CI job using its external OIDC identity and verify token expiry and scoped resource access.

B.

Attempt a disallowed test resource setting in a child project and verify the inherited constraint rejects it. This tests a separate situation: At Fernfield Banking organizational policy prohibits resources outside approved regions. The observed case is: At Silvercrest Software a GitHub Actions job deploys approved artifacts to Cloud Run. Use this acceptance check instead: Run a test CI job using its external OIDC identity and verify token expiry and scoped resource access.

C.

Run a test CI job using its external OIDC identity and verify token expiry and scoped resource access. This tests the targeted action: Replace long-lived external workload keys with Workload Identity Federation and short-lived identity exchange. The reason is: Federation exchanges trusted external workload assertions for temporary Google access without storing persistent service-account private keys. The reported case is: At Silvercrest Software a GitHub Actions job deploys approved artifacts to Cloud Run.

D.

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 Silvercrest Software a GitHub Actions job deploys approved artifacts to Cloud Run. Use this acceptance check instead: Run a test CI job using its external OIDC identity and verify token expiry and scoped resource access.

Question 52

At Silvercrest Software a GitHub Actions job deploys approved artifacts to Cloud Run. Which shortcut most directly undermines this security requirement?

  1. Wait until quarterly audits to disable known departed employee accounts.
  2. Remove every recommendation without considering rare but necessary emergency tasks.
  3. Grant permission to impersonate every service account in the organization for convenience.
  4. Store a reusable project-owner service-account key in a third-party build server.

Answer & Explanations

Correct answer: D

A.

Wait until quarterly audits to disable known departed employee accounts. This concerns another issue: At Seaview Logistics seasonal contractors should lose cloud membership when assignments end. In the stated case—At Silvercrest Software a GitHub Actions job deploys approved artifacts to Cloud Run—reject: Store a reusable project-owner service-account key in a third-party build server. The safer response is: Replace long-lived external workload keys with Workload Identity Federation and short-lived identity exchange.

B.

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 Silvercrest Software a GitHub Actions job deploys approved artifacts to Cloud Run—reject: Store a reusable project-owner service-account key in a third-party build server. The safer response is: Replace long-lived external workload keys with Workload Identity Federation and short-lived identity exchange.

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 Silvercrest Software a GitHub Actions job deploys approved artifacts to Cloud Run—reject: Store a reusable project-owner service-account key in a third-party build server. The safer response is: Replace long-lived external workload keys with Workload Identity Federation and short-lived identity exchange.

D.

Store a reusable project-owner service-account key in a third-party build server. The scenario is: At Silvercrest Software a GitHub Actions job deploys approved artifacts to Cloud Run. The likely failure is: A compromised build host can reuse broad static credentials indefinitely. Instead: Replace long-lived external workload keys with Workload Identity Federation and short-lived identity exchange.

Question 53

At Meadowgate Technology an on-premises build agent needs scoped Cloud Storage writes. Which security configuration best addresses this requirement?

  1. Grant the workload only the serviceAccountTokenCreator impersonation role on the explicitly allowed target service account.
  2. Assign the narrowest predefined IAM roles at the smallest correct resource scope.
  3. Replace long-lived external workload keys with Workload Identity Federation and short-lived identity exchange.
  4. Configure Cloud Identity SAML single sign-on with the external identity provider and validate the assertion mapping.

Answer & Explanations

Correct answer: C

A.

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 Meadowgate Technology an on-premises build agent needs scoped Cloud Storage writes. The relevant action here is: Replace long-lived external workload keys with Workload Identity Federation and short-lived identity exchange.

B.

Assign the narrowest predefined IAM roles at the smallest correct resource scope. This addresses a different situation: At Cedarwood Retail a support engineer should inspect only one production bucket. The present case is: At Meadowgate Technology an on-premises build agent needs scoped Cloud Storage writes. The relevant action here is: Replace long-lived external workload keys with Workload Identity Federation and short-lived identity exchange.

C.

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 Meadowgate Technology an on-premises build agent needs scoped Cloud Storage writes. Verify the outcome by: Run a test CI job using its external OIDC identity and verify token expiry and scoped resource access.

D.

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 Meadowgate Technology an on-premises build agent needs scoped Cloud Storage writes. The relevant action here is: Replace long-lived external workload keys with Workload Identity Federation and short-lived identity exchange.

Question 54

At Meadowgate Technology an on-premises build agent needs scoped Cloud Storage writes. 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. Least-privilege resource-level grants avoid inheriting unnecessary permissions to sibling projects and datasets.
  2. Federation exchanges trusted external workload assertions for temporary Google access without storing persistent service-account private keys.
  3. SAML federates interactive authentication to a trusted identity provider while Google Cloud IAM still governs resource authorization.
  4. Service-account impersonation issues time-limited access tokens under audited delegation rather than disclosing the target account key.

Answer & Explanations

Correct answer: B

A.

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 Meadowgate Technology an on-premises build agent needs scoped Cloud Storage writes. 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 Meadowgate Technology an on-premises build agent needs scoped Cloud Storage writes. Verify the result by: Run a test CI job using its external OIDC identity and verify token expiry and scoped resource access.

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 Meadowgate Technology an on-premises build agent needs scoped Cloud Storage writes. The actual mechanism is: Federation exchanges trusted external workload assertions for temporary Google access without storing persistent service-account private keys.

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 Meadowgate Technology an on-premises build agent needs scoped Cloud Storage writes. The actual mechanism is: Federation exchanges trusted external workload assertions for temporary Google access without storing persistent service-account private keys.

Question 55

At Meadowgate Technology an on-premises build agent needs scoped Cloud Storage writes. After implementing the change—Replace long-lived external workload keys with Workload Identity Federation and short-lived identity exchange—which test most directly demonstrates the required security outcome?

  1. Exercise allowed and disallowed contexts against a test resource and inspect IAM policy behavior.
  2. Run a test CI job using its external OIDC identity and verify token expiry and scoped resource access.
  3. Inspect the project's effective IAM policies and test access from a principal granted only at the organization level.
  4. Inventory default service accounts and test existing jobs after removing unnecessary roles.

Answer & Explanations

Correct answer: B

A.

Exercise allowed and disallowed contexts against a test resource and inspect IAM policy behavior. This tests a separate situation: At Pinecrest Energy temporary support needs access to a resource during an approved maintenance interval. The observed case is: At Meadowgate Technology an on-premises build agent needs scoped Cloud Storage writes. Use this acceptance check instead: Run a test CI job using its external OIDC identity and verify token expiry and scoped resource access.

B.

Run a test CI job using its external OIDC identity and verify token expiry and scoped resource access. This tests the targeted action: Replace long-lived external workload keys with Workload Identity Federation and short-lived identity exchange. The reason is: Federation exchanges trusted external workload assertions for temporary Google access without storing persistent service-account private keys. The reported case is: At Meadowgate Technology an on-premises build agent needs scoped Cloud Storage writes.

C.

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 Meadowgate Technology an on-premises build agent needs scoped Cloud Storage writes. Use this acceptance check instead: Run a test CI job using its external OIDC identity and verify token expiry and scoped resource access.

D.

Inventory default service accounts and test existing jobs after removing unnecessary roles. This tests a separate situation: At Harborcrest Consulting newly provisioned VMs still use broadly privileged default credentials. The observed case is: At Meadowgate Technology an on-premises build agent needs scoped Cloud Storage writes. Use this acceptance check instead: Run a test CI job using its external OIDC identity and verify token expiry and scoped resource access.

Question 56

At Meadowgate Technology an on-premises build agent needs scoped Cloud Storage writes. Which shortcut most directly undermines this security requirement?

  1. Grant a permanent broad role and rely only on a written acceptable-use instruction.
  2. Store a reusable project-owner service-account key in a third-party build server.
  3. Grant permission to impersonate every service account in the organization for convenience.
  4. Request every available OAuth scope on first login to avoid later consent dialogs.

Answer & Explanations

Correct answer: B

A.

Grant a permanent broad role and rely only on a written acceptable-use instruction. This concerns another issue: At Pinecrest Energy temporary support needs access to a resource during an approved maintenance interval. In the stated case—At Meadowgate Technology an on-premises build agent needs scoped Cloud Storage writes—reject: Store a reusable project-owner service-account key in a third-party build server. The safer response is: Replace long-lived external workload keys with Workload Identity Federation and short-lived identity exchange.

B.

Store a reusable project-owner service-account key in a third-party build server. The scenario is: At Meadowgate Technology an on-premises build agent needs scoped Cloud Storage writes. This undermines the mechanism: Federation exchanges trusted external workload assertions for temporary Google access without storing persistent service-account private keys. Instead: Replace long-lived external workload keys with Workload Identity Federation and short-lived identity exchange.

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 Meadowgate Technology an on-premises build agent needs scoped Cloud Storage writes—reject: Store a reusable project-owner service-account key in a third-party build server. The safer response is: Replace long-lived external workload keys with Workload Identity Federation and short-lived identity exchange.

D.

Request every available OAuth scope on first login to avoid later consent dialogs. This concerns another issue: At Pinehaven HR a dashboard requests read-only employee profile access. In the stated case—At Meadowgate Technology an on-premises build agent needs scoped Cloud Storage writes—reject: Store a reusable project-owner service-account key in a third-party build server. The safer response is: Replace long-lived external workload keys with Workload Identity Federation and short-lived identity exchange.

Question 57

At Northpoint Operations an automation worker must impersonate only the reporting service account. Which security configuration best addresses this requirement?

  1. Disable unused default service accounts and remove broad automatic IAM grants after verifying workload dependencies.
  2. Implement automated joiner mover and leaver processes that remove obsolete identity group memberships promptly.
  3. Apply Access Context Manager access levels only for conditions they actually evaluate and test the combined boundary.
  4. Grant the workload only the serviceAccountTokenCreator impersonation role on the explicitly allowed target service account.

Answer & Explanations

Correct answer: D

A.

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 Northpoint Operations an automation worker must impersonate only the reporting service account. The relevant action here is: Grant the workload only the serviceAccountTokenCreator impersonation role on the explicitly allowed target service account.

B.

Implement automated joiner mover and leaver processes that remove obsolete identity group memberships promptly. This addresses a different situation: At Seaview Logistics seasonal contractors should lose cloud membership when assignments end. The present case is: At Northpoint Operations an automation worker must impersonate only the reporting service account. The relevant action here is: Grant the workload only the serviceAccountTokenCreator impersonation role on the explicitly allowed target service account.

C.

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 Northpoint Operations an automation worker must impersonate only the reporting service account. The relevant action here is: Grant the workload only the serviceAccountTokenCreator impersonation role on the explicitly allowed target service account.

D.

Grant the workload only the serviceAccountTokenCreator impersonation role on the explicitly allowed target service account. This works because: Service-account impersonation issues time-limited access tokens under audited delegation rather than disclosing the target account key. The scenario is: At Northpoint Operations an automation worker must impersonate only the reporting service account. Verify the outcome by: Attempt authorized and unauthorized target impersonations and inspect the audit trail.

Question 58

At Northpoint Operations an automation worker must impersonate only the reporting service account. The proposed approach is: Grant the workload only the serviceAccountTokenCreator impersonation role on the explicitly allowed target service account. Which underlying security principle explains why it works?

  1. OAuth scopes bound token capabilities to approved delegated operations; obtaining authentication does not imply unrestricted API privileges.
  2. Service-account impersonation issues time-limited access tokens under audited delegation rather than disclosing the target account key.
  3. Super administrator privileges can change critical identity and tenant security settings and require stronger protection than normal end-user sessions.
  4. Attached service-account identity lets the runtime obtain managed credentials without embedding downloadable keys in code.

Answer & Explanations

Correct answer: B

A.

OAuth scopes bound token capabilities to approved delegated operations; obtaining authentication does not imply unrestricted API privileges. That explains a separate situation: At Pinehaven HR a dashboard requests read-only employee profile access. The current case is: At Northpoint Operations an automation worker must impersonate only the reporting service account. The actual mechanism is: Service-account impersonation issues time-limited access tokens under audited delegation rather than disclosing the target account key.

B.

Service-account impersonation issues time-limited access tokens under audited delegation rather than disclosing the target account key. This principle supports the intervention: Grant the workload only the serviceAccountTokenCreator impersonation role on the explicitly allowed target service account. The relevant scenario is: At Northpoint Operations an automation worker must impersonate only the reporting service account. Verify the result by: Attempt authorized and unauthorized target impersonations and inspect the audit trail.

C.

Super administrator privileges can change critical identity and tenant security settings and require stronger protection than normal end-user sessions. That explains a separate situation: At Silverlake Retail the only identity super administrator is also used for ordinary development. The current case is: At Northpoint Operations an automation worker must impersonate only the reporting service account. The actual mechanism is: Service-account impersonation issues time-limited access tokens under audited delegation rather than disclosing the target account key.

D.

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 Northpoint Operations an automation worker must impersonate only the reporting service account. The actual mechanism is: Service-account impersonation issues time-limited access tokens under audited delegation rather than disclosing the target account key.

Question 59

At Northpoint Operations an automation worker must impersonate only the reporting service account. After implementing the change—Grant the workload only the serviceAccountTokenCreator impersonation role on the explicitly allowed target service account—which test most directly demonstrates the required security outcome?

  1. Disable a fictional departed worker in the directory and verify corresponding cloud access is revoked.
  2. Attempt authorized and unauthorized target impersonations and inspect the audit trail.
  3. Attempt a disallowed test resource setting in a child project and verify the inherited constraint rejects it.
  4. Run a test job and confirm its API permissions work while a forbidden resource call fails.

Answer & Explanations

Correct answer: B

A.

Disable a fictional departed worker in the directory and verify corresponding cloud access is revoked. This tests a separate situation: At Seaview Logistics seasonal contractors should lose cloud membership when assignments end. The observed case is: At Northpoint Operations an automation worker must impersonate only the reporting service account. Use this acceptance check instead: Attempt authorized and unauthorized target impersonations and inspect the audit trail.

B.

Attempt authorized and unauthorized target impersonations and inspect the audit trail. This tests the targeted action: Grant the workload only the serviceAccountTokenCreator impersonation role on the explicitly allowed target service account. The reason is: Service-account impersonation issues time-limited access tokens under audited delegation rather than disclosing the target account key. The reported case is: At Northpoint Operations an automation worker must impersonate only the reporting service account.

C.

Attempt a disallowed test resource setting in a child project and verify the inherited constraint rejects it. This tests a separate situation: At Fernfield Banking organizational policy prohibits resources outside approved regions. The observed case is: At Northpoint Operations an automation worker must impersonate only the reporting service account. Use this acceptance check instead: Attempt authorized and unauthorized target impersonations and inspect the audit trail.

D.

Run a test job and confirm its API permissions work while a forbidden resource call fails. This tests a separate situation: At Cedarline Commerce a Cloud Run service reads one approved storage bucket. The observed case is: At Northpoint Operations an automation worker must impersonate only the reporting service account. Use this acceptance check instead: Attempt authorized and unauthorized target impersonations and inspect the audit trail.

Question 60

At Northpoint Operations an automation worker must impersonate only the reporting service account. Which shortcut most directly undermines this security requirement?

  1. Assign audit reviewer and security policy administrator roles to all developers.
  2. Treat a weekly spreadsheet of account names as sufficient proof no static keys exist.
  3. Store each employee's corporate password inside an application service-account key.
  4. Grant permission to impersonate every service account in the organization for convenience.

Answer & Explanations

Correct answer: D

A.

Assign audit reviewer and security policy administrator roles to all developers. This concerns another issue: At Harborland Insurance access reviews must be approved independently of role administrators. In the stated case—At Northpoint Operations an automation worker must impersonate only the reporting service account—reject: Grant permission to impersonate every service account in the organization for convenience. The safer response is: Grant the workload only the serviceAccountTokenCreator impersonation role on the explicitly allowed target service account.

B.

Treat a weekly spreadsheet of account names as sufficient proof no static keys exist. This concerns another issue: At Oakridge Compliance auditors need evidence that new downloadable service-account keys are restricted. In the stated case—At Northpoint Operations an automation worker must impersonate only the reporting service account—reject: Grant permission to impersonate every service account in the organization for convenience. The safer response is: Grant the workload only the serviceAccountTokenCreator impersonation role on the explicitly allowed target service account.

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 Northpoint Operations an automation worker must impersonate only the reporting service account—reject: Grant permission to impersonate every service account in the organization for convenience. The safer response is: Grant the workload only the serviceAccountTokenCreator impersonation role on the explicitly allowed target service account.

D.

Grant permission to impersonate every service account in the organization for convenience. The scenario is: At Northpoint Operations an automation worker must impersonate only the reporting service account. This undermines the mechanism: Service-account impersonation issues time-limited access tokens under audited delegation rather than disclosing the target account key. Instead: Grant the workload only the serviceAccountTokenCreator impersonation role on the explicitly allowed target service account.

Professional Cloud Security Engineer Practice Tests