Question 950An integration team must minimize key handling while calling a Google Cloud API. What technical principle makes this decision suitable? Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. Workload Identity Federation exchanges trusted external workload tokens for short-lived Google Cloud credentials without maintaining static service keys. Google-managed service agents allow Google Cloud products to perform product operations and can fail when required permissions are removed. IAM Conditions evaluate expression constraints on supported access checks, narrowing when a binding grants permissions. ExplanationCorrect Answer A:Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. This explains the relevant intervention: Generate an authorized short-lived OAuth access token for a service account instead of exporting a persistent private key. Confirm by: Confirm the token accesses only its approved API and stops working after the configured expiry. Other Answers B:Workload Identity Federation exchanges trusted external workload tokens for short-lived Google Cloud credentials without maintaining static service keys. The more specific mechanism behind the reported outcome is: Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. C:Google-managed service agents allow Google Cloud products to perform product operations and can fail when required permissions are removed. The more specific mechanism behind the reported outcome is: Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. D:IAM Conditions evaluate expression constraints on supported access checks, narrowing when a binding grants permissions. The more specific mechanism behind the reported outcome is: Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden.
Question 951An integration team must minimize key handling while calling a Google Cloud API. What post-change check most directly demonstrates success? Confirm the token accesses only its approved API and stops working after the configured expiry. Run a harmless CLI request with impersonation and confirm the effective service identity and denied unrelated permissions. Run each workload with its intended identity and verify resource access cannot cross the other workload's boundary. Reproduce a harmless access check and compare the reported binding or constraint with the corrected configuration. ExplanationCorrect Answer A:Confirm the token accesses only its approved API and stops working after the configured expiry. This directly tests whether the intervention works: Generate an authorized short-lived OAuth access token for a service account instead of exporting a persistent private key. The technical reason is: Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. Other Answers B:Service account impersonation obtains time-limited credentials under the target service account's identity while preserving the caller's audit trail. The applicable evidence for this requirement is: Confirm the token accesses only its approved API and stops working after the configured expiry. C:Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius. The applicable evidence for this requirement is: Confirm the token accesses only its approved API and stops working after the configured expiry. D:Policy analysis explains how allow and deny evaluations contribute to an access decision, reducing trial-and-error permission escalation. The applicable evidence for this requirement is: Confirm the token accesses only its approved API and stops working after the configured expiry.
Question 952An integration team must minimize key handling while calling a Google Cloud API. Which preventive standard should the team adopt? Maintain a service identity register with owners, purpose, access reviews, and retirement criteria. Prohibit shared static credentials and monitor token minting rights on sensitive service accounts. Limit token-creation grants and audit impersonation use, target accounts, and expiration handling. Audit inherited roles at folder boundaries after organizational restructuring or acquisitions. ExplanationCorrect Answer B:Prohibit shared static credentials and monitor token minting rights on sensitive service accounts. This reduces the failure risk because Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. Immediate action: Generate an authorized short-lived OAuth access token for a service account instead of exporting a persistent private key. Other Answers A:Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius. The preventive control that addresses this condition is: Prohibit shared static credentials and monitor token minting rights on sensitive service accounts. C:Service account impersonation obtains time-limited credentials under the target service account's identity while preserving the caller's audit trail. The preventive control that addresses this condition is: Prohibit shared static credentials and monitor token minting rights on sensitive service accounts. D:An IAM binding on an ancestor can apply to descendant resources, so removing a narrow child binding may not eliminate effective access. The preventive control that addresses this condition is: Prohibit shared static credentials and monitor token minting rights on sensitive service accounts.
Question 953A GitHub Actions workflow uses a downloadable Google Cloud service account key that has been copied into many repositories. What is the best operational configuration or action for this situation? Grant the calling principal only the necessary service account impersonation permission and use short-lived impersonated credentials for approved administrative commands. Create dedicated service accounts for separate workloads and grant only documented permissions needed by each application. Grant required IAM roles on the specific resource or project instead of changing an organization-level allow policy. Configure a workload identity pool and trusted provider for CI jobs and authorize scoped service account access via federation. ExplanationCorrect Answer D:Configure a workload identity pool and trusted provider for CI jobs and authorize scoped service account access via federation. This is appropriate because Workload Identity Federation exchanges trusted external workload tokens for short-lived Google Cloud credentials without maintaining static service keys. Verify with: Run an authorized CI test job and inspect its federated identity claims and resulting Google Cloud permissions. Other Answers A:Service account impersonation obtains time-limited credentials under the target service account's identity while preserving the caller's audit trail. The required action here is: Configure a workload identity pool and trusted provider for CI jobs and authorize scoped service account access via federation. B:Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius. The required action here is: Configure a workload identity pool and trusted provider for CI jobs and authorize scoped service account access via federation. C:Resource scope is fundamental to least privilege, and organization-level bindings can grant effective rights over many descendants. The required action here is: Configure a workload identity pool and trusted provider for CI jobs and authorize scoped service account access via federation.
Question 954A GitHub Actions workflow uses a downloadable Google Cloud service account key that has been copied into many repositories. Which platform mechanism explains the proposed solution? Workload Identity Federation exchanges trusted external workload tokens for short-lived Google Cloud credentials without maintaining static service keys. Service account impersonation obtains time-limited credentials under the target service account's identity while preserving the caller's audit trail. Compute Engine workloads can obtain short-lived access tokens for their attached service identity when configured correctly. Predefined IAM roles grant defined permission sets, while basic Owner and Editor roles expose much broader authority. ExplanationCorrect Answer A:Workload Identity Federation exchanges trusted external workload tokens for short-lived Google Cloud credentials without maintaining static service keys. This explains the relevant intervention: Configure a workload identity pool and trusted provider for CI jobs and authorize scoped service account access via federation. Confirm by: Run an authorized CI test job and inspect its federated identity claims and resulting Google Cloud permissions. Other Answers B:Service account impersonation obtains time-limited credentials under the target service account's identity while preserving the caller's audit trail. The more specific mechanism behind the reported outcome is: Workload Identity Federation exchanges trusted external workload tokens for short-lived Google Cloud credentials without maintaining static service keys. C:Compute Engine workloads can obtain short-lived access tokens for their attached service identity when configured correctly. The more specific mechanism behind the reported outcome is: Workload Identity Federation exchanges trusted external workload tokens for short-lived Google Cloud credentials without maintaining static service keys. D:Predefined IAM roles grant defined permission sets, while basic Owner and Editor roles expose much broader authority. The more specific mechanism behind the reported outcome is: Workload Identity Federation exchanges trusted external workload tokens for short-lived Google Cloud credentials without maintaining static service keys.
Question 955A GitHub Actions workflow uses a downloadable Google Cloud service account key that has been copied into many repositories. How should this change be validated in a safe pilot? Confirm the token accesses only its approved API and stops working after the configured expiry. Run each workload with its intended identity and verify resource access cannot cross the other workload's boundary. Inspect the effective policy and confirm an auditor can read approved inventory but cannot modify a test resource. Run an authorized CI test job and inspect its federated identity claims and resulting Google Cloud permissions. ExplanationCorrect Answer D:Run an authorized CI test job and inspect its federated identity claims and resulting Google Cloud permissions. This directly tests whether the intervention works: Configure a workload identity pool and trusted provider for CI jobs and authorize scoped service account access via federation. The technical reason is: Workload Identity Federation exchanges trusted external workload tokens for short-lived Google Cloud credentials without maintaining static service keys. Other Answers A:Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. The applicable evidence for this requirement is: Run an authorized CI test job and inspect its federated identity claims and resulting Google Cloud permissions. B:Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius. The applicable evidence for this requirement is: Run an authorized CI test job and inspect its federated identity claims and resulting Google Cloud permissions. C:Predefined IAM roles grant defined permission sets, while basic Owner and Editor roles expose much broader authority. The applicable evidence for this requirement is: Run an authorized CI test job and inspect its federated identity claims and resulting Google Cloud permissions.
Question 956A GitHub Actions workflow uses a downloadable Google Cloud service account key that has been copied into many repositories. What change-management control best protects this workflow? Review provider audience, issuer claims, attribute mapping, and service account bindings after CI changes. Restrict workload identity bindings to specific namespaces and service accounts and audit changes. Review service-to-service permissions and remove grants when message flows are decommissioned. Run periodic least privilege reviews using IAM role usage and defined job functions. ExplanationCorrect Answer A:Review provider audience, issuer claims, attribute mapping, and service account bindings after CI changes. This reduces the failure risk because Workload Identity Federation exchanges trusted external workload tokens for short-lived Google Cloud credentials without maintaining static service keys. Immediate action: Configure a workload identity pool and trusted provider for CI jobs and authorize scoped service account access via federation. Other Answers B:GKE Workload Identity Federation maps Kubernetes workload identity to Google Cloud authorization without mounting permanent service account keys. The preventive control that addresses this condition is: Review provider audience, issuer claims, attribute mapping, and service account bindings after CI changes. C:Service accounts act as principals in IAM allow policies, and resource-scoped role grants limit API operations to intended resources. The preventive control that addresses this condition is: Review provider audience, issuer claims, attribute mapping, and service account bindings after CI changes. D:Basic Editor includes many resource mutation permissions, while task-specific roles constrain the authorized actions. The preventive control that addresses this condition is: Review provider audience, issuer claims, attribute mapping, and service account bindings after CI changes.
Question 957A build pipeline from an external CI provider needs short-lived credentials for one deployment project. What is the most defensible change for the stated failure? Create a dedicated service account with least privilege and attach it to the VM rather than storing credentials in startup scripts. Grant the calling principal only the necessary service account impersonation permission and use short-lived impersonated credentials for approved administrative commands. Remove a broad basic Editor binding and grant a supported predefined role that covers only the engineer's actual workflow. Configure a workload identity pool and trusted provider for CI jobs and authorize scoped service account access via federation. ExplanationCorrect Answer D:Configure a workload identity pool and trusted provider for CI jobs and authorize scoped service account access via federation. This is appropriate because Workload Identity Federation exchanges trusted external workload tokens for short-lived Google Cloud credentials without maintaining static service keys. Verify with: Run an authorized CI test job and inspect its federated identity claims and resulting Google Cloud permissions. Other Answers A:Compute Engine workloads can obtain short-lived access tokens for their attached service identity when configured correctly. The required action here is: Configure a workload identity pool and trusted provider for CI jobs and authorize scoped service account access via federation. B:Service account impersonation obtains time-limited credentials under the target service account's identity while preserving the caller's audit trail. The required action here is: Configure a workload identity pool and trusted provider for CI jobs and authorize scoped service account access via federation. C:Basic Editor includes many resource mutation permissions, while task-specific roles constrain the authorized actions. The required action here is: Configure a workload identity pool and trusted provider for CI jobs and authorize scoped service account access via federation.
Question 958A build pipeline from an external CI provider needs short-lived credentials for one deployment project. Why does the recommended approach address the observed issue? Cloud Run service identities supply Application Default Credentials for supported service-to-service calls without embedding static keys. Workload Identity Federation exchanges trusted external workload tokens for short-lived Google Cloud credentials without maintaining static service keys. Compute Engine workloads can obtain short-lived access tokens for their attached service identity when configured correctly. Policy analysis explains how allow and deny evaluations contribute to an access decision, reducing trial-and-error permission escalation. ExplanationCorrect Answer B:Workload Identity Federation exchanges trusted external workload tokens for short-lived Google Cloud credentials without maintaining static service keys. This explains the relevant intervention: Configure a workload identity pool and trusted provider for CI jobs and authorize scoped service account access via federation. Confirm by: Run an authorized CI test job and inspect its federated identity claims and resulting Google Cloud permissions. Other Answers A:Cloud Run service identities supply Application Default Credentials for supported service-to-service calls without embedding static keys. The more specific mechanism behind the reported outcome is: Workload Identity Federation exchanges trusted external workload tokens for short-lived Google Cloud credentials without maintaining static service keys. C:Compute Engine workloads can obtain short-lived access tokens for their attached service identity when configured correctly. The more specific mechanism behind the reported outcome is: Workload Identity Federation exchanges trusted external workload tokens for short-lived Google Cloud credentials without maintaining static service keys. D:Policy analysis explains how allow and deny evaluations contribute to an access decision, reducing trial-and-error permission escalation. The more specific mechanism behind the reported outcome is: Workload Identity Federation exchanges trusted external workload tokens for short-lived Google Cloud credentials without maintaining static service keys.
Question 959A build pipeline from an external CI provider needs short-lived credentials for one deployment project. What observable evidence should the engineering team collect? Check the exact managed service agent principal and confirm the product operation succeeds after reviewed role restoration. Run an authorized CI test job and inspect its federated identity claims and resulting Google Cloud permissions. Run each workload with its intended identity and verify resource access cannot cross the other workload's boundary. Test access during and outside the condition window or resource path using a controlled identity. ExplanationCorrect Answer B:Run an authorized CI test job and inspect its federated identity claims and resulting Google Cloud permissions. This directly tests whether the intervention works: Configure a workload identity pool and trusted provider for CI jobs and authorize scoped service account access via federation. The technical reason is: Workload Identity Federation exchanges trusted external workload tokens for short-lived Google Cloud credentials without maintaining static service keys. Other Answers A:Google-managed service agents allow Google Cloud products to perform product operations and can fail when required permissions are removed. The applicable evidence for this requirement is: Run an authorized CI test job and inspect its federated identity claims and resulting Google Cloud permissions. C:Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius. The applicable evidence for this requirement is: Run an authorized CI test job and inspect its federated identity claims and resulting Google Cloud permissions. D:IAM Conditions evaluate expression constraints on supported access checks, narrowing when a binding grants permissions. The applicable evidence for this requirement is: Run an authorized CI test job and inspect its federated identity claims and resulting Google Cloud permissions.
Question 960A build pipeline from an external CI provider needs short-lived credentials for one deployment project. Which documented safeguard helps sustain the improvement? Restrict workload identity bindings to specific namespaces and service accounts and audit changes. Review provider audience, issuer claims, attribute mapping, and service account bindings after CI changes. Review Cloud Run runtime identity grants before promoting new revisions. Audit inherited roles at folder boundaries after organizational restructuring or acquisitions. ExplanationCorrect Answer B:Review provider audience, issuer claims, attribute mapping, and service account bindings after CI changes. This reduces the failure risk because Workload Identity Federation exchanges trusted external workload tokens for short-lived Google Cloud credentials without maintaining static service keys. Immediate action: Configure a workload identity pool and trusted provider for CI jobs and authorize scoped service account access via federation. Other Answers A:GKE Workload Identity Federation maps Kubernetes workload identity to Google Cloud authorization without mounting permanent service account keys. The preventive control that addresses this condition is: Review provider audience, issuer claims, attribute mapping, and service account bindings after CI changes. C:Cloud Run service identities supply Application Default Credentials for supported service-to-service calls without embedding static keys. The preventive control that addresses this condition is: Review provider audience, issuer claims, attribute mapping, and service account bindings after CI changes. D:An IAM binding on an ancestor can apply to descendant resources, so removing a narrow child binding may not eliminate effective access. The preventive control that addresses this condition is: Review provider audience, issuer claims, attribute mapping, and service account bindings after CI changes.