The following description is of an automation design choice: It uses a service account to call Google APIs. The script requests access tokens as needed, avoids hardcoding long-lived secrets, and rotates credentials using managed identity features. It also scopes permissions to only the APIs required. Which statement best matches the security intent?

Answer

The design reduces exposure by limiting scopes, using short-lived tokens, and avoiding embedded long-lived secrets

Explanation

Least-privilege scopes and short-lived access tokens minimize the attack surface and credential lifetime. Avoiding embedded long-lived secrets reduces the impact of code or log leakage.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list