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.
Question 991A security scan detects inactive downloadable service account keys in several production projects. What post-change check most directly demonstrates success? Run an authorized CI test job and inspect its federated identity claims and resulting Google Cloud permissions. Verify the migrated application works without the old key before disabling it in a controlled change. Run a safe storage read from the VM and verify its service identity has only the intended permission. Remove a test group member and confirm inherited project access disappears when no other bindings permit it. ExplanationCorrect Answer B: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: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: Verify the migrated application works without the old key before disabling it in a controlled change. C: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. 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: Verify the migrated application works without the old key before disabling it in a controlled change.
Question 992A security scan detects inactive downloadable service account keys in several production projects. Which preventive standard should the team adopt? 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. Set an owner-reviewed deadline for legacy key elimination and alert on unexpected key creation. Run periodic least privilege reviews using IAM role usage and defined job functions. ExplanationCorrect Answer C: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: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. 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: 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 993Two unrelated applications run as the same highly privileged service account, obscuring audit attribution. 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. Grant the workload service account a narrowly scoped Pub/Sub publisher role on the specific topic it must publish to. Create dedicated service accounts for separate workloads and grant only documented permissions needed by each application. Grant required IAM roles on the specific resource or project instead of changing an organization-level allow policy. ExplanationCorrect Answer C:Create dedicated service accounts for separate workloads and grant only documented permissions needed by each application. This is appropriate because Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius. Verify with: Run each workload with its intended identity and verify resource access cannot cross the other workload's boundary. 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 dedicated service accounts for separate workloads and grant only documented permissions needed by each application. 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: Create dedicated service accounts for separate workloads and grant only documented permissions needed by each application. D:Resource scope is fundamental to least privilege, and organization-level bindings can grant effective rights over many descendants. The required action here is: Create dedicated service accounts for separate workloads and grant only documented permissions needed by each application.
Question 994Two unrelated applications run as the same highly privileged service account, obscuring audit attribution. Which platform mechanism explains the proposed solution? 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. 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. ExplanationCorrect Answer A:Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius. This explains the relevant intervention: Create dedicated service accounts for separate workloads and grant only documented permissions needed by each application. Confirm by: Run each workload with its intended identity and verify resource access cannot cross the other workload's boundary. Other Answers B: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: Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius. C: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: Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius. D:Admin Activity audit logs provide evidence of supported administrative policy changes when properly queried. The more specific mechanism behind the reported outcome is: Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius.
Question 995Two unrelated applications run as the same highly privileged service account, obscuring audit attribution. How should this change be validated in a safe pilot? Publish a harmless test message to the authorized topic and verify publishing to an unrelated topic is denied. Run a safe storage read from the VM and verify its service identity has only the intended permission. Test access during and outside the condition window or resource path using a controlled identity. Run each workload with its intended identity and verify resource access cannot cross the other workload's boundary. ExplanationCorrect Answer D:Run each workload with its intended identity and verify resource access cannot cross the other workload's boundary. This directly tests whether the intervention works: Create dedicated service accounts for separate workloads and grant only documented permissions needed by each application. The technical reason is: Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius. 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: Run each workload with its intended identity and verify resource access cannot cross the other workload's boundary. 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: Run each workload with its intended identity and verify resource access cannot cross the other workload's boundary. C:IAM Conditions evaluate expression constraints on supported access checks, narrowing when a binding grants permissions. The applicable evidence for this requirement is: Run each workload with its intended identity and verify resource access cannot cross the other workload's boundary.
Question 996Two unrelated applications run as the same highly privileged service account, obscuring audit attribution. What change-management control best protects this workflow? 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. Review who can attach privileged identities to resources and separate deployment from runtime permissions. Require explicit central approval for any IAM change above project scope. ExplanationCorrect Answer A:Maintain a service identity register with owners, purpose, access reviews, and retirement criteria. This reduces the failure risk because Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius. Immediate action: Create dedicated service accounts for separate workloads and grant only documented permissions needed by each application. Other Answers 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: Maintain a service identity register with owners, purpose, access reviews, and retirement criteria. 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: Maintain a service identity register with owners, purpose, access reviews, and retirement criteria. D:Resource scope is fundamental to least privilege, and organization-level bindings can grant effective rights over many descendants. The preventive control that addresses this condition is: Maintain a service identity register with owners, purpose, access reviews, and retirement criteria.
Question 997A newly deployed container inherits a generic default service identity with permissions beyond its documented API calls. What is the most defensible change for the stated failure? Identify the required Google-managed service agent and grant only the documented service-agent role on supported resources. Grant the calling principal only the necessary service account impersonation permission and use short-lived impersonated credentials for approved administrative commands. Create a custom IAM role containing only the required supported permissions and bind it at the appropriate resource scope. Create dedicated service accounts for separate workloads and grant only documented permissions needed by each application. ExplanationCorrect Answer D:Create dedicated service accounts for separate workloads and grant only documented permissions needed by each application. This is appropriate because Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius. Verify with: Run each workload with its intended identity and verify resource access cannot cross the other workload's boundary. Other Answers A: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: Create dedicated service accounts for separate workloads and grant only documented permissions needed by each application. B: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: Create dedicated service accounts for separate workloads and grant only documented permissions needed by each application. C:Custom IAM roles can combine specific eligible permissions when no predefined role precisely matches the required task. The required action here is: Create dedicated service accounts for separate workloads and grant only documented permissions needed by each application.
Question 998A newly deployed container inherits a generic default service identity with permissions beyond its documented API calls. Why does the recommended approach address the observed issue? Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. Cloud Run service identities supply Application Default Credentials for supported service-to-service calls without embedding static keys. Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius. Resource scope is fundamental to least privilege, and organization-level bindings can grant effective rights over many descendants. ExplanationCorrect Answer C:Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius. This explains the relevant intervention: Create dedicated service accounts for separate workloads and grant only documented permissions needed by each application. Confirm by: Run each workload with its intended identity and verify resource access cannot cross the other workload's boundary. Other Answers A: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: Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius. B: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: Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius. D:Resource scope is fundamental to least privilege, and organization-level bindings can grant effective rights over many descendants. The more specific mechanism behind the reported outcome is: Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius.
Question 999A newly deployed container inherits a generic default service identity with permissions beyond its documented API calls. What observable evidence should the engineering team collect? Run a harmless CLI request with impersonation and confirm the effective service identity and denied unrelated permissions. 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. ExplanationCorrect Answer C:Run each workload with its intended identity and verify resource access cannot cross the other workload's boundary. This directly tests whether the intervention works: Create dedicated service accounts for separate workloads and grant only documented permissions needed by each application. The technical reason is: Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius. 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 applicable evidence for this requirement is: Run each workload with its intended identity and verify resource access cannot cross the other workload's boundary. B: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: Run each workload with its intended identity and verify resource access cannot cross the other workload's boundary. D:Predefined IAM roles grant defined permission sets, while basic Owner and Editor roles expose much broader authority. The applicable evidence for this requirement is: Run each workload with its intended identity and verify resource access cannot cross the other workload's boundary.
Question 1000A newly deployed container inherits a generic default service identity with permissions beyond its documented API calls. Which documented safeguard helps sustain the improvement? Review service-to-service permissions and remove grants when message flows are decommissioned. Monitor service agent role grants and avoid treating product-managed identities as general application accounts. Keep an access troubleshooting record and avoid broad privilege increases as a first diagnostic step. Maintain a service identity register with owners, purpose, access reviews, and retirement criteria. ExplanationCorrect Answer D:Maintain a service identity register with owners, purpose, access reviews, and retirement criteria. This reduces the failure risk because Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius. Immediate action: Create dedicated service accounts for separate workloads and grant only documented permissions needed by each application. 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: Maintain a service identity register with owners, purpose, access reviews, and retirement criteria. 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: Maintain a service identity register with owners, purpose, access reviews, and retirement criteria. C:Policy analysis explains how allow and deny evaluations contribute to an access decision, reducing trial-and-error permission escalation. The preventive control that addresses this condition is: Maintain a service identity register with owners, purpose, access reviews, and retirement criteria.