KCNA · Question #28
Services and Pods in Kubernetes are ______ objects.
The correct answer is D. REST. Services and Pods in Kubernetes are exposed and managed as REST objects through the Kubernetes API.
Question
Services and Pods in Kubernetes are ______ objects.
Options
- AJSON
- BYAML
- CJava
- DREST
How the community answered
(49 responses)- A2% (1)
- B2% (1)
- C4% (2)
- D92% (45)
Why each option
Services and Pods in Kubernetes are exposed and managed as REST objects through the Kubernetes API.
JSON is a data format often used to represent Kubernetes objects when interacting with the REST API, but the objects themselves are not inherently JSON.
YAML is a human-friendly data serialization standard commonly used for defining Kubernetes object configurations, but it is a format, not the object's fundamental nature.
Java is a programming language and has no direct bearing on the fundamental nature of Kubernetes objects.
Kubernetes implements a RESTful API, meaning that all resources like Pods, Services, Deployments, etc., are treated as REST objects that can be manipulated using standard HTTP methods (GET, POST, PUT, DELETE).
Concept tested: Kubernetes API design (RESTful)
Source: https://kubernetes.io/docs/concepts/overview/kubernetes-api/
Topics
Community Discussion
No community discussion yet for this question.