Kubernetes API Questions
Practice questions for Kubernetes API topic in Kubernetes and Cloud Native Associate. 12 questions covering this domain.
A user runs kubectl get pods. Which component ultimately receives and processes that request?
In a Kubernetes manifest, what does the apiVersion field identify?
A team wants to manage resources declaratively so repeated commands converge the cluster toward the manifest in version control. Which kubectl command...
A cluster operator wants to check what API resources are available on the cluster and which API group each belongs to. Which kubectl command provides ...
A custom resource definition (CRD) has been installed in a cluster. A developer applies a manifest using this CRD. Which Kubernetes component validate...
When writing a Kubernetes manifest for a Deployment, a developer uses `apiVersion: apps/v1`. What does the `apps` portion of this value represent?
A security engineer wants RBAC rules that grant access only to Pod logs as a subresource. Which resource string should appear in the rule?
A default service account in a normal application namespace has not been granted any custom RoleBindings. What access should you expect by default?
A RoleBinding points to the wrong role, and the subject list is already correct. What is the required way to fix the referenced role?
A security reviewer wants to add an RBAC rule that explicitly denies deleting Pods while preserving an older allow rule. What will Kubernetes RBAC act...
A platform team wants one binding that grants a ClusterRole across every namespace. Which object should they create?
A RoleBinding in production points to the wrong role. The subject list is fine, but the referenced role must change. What is the required fix?
Sign in to see all 12 questions
Create a free account to browse all questions — completely free during our launch phase.