Fictional incident: S3 AccessDenied and a dangerous "fix"
Find why an app cannot read objects, fix the policy and close public access.
The problem
Fictional scenario. Real IAM is not executed: JG Labs evaluates policies with its own engine based on AWS documented logic (explicit Deny > Allow > implicit deny). Use iam simulate-principal-policy to diagnose.
Mission
Ticket INC-0107 (fictional): "report-app gets AccessDenied reading s3://acme-reports-prod/q3/summary.csv. To unblock the quarter close, someone made the bucket public". Make it work properly.
3 objectives inside the lab. You meet them as you play: no steps or solutions are shown here.
What you will learn
- Policy evaluation logic
- Bucket vs. object ARNs
- Least privilege
Specialty and certification
Official objectives it practices (4)
- CLF-C02: AWS access management capabilities
- CLF-C02: Shared responsibility model
- SCS-C03: Respond to security events
- SCS-C03: Design, implement, and troubleshoot authorization strategies
Aligned with public exam objectives. Not official material and no complete coverage is implied.
On the roadmap AWS · Security and compliance
ProNext: Secrets Manager: credentials out of code, with just-enough accessThis exercise needs a paid plan. Free alternative: Your first S3 bucket (without making the news)
What it is and is not
Deterministic JG Labs model: rules and errors based on official documentation. Not the real cloud. The scenario is fictional: it does not describe any real incident or any company’s data.
Official documentation
- Policy evaluation logic — IAM User Guide (reviewed 2026-11-15)
- Security best practices in IAM (reviewed 2026-11-15)
- Blocking public access to your Amazon S3 storage (reviewed 2026-11-15)