DevOps Quiz 63

Last Updated :
Discuss
Comments

Question 1

What is the main purpose of a Kubernetes Service?

  • Manage storage volumes

  • Monitor node health

  • Expose a set of Pods as a network service

  • Create new Pods

Question 2

Which type of Service exposes the application on a cluster-internal IP only?

  • LoadBalancer

  • NodePort

  • ExternalName

  • ClusterIP

Question 3

Which Service type is used to expose the application externally using a public IP?

  • ClusterIP

  • Headless

  • LoadBalancer

  • ExternalName

Question 4

What does a NodePort Service do?

  • Maps internal IPs to domain names

  • Allows access via a static port on each node

  • Stores persistent data

  • Schedules pods to nodes

Question 5

How does a Service select which Pods to route traffic to?

  • By image name

  • By container name

  • Using label selectors

  • By IP range

Question 6

What component manages the DNS name resolution for Kubernetes Services?

  • kube-proxy

  • CoreDNS

  • etcd

  • kube-apiserver

Question 7

What is a headless Service used for in Kubernetes?

  • Hiding Pods from traffic

  • Managing secrets

  • Exposing Pod IPs directly without a cluster IP

  • Creating Ingress rules

Question 8

What command lists all the Services running in a Kubernetes cluster?

  • kubectl list svc

  • kubectl get svc

  • kubectl describe pods

  • kubectl show services

Question 9

Which Service type maps a service name to an external DNS name?

  • LoadBalancer

  • NodePort

  • ExternalName

  • ClusterIP

Question 10

What does kube-proxy do in the context of Kubernetes Services?

  • Stores images

  • Routes network traffic to the appropriate Pod

  • Authenticates users

  • Runs containers

Tags:

There are 10 questions to complete.

Take a part in the ongoing discussion