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.
Question 981An operator confuses a Google-managed service agent with a user-managed VM service account when auditing permissions. Which supported solution best fits this production constraint? Create a dedicated service account with least privilege and attach it to the VM rather than storing credentials in startup scripts. 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. Inspect an affected principal's effective IAM bindings and run Policy Troubleshooter or equivalent policy analysis before editing grants. 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:Compute Engine workloads can obtain short-lived access tokens for their attached service identity when configured correctly. 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:Policy analysis explains how allow and deny evaluations contribute to an access decision, reducing trial-and-error permission escalation. The required action here is: Identify the required Google-managed service agent and grant only the documented service-agent role on supported resources.
Question 982An operator confuses a Google-managed service agent with a user-managed VM service account when auditing permissions. Why is the selected configuration more appropriate here? 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. Admin Activity audit logs provide evidence of supported administrative policy changes when properly queried. Google-managed service agents allow Google Cloud products to perform product operations and can fail when required permissions are removed. ExplanationCorrect Answer D: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: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: Google-managed service agents allow Google Cloud products to perform product operations and can fail when required permissions are removed. 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-managed service agents allow Google Cloud products to perform product operations and can fail when required permissions are removed. C:Admin Activity audit logs provide evidence of supported administrative policy changes when properly queried. 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 983An operator confuses a Google-managed service agent with a user-managed VM service account when auditing permissions. Which controlled test would best verify the outcome? Invoke a test request and confirm the service accesses one approved resource but is denied an unrelated protected resource. Check the exact managed service agent principal and confirm the product operation succeeds after reviewed role restoration. Run a harmless CLI request with impersonation and confirm the effective service identity and denied unrelated permissions. Test access during and outside the condition window or resource path using a controlled identity. ExplanationCorrect Answer B: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: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: Check the exact managed service agent principal and confirm the product operation succeeds after reviewed role restoration. C: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: Check the exact managed service agent principal and confirm the product operation succeeds after reviewed role restoration. D:IAM Conditions evaluate expression constraints on supported access checks, narrowing when a binding grants permissions. 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 984An operator confuses a Google-managed service agent with a user-managed VM service account when auditing permissions. What governance control should accompany this configuration? Prohibit shared static credentials and monitor token minting rights on sensitive service accounts. Maintain a service identity register with owners, purpose, access reviews, and retirement criteria. Audit inherited roles at folder boundaries after organizational restructuring or acquisitions. Monitor service agent role grants and avoid treating product-managed identities as general application accounts. ExplanationCorrect Answer D: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: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: Monitor service agent role grants and avoid treating product-managed identities as general application accounts. 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: Monitor service agent role grants and avoid treating product-managed identities as general application accounts. C: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: Monitor service agent role grants and avoid treating product-managed identities as general application accounts.
Question 985A vendor application uses an old JSON service account key whose owner has left the company. What should the Google Cloud administrator do first? Inventory existing user-managed service account keys, migrate applications to supported identity mechanisms, then disable and delete unused keys. 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 required IAM roles on the specific resource or project instead of changing an organization-level allow policy. ExplanationCorrect Answer A:Inventory existing user-managed service account keys, migrate applications to supported identity mechanisms, then disable and delete unused keys. This is appropriate because Long-lived service account keys increase credential exposure, while workload identities and short-lived tokens reduce persistent secret reliance. Verify with: Verify the migrated application works without the old key before disabling it in a controlled change. Other Answers B:GKE Workload Identity Federation maps Kubernetes workload identity to Google Cloud authorization without mounting permanent service account keys. The required action here is: Inventory existing user-managed service account keys, migrate applications to supported identity mechanisms, then disable and delete unused keys. C:Workload Identity Federation exchanges trusted external workload tokens for short-lived Google Cloud credentials without maintaining static service keys. The required action here is: Inventory existing user-managed service account keys, migrate applications to supported identity mechanisms, then disable and delete unused keys. D:Resource scope is fundamental to least privilege, and organization-level bindings can grant effective rights over many descendants. The required action here is: Inventory existing user-managed service account keys, migrate applications to supported identity mechanisms, then disable and delete unused keys.
Question 986A vendor application uses an old JSON service account key whose owner has left the company. Which Google Cloud technical behavior is relevant? Long-lived service account keys increase credential exposure, while workload identities and short-lived tokens reduce persistent secret reliance. Workload Identity Federation exchanges trusted external workload tokens for short-lived Google Cloud credentials without maintaining static service keys. Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius. Custom IAM roles can combine specific eligible permissions when no predefined role precisely matches the required task. ExplanationCorrect Answer A:Long-lived service account keys increase credential exposure, while workload identities and short-lived tokens reduce persistent secret reliance. This explains the relevant intervention: Inventory existing user-managed service account keys, migrate applications to supported identity mechanisms, then disable and delete unused keys. Confirm by: Verify the migrated application works without the old key before disabling it in a controlled change. 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: Long-lived service account keys increase credential exposure, while workload identities and short-lived tokens reduce persistent secret reliance. C: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: Long-lived service account keys increase credential exposure, while workload identities and short-lived tokens reduce persistent secret reliance. 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: Long-lived service account keys increase credential exposure, while workload identities and short-lived tokens reduce persistent secret reliance.
Question 987A vendor application uses an old JSON service account key whose owner has left the company. Which test differentiates the desired fix from unrelated behavior? Run a safe storage read from the VM and verify its service identity has only the intended permission. 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. Verify the migrated application works without the old key before disabling it in a controlled change. ExplanationCorrect Answer D:Verify the migrated application works without the old key before disabling it in a controlled change. This directly tests whether the intervention works: Inventory existing user-managed service account keys, migrate applications to supported identity mechanisms, then disable and delete unused keys. The technical reason is: Long-lived service account keys increase credential exposure, while workload identities and short-lived tokens reduce persistent secret reliance. Other Answers A:Compute Engine workloads can obtain short-lived access tokens for their attached service identity when configured correctly. The applicable evidence for this requirement is: Verify the migrated application works without the old key before disabling it in a controlled change. B: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: Verify the migrated application works without the old key before disabling it in a controlled change. C:IAM Conditions evaluate expression constraints on supported access checks, narrowing when a binding grants permissions. The applicable evidence for this requirement is: Verify the migrated application works without the old key before disabling it in a controlled change.
Question 988A vendor application uses an old JSON service account key whose owner has left the company. Which operating practice is most likely to prevent recurrence? Maintain a service identity register with owners, purpose, access reviews, and retirement criteria. Set an owner-reviewed deadline for legacy key elimination and alert on unexpected key creation. 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 B:Set an owner-reviewed deadline for legacy key elimination and alert on unexpected key creation. This reduces the failure risk because Long-lived service account keys increase credential exposure, while workload identities and short-lived tokens reduce persistent secret reliance. Immediate action: Inventory existing user-managed service account keys, migrate applications to supported identity mechanisms, then disable and delete unused keys. 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: Set an owner-reviewed deadline for legacy key elimination and alert on unexpected key creation. C: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: Set an owner-reviewed deadline for legacy key elimination and alert on unexpected key creation. D:Basic Editor includes many resource mutation permissions, while task-specific roles constrain the authorized actions. The preventive control that addresses this condition is: Set an owner-reviewed deadline for legacy key elimination and alert on unexpected key creation.
Question 989A security scan detects inactive downloadable service account keys in several production projects. Which implementation choice most directly addresses the described requirement? Configure a workload identity pool and trusted provider for CI jobs and authorize scoped service account access via federation. Grant a deployer the narrowly scoped Service Account User permission required to attach an approved service account to a supported resource. Inspect an affected principal's effective IAM bindings and run Policy Troubleshooter or equivalent policy analysis before editing grants. Inventory existing user-managed service account keys, migrate applications to supported identity mechanisms, then disable and delete unused keys. ExplanationCorrect Answer D:Inventory existing user-managed service account keys, migrate applications to supported identity mechanisms, then disable and delete unused keys. This is appropriate because Long-lived service account keys increase credential exposure, while workload identities and short-lived tokens reduce persistent secret reliance. Verify with: Verify the migrated application works without the old key before disabling it in a controlled change. 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: Inventory existing user-managed service account keys, migrate applications to supported identity mechanisms, then disable and delete unused 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 required action here is: Inventory existing user-managed service account keys, migrate applications to supported identity mechanisms, then disable and delete unused keys. C:Policy analysis explains how allow and deny evaluations contribute to an access decision, reducing trial-and-error permission escalation. The required action here is: Inventory existing user-managed service account keys, migrate applications to supported identity mechanisms, then disable and delete unused keys.
Question 990A security scan detects inactive downloadable service account keys in several production projects. What technical principle makes this decision suitable? Service accounts act as principals in IAM allow policies, and resource-scoped role grants limit API operations to intended resources. Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius. Long-lived service account keys increase credential exposure, while workload identities and short-lived tokens reduce persistent secret reliance. Predefined IAM roles grant defined permission sets, while basic Owner and Editor roles expose much broader authority. ExplanationCorrect Answer C:Long-lived service account keys increase credential exposure, while workload identities and short-lived tokens reduce persistent secret reliance. This explains the relevant intervention: Inventory existing user-managed service account keys, migrate applications to supported identity mechanisms, then disable and delete unused keys. Confirm by: Verify the migrated application works without the old key before disabling it in a controlled change. Other Answers A: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: Long-lived service account keys increase credential exposure, while workload identities and short-lived tokens reduce persistent secret reliance. 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: Long-lived service account keys increase credential exposure, while workload identities and short-lived tokens reduce persistent secret reliance. 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: Long-lived service account keys increase credential exposure, while workload identities and short-lived tokens reduce persistent secret reliance.