Question 890A small test lab wants a contractor to deploy resources without modifying other company projects. What technical principle makes this decision suitable? Basic Editor includes many resource mutation permissions, while task-specific roles constrain the authorized actions. Admin Activity audit logs provide evidence of supported administrative policy changes when properly queried. GKE Workload Identity Federation maps Kubernetes workload identity to Google Cloud authorization without mounting permanent service account keys. Resource scope is fundamental to least privilege, and organization-level bindings can grant effective rights over many descendants. ExplanationCorrect Answer D:Resource scope is fundamental to least privilege, and organization-level bindings can grant effective rights over many descendants. This explains the relevant intervention: Grant required IAM roles on the specific resource or project instead of changing an organization-level allow policy. Confirm by: Test the principal's ability to work in the intended project and denial in a separate sibling project. Other Answers A:Basic Editor includes many resource mutation permissions, while task-specific roles constrain the authorized actions. The more specific mechanism behind the reported outcome is: Resource scope is fundamental to least privilege, and organization-level bindings can grant effective rights over many descendants. B:Admin Activity audit logs provide evidence of supported administrative policy changes when properly queried. The more specific mechanism behind the reported outcome is: Resource scope is fundamental to least privilege, and organization-level bindings can grant effective rights over many descendants. C:GKE Workload Identity Federation maps Kubernetes workload identity to Google Cloud authorization without mounting permanent service account keys. The more specific mechanism behind the reported outcome is: Resource scope is fundamental to least privilege, and organization-level bindings can grant effective rights over many descendants.
Question 891A small test lab wants a contractor to deploy resources without modifying other company projects. What post-change check most directly demonstrates success? Have a test identity perform permitted read operations and verify unrelated destructive operations are denied. Test the principal's ability to work in the intended project and denial in a separate sibling project. Inspect the effective policy and confirm an auditor can read approved inventory but cannot modify a test resource. Run a harmless CLI request with impersonation and confirm the effective service identity and denied unrelated permissions. ExplanationCorrect Answer B:Test the principal's ability to work in the intended project and denial in a separate sibling project. This directly tests whether the intervention works: Grant required IAM roles on the specific resource or project instead of changing an organization-level allow policy. The technical reason is: Resource scope is fundamental to least privilege, and organization-level bindings can grant effective rights over many descendants. Other Answers A:Custom IAM roles can combine specific eligible permissions when no predefined role precisely matches the required task. The applicable evidence for this requirement is: Test the principal's ability to work in the intended project and denial in a separate sibling project. 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: Test the principal's ability to work in the intended project and denial in a separate sibling project. D: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: Test the principal's ability to work in the intended project and denial in a separate sibling project.
Question 892A small test lab wants a contractor to deploy resources without modifying other company projects. Which preventive standard should the team adopt? Document custom role owners and review permission changes when Google Cloud services evolve. Require change tickets and periodic alert review for sensitive IAM modifications. Require explicit central approval for any IAM change above project scope. Prohibit shared static credentials and monitor token minting rights on sensitive service accounts. ExplanationCorrect Answer C:Require explicit central approval for any IAM change above project scope. This reduces the failure risk because Resource scope is fundamental to least privilege, and organization-level bindings can grant effective rights over many descendants. Immediate action: Grant required IAM roles on the specific resource or project instead of changing an organization-level allow policy. Other Answers A: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: Require explicit central approval for any IAM change above project scope. B:Admin Activity audit logs provide evidence of supported administrative policy changes when properly queried. The preventive control that addresses this condition is: Require explicit central approval for any IAM change above project scope. D: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: Require explicit central approval for any IAM change above project scope.
Question 893A batch processing VM reads Cloud Storage using a JSON key placed in its startup script. What is the best operational configuration or action for this situation? Configure Workload Identity Federation for GKE so the intended Kubernetes service account can access supported Google Cloud APIs. 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. Inspect an affected principal's effective IAM bindings and run Policy Troubleshooter or equivalent policy analysis before editing grants. ExplanationCorrect Answer B:Create a dedicated service account with least privilege and attach it to the VM rather than storing credentials in startup scripts. This is appropriate because Compute Engine workloads can obtain short-lived access tokens for their attached service identity when configured correctly. Verify with: Run a safe storage read from the VM and verify its service identity has only the intended permission. Other Answers A:GKE Workload Identity Federation maps Kubernetes workload identity to Google Cloud authorization without mounting permanent service account keys. The required action here is: Create a dedicated service account with least privilege and attach it to the VM rather than storing credentials in startup scripts. C:Long-lived service account keys increase credential exposure, while workload identities and short-lived tokens reduce persistent secret reliance. The required action here is: Create a dedicated service account with least privilege and attach it to the VM rather than storing credentials in startup scripts. 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: Create a dedicated service account with least privilege and attach it to the VM rather than storing credentials in startup scripts.
Question 894A batch processing VM reads Cloud Storage using a JSON key placed in its startup script. Which platform mechanism explains the proposed solution? Cloud Run service identities supply Application Default Credentials for supported service-to-service calls without embedding static keys. Compute Engine workloads can obtain short-lived access tokens for their attached service identity when configured correctly. GKE Workload Identity Federation maps Kubernetes workload identity to Google Cloud authorization without mounting permanent service account keys. Basic Editor includes many resource mutation permissions, while task-specific roles constrain the authorized actions. ExplanationCorrect Answer B:Compute Engine workloads can obtain short-lived access tokens for their attached service identity when configured correctly. This explains the relevant intervention: Create a dedicated service account with least privilege and attach it to the VM rather than storing credentials in startup scripts. Confirm by: Run a safe storage read from the VM and verify its service identity has only the intended permission. 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: Compute Engine workloads can obtain short-lived access tokens for their attached service identity when configured correctly. C:GKE Workload Identity Federation maps Kubernetes workload identity to Google Cloud authorization without mounting permanent service account keys. The more specific mechanism behind the reported outcome is: Compute Engine workloads can obtain short-lived access tokens for their attached service identity when configured correctly. 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: Compute Engine workloads can obtain short-lived access tokens for their attached service identity when configured correctly.
Question 895A batch processing VM reads Cloud Storage using a JSON key placed in its startup script. How should this change be validated in a safe pilot? Run a safe storage read from the VM and verify its service identity has only the intended permission. 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. Confirm the engineer can perform the approved operation but cannot change an unrelated sensitive resource. ExplanationCorrect Answer A:Run a safe storage read from the VM and verify its service identity has only the intended permission. This directly tests whether the intervention works: Create a dedicated service account with least privilege and attach it to the VM rather than storing credentials in startup scripts. The technical reason is: Compute Engine workloads can obtain short-lived access tokens for their attached service identity when configured correctly. Other Answers B: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: Run a safe storage read from the VM and verify its service identity has only the intended permission. C: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 a safe storage read from the VM and verify its service identity has only the intended permission. D:Basic Editor includes many resource mutation permissions, while task-specific roles constrain the authorized actions. The applicable evidence for this requirement is: Run a safe storage read from the VM and verify its service identity has only the intended permission.
Question 896A batch processing VM reads Cloud Storage using a JSON key placed in its startup script. What change-management control best protects this workflow? Maintain a service identity register with owners, purpose, access reviews, and retirement criteria. Inventory VM service account assignments and review broad default identity grants after each deployment. Prohibit shared static credentials and monitor token minting rights on sensitive service accounts. Review IAM condition expressions, expiration dates, and exception approvals periodically. ExplanationCorrect Answer B:Inventory VM service account assignments and review broad default identity grants after each deployment. This reduces the failure risk because Compute Engine workloads can obtain short-lived access tokens for their attached service identity when configured correctly. Immediate action: Create a dedicated service account with least privilege and attach it to the VM rather than storing credentials in startup scripts. 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: Inventory VM service account assignments and review broad default identity grants after each deployment. C: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: Inventory VM service account assignments and review broad default identity grants after each deployment. D:IAM Conditions evaluate expression constraints on supported access checks, narrowing when a binding grants permissions. The preventive control that addresses this condition is: Inventory VM service account assignments and review broad default identity grants after each deployment.
Question 897An analytics service needs project-scoped API permissions but currently runs as a broadly privileged default VM identity. What is the most defensible change for the stated failure? Inventory existing user-managed service account keys, migrate applications to supported identity mechanisms, then disable and delete unused keys. Create a dedicated service account with least privilege and attach it to the VM rather than storing credentials in startup scripts. Create dedicated service accounts for separate workloads and grant only documented permissions needed by each application. Create a custom IAM role containing only the required supported permissions and bind it at the appropriate resource scope. ExplanationCorrect Answer B:Create a dedicated service account with least privilege and attach it to the VM rather than storing credentials in startup scripts. This is appropriate because Compute Engine workloads can obtain short-lived access tokens for their attached service identity when configured correctly. Verify with: Run a safe storage read from the VM and verify its service identity has only the intended permission. Other Answers A:Long-lived service account keys increase credential exposure, while workload identities and short-lived tokens reduce persistent secret reliance. The required action here is: Create a dedicated service account with least privilege and attach it to the VM rather than storing credentials in startup scripts. C:Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius. The required action here is: Create a dedicated service account with least privilege and attach it to the VM rather than storing credentials in startup scripts. D:Custom IAM roles can combine specific eligible permissions when no predefined role precisely matches the required task. The required action here is: Create a dedicated service account with least privilege and attach it to the VM rather than storing credentials in startup scripts.
Question 898An analytics service needs project-scoped API permissions but currently runs as a broadly privileged default VM identity. 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. Service accounts act as principals in IAM allow policies, and resource-scoped role grants limit API operations to intended resources. 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:Compute Engine workloads can obtain short-lived access tokens for their attached service identity when configured correctly. This explains the relevant intervention: Create a dedicated service account with least privilege and attach it to the VM rather than storing credentials in startup scripts. Confirm by: Run a safe storage read from the VM and verify its service identity has only the intended permission. Other Answers 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: Compute Engine workloads can obtain short-lived access tokens for their attached service identity when configured correctly. 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: Compute Engine workloads can obtain short-lived access tokens for their attached service identity when configured correctly. 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: Compute Engine workloads can obtain short-lived access tokens for their attached service identity when configured correctly.
Question 899An analytics service needs project-scoped API permissions but currently runs as a broadly privileged default VM identity. What observable evidence should the engineering team collect? Verify the migrated application works without the old key before disabling it in a controlled change. Check the exact managed service agent principal and confirm the product operation succeeds after reviewed role restoration. Run a safe storage read from the VM and verify its service identity has only the intended permission. Locate a synthetic or known approved policy-change event and correlate principal, resource, and timestamp. ExplanationCorrect Answer C:Run a safe storage read from the VM and verify its service identity has only the intended permission. This directly tests whether the intervention works: Create a dedicated service account with least privilege and attach it to the VM rather than storing credentials in startup scripts. The technical reason is: Compute Engine workloads can obtain short-lived access tokens for their attached service identity when configured correctly. Other Answers A: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: Run a safe storage read from the VM and verify its service identity has only the intended permission. B: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 a safe storage read from the VM and verify its service identity has only the intended permission. D:Admin Activity audit logs provide evidence of supported administrative policy changes when properly queried. The applicable evidence for this requirement is: Run a safe storage read from the VM and verify its service identity has only the intended permission.
Question 900An analytics service needs project-scoped API permissions but currently runs as a broadly privileged default VM identity. Which documented safeguard helps sustain the improvement? Restrict workload identity bindings to specific namespaces and service accounts and audit changes. Set an owner-reviewed deadline for legacy key elimination and alert on unexpected key creation. Require change tickets and periodic alert review for sensitive IAM modifications. Inventory VM service account assignments and review broad default identity grants after each deployment. ExplanationCorrect Answer D:Inventory VM service account assignments and review broad default identity grants after each deployment. This reduces the failure risk because Compute Engine workloads can obtain short-lived access tokens for their attached service identity when configured correctly. Immediate action: Create a dedicated service account with least privilege and attach it to the VM rather than storing credentials in startup scripts. 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: Inventory VM service account assignments and review broad default identity grants after each deployment. B: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: Inventory VM service account assignments and review broad default identity grants after each deployment. C:Admin Activity audit logs provide evidence of supported administrative policy changes when properly queried. The preventive control that addresses this condition is: Inventory VM service account assignments and review broad default identity grants after each deployment.