Question 920A GKE Pod accesses Cloud Storage through a JSON key mounted as a Kubernetes Secret. Which documented safeguard helps sustain the improvement? Monitor service agent role grants and avoid treating product-managed identities as general application accounts. Maintain a service identity register with owners, purpose, access reviews, and retirement criteria. Restrict workload identity bindings to specific namespaces and service accounts and audit changes. Require change tickets and periodic alert review for sensitive IAM modifications. ExplanationCorrect Answer C:Restrict workload identity bindings to specific namespaces and service accounts and audit changes. This reduces the failure risk because GKE Workload Identity Federation maps Kubernetes workload identity to Google Cloud authorization without mounting permanent service account keys. Immediate action: Configure Workload Identity Federation for GKE so the intended Kubernetes service account can access supported Google Cloud APIs. Other Answers A:Google-managed service agents allow Google Cloud products to perform product operations and can fail when required permissions are removed. The preventive control that addresses this condition is: Restrict workload identity bindings to specific namespaces and service accounts and audit changes. B: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: Restrict workload identity bindings to specific namespaces and service accounts and audit changes. D:Admin Activity audit logs provide evidence of supported administrative policy changes when properly queried. The preventive control that addresses this condition is: Restrict workload identity bindings to specific namespaces and service accounts and audit changes.
Question 921Two Kubernetes namespaces need separate permissions for different Cloud Storage datasets despite sharing a cluster. Which supported solution best fits this production constraint? Configure Workload Identity Federation for GKE so the intended Kubernetes service account can access supported Google Cloud APIs. Configure a workload identity pool and trusted provider for CI jobs and authorize scoped service account access via federation. Grant the workload service account a narrowly scoped Pub/Sub publisher role on the specific topic it must publish to. Grant required IAM roles on the specific resource or project instead of changing an organization-level allow policy. ExplanationCorrect Answer A:Configure Workload Identity Federation for GKE so the intended Kubernetes service account can access supported Google Cloud APIs. This is appropriate because GKE Workload Identity Federation maps Kubernetes workload identity to Google Cloud authorization without mounting permanent service account keys. Verify with: Launch a test Pod under the chosen Kubernetes service account and check its permitted cloud API access. Other Answers B:Workload Identity Federation exchanges trusted external workload tokens for short-lived Google Cloud credentials without maintaining static service keys. The required action here is: Configure Workload Identity Federation for GKE so the intended Kubernetes service account can access supported Google Cloud APIs. C:Service accounts act as principals in IAM allow policies, and resource-scoped role grants limit API operations to intended resources. The required action here is: Configure Workload Identity Federation for GKE so the intended Kubernetes service account can access supported Google Cloud APIs. D:Resource scope is fundamental to least privilege, and organization-level bindings can grant effective rights over many descendants. The required action here is: Configure Workload Identity Federation for GKE so the intended Kubernetes service account can access supported Google Cloud APIs.
Question 922Two Kubernetes namespaces need separate permissions for different Cloud Storage datasets despite sharing a cluster. Why is the selected configuration more appropriate here? Service account impersonation obtains time-limited credentials under the target service account's identity while preserving the caller's audit trail. Attaching a service identity to resources can require iam.serviceAccounts.actAs, distinct from granting all permissions of that identity to the caller. IAM Conditions evaluate expression constraints on supported access checks, narrowing when a binding grants permissions. GKE Workload Identity Federation maps Kubernetes workload identity to Google Cloud authorization without mounting permanent service account keys. ExplanationCorrect Answer D:GKE Workload Identity Federation maps Kubernetes workload identity to Google Cloud authorization without mounting permanent service account keys. This explains the relevant intervention: Configure Workload Identity Federation for GKE so the intended Kubernetes service account can access supported Google Cloud APIs. Confirm by: Launch a test Pod under the chosen Kubernetes service account and check its permitted cloud API access. 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 more specific mechanism behind the reported outcome is: GKE Workload Identity Federation maps Kubernetes workload identity to Google Cloud authorization without mounting permanent service account keys. B:Attaching a service identity to resources can require iam.serviceAccounts.actAs, distinct from granting all permissions of that identity to the caller. The more specific mechanism behind the reported outcome is: GKE Workload Identity Federation maps Kubernetes workload identity to Google Cloud authorization without mounting permanent service account keys. C:IAM Conditions evaluate expression constraints on supported access checks, narrowing when a binding grants permissions. The more specific mechanism behind the reported outcome is: GKE Workload Identity Federation maps Kubernetes workload identity to Google Cloud authorization without mounting permanent service account keys.
Question 923Two Kubernetes namespaces need separate permissions for different Cloud Storage datasets despite sharing a cluster. Which controlled test would best verify the outcome? Deploy a disposable resource with the approved service account and verify attempts with an unauthorized identity are denied. 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. Launch a test Pod under the chosen Kubernetes service account and check its permitted cloud API access. ExplanationCorrect Answer D:Launch a test Pod under the chosen Kubernetes service account and check its permitted cloud API access. This directly tests whether the intervention works: Configure Workload Identity Federation for GKE so the intended Kubernetes service account can access supported Google Cloud APIs. The technical reason is: GKE Workload Identity Federation maps Kubernetes workload identity to Google Cloud authorization without mounting permanent service account keys. Other Answers A:Attaching a service identity to resources can require iam.serviceAccounts.actAs, distinct from granting all permissions of that identity to the caller. The applicable evidence for this requirement is: Launch a test Pod under the chosen Kubernetes service account and check its permitted cloud API access. 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: Launch a test Pod under the chosen Kubernetes service account and check its permitted cloud API access. 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: Launch a test Pod under the chosen Kubernetes service account and check its permitted cloud API access.
Question 924Two Kubernetes namespaces need separate permissions for different Cloud Storage datasets despite sharing a cluster. What governance control should accompany this configuration? Set an owner-reviewed deadline for legacy key elimination and alert on unexpected key creation. Prohibit shared static credentials and monitor token minting rights on sensitive service accounts. Restrict workload identity bindings to specific namespaces and service accounts and audit changes. Run periodic least privilege reviews using IAM role usage and defined job functions. ExplanationCorrect Answer C:Restrict workload identity bindings to specific namespaces and service accounts and audit changes. This reduces the failure risk because GKE Workload Identity Federation maps Kubernetes workload identity to Google Cloud authorization without mounting permanent service account keys. Immediate action: Configure Workload Identity Federation for GKE so the intended Kubernetes service account can access supported Google Cloud APIs. Other Answers A:Long-lived service account keys increase credential exposure, while workload identities and short-lived tokens reduce persistent secret reliance. The preventive control that addresses this condition is: Restrict workload identity bindings to specific namespaces and service accounts and audit changes. B:Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. The preventive control that addresses this condition is: Restrict workload identity bindings to specific namespaces and service accounts and audit 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: Restrict workload identity bindings to specific namespaces and service accounts and audit changes.
Question 925A development Pod should not inherit all permissions of the cluster node service account. What should the Google Cloud administrator do first? Configure Workload Identity Federation for GKE so the intended Kubernetes service account can access supported Google Cloud APIs. Grant a deployer the narrowly scoped Service Account User permission required to attach an approved service account to a supported resource. Generate an authorized short-lived OAuth access token for a service account instead of exporting a persistent private key. Assign a narrowly scoped predefined read-only IAM role to the auditor at the intended project rather than granting a basic Owner role. ExplanationCorrect Answer A:Configure Workload Identity Federation for GKE so the intended Kubernetes service account can access supported Google Cloud APIs. This is appropriate because GKE Workload Identity Federation maps Kubernetes workload identity to Google Cloud authorization without mounting permanent service account keys. Verify with: Launch a test Pod under the chosen Kubernetes service account and check its permitted cloud API access. Other Answers B:Attaching a service identity to resources can require iam.serviceAccounts.actAs, distinct from granting all permissions of that identity to the caller. The required action here is: Configure Workload Identity Federation for GKE so the intended Kubernetes service account can access supported Google Cloud APIs. C:Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. The required action here is: Configure Workload Identity Federation for GKE so the intended Kubernetes service account can access supported Google Cloud APIs. D:Predefined IAM roles grant defined permission sets, while basic Owner and Editor roles expose much broader authority. The required action here is: Configure Workload Identity Federation for GKE so the intended Kubernetes service account can access supported Google Cloud APIs.
Question 926A development Pod should not inherit all permissions of the cluster node service account. Which Google Cloud technical behavior is relevant? GKE Workload Identity Federation maps Kubernetes workload identity to Google Cloud authorization without mounting permanent service account keys. Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. Service account impersonation obtains time-limited credentials under the target service account's identity while preserving the caller's audit trail. Basic Editor includes many resource mutation permissions, while task-specific roles constrain the authorized actions. ExplanationCorrect Answer A:GKE Workload Identity Federation maps Kubernetes workload identity to Google Cloud authorization without mounting permanent service account keys. This explains the relevant intervention: Configure Workload Identity Federation for GKE so the intended Kubernetes service account can access supported Google Cloud APIs. Confirm by: Launch a test Pod under the chosen Kubernetes service account and check its permitted cloud API access. Other Answers B:Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. The more specific mechanism behind the reported outcome is: GKE Workload Identity Federation maps Kubernetes workload identity to Google Cloud authorization without mounting permanent service account keys. C: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: GKE Workload Identity Federation maps Kubernetes workload identity to Google Cloud authorization without mounting permanent service account keys. D:Basic Editor includes many resource mutation permissions, while task-specific roles constrain the authorized actions. The more specific mechanism behind the reported outcome is: GKE Workload Identity Federation maps Kubernetes workload identity to Google Cloud authorization without mounting permanent service account keys.
Question 927A development Pod should not inherit all permissions of the cluster node service account. Which test differentiates the desired fix from unrelated behavior? Launch a test Pod under the chosen Kubernetes service account and check its permitted cloud API access. Verify the migrated application works without the old key before disabling it in a controlled change. Run each workload with its intended identity and verify resource access cannot cross the other workload's boundary. Remove a test group member and confirm inherited project access disappears when no other bindings permit it. ExplanationCorrect Answer A:Launch a test Pod under the chosen Kubernetes service account and check its permitted cloud API access. This directly tests whether the intervention works: Configure Workload Identity Federation for GKE so the intended Kubernetes service account can access supported Google Cloud APIs. The technical reason is: GKE Workload Identity Federation maps Kubernetes workload identity to Google Cloud authorization without mounting permanent service account keys. Other Answers B:Long-lived service account keys increase credential exposure, while workload identities and short-lived tokens reduce persistent secret reliance. The applicable evidence for this requirement is: Launch a test Pod under the chosen Kubernetes service account and check its permitted cloud API access. 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: Launch a test Pod under the chosen Kubernetes service account and check its permitted cloud API access. D:An IAM binding to a group lets identity administration handle membership without rewriting project policy for every staff change. The applicable evidence for this requirement is: Launch a test Pod under the chosen Kubernetes service account and check its permitted cloud API access.
Question 928A development Pod should not inherit all permissions of the cluster node service account. Which operating practice is most likely to prevent recurrence? Maintain a service identity register with owners, purpose, access reviews, and retirement criteria. Restrict workload identity bindings to specific namespaces and service accounts and audit changes. Review who can attach privileged identities to resources and separate deployment from runtime permissions. Review privileged role membership and use predefined task-specific roles for new access requests. ExplanationCorrect Answer B:Restrict workload identity bindings to specific namespaces and service accounts and audit changes. This reduces the failure risk because GKE Workload Identity Federation maps Kubernetes workload identity to Google Cloud authorization without mounting permanent service account keys. Immediate action: Configure Workload Identity Federation for GKE so the intended Kubernetes service account can access supported Google Cloud APIs. 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: Restrict workload identity bindings to specific namespaces and service accounts and audit changes. C:Attaching a service identity to resources can require iam.serviceAccounts.actAs, distinct from granting all permissions of that identity to the caller. The preventive control that addresses this condition is: Restrict workload identity bindings to specific namespaces and service accounts and audit changes. D:Predefined IAM roles grant defined permission sets, while basic Owner and Editor roles expose much broader authority. The preventive control that addresses this condition is: Restrict workload identity bindings to specific namespaces and service accounts and audit changes.
Question 929An administrator needs to deploy into a separate project without downloading a long-lived key for the target service account. Which implementation choice most directly addresses the described requirement? Deploy the Cloud Run service using a dedicated runtime service account with only the permissions needed for its downstream APIs. Grant the workload service account a narrowly scoped Pub/Sub publisher role on the specific topic it must publish to. Grant the calling principal only the necessary service account impersonation permission and use short-lived impersonated credentials for approved administrative commands. Inspect an affected principal's effective IAM bindings and run Policy Troubleshooter or equivalent policy analysis before editing grants. ExplanationCorrect Answer C:Grant the calling principal only the necessary service account impersonation permission and use short-lived impersonated credentials for approved administrative commands. This is appropriate because Service account impersonation obtains time-limited credentials under the target service account's identity while preserving the caller's audit trail. Verify with: Run a harmless CLI request with impersonation and confirm the effective service identity and denied unrelated permissions. Other Answers A:Cloud Run service identities supply Application Default Credentials for supported service-to-service calls without embedding static keys. The required action here is: Grant the calling principal only the necessary service account impersonation permission and use short-lived impersonated credentials for approved administrative commands. B:Service accounts act as principals in IAM allow policies, and resource-scoped role grants limit API operations to intended resources. The required action here is: Grant the calling principal only the necessary service account impersonation permission and use short-lived impersonated credentials for approved administrative commands. D:Policy analysis explains how allow and deny evaluations contribute to an access decision, reducing trial-and-error permission escalation. The required action here is: Grant the calling principal only the necessary service account impersonation permission and use short-lived impersonated credentials for approved administrative commands.
Question 930An administrator needs to deploy into a separate project without downloading a long-lived key for the target service account. What technical principle makes this decision suitable? Google-managed service agents allow Google Cloud products to perform product operations and can fail when required permissions are removed. Service account impersonation obtains time-limited credentials under the target service account's identity while preserving the caller's audit trail. Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. Custom IAM roles can combine specific eligible permissions when no predefined role precisely matches the required task. ExplanationCorrect Answer B:Service account impersonation obtains time-limited credentials under the target service account's identity while preserving the caller's audit trail. This explains the relevant intervention: Grant the calling principal only the necessary service account impersonation permission and use short-lived impersonated credentials for approved administrative commands. Confirm by: Run a harmless CLI request with impersonation and confirm the effective service identity and denied unrelated permissions. Other Answers A: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: Service account impersonation obtains time-limited credentials under the target service account's identity while preserving the caller's audit trail. C:Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. The more specific mechanism behind the reported outcome is: Service account impersonation obtains time-limited credentials under the target service account's identity while preserving the caller's audit trail. D:Custom IAM roles can combine specific eligible permissions when no predefined role precisely matches the required task. The more specific mechanism behind the reported outcome is: Service account impersonation obtains time-limited credentials under the target service account's identity while preserving the caller's audit trail.