Question 910An HTTP service needs read access to one storage bucket but should not use the project's default broad permissions. What technical principle makes this decision suitable? Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius. Service accounts act as principals in IAM allow policies, and resource-scoped role grants limit API operations to intended resources. Cloud Run service identities supply Application Default Credentials for supported service-to-service calls without embedding static keys. An IAM binding on an ancestor can apply to descendant resources, so removing a narrow child binding may not eliminate effective access. ExplanationCorrect Answer C:Cloud Run service identities supply Application Default Credentials for supported service-to-service calls without embedding static keys. This explains the relevant intervention: Deploy the Cloud Run service using a dedicated runtime service account with only the permissions needed for its downstream APIs. Confirm by: Invoke a test request and confirm the service accesses one approved resource but is denied an unrelated protected resource. Other Answers A:Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius. The more specific mechanism behind the reported outcome is: Cloud Run service identities supply Application Default Credentials for supported service-to-service calls without embedding static keys. B:Service accounts act as principals in IAM allow policies, and resource-scoped role grants limit API operations to intended resources. The more specific mechanism behind the reported outcome is: Cloud Run service identities supply Application Default Credentials for supported service-to-service calls without embedding static keys. D:An IAM binding on an ancestor can apply to descendant resources, so removing a narrow child binding may not eliminate effective access. The more specific mechanism behind the reported outcome is: Cloud Run service identities supply Application Default Credentials for supported service-to-service calls without embedding static keys.
Question 911An HTTP service needs read access to one storage bucket but should not use the project's default broad permissions. What post-change check most directly demonstrates success? Invoke a test request and confirm the service accesses one approved resource but is denied an unrelated protected resource. Run an authorized CI test job and inspect its federated identity claims and resulting Google Cloud permissions. Publish a harmless test message to the authorized topic and verify publishing to an unrelated topic is denied. Confirm the engineer can perform the approved operation but cannot change an unrelated sensitive resource. ExplanationCorrect Answer A:Invoke a test request and confirm the service accesses one approved resource but is denied an unrelated protected resource. This directly tests whether the intervention works: Deploy the Cloud Run service using a dedicated runtime service account with only the permissions needed for its downstream APIs. The technical reason is: Cloud Run service identities supply Application Default Credentials for supported service-to-service calls without embedding static keys. Other Answers B:Workload Identity Federation exchanges trusted external workload tokens for short-lived Google Cloud credentials without maintaining static service keys. The applicable evidence for this requirement is: Invoke a test request and confirm the service accesses one approved resource but is denied an unrelated protected resource. C:Service accounts act as principals in IAM allow policies, and resource-scoped role grants limit API operations to intended resources. The applicable evidence for this requirement is: Invoke a test request and confirm the service accesses one approved resource but is denied an unrelated protected resource. D:Basic Editor includes many resource mutation permissions, while task-specific roles constrain the authorized actions. The applicable evidence for this requirement is: Invoke a test request and confirm the service accesses one approved resource but is denied an unrelated protected resource.
Question 912An HTTP service needs read access to one storage bucket but should not use the project's default broad permissions. Which preventive standard should the team adopt? Maintain a service identity register with owners, purpose, access reviews, and retirement criteria. Monitor service agent role grants and avoid treating product-managed identities as general application accounts. Document custom role owners and review permission changes when Google Cloud services evolve. Review Cloud Run runtime identity grants before promoting new revisions. ExplanationCorrect Answer D:Review Cloud Run runtime identity grants before promoting new revisions. This reduces the failure risk because Cloud Run service identities supply Application Default Credentials for supported service-to-service calls without embedding static keys. Immediate action: Deploy the Cloud Run service using a dedicated runtime service account with only the permissions needed for its downstream 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: Review Cloud Run runtime identity grants before promoting new revisions. B: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: Review Cloud Run runtime identity grants before promoting new revisions. C:Custom IAM roles can combine specific eligible permissions when no predefined role precisely matches the required task. The preventive control that addresses this condition is: Review Cloud Run runtime identity grants before promoting new revisions.
Question 913A production Cloud Run revision must access a managed data service without secrets in environment variables. What is the best operational configuration or action for this situation? Deploy the Cloud Run service using a dedicated runtime service account with only the permissions needed for its downstream APIs. Generate an authorized short-lived OAuth access token for a service account instead of exporting a persistent private key. Grant the workload service account a narrowly scoped Pub/Sub publisher role on the specific topic it must publish to. Inspect IAM allow policies at organization, folder, and project levels to identify an inherited role granting excess permissions. ExplanationCorrect Answer A:Deploy the Cloud Run service using a dedicated runtime service account with only the permissions needed for its downstream APIs. This is appropriate because Cloud Run service identities supply Application Default Credentials for supported service-to-service calls without embedding static keys. Verify with: Invoke a test request and confirm the service accesses one approved resource but is denied an unrelated protected resource. Other Answers B:Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. The required action here is: Deploy the Cloud Run service using a dedicated runtime service account with only the permissions needed for its downstream 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: Deploy the Cloud Run service using a dedicated runtime service account with only the permissions needed for its downstream APIs. D:An IAM binding on an ancestor can apply to descendant resources, so removing a narrow child binding may not eliminate effective access. The required action here is: Deploy the Cloud Run service using a dedicated runtime service account with only the permissions needed for its downstream APIs.
Question 914A production Cloud Run revision must access a managed data service without secrets in environment variables. Which platform mechanism explains the proposed solution? Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius. Google-managed service agents allow Google Cloud products to perform product operations and can fail when required permissions are removed. Cloud Run service identities supply Application Default Credentials for supported service-to-service calls without embedding static keys. Custom IAM roles can combine specific eligible permissions when no predefined role precisely matches the required task. ExplanationCorrect Answer C:Cloud Run service identities supply Application Default Credentials for supported service-to-service calls without embedding static keys. This explains the relevant intervention: Deploy the Cloud Run service using a dedicated runtime service account with only the permissions needed for its downstream APIs. Confirm by: Invoke a test request and confirm the service accesses one approved resource but is denied an unrelated protected resource. Other Answers A:Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius. The more specific mechanism behind the reported outcome is: Cloud Run service identities supply Application Default Credentials for supported service-to-service calls without embedding static keys. B: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: Cloud Run service identities supply Application Default Credentials for supported service-to-service calls without embedding static keys. 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: Cloud Run service identities supply Application Default Credentials for supported service-to-service calls without embedding static keys.
Question 915A production Cloud Run revision must access a managed data service without secrets in environment variables. How should this change be validated in a safe pilot? Run an authorized CI test job and inspect its federated identity claims and resulting Google Cloud permissions. Invoke a test request and confirm the service accesses one approved resource but is denied an unrelated protected resource. Launch a test Pod under the chosen Kubernetes service account and check its permitted cloud API access. Have a test identity perform permitted read operations and verify unrelated destructive operations are denied. ExplanationCorrect Answer B:Invoke a test request and confirm the service accesses one approved resource but is denied an unrelated protected resource. This directly tests whether the intervention works: Deploy the Cloud Run service using a dedicated runtime service account with only the permissions needed for its downstream APIs. The technical reason is: Cloud Run service identities supply Application Default Credentials for supported service-to-service calls without embedding static keys. Other Answers A:Workload Identity Federation exchanges trusted external workload tokens for short-lived Google Cloud credentials without maintaining static service keys. The applicable evidence for this requirement is: Invoke a test request and confirm the service accesses one approved resource but is denied an unrelated protected resource. C:GKE Workload Identity Federation maps Kubernetes workload identity to Google Cloud authorization without mounting permanent service account keys. The applicable evidence for this requirement is: Invoke a test request and confirm the service accesses one approved resource but is denied an unrelated protected resource. D:Custom IAM roles can combine specific eligible permissions when no predefined role precisely matches the required task. The applicable evidence for this requirement is: Invoke a test request and confirm the service accesses one approved resource but is denied an unrelated protected resource.
Question 916A production Cloud Run revision must access a managed data service without secrets in environment variables. What change-management control best protects this workflow? Prohibit shared static credentials and monitor token minting rights on sensitive service accounts. Review who can attach privileged identities to resources and separate deployment from runtime permissions. Review Cloud Run runtime identity grants before promoting new revisions. Review IAM condition expressions, expiration dates, and exception approvals periodically. ExplanationCorrect Answer C:Review Cloud Run runtime identity grants before promoting new revisions. This reduces the failure risk because Cloud Run service identities supply Application Default Credentials for supported service-to-service calls without embedding static keys. Immediate action: Deploy the Cloud Run service using a dedicated runtime service account with only the permissions needed for its downstream APIs. Other Answers A: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: Review Cloud Run runtime identity grants before promoting new revisions. B: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: Review Cloud Run runtime identity grants before promoting new revisions. D:IAM Conditions evaluate expression constraints on supported access checks, narrowing when a binding grants permissions. The preventive control that addresses this condition is: Review Cloud Run runtime identity grants before promoting new revisions.
Question 917A GKE Pod accesses Cloud Storage through a JSON key mounted as a Kubernetes Secret. What is the most defensible change for the stated failure? Configure a workload identity pool and trusted provider for CI jobs and authorize scoped service account access via federation. Configure Workload Identity Federation for GKE so the intended Kubernetes service account can access supported Google Cloud APIs. Grant the workload service account a narrowly scoped Pub/Sub publisher role on the specific topic it must publish to. Inspect an affected principal's effective IAM bindings and run Policy Troubleshooter or equivalent policy analysis before editing grants. ExplanationCorrect Answer B: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 A: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:Policy analysis explains how allow and deny evaluations contribute to an access decision, reducing trial-and-error permission escalation. The required action here is: Configure Workload Identity Federation for GKE so the intended Kubernetes service account can access supported Google Cloud APIs.
Question 918A GKE Pod accesses Cloud Storage through a JSON key mounted as a Kubernetes Secret. Why does the recommended approach address the observed issue? Compute Engine workloads can obtain short-lived access tokens for their attached service identity when configured correctly. Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius. GKE Workload Identity Federation maps Kubernetes workload identity to Google Cloud authorization without mounting permanent service account keys. An IAM binding on an ancestor can apply to descendant resources, so removing a narrow child binding may not eliminate effective access. ExplanationCorrect Answer C: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: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: GKE Workload Identity Federation maps Kubernetes workload identity to Google Cloud authorization without mounting permanent service account keys. B:Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius. 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:An IAM binding on an ancestor can apply to descendant resources, so removing a narrow child binding may not eliminate effective access. 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 919A GKE Pod accesses Cloud Storage through a JSON key mounted as a Kubernetes Secret. What observable evidence should the engineering team collect? Publish a harmless test message to the authorized topic and verify publishing to an unrelated topic is denied. Verify the migrated application works without the old key before disabling it in a controlled change. Launch a test Pod under the chosen Kubernetes service account and check its permitted cloud API access. Test access during and outside the condition window or resource path using a controlled identity. ExplanationCorrect Answer C: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:Service accounts act as principals in IAM allow policies, and resource-scoped role grants limit API operations to intended resources. 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: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. D:IAM Conditions evaluate expression constraints on supported access checks, narrowing when a binding grants permissions. 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 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.