Interview Prep/DevSecOps/Cloud IAM and Compliance

Teams keep launching untagged resources and nobody knows who owns what during incidents. How do you enforce tagging?

BeginnerScenarioCloud IAM and Compliance
Answer

Situation read → Ownership tags are security metadata. Without them, findings and incidents have no owner.

What I'd do →

  1. Define required tags (team, env, data-classification) in AWS Organizations tag policies.
  2. Enforce in IaC: Terraform default_tags in the provider and a Checkov/OPA check in CI.
  3. Optionally deny creation without tags via SCP with aws:RequestTag conditions for key services.
  4. Report untagged resources weekly and auto-notify account owners.

Why → Tags let you route findings, calculate costs and answer "who owns this?" quickly in an incident.

Interview tip → default_tags in the Terraform AWS provider is a quick win to mention.

All DevSecOps questions Roadmap: Policy as code

More on Cloud IAM and Compliance