Level 5 exam — harder

Exam — fresh questions

5.1 · Recall

1. What does Compose NOT do, justifying a move to an orchestrator?

Compose stays single-host: no multi-machine scheduling, no automatic replacement of a dead node.
5.1 · Application

2. Idir runs on 1 server with simple updates. What do you advise him?

For a simple need, a simple tool: well-equipped Compose beats an oversized orchestrator.
5.1 · Arbitration

3. The team wants Kubernetes “for the hype”, with no multi-host need. Idir's call?

Move Compose → Swarm → Kubernetes by real pain, never by hype.
5.2 · Recall

4. What is needed for a zero-downtime Swarm update?

Replicas absorb, the one-by-one update preserves, the healthcheck validates each new one.
5.2 · Application

5. After moving multi-node, data goes missing intermittently. Why?

A local volume does not travel: you need shared storage or an external database. Pitfall #1.
5.2 · Application

6. Idir wants to see the state of each replica of his service. Which command?

Listing replicas shows node, state and history: the deployment dashboard.
5.3 · Recall

7. What does the Deployment do when a Pod dies?

The controller maintains the declared state: missing Pod = automatically recreated Pod.
5.3 · Application

8. Idir sometimes reaches an address that changes, sometimes one that stays. What do you remind him?

Pods are born and die, the Service stays: reach the stable, not the moving.
5.3 · Arbitration

9. Idir hesitates between a moving tag and a fixed tag in his Deployment. Your call?

Fixed tag = traceable updates and reliable rollback; the moving one drifts without warning.
5.4 · Application

10. One point on Idir's checklist is a “no”. Verdict?

The checklist is a gate: a single “no” blocks the production release.
5.4 · Application

11. The Docker host disk fills up. Trio of suspects?

The filling trio: old images, unbounded logs, abandoned volumes. Rotation + cleanup + alerts.
5.4 · Arbitration

12. Idir, a junior, wants to open prod alone after his audit. Your call?

A junior does not put into prod alone: supervised validation, tested backup, secrets out of the repo, proven monitoring.
What's next?
Back to the guideGuide contents