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 →
- Define required tags (
team,env,data-classification) in AWS Organizations tag policies. - Enforce in IaC: Terraform
default_tagsin the provider and a Checkov/OPA check in CI. - Optionally deny creation without tags via SCP with
aws:RequestTagconditions for key services. - 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.
More on Cloud IAM and Compliance
You find an IAM policy with `"Action": "*", "Resource": "*"` attached to an application role. How do you right-size it?BeginnerYour company has 40 AWS accounts with no central controls. How do you set up preventive guardrails?IntermediateGuardDuty reports `UnauthorizedAccess:IAMUser/InstanceCredentialExfiltration.OutsideAWS`. What happened and what do you do?AdvancedYour company must pass SOC 2 Type II in six months. What does DevOps own, and how do you automate evidence?IntermediateA partner needs access to one S3 bucket in your account. How do you set up cross-account access safely?IntermediateSomeone logged in with the AWS root user last night. How do you react, and how should you have known?Beginner