Question 940A CI operator wants traceable access to a deployment service account without making every user a project Editor. Which documented safeguard helps sustain the improvement? 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. Limit token-creation grants and audit impersonation use, target accounts, and expiration handling. Reconcile group owners, member counts, and direct individual IAM exceptions each quarter. ExplanationCorrect Answer C:Limit token-creation grants and audit impersonation use, target accounts, and expiration handling. This reduces the failure risk because Service account impersonation obtains time-limited credentials under the target service account's identity while preserving the caller's audit trail. Immediate action: Grant the calling principal only the necessary service account impersonation permission and use short-lived impersonated credentials for approved administrative commands. Other Answers A:Compute Engine workloads can obtain short-lived access tokens for their attached service identity when configured correctly. The preventive control that addresses this condition is: Limit token-creation grants and audit impersonation use, target accounts, and expiration handling. B: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: Limit token-creation grants and audit impersonation use, target accounts, and expiration handling. D:An IAM binding to a group lets identity administration handle membership without rewriting project policy for every staff change. The preventive control that addresses this condition is: Limit token-creation grants and audit impersonation use, target accounts, and expiration handling.
Question 941A scheduled maintenance job currently uses a service account JSON key stored in a shared repository. Which supported solution best fits this production constraint? Configure a workload identity pool and trusted provider for CI jobs and authorize scoped service account access via federation. Generate an authorized short-lived OAuth access token for a service account instead of exporting a persistent private key. Grant a deployer the narrowly scoped Service Account User permission required to attach an approved service account to a supported resource. Remove a broad basic Editor binding and grant a supported predefined role that covers only the engineer's actual workflow. ExplanationCorrect Answer B:Generate an authorized short-lived OAuth access token for a service account instead of exporting a persistent private key. This is appropriate because Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. Verify with: Confirm the token accesses only its approved API and stops working after the configured expiry. 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: Generate an authorized short-lived OAuth access token for a service account instead of exporting a persistent private key. C: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: Generate an authorized short-lived OAuth access token for a service account instead of exporting a persistent private key. D:Basic Editor includes many resource mutation permissions, while task-specific roles constrain the authorized actions. The required action here is: Generate an authorized short-lived OAuth access token for a service account instead of exporting a persistent private key.
Question 942A scheduled maintenance job currently uses a service account JSON key stored in a shared repository. Why is the selected configuration more appropriate here? Service accounts act as principals in IAM allow policies, and resource-scoped role grants limit API operations to intended resources. Workload Identity Federation exchanges trusted external workload tokens for short-lived Google Cloud credentials without maintaining static service keys. Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. Admin Activity audit logs provide evidence of supported administrative policy changes when properly queried. ExplanationCorrect Answer C:Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. This explains the relevant intervention: Generate an authorized short-lived OAuth access token for a service account instead of exporting a persistent private key. Confirm by: Confirm the token accesses only its approved API and stops working after the configured expiry. 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: Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. 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 Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. D:Admin Activity audit logs provide evidence of supported administrative policy changes when properly queried. The more specific mechanism behind the reported outcome is: Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden.
Question 943A scheduled maintenance job currently uses a service account JSON key stored in a shared repository. Which controlled test would best verify the outcome? Confirm the token accesses only its approved API and stops working after the configured expiry. Deploy a disposable resource with the approved service account and verify attempts with an unauthorized identity are denied. Run an authorized CI test job and inspect its federated identity claims and resulting Google Cloud permissions. Remove a test group member and confirm inherited project access disappears when no other bindings permit it. ExplanationCorrect Answer A:Confirm the token accesses only its approved API and stops working after the configured expiry. This directly tests whether the intervention works: Generate an authorized short-lived OAuth access token for a service account instead of exporting a persistent private key. The technical reason is: Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. Other Answers 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: Confirm the token accesses only its approved API and stops working after the configured expiry. C: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: Confirm the token accesses only its approved API and stops working after the configured expiry. 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: Confirm the token accesses only its approved API and stops working after the configured expiry.
Question 944A scheduled maintenance job currently uses a service account JSON key stored in a shared repository. What governance control should accompany this configuration? Inventory VM service account assignments and review broad default identity grants after each deployment. Limit token-creation grants and audit impersonation use, target accounts, and expiration handling. Audit inherited roles at folder boundaries after organizational restructuring or acquisitions. Prohibit shared static credentials and monitor token minting rights on sensitive service accounts. ExplanationCorrect Answer D:Prohibit shared static credentials and monitor token minting rights on sensitive service accounts. This reduces the failure risk because Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. Immediate action: Generate an authorized short-lived OAuth access token for a service account instead of exporting a persistent private key. Other Answers A:Compute Engine workloads can obtain short-lived access tokens for their attached service identity when configured correctly. The preventive control that addresses this condition is: Prohibit shared static credentials and monitor token minting rights on sensitive service accounts. B:Service account impersonation obtains time-limited credentials under the target service account's identity while preserving the caller's audit trail. The preventive control that addresses this condition is: Prohibit shared static credentials and monitor token minting rights on sensitive service 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: Prohibit shared static credentials and monitor token minting rights on sensitive service accounts.
Question 945A support automation needs API access for ten minutes and should not produce reusable credentials. What should the Google Cloud administrator do first? 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. Generate an authorized short-lived OAuth access token for a service account instead of exporting a persistent private key. Add a supported IAM condition to an appropriately scoped role binding to enforce the approved time or resource criteria. ExplanationCorrect Answer C:Generate an authorized short-lived OAuth access token for a service account instead of exporting a persistent private key. This is appropriate because Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. Verify with: Confirm the token accesses only its approved API and stops working after the configured expiry. Other Answers A: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: Generate an authorized short-lived OAuth access token for a service account instead of exporting a persistent private key. B:Distinct service identities enable independent authorization and audit attribution across workloads and reduce shared credential blast radius. The required action here is: Generate an authorized short-lived OAuth access token for a service account instead of exporting a persistent private key. D:IAM Conditions evaluate expression constraints on supported access checks, narrowing when a binding grants permissions. The required action here is: Generate an authorized short-lived OAuth access token for a service account instead of exporting a persistent private key.
Question 946A support automation needs API access for ten minutes and should not produce reusable credentials. Which Google Cloud technical behavior is relevant? Service account impersonation obtains time-limited credentials under the target service account's identity while preserving the caller's audit trail. Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. Google-managed service agents allow Google Cloud products to perform product operations and can fail when required permissions are removed. An IAM binding on an ancestor can apply to descendant resources, so removing a narrow child binding may not eliminate effective access. ExplanationCorrect Answer B:Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. This explains the relevant intervention: Generate an authorized short-lived OAuth access token for a service account instead of exporting a persistent private key. Confirm by: Confirm the token accesses only its approved API and stops working after the configured expiry. 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 more specific mechanism behind the reported outcome is: Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. C: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: Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. 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: Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden.
Question 947A support automation needs API access for ten minutes and should not produce reusable credentials. Which test differentiates the desired fix from unrelated behavior? Invoke a test request and confirm the service accesses one approved resource but is denied an unrelated protected resource. Confirm the token accesses only its approved API and stops working after the configured expiry. Run an authorized CI test job and inspect its federated identity claims and resulting Google Cloud permissions. Test the principal's ability to work in the intended project and denial in a separate sibling project. ExplanationCorrect Answer B:Confirm the token accesses only its approved API and stops working after the configured expiry. This directly tests whether the intervention works: Generate an authorized short-lived OAuth access token for a service account instead of exporting a persistent private key. The technical reason is: Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. 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: Confirm the token accesses only its approved API and stops working after the configured expiry. C: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: Confirm the token accesses only its approved API and stops working after the configured expiry. D:Resource scope is fundamental to least privilege, and organization-level bindings can grant effective rights over many descendants. The applicable evidence for this requirement is: Confirm the token accesses only its approved API and stops working after the configured expiry.
Question 948A support automation needs API access for ten minutes and should not produce reusable credentials. Which operating practice is most likely to prevent recurrence? Review service-to-service permissions and remove grants when message flows are decommissioned. Review Cloud Run runtime identity grants before promoting new revisions. Review IAM condition expressions, expiration dates, and exception approvals periodically. Prohibit shared static credentials and monitor token minting rights on sensitive service accounts. ExplanationCorrect Answer D:Prohibit shared static credentials and monitor token minting rights on sensitive service accounts. This reduces the failure risk because Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. Immediate action: Generate an authorized short-lived OAuth access token for a service account instead of exporting a persistent private key. 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: Prohibit shared static credentials and monitor token minting rights on sensitive service accounts. B:Cloud Run service identities supply Application Default Credentials for supported service-to-service calls without embedding static keys. The preventive control that addresses this condition is: Prohibit shared static credentials and monitor token minting rights on sensitive service accounts. C:IAM Conditions evaluate expression constraints on supported access checks, narrowing when a binding grants permissions. The preventive control that addresses this condition is: Prohibit shared static credentials and monitor token minting rights on sensitive service accounts.
Question 949An integration team must minimize key handling while calling a Google Cloud API. Which implementation choice most directly addresses the described requirement? Grant the workload service account a narrowly scoped Pub/Sub publisher role on the specific topic it must publish to. Deploy the Cloud Run service using a dedicated runtime service account with only the permissions needed for its downstream APIs. Create a custom IAM role containing only the required supported permissions and bind it at the appropriate resource scope. Generate an authorized short-lived OAuth access token for a service account instead of exporting a persistent private key. ExplanationCorrect Answer D:Generate an authorized short-lived OAuth access token for a service account instead of exporting a persistent private key. This is appropriate because Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. Verify with: Confirm the token accesses only its approved API and stops working after the configured expiry. Other Answers A: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: Generate an authorized short-lived OAuth access token for a service account instead of exporting a persistent private key. B:Cloud Run service identities supply Application Default Credentials for supported service-to-service calls without embedding static keys. The required action here is: Generate an authorized short-lived OAuth access token for a service account instead of exporting a persistent private key. C:Custom IAM roles can combine specific eligible permissions when no predefined role precisely matches the required task. The required action here is: Generate an authorized short-lived OAuth access token for a service account instead of exporting a persistent private key.
Question 950An integration team must minimize key handling while calling a Google Cloud API. What technical principle makes this decision suitable? Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. Workload Identity Federation exchanges trusted external workload tokens for short-lived Google Cloud credentials without maintaining static service keys. Google-managed service agents allow Google Cloud products to perform product operations and can fail when required permissions are removed. IAM Conditions evaluate expression constraints on supported access checks, narrowing when a binding grants permissions. ExplanationCorrect Answer A:Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. This explains the relevant intervention: Generate an authorized short-lived OAuth access token for a service account instead of exporting a persistent private key. Confirm by: Confirm the token accesses only its approved API and stops working after the configured expiry. 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: Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. C: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: Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden. D:IAM Conditions evaluate expression constraints on supported access checks, narrowing when a binding grants permissions. The more specific mechanism behind the reported outcome is: Google Cloud IAM Credentials API can mint time-limited tokens for approved callers, reducing key exposure and rotation burden.