Question 420
A security workflow receives duplicate event webhooks and rotates the same customer API credential twice, invalidating newly distributed keys. Which control change most directly addresses the stated problem?
Explanation
Correct Answer
Add idempotency keys and state-aware rotation safeguards. The intervention addresses the observed exposure because Reliable automation separates at-least-once delivery from one-time business effect. It should be implemented with change authorization and the service-specific safety constraints of this case. Confirm the result by checking whether replayed webhooks produce one authorized rotation with consistent downstream state.
Incorrect Answers
Disable retry handling entirely omits tracking event completion. The controlling technical principle here is Reliable automation separates at-least-once delivery from one-time business effect.
Disable event retries entirely still permits ignoring failed rotations. What the present question requires instead is Add idempotency keys and state-aware rotation safeguards.
The alternative claims: “Rotate keys on every received retry regardless of prior completion status”. The source-specific test or observation is Replayed webhooks produce one authorized rotation with consistent downstream state.