nerdexam
Google

PROFESSIONAL-CLOUD-SECURITY-ENGINEER · Question #225

You are running applications outside Google Cloud that need access to Google Cloud resources. You are using workload identity federation to grant external identities Identity and Access Management…

The correct answer is C. Use a dedicated project to manage workload identity pools and providers. D. Use immutable attributes in attribute mappings. Using a dedicated project (C) isolates your workload identity pools and providers from application workloads, reducing the blast radius of misconfiguration and making access easier to audit - a Google-recommended best practice for identity infrastructure. Using immutable…

Submitted by yaw92· Apr 18, 2026Configuring access within a cloud solution environment

Question

You are running applications outside Google Cloud that need access to Google Cloud resources. You are using workload identity federation to grant external identities Identity and Access Management (IAM) roles to eliminate the maintenance and security burden associated with service account keys. You must protect against attempts to spoof another user's identity and gain unauthorized access to Google Cloud resources. What should you do? (Choose two.)

Options

  • AEnable data access logs for IAM APIs.
  • BLimit the number of external identities that can impersonate a service account.
  • CUse a dedicated project to manage workload identity pools and providers.
  • DUse immutable attributes in attribute mappings.
  • ELimit the resources that a service account can access.

How the community answered

(47 responses)
  • A
    19% (9)
  • B
    4% (2)
  • C
    64% (30)
  • E
    13% (6)

Explanation

Using a dedicated project (C) isolates your workload identity pools and providers from application workloads, reducing the blast radius of misconfiguration and making access easier to audit - a Google-recommended best practice for identity infrastructure. Using immutable attributes in attribute mappings (D) directly prevents spoofing: immutable attributes (e.g., the subject identifier issued by your IdP) cannot be altered after issuance, so a malicious actor cannot manipulate attribute values to impersonate another identity.

Why the distractors are wrong:

  • A (data access logs) is a detective control - it records what happened after the fact but does nothing to prevent spoofing.
  • B (limit impersonators) controls who can impersonate a service account but doesn't address whether the identity claim itself can be forged.
  • E (limit service account resources) applies least-privilege to reduce damage from a successful breach, but it doesn't prevent the spoofing in the first place.

Memory tip: Think "Isolate + Immutate" - a dedicated project isolates your identity infrastructure, and immutable attributes make identity claims tamper-proof. Both target the security architecture of the federation setup itself, not just downstream effects.

Topics

#Workload Identity Federation#IAM Security#Identity Protection#Attribute Mapping

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-SECURITY-ENGINEER Practice