Bird
0
0

What will happen if you create a Subscription with a non-existent operator name in OperatorHub?

medium📝 Predict Output Q5 of 15
Kubernetes - Operators and Custom Resources
What will happen if you create a Subscription with a non-existent operator name in OperatorHub?
AThe Subscription will remain in Pending state and no operator will be installed
BThe operator will be installed with default settings
CThe Subscription will delete itself automatically
DThe cluster will crash due to invalid Subscription
Step-by-Step Solution
Solution:
  1. Step 1: Understand Subscription behavior with invalid operator

    If the operator name does not exist in OperatorHub, the Subscription cannot find the operator to install.
  2. Step 2: Result of invalid Subscription

    The Subscription remains in Pending or Failed state without installing anything; it does not delete itself or crash the cluster.
  3. Final Answer:

    The Subscription will remain in Pending state and no operator will be installed -> Option A
  4. Quick Check:

    Invalid operator name = Subscription Pending [OK]
Quick Trick: Invalid operator name causes Subscription to stay Pending [OK]
Common Mistakes:
  • Assuming operator installs with defaults
  • Thinking Subscription auto-deletes on error
  • Believing cluster crashes from bad Subscription

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes