Your company must pass SOC 2 Type II in six months. What does DevOps own, and how do you automate evidence?
IntermediateScenarioCloud IAM and Compliance
Answer
Situation read → Type II checks that controls operated over a period, so evidence must be continuous, not screenshots on audit day.
What I'd do →
- Map controls DevOps owns: change management, access control, logging, backups, vulnerability management, incident response.
- Make the pipeline the evidence: PR reviews, branch protection, CI logs, deployment records all link back to tickets.
- Automate access reviews and quarterly exports from the IdP.
- Use a compliance platform (Vanta, Drata, Secureframe) or AWS Audit Manager to collect evidence via APIs.
- Run a readiness assessment at month two to find gaps early.
Why → If evidence collection is manual, the controls will drift during the audit window.
Interview tip → Explain the difference between Type I (design at a point) and Type II (operation over time).
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?AdvancedA 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?BeginnerHow do you collect logs from 40 accounts so an attacker in one account cannot delete them?Intermediate