Cloud Engineer interview question · Most asked

How do you eliminate long-lived credentials in a cloud environment?

Create a free account to save this page, take notes and track your progress. Sign in

Summary

People sign in through SSO with MFA (IAM Identity Center, Entra ID, Cloud Identity) and get temporary credentials; CI/CD uses OIDC federation to roles; workloads use roles, managed identities or attached service accounts. Then remove IAM users and keys, and block their creation with guardrails.

Longer Answer

Google Cloud has an organisation policy to disable service-account key creation; AWS SCPs can deny iam:CreateUser/iam:CreateAccessKey except for break-glass. Keep a monitored break-glass path.

Key Points

  • SSO + MFA for people.
  • OIDC for CI/CD.
  • Roles / managed identities for workloads.
  • Block key creation with guardrails.

Deep dive: Cloud Engineering in Production: The Key on GitHub

Explanation

What interviewers look for

Covers people, pipelines and workloads, plus prevention.

More most-asked Cloud Engineer questions

← All Cloud Engineer questions

Was this page helpful?