Correct Answer: Create a CustomResourceDefinition (CRD) with an OpenAPI v3 schema validation block
CustomResourceDefinitions (CRDs) support schema validation using OpenAPI v3 schemas. When validation is defined inside the CRD spec, the Kubernetes API server automatically validat...
Correct Answer
Create a CustomResourceDefinition (CRD) with an OpenAPI v3 schema validation block
Why This Answer Is Correct
CustomResourceDefinitions (CRDs) support schema validation using OpenAPI v3 schemas. When validation is defined inside the CRD spec, the Kubernetes API server automatically validates the schema of incoming custom resources and rejects invalid objects.
This question evaluates your knowledge of Kubernetes Administration — a core concept tested in cloud certification exams. Understanding Kubernetes Administration is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.
How do you safely drain a node for maintenance without dropping any active connections?
A cluster administrator needs to perform maintenance on a node and wants to gracefully evict all running pods from it, while ensuring the pods are rescheduled on other active nodes. Which kubectl command should be executed?
A Kubernetes node has transitioned to the 'NotReady' state, and the status conditions show DiskPressure=True. Which behavior is Kubernetes most likely to perform on this node for non-daemonset pods?
You need to grant read-only access to all namespaces in the cluster to a group of developers who authenticate via an OIDC provider. What RBAC configuration is most operationally efficient?