Question 970A platform developer can create VMs but receives an actAs permission error when choosing a restricted runtime service account. What technical principle makes this decision suitable? Attaching a service identity to resources can require iam.serviceAccounts.actAs, distinct from granting all permissions of that identity to the caller. Workload Identity Federation exchanges trusted external workload tokens for short-lived Google Cloud credentials without maintaining static service keys. Long-lived service account keys increase credential exposure, while workload identities and short-lived tokens reduce persistent secret reliance. Custom IAM roles can combine specific eligible permissions when no predefined role precisely matches the required task. ExplanationCorrect Answer A:Attaching a service identity to resources can require iam.serviceAccounts.actAs, distinct from granting all permissions of that identity to the caller. This explains the relevant intervention: Grant a deployer the narrowly scoped Service Account User permission required to attach an approved service account to a supported resource. Confirm by: Deploy a disposable resource with the approved service account and verify attempts with an unauthorized identity are denied. 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: Attaching a service identity to resources can require iam.serviceAccounts.actAs, distinct from granting all permissions of that identity to the caller. C:Long-lived service account keys increase credential exposure, while workload identities and short-lived tokens reduce persistent secret reliance. The more specific mechanism behind the reported outcome is: Attaching a service identity to resources can require iam.serviceAccounts.actAs, distinct from granting all permissions of that identity to the caller. 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: Attaching a service identity to resources can require iam.serviceAccounts.actAs, distinct from granting all permissions of that identity to the caller.
Question 971A platform developer can create VMs but receives an actAs permission error when choosing a restricted runtime service account. What post-change check most directly demonstrates success? Check the exact managed service agent principal and confirm the product operation succeeds after reviewed role restoration. Deploy a disposable resource with the approved service account and verify attempts with an unauthorized identity are denied. Launch a test Pod under the chosen Kubernetes service account and check its permitted cloud API access. Locate a synthetic or known approved policy-change event and correlate principal, resource, and timestamp. ExplanationCorrect Answer B:Deploy a disposable resource with the approved service account and verify attempts with an unauthorized identity are denied. This directly tests whether the intervention works: Grant a deployer the narrowly scoped Service Account User permission required to attach an approved service account to a supported resource. The technical reason is: Attaching a service identity to resources can require iam.serviceAccounts.actAs, distinct from granting all permissions of that identity to the caller. 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: Deploy a disposable resource with the approved service account and verify attempts with an unauthorized identity are denied. 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: Deploy a disposable resource with the approved service account and verify attempts with an unauthorized identity are denied. D:Admin Activity audit logs provide evidence of supported administrative policy changes when properly queried. The applicable evidence for this requirement is: Deploy a disposable resource with the approved service account and verify attempts with an unauthorized identity are denied.
Question 972A platform developer can create VMs but receives an actAs permission error when choosing a restricted runtime service account. Which preventive standard should the team adopt? Review service-to-service permissions and remove grants when message flows are decommissioned. Restrict workload identity bindings to specific namespaces and service accounts and audit changes. Review IAM condition expressions, expiration dates, and exception approvals periodically. Review who can attach privileged identities to resources and separate deployment from runtime permissions. ExplanationCorrect Answer D:Review who can attach privileged identities to resources and separate deployment from runtime permissions. This reduces the failure risk because Attaching a service identity to resources can require iam.serviceAccounts.actAs, distinct from granting all permissions of that identity to the caller. Immediate action: Grant a deployer the narrowly scoped Service Account User permission required to attach an approved service account to a supported resource. Other Answers A: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 who can attach privileged identities to resources and separate deployment from runtime permissions. 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 who can attach privileged identities to resources and separate deployment from runtime permissions. C:IAM Conditions evaluate expression constraints on supported access checks, narrowing when a binding grants permissions. The preventive control that addresses this condition is: Review who can attach privileged identities to resources and separate deployment from runtime permissions.
Question 973An authorized Cloud Run release fails because the deployer lacks permission to attach the runtime identity. 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. Identify the required Google-managed service agent and grant only the documented service-agent role on supported resources. Grant a deployer the narrowly scoped Service Account User permission required to attach an approved service account to a supported resource. Create a custom IAM role containing only the required supported permissions and bind it at the appropriate resource scope. ExplanationCorrect Answer C:Grant a deployer the narrowly scoped Service Account User permission required to attach an approved service account to a supported resource. This is appropriate because Attaching a service identity to resources can require iam.serviceAccounts.actAs, distinct from granting all permissions of that identity to the caller. Verify with: Deploy a disposable resource with the approved service account and verify attempts with an unauthorized identity are denied. 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: Grant a deployer the narrowly scoped Service Account User permission required to attach an approved service account to a supported resource. B:Google-managed service agents allow Google Cloud products to perform product operations and can fail when required permissions are removed. The required action here is: Grant a deployer the narrowly scoped Service Account User permission required to attach an approved service account to a supported resource. D:Custom IAM roles can combine specific eligible permissions when no predefined role precisely matches the required task. The required action here is: Grant a deployer the narrowly scoped Service Account User permission required to attach an approved service account to a supported resource.
Question 974An authorized Cloud Run release fails because the deployer lacks permission to attach the runtime identity. 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. Attaching a service identity to resources can require iam.serviceAccounts.actAs, distinct from granting all permissions of that identity to the caller. Long-lived service account keys increase credential exposure, while workload identities and short-lived tokens reduce persistent secret reliance. Policy analysis explains how allow and deny evaluations contribute to an access decision, reducing trial-and-error permission escalation. ExplanationCorrect Answer B:Attaching a service identity to resources can require iam.serviceAccounts.actAs, distinct from granting all permissions of that identity to the caller. This explains the relevant intervention: Grant a deployer the narrowly scoped Service Account User permission required to attach an approved service account to a supported resource. Confirm by: Deploy a disposable resource with the approved service account and verify attempts with an unauthorized identity are denied. Other Answers A: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: Attaching a service identity to resources can require iam.serviceAccounts.actAs, distinct from granting all permissions of that identity to the caller. C:Long-lived service account keys increase credential exposure, while workload identities and short-lived tokens reduce persistent secret reliance. The more specific mechanism behind the reported outcome is: Attaching a service identity to resources can require iam.serviceAccounts.actAs, distinct from granting all permissions of that identity to the caller. 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: Attaching a service identity to resources can require iam.serviceAccounts.actAs, distinct from granting all permissions of that identity to the caller.
Question 975An authorized Cloud Run release fails because the deployer lacks permission to attach the runtime identity. How should this change be validated in a safe pilot? Launch a test Pod under the chosen Kubernetes service account and check its permitted cloud API access. Deploy a disposable resource with the approved service account and verify attempts with an unauthorized identity are denied. Invoke a test request and confirm the service accesses one approved resource but is denied an unrelated protected resource. Test access during and outside the condition window or resource path using a controlled identity. ExplanationCorrect Answer B:Deploy a disposable resource with the approved service account and verify attempts with an unauthorized identity are denied. This directly tests whether the intervention works: Grant a deployer the narrowly scoped Service Account User permission required to attach an approved service account to a supported resource. The technical reason is: Attaching a service identity to resources can require iam.serviceAccounts.actAs, distinct from granting all permissions of that identity to the caller. Other Answers A: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: Deploy a disposable resource with the approved service account and verify attempts with an unauthorized identity are denied. C:Cloud Run service identities supply Application Default Credentials for supported service-to-service calls without embedding static keys. The applicable evidence for this requirement is: Deploy a disposable resource with the approved service account and verify attempts with an unauthorized identity are denied. D:IAM Conditions evaluate expression constraints on supported access checks, narrowing when a binding grants permissions. The applicable evidence for this requirement is: Deploy a disposable resource with the approved service account and verify attempts with an unauthorized identity are denied.
Question 976An authorized Cloud Run release fails because the deployer lacks permission to attach the runtime identity. What change-management control best protects this workflow? Review who can attach privileged identities to resources and separate deployment from runtime permissions. Restrict workload identity bindings to specific namespaces and service accounts and audit changes. Maintain a service identity register with owners, purpose, access reviews, and retirement criteria. Document custom role owners and review permission changes when Google Cloud services evolve. ExplanationCorrect Answer A:Review who can attach privileged identities to resources and separate deployment from runtime permissions. This reduces the failure risk because Attaching a service identity to resources can require iam.serviceAccounts.actAs, distinct from granting all permissions of that identity to the caller. Immediate action: Grant a deployer the narrowly scoped Service Account User permission required to attach an approved service account to a supported resource. 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 who can attach privileged identities to resources and separate deployment from runtime permissions. C: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 who can attach privileged identities to resources and separate deployment from runtime permissions. D: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 who can attach privileged identities to resources and separate deployment from runtime permissions.
Question 977A data service fails to access a customer-managed encryption key after a service agent role was removed. What is the most defensible change for the stated failure? Grant a deployer the narrowly scoped Service Account User permission required to attach an approved service account to a supported resource. Inventory existing user-managed service account keys, migrate applications to supported identity mechanisms, then disable and delete unused keys. Identify the required Google-managed service agent and grant only the documented service-agent role on supported resources. Remove a broad basic Editor binding and grant a supported predefined role that covers only the engineer's actual workflow. ExplanationCorrect Answer C:Identify the required Google-managed service agent and grant only the documented service-agent role on supported resources. This is appropriate because Google-managed service agents allow Google Cloud products to perform product operations and can fail when required permissions are removed. Verify with: Check the exact managed service agent principal and confirm the product operation succeeds after reviewed role restoration. 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 required action here is: Identify the required Google-managed service agent and grant only the documented service-agent role on supported resources. B:Long-lived service account keys increase credential exposure, while workload identities and short-lived tokens reduce persistent secret reliance. The required action here is: Identify the required Google-managed service agent and grant only the documented service-agent role on supported resources. D:Basic Editor includes many resource mutation permissions, while task-specific roles constrain the authorized actions. The required action here is: Identify the required Google-managed service agent and grant only the documented service-agent role on supported resources.
Question 978A data service fails to access a customer-managed encryption key after a service agent role was removed. Why does the recommended approach address the observed issue? Workload Identity Federation exchanges trusted external workload tokens for short-lived Google Cloud credentials without maintaining static service keys. Service accounts act as principals in IAM allow policies, and resource-scoped role grants limit API operations to intended resources. Google-managed service agents allow Google Cloud products to perform product operations and can fail when required permissions are removed. Policy analysis explains how allow and deny evaluations contribute to an access decision, reducing trial-and-error permission escalation. ExplanationCorrect Answer C:Google-managed service agents allow Google Cloud products to perform product operations and can fail when required permissions are removed. This explains the relevant intervention: Identify the required Google-managed service agent and grant only the documented service-agent role on supported resources. Confirm by: Check the exact managed service agent principal and confirm the product operation succeeds after reviewed role restoration. Other Answers A: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-managed service agents allow Google Cloud products to perform product operations and can fail when required permissions are removed. 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: Google-managed service agents allow Google Cloud products to perform product operations and can fail when required permissions are removed. 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: Google-managed service agents allow Google Cloud products to perform product operations and can fail when required permissions are removed.
Question 979A data service fails to access a customer-managed encryption key after a service agent role was removed. What observable evidence should the engineering team collect? Run each workload with its intended identity and verify resource access cannot cross the other workload's boundary. Run a safe storage read from the VM and verify its service identity has only the intended permission. Use IAM policy analysis to identify the ancestor grant and test effective permissions after correction. Check the exact managed service agent principal and confirm the product operation succeeds after reviewed role restoration. ExplanationCorrect Answer D:Check the exact managed service agent principal and confirm the product operation succeeds after reviewed role restoration. This directly tests whether the intervention works: Identify the required Google-managed service agent and grant only the documented service-agent role on supported resources. The technical reason is: Google-managed service agents allow Google Cloud products to perform product operations and can fail when required permissions are removed. Other Answers A:Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius. The applicable evidence for this requirement is: Check the exact managed service agent principal and confirm the product operation succeeds after reviewed role restoration. B:Compute Engine workloads can obtain short-lived access tokens for their attached service identity when configured correctly. The applicable evidence for this requirement is: Check the exact managed service agent principal and confirm the product operation succeeds after reviewed role restoration. C:An IAM binding on an ancestor can apply to descendant resources, so removing a narrow child binding may not eliminate effective access. The applicable evidence for this requirement is: Check the exact managed service agent principal and confirm the product operation succeeds after reviewed role restoration.
Question 980A data service fails to access a customer-managed encryption key after a service agent role was removed. Which documented safeguard helps sustain the improvement? Review provider audience, issuer claims, attribute mapping, and service account bindings after CI changes. Review who can attach privileged identities to resources and separate deployment from runtime permissions. 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. ExplanationCorrect Answer C:Monitor service agent role grants and avoid treating product-managed identities as general application accounts. This reduces the failure risk because Google-managed service agents allow Google Cloud products to perform product operations and can fail when required permissions are removed. Immediate action: Identify the required Google-managed service agent and grant only the documented service-agent role on supported resources. Other Answers A:Workload Identity Federation exchanges trusted external workload tokens for short-lived Google Cloud credentials without maintaining static service keys. The preventive control that addresses this condition is: Monitor service agent role grants and avoid treating product-managed identities as general application accounts. 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: Monitor service agent role grants and avoid treating product-managed identities as general application accounts. D: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: Monitor service agent role grants and avoid treating product-managed identities as general application accounts.