Security & deployment: Apex practice drills
Governor limits, security and the habits that survive a production deploy.
Advanced · Check and Run with Apex Path ($19 a month).
- Measure governor headroom Intermediate · 10 min
Governor limits cap what one transaction can use, such as 100 SOQL queries.
- Build Contacts with one query and one insert Intermediate · 18 min
A query inside a loop costs one SOQL query per record, and a transaction allows only 100.
- Gate a release with test evidence Intermediate · 18 min
A release gate fails closed: missing evidence counts as a failure.
- Build a secure Account service Advanced · 25 min
Saved Apex runs in system mode and ignores user access unless you check.
- User-mode DML with `insert as user` Intermediate · 15 min
insert as user <rows>; runs DML in user mode: field-level security and sharing apply, and a disallowed field throws SecurityException.
- Gate work behind a feature flag Intermediate · 12 min
A feature flag turns a behavior on without a new deploy.
- Choose a deploy test level Beginner · 10 min
A deploy to production must run tests.