KCNA · Question #207
The Kubernetes API provides an interface for storing objects. Which of the following describes the type of objects stored by the Kubernetes API?
The correct answer is B. REST. The Kubernetes API server exposes a RESTful interface for managing Kubernetes objects, which are persisted as API objects.
Question
The Kubernetes API provides an interface for storing objects. Which of the following describes the type of objects stored by the Kubernetes API?
Options
- AContainers
- BREST
- CYAML
- DETCD
How the community answered
(65 responses)- A3% (2)
- B92% (60)
- C2% (1)
- D3% (2)
Why each option
The Kubernetes API server exposes a RESTful interface for managing Kubernetes objects, which are persisted as API objects.
Containers are runtime instances of images, not the type of interface provided by the API; rather, the API stores definitions of workloads that include containers (e.g., Pods).
The Kubernetes API is a RESTful API, meaning it follows the Representational State Transfer architectural style. It exposes Kubernetes objects as resources that can be manipulated (created, read, updated, deleted) using standard HTTP methods, making it the primary interface for cluster interaction.
YAML is a data serialization format used to define Kubernetes objects, but it is not the type of interface or object format stored by the API itself; the API understands and persists these definitions internally.
etcd is the distributed key-value store that Kubernetes uses as its backing store for all cluster data, but it is not the type of interface the API provides for users to interact with.
Concept tested: Kubernetes API interaction type
Source: https://kubernetes.io/docs/reference/using-api/api-overview/
Topics
Community Discussion
No community discussion yet for this question.