Bird
0
0

Given this CRD snippet, what is the scope of the custom resource?

medium📝 Command Output Q13 of 15
Kubernetes - Operators and Custom Resources
Given this CRD snippet, what is the scope of the custom resource?
spec:
  scope: Namespaced
  group: example.com
  names:
    kind: Widget
    plural: widgets
ACluster-wide resource available in all namespaces
BResource limited to a specific namespace
CResource only available in the default namespace
DResource scoped to nodes
Step-by-Step Solution
Solution:
  1. Step 1: Read the scope field

    The scope is set to Namespaced, meaning the resource exists within namespaces.
  2. Step 2: Understand scope meanings

    Namespaced means the resource is limited to a specific namespace, not cluster-wide or node-scoped.
  3. Final Answer:

    Resource limited to a specific namespace -> Option B
  4. Quick Check:

    scope Namespaced = namespace-limited resource [OK]
Quick Trick: scope: Namespaced means resource lives inside namespaces [OK]
Common Mistakes:
  • Confusing Namespaced with Cluster scope
  • Assuming default namespace only
  • Thinking scope relates to nodes

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes