Bird
0
0

An Operator manages a custom database resource. How does it ensure the database is always running as desired?

hard📝 Workflow Q9 of 15
Kubernetes - Operators and Custom Resources
An Operator manages a custom database resource. How does it ensure the database is always running as desired?
ABy requiring manual restarts after failures
BBy creating a single Pod and never updating it
CBy disabling Kubernetes controllers for the database Pods
DBy continuously watching the resource and reconciling actual state to desired state
Step-by-Step Solution
Solution:
  1. Step 1: Understand Operator reconciliation loop

    Operators watch resources and reconcile actual state to match desired spec continuously.
  2. Step 2: Evaluate options

    Only continuous watch and reconcile ensures database stays running as desired.
  3. Final Answer:

    By continuously watching the resource and reconciling actual state to desired state -> Option D
  4. Quick Check:

    Continuous reconciliation ensures desired state [OK]
Quick Trick: Operators use reconciliation loops to maintain desired state [OK]
Common Mistakes:
  • Assuming Operators create static Pods only once
  • Thinking Operators disable native controllers
  • Believing manual restarts are needed

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes