JN0-214 · Question #41
Which two statements are correct about Kubernetes resources? (Choose two.)
The correct answer is A. A ClusterIP type service can only be accessed within a Kubernetes cluster. B. A daemonSet ensures that a replica of a pod is running on all nodes. Option A: A ClusterIP service is the default type of Kubernetes service. It exposes the service internally within the cluster, assigning it a virtual IP address that is accessible only to other pods or services within the same cluster. External access is not possible with this…
Question
Which two statements are correct about Kubernetes resources? (Choose two.)
Options
- AA ClusterIP type service can only be accessed within a Kubernetes cluster.
- BA daemonSet ensures that a replica of a pod is running on all nodes.
- CA deploymentConfig is a Kubernetes resource.
- DNodePort service exposes the service externally by using a cloud provider load balancer.
How the community answered
(30 responses)- A80% (24)
- C7% (2)
- D13% (4)
Explanation
Option A: A ClusterIP service is the default type of Kubernetes service. It exposes the service internally within the cluster, assigning it a virtual IP address that is accessible only to other pods or services within the same cluster. External access is not possible with this service type. Option B: A daemonSet ensures that a copy of a specific pod is running on every node in the cluster (or a subset of nodes if specified). This is commonly used for system-level tasks like logging agents or monitoring tools that need to run on all nodes.
Topics
Community Discussion
No community discussion yet for this question.