An engineer proposes storing API credentials in environment variables and rotating them monthly. A risk assessment flags that multiple microservices share the same secret. Which mitigation most directly reduces blast radius?
Answer
Use per-service credentials with least privilege, isolate secrets per microservice, and rotate based on exposure policies
Explanation
Secret isolation and least privilege limit compromise impact if one service or container is breached. Per-service credentials reduce lateral misuse and simplify targeted rotation.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
A web application logs show many requests with identical User-Agent strings but varying cookie values. The session duration is unusually long and privilege changes occur without re-authentication. Which vulnerability class is most consistent with this pattern?
View question →
Which scenario best demonstrates why threat intelligence feeds must be validated before enrichment becomes a decision-making source?
View question →
A host-based detection flags “powershell -enc …” executions shortly after a service account token was exported. Which attacker objective is most consistent with this sequence in a typical kill chain?
View question →
A file integrity monitoring system reports that /usr/bin/zip and /usr/bin/curl were modified. Hashes differ, but timestamps are inconsistent with the recorded change window. Which conclusion is most likely?
View question →
A SIEM correlation rule flags repeated “successful” logins from different geolocations for the same user within minutes. Which hypothesis is most consistent with the log data being misleading rather than the activity being genuinely worldwide?
View question →
In a zero-trust access design, which control most directly addresses the risk of over-permission after initial authentication?
View question →