Bird
0
0

You want to build an Operator that manages a database cluster with automatic backups and scaling. Which two Kubernetes concepts must you combine to implement this Operator effectively?

hard📝 Workflow Q15 of 15
Kubernetes - Operators and Custom Resources
You want to build an Operator that manages a database cluster with automatic backups and scaling. Which two Kubernetes concepts must you combine to implement this Operator effectively?
ACustom Resource Definitions and Controllers
BConfigMaps and Secrets
CIngress and Network Policies
DDaemonSets and StatefulSets
Step-by-Step Solution
Solution:
  1. Step 1: Identify core Operator components

    Operators use Custom Resource Definitions (CRDs) to define new resource types and Controllers to manage their lifecycle.
  2. Step 2: Evaluate other Kubernetes concepts

    ConfigMaps and Secrets store config data, Ingress and Network Policies manage traffic, DaemonSets and StatefulSets manage pods but don't implement custom logic.
  3. Final Answer:

    Custom Resource Definitions and Controllers -> Option A
  4. Quick Check:

    CRDs + Controllers build Operators = C [OK]
Quick Trick: Operators = CRDs + Controllers for custom logic [OK]
Common Mistakes:
  • Confusing config storage with Operator logic
  • Mixing networking resources with Operator pattern
  • Thinking pod controllers alone build Operators

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes