CI/CD & DevOps / Quiz
Containers on Demand
Testcontainers, random ports, Ryuk the reaper, and why an in-memory database is a flattering liar.
- Difficulty
- Medium
- Format
- Quiz
- Points
- 150
- Estimate
- 10 min
// MISSION BRIEF
Your Mission
Integration tests deserve real dependencies, disposable ones. This quiz covers Docker-based test environments and the Testcontainers idioms: dynamic ports, readiness waits, cleanup, and what it costs to fake your database instead.
Scoring: timed quiz; accuracy first, speed bonus for fast clean runs.
// FIRST CONTACT
Battle teaser
Testcontainers' core move is:
- AStarting real dependencies (Postgres, Kafka, Redis) as throwaway Docker containers from test code, per run
- BMocking Docker so no containers are needed
- CA Kubernetes distribution for laptops
- DA shared staging environment manager
Answers, scoring, hints, and the full battle stay sealed.
// SKILL TAGS
ci-cdtestcontainersdockerintegration-testing