Google Professional Cloud Security Engineer Dumps
Google Professional Cloud Security Engineer Practice Test 8
Question 70
At Bayview Manufacturing a development project has an idle default service account with excessive roles. The proposed approach is: Disable unused default service accounts and remove broad automatic IAM grants after verifying workload dependencies. Which underlying security principle explains why it works?
Answer & Explanations
Correct answer: B
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 Bayview Manufacturing a development project has an idle default service account with excessive roles. The actual mechanism is: Default identities may inherit overly broad project access and should be explicitly governed for current workloads.
Default identities may inherit overly broad project access and should be explicitly governed for current workloads. This principle supports the intervention: Disable unused default service accounts and remove broad automatic IAM grants after verifying workload dependencies. The relevant scenario is: At Bayview Manufacturing a development project has an idle default service account with excessive roles. Verify the result by: Inventory default service accounts and test existing jobs after removing unnecessary roles.
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 Bayview Manufacturing a development project has an idle default service account with excessive roles. The actual mechanism is: Default identities may inherit overly broad project access and should be explicitly governed for current workloads.
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 Bayview Manufacturing a development project has an idle default service account with excessive roles. The actual mechanism is: Default identities may inherit overly broad project access and should be explicitly governed for current workloads.
Question 71
At Bayview Manufacturing a development project has an idle default service account with excessive roles. After implementing the change—Disable unused default service accounts and remove broad automatic IAM grants after verifying workload dependencies—which test most directly demonstrates the required security outcome?
Answer & Explanations
Correct answer: C
Attempt an unapproved new key creation and verify an organization restriction denies it while approved managed auth works. This tests a separate situation: At Oakridge Compliance auditors need evidence that new downloadable service-account keys are restricted. The observed case is: At Bayview Manufacturing a development project has an idle default service account with excessive roles. Use this acceptance check instead: Inventory default service accounts and test existing jobs after removing unnecessary roles.
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 Bayview Manufacturing a development project has an idle default service account with excessive roles. Use this acceptance check instead: Inventory default service accounts and test existing jobs after removing unnecessary roles.
Inventory default service accounts and test existing jobs after removing unnecessary roles. This tests the targeted action: Disable unused default service accounts and remove broad automatic IAM grants after verifying workload dependencies. The reason is: Default identities may inherit overly broad project access and should be explicitly governed for current workloads. The reported case is: At Bayview Manufacturing a development project has an idle default service account with excessive roles.
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 Bayview Manufacturing a development project has an idle default service account with excessive roles. Use this acceptance check instead: Inventory default service accounts and test existing jobs after removing unnecessary roles.
Question 72
At Bayview Manufacturing a development project has an idle default service account with excessive roles. Which shortcut most directly undermines this security requirement?
Answer & Explanations
Correct answer: C
Store a reusable project-owner service-account key in a third-party build server. This concerns another issue: At Silvercrest Software a GitHub Actions job deploys approved artifacts to Cloud Run. In the stated case—At Bayview Manufacturing a development project has an idle default service account with excessive roles—reject: Leave default Compute Engine service accounts with project-wide Editor rights forever. The safer response is: Disable unused default service accounts and remove broad automatic IAM grants after verifying workload dependencies.
Add each contractor individually as an Editor on every project and skip offboarding reviews. This concerns another issue: At Harborfield Media members of a response team rotate across multiple projects. In the stated case—At Bayview Manufacturing a development project has an idle default service account with excessive roles—reject: Leave default Compute Engine service accounts with project-wide Editor rights forever. The safer response is: Disable unused default service accounts and remove broad automatic IAM grants after verifying workload dependencies.
Leave default Compute Engine service accounts with project-wide Editor rights forever. The scenario is: At Bayview Manufacturing a development project has an idle default service account with excessive roles. This undermines the mechanism: Default identities may inherit overly broad project access and should be explicitly governed for current workloads. Instead: Disable unused default service accounts and remove broad automatic IAM grants after verifying workload dependencies.
Issue one shared service-account JSON key to every external consultant as a login method. This concerns another issue: At Harborwood Analytics vendor staff need short-term access using their employer identity provider. In the stated case—At Bayview Manufacturing a development project has an idle default service account with excessive roles—reject: Leave default Compute Engine service accounts with project-wide Editor rights forever. The safer response is: Disable unused default service accounts and remove broad automatic IAM grants after verifying workload dependencies.
Question 73
At Cedarbank Media a key was accidentally committed to a public code repository. Which security configuration best addresses this requirement?
Answer & Explanations
Correct answer: A
Rotate and revoke an exposed service-account key while migrating the application to managed short-lived credentials. This works because: Key revocation stops further use of the compromised private key; managed identities reduce future secret exposure. The scenario is: At Cedarbank Media a key was accidentally committed to a public code repository. Verify the outcome by: Confirm the revoked key fails authentication and the application runs under its replacement identity.
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 Cedarbank Media a key was accidentally committed to a public code repository. The relevant action here is: Rotate and revoke an exposed service-account key while migrating the application to managed short-lived credentials.
Manage project access through an approved Google group with reviewed membership rather than repeated individual bindings. This addresses a different situation: At Harborfield Media members of a response team rotate across multiple projects. The present case is: At Cedarbank Media a key was accidentally committed to a public code repository. The relevant action here is: Rotate and revoke an exposed service-account key while migrating the application to managed short-lived credentials.
Attach a dedicated least-privilege service account to the workload that needs Google Cloud API access. This addresses a different situation: At Cedarline Commerce a Cloud Run service reads one approved storage bucket. The present case is: At Cedarbank Media a key was accidentally committed to a public code repository. The relevant action here is: Rotate and revoke an exposed service-account key while migrating the application to managed short-lived credentials.
Question 74
At Cedarbank Media a key was accidentally committed to a public code repository. The proposed approach is: Rotate and revoke an exposed service-account key while migrating the application to managed short-lived credentials. Which underlying security principle explains why it works?
Answer & Explanations
Correct answer: A
Key revocation stops further use of the compromised private key; managed identities reduce future secret exposure. This principle supports the intervention: Rotate and revoke an exposed service-account key while migrating the application to managed short-lived credentials. The relevant scenario is: At Cedarbank Media a key was accidentally committed to a public code repository. Verify the result by: Confirm the revoked key fails authentication and the application runs under its replacement identity.
Default identities may inherit overly broad project access and should be explicitly governed for current workloads. That explains a separate situation: At Harborcrest Consulting newly provisioned VMs still use broadly privileged default credentials. The current case is: At Cedarbank Media a key was accidentally committed to a public code repository. The actual mechanism is: Key revocation stops further use of the compromised private key; managed identities reduce future secret exposure.
Deprovisioning and group lifecycle automation minimize time-limited orphaned access after employment changes. That explains a separate situation: At Seaview Logistics seasonal contractors should lose cloud membership when assignments end. The current case is: At Cedarbank Media a key was accidentally committed to a public code repository. The actual mechanism is: Key revocation stops further use of the compromised private key; managed identities reduce future secret exposure.
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 Cedarbank Media a key was accidentally committed to a public code repository. The actual mechanism is: Key revocation stops further use of the compromised private key; managed identities reduce future secret exposure.
Question 75
At Cedarbank Media a key was accidentally committed to a public code repository. After implementing the change—Rotate and revoke an exposed service-account key while migrating the application to managed short-lived credentials—which test most directly demonstrates the required security outcome?
Answer & Explanations
Correct answer: B
Run a test CI job using its external OIDC identity and verify token expiry and scoped resource access. This tests a separate situation: At Silvercrest Software a GitHub Actions job deploys approved artifacts to Cloud Run. The observed case is: At Cedarbank Media a key was accidentally committed to a public code repository. Use this acceptance check instead: Confirm the revoked key fails authentication and the application runs under its replacement identity.
Confirm the revoked key fails authentication and the application runs under its replacement identity. This tests the targeted action: Rotate and revoke an exposed service-account key while migrating the application to managed short-lived credentials. The reason is: Key revocation stops further use of the compromised private key; managed identities reduce future secret exposure. The reported case is: At Cedarbank Media a key was accidentally committed to a public code repository.
Sign in with a test admin and confirm the session expires according to policy while ordinary user access remains usable. This tests a separate situation: At Brookfield Insurance cloud admins sometimes work from temporary managed devices. The observed case is: At Cedarbank Media a key was accidentally committed to a public code repository. Use this acceptance check instead: Confirm the revoked key fails authentication and the application runs under its replacement identity.
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 Cedarbank Media a key was accidentally committed to a public code repository. Use this acceptance check instead: Confirm the revoked key fails authentication and the application runs under its replacement identity.
Question 76
At Cedarbank Media a key was accidentally committed to a public code repository. Which shortcut most directly undermines this security requirement?
Answer & Explanations
Correct answer: A
Merely rename the leaked JSON key file while leaving the private key active. The scenario is: At Cedarbank Media a key was accidentally committed to a public code repository. The likely failure is: Attackers who copied the old key retain valid API access. Instead: Rotate and revoke an exposed service-account key while migrating the application to managed short-lived credentials.
Ship a developer-owned JSON service-account key inside the application repository. This concerns another issue: At Cedarline Commerce a Cloud Run service reads one approved storage bucket. In the stated case—At Cedarbank Media a key was accidentally committed to a public code repository—reject: Merely rename the leaked JSON key file while leaving the private key active. The safer response is: Rotate and revoke an exposed service-account key while migrating the application to managed short-lived credentials.
Depend on developers to remember regional restrictions without an enforceable organization policy. This concerns another issue: At Fernfield Banking organizational policy prohibits resources outside approved regions. In the stated case—At Cedarbank Media a key was accidentally committed to a public code repository—reject: Merely rename the leaked JSON key file while leaving the private key active. The safer response is: Rotate and revoke an exposed service-account key while migrating the application to managed short-lived credentials.
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 Cedarbank Media a key was accidentally committed to a public code repository—reject: Merely rename the leaked JSON key file while leaving the private key active. The safer response is: Rotate and revoke an exposed service-account key while migrating the application to managed short-lived credentials.
Question 77
At Riverfield Services an old service-account secret appears in continuous integration logs. Which security configuration best addresses this requirement?
Answer & Explanations
Correct answer: D
Configure an IAM deny policy to block a disallowed permission even when another binding grants a role. This addresses a different situation: At Silverbrook Technology a project owner must not disable required audit logging. The present case is: At Riverfield Services an old service-account secret appears in continuous integration logs. The relevant action here is: Rotate and revoke an exposed service-account key while migrating the application to managed short-lived credentials.
Configure Workforce Identity Federation for external workforce users with the supported external identity provider. This addresses a different situation: At Harborwood Analytics vendor staff need short-term access using their employer identity provider. The present case is: At Riverfield Services an old service-account secret appears in continuous integration logs. The relevant action here is: Rotate and revoke an exposed service-account key while migrating the application to managed short-lived credentials.
Attach a dedicated least-privilege service account to the workload that needs Google Cloud API access. This addresses a different situation: At Cedarline Commerce a Cloud Run service reads one approved storage bucket. The present case is: At Riverfield Services an old service-account secret appears in continuous integration logs. The relevant action here is: Rotate and revoke an exposed service-account key while migrating the application to managed short-lived credentials.
Rotate and revoke an exposed service-account key while migrating the application to managed short-lived credentials. This works because: Key revocation stops further use of the compromised private key; managed identities reduce future secret exposure. The scenario is: At Riverfield Services an old service-account secret appears in continuous integration logs. Verify the outcome by: Confirm the revoked key fails authentication and the application runs under its replacement identity.
Question 78
At Riverfield Services an old service-account secret appears in continuous integration logs. The proposed approach is: Rotate and revoke an exposed service-account key while migrating the application to managed short-lived credentials. Which underlying security principle explains why it works?
Answer & Explanations
Correct answer: C
Google Cloud resource hierarchy allows inherited IAM and organization policies from the correct ancestor folder. That explains a separate situation: At Northbridge Labs regulated analytics projects need a dedicated folder boundary. The current case is: At Riverfield Services an old service-account secret appears in continuous integration logs. The actual mechanism is: Key revocation stops further use of the compromised private key; managed identities reduce future secret exposure.
Distinct administrative roles and controlled approval reduce unilateral production security configuration risk. That explains a separate situation: At Harborland Insurance access reviews must be approved independently of role administrators. The current case is: At Riverfield Services an old service-account secret appears in continuous integration logs. The actual mechanism is: Key revocation stops further use of the compromised private key; managed identities reduce future secret exposure.
Key revocation stops further use of the compromised private key; managed identities reduce future secret exposure. This principle supports the intervention: Rotate and revoke an exposed service-account key while migrating the application to managed short-lived credentials. The relevant scenario is: At Riverfield Services an old service-account secret appears in continuous integration logs. Verify the result by: Confirm the revoked key fails authentication and the application runs under its replacement identity.
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 Riverfield Services an old service-account secret appears in continuous integration logs. The actual mechanism is: Key revocation stops further use of the compromised private key; managed identities reduce future secret exposure.
Question 79
At Riverfield Services an old service-account secret appears in continuous integration logs. After implementing the change—Rotate and revoke an exposed service-account key while migrating the application to managed short-lived credentials—which test most directly demonstrates the required security outcome?
Answer & Explanations
Correct answer: B
Attempt an unapproved new key creation and verify an organization restriction denies it while approved managed auth works. This tests a separate situation: At Oakridge Compliance auditors need evidence that new downloadable service-account keys are restricted. The observed case is: At Riverfield Services an old service-account secret appears in continuous integration logs. Use this acceptance check instead: Confirm the revoked key fails authentication and the application runs under its replacement identity.
Confirm the revoked key fails authentication and the application runs under its replacement identity. This tests the targeted action: Rotate and revoke an exposed service-account key while migrating the application to managed short-lived credentials. The reason is: Key revocation stops further use of the compromised private key; managed identities reduce future secret exposure. The reported case is: At Riverfield Services an old service-account secret appears in continuous integration logs.
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 Riverfield Services an old service-account secret appears in continuous integration logs. Use this acceptance check instead: Confirm the revoked key fails authentication and the application runs under its replacement identity.
Request a temporary elevation in a test project and confirm it expires and is auditable. This tests a separate situation: At Baybridge Utilities incident responders need temporary high-impact change rights. The observed case is: At Riverfield Services an old service-account secret appears in continuous integration logs. Use this acceptance check instead: Confirm the revoked key fails authentication and the application runs under its replacement identity.
Question 80
At Riverfield Services an old service-account secret appears in continuous integration logs. Which shortcut most directly undermines this security requirement?
Answer & Explanations
Correct answer: D
Store a reusable project-owner service-account key in a third-party build server. This concerns another issue: At Silvercrest Software a GitHub Actions job deploys approved artifacts to Cloud Run. In the stated case—At Riverfield Services an old service-account secret appears in continuous integration logs—reject: Merely rename the leaked JSON key file while leaving the private key active. The safer response is: Rotate and revoke an exposed service-account key while migrating the application to managed short-lived credentials.
Assume the project has no inherited users simply because its local IAM page looks sparse. This concerns another issue: At Pineport Commerce a confidential project inherited a broad shared group from its parent. In the stated case—At Riverfield Services an old service-account secret appears in continuous integration logs—reject: Merely rename the leaked JSON key file while leaving the private key active. The safer response is: Rotate and revoke an exposed service-account key while migrating the application to managed short-lived credentials.
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 Riverfield Services an old service-account secret appears in continuous integration logs—reject: Merely rename the leaked JSON key file while leaving the private key active. The safer response is: Rotate and revoke an exposed service-account key while migrating the application to managed short-lived credentials.
Merely rename the leaked JSON key file while leaving the private key active. The scenario is: At Riverfield Services an old service-account secret appears in continuous integration logs. This undermines the mechanism: Key revocation stops further use of the compromised private key; managed identities reduce future secret exposure. Instead: Rotate and revoke an exposed service-account key while migrating the application to managed short-lived credentials.
Professional Cloud Security Engineer Practice Tests
- 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)
- Google Professional Cloud Security Engineer Practice Test 8 - 10 Questions (Last Reviewed 23-Nov-2026)
- Google Professional Cloud Security Engineer Practice Test 9 - 10 Questions (Last Reviewed 22-Nov-2026)
- Google Professional Cloud Security Engineer Practice Test 10 - 10 Questions (Last Reviewed 21-Nov-2026)