Quiz: Chapter 04 (GitOps & Version Promotion)
Questions
Why is “promotion instead of rebuild” a core production guardrail?
Which tag families are expected in each namespace?
- develop:
- staging:
- production:
What is the risk of deploying mutable
latesttags to production?In this model, what triggers production image creation?
- A) push to
develop - B) push to
main - C) manual promotion workflow
What does Flux
ImageUpdateAutomationadd from an audit perspective?Where should you look first if production does not pick a newly promoted tag?
What is the preferred rollback path?
- A) edit deployment live in cluster
- B) revert Git commit and let Flux reconcile
- C) disable Flux and patch manifests manually
Why is
kubectl rollout undoconsidered emergency-only here?Name two hard stop conditions before approving a production promotion.
Complete the statement: AI should ______ in this flow.
- A) auto-promote directly to production when tests pass
- B) propose and assist, while humans approve and guardrails enforce
- C) bypass image policy regex checks for urgent fixes
Answer Key (Short)
- It preserves tested artifact lineage and removes rebuild variance across environments.
develop-*,staging-*,production-*.- Loss of immutability and traceability; rollback and incident audit become unreliable.
- C
- Git commit history for image tag changes with clear traceability.
ImageRepository/ImagePolicystatus and image automation logs influx-system.- B
- It can create drift from Git and must be reconciled back immediately.
- Example: non-immutable/mutable tag usage; policy mismatch allowing wrong env tags; unclear rollback path.
- B