nerdexam
Cisco

300-910 · Question #35

Which Kubernetes object is used to create a ClusterIP or NodePort?

The correct answer is A. service. The question asks to identify the Kubernetes object responsible for creating ClusterIP or NodePort network access.

Application Deployment and Operations

Question

Which Kubernetes object is used to create a ClusterIP or NodePort?

Options

  • Aservice
  • Bpod
  • Cdeployment
  • Dloadbalancer

How the community answered

(49 responses)
  • A
    92% (45)
  • B
    2% (1)
  • C
    4% (2)
  • D
    2% (1)

Why each option

The question asks to identify the Kubernetes object responsible for creating ClusterIP or NodePort network access.

AserviceCorrect

A Kubernetes Service is the abstract way to expose an application running on a set of Pods as a network service. Service types like ClusterIP, NodePort, and LoadBalancer define how the service is made accessible within or outside the cluster.

Bpod

A Pod is the smallest deployable unit in Kubernetes, encapsulating one or more containers, but it does not directly provide the ClusterIP or NodePort abstraction.

Cdeployment

A Deployment manages a replicated set of Pods and their lifecycle, but it relies on a Service to expose those Pods to the network.

Dloadbalancer

"LoadBalancer" is a type of Kubernetes Service, not a distinct Kubernetes object that creates ClusterIP or NodePort; the Service object itself defines this type.

Concept tested: Kubernetes Service object types

Source: https://kubernetes.io/docs/concepts/services-networking/service/

Topics

#Kubernetes#Services#ClusterIP#NodePort

Community Discussion

No community discussion yet for this question.

Full 300-910 Practice