Professional Cloud Security Engineer free question 1 / 10 · Domain 1: Configuring access
During incident response you set a workforce identity pool to the disabled state. How are tokens that were already issued and have not yet expired treated?
- The existing tokens keep working as long as they are used through the Google Cloud console
- The existing tokens remain usable as normal until their expiry time, even after the pool is disabled
- The existing tokens keep working for calls to read APIs but are rejected for write calls
- While the pool is disabled, resource access with existing tokens is rejected too
Show the answer and explanation
Answer: D
Why this is correct
The REST reference for the WorkforcePool resource describes the disabled field as disabling the pool. For a disabled pool, tokens cannot be exchanged and existing tokens cannot be used to access resources. If the pool is enabled again, existing tokens can be used again. Disabling the pool in an incident therefore blocks unexpired tokens for as long as the pool stays disabled, which is more than just stopping new issuance.
Why the other options are wrong
"The existing tokens keep working as long as they are used through the Google Cloud console" … Using the console does not bypass the pool state. Access with existing tokens is rejected while the pool is disabled, whatever the access route.
"The existing tokens remain usable as normal until their expiry time, even after the pool is disabled" … This describes a mere stop on new issuance. The reference states that existing tokens cannot be used to access resources while the pool is disabled.
"The existing tokens keep working for calls to read APIs but are rejected for write calls" … The reference does not split the effect of disabling the pool into read and write operations. Access with existing tokens is not allowed at all.
Key point
Stopping the external IdP and disabling the Google-side pool are separate actions. When you recover, consider how long tokens have left and assess the impact of re-enabling the pool.