FREE CKA Networking Questions and Answers

0%

What is the primary function of a Service in Kubernetes?

Correct! Wrong!

A Service in Kubernetes exposes a set of Pods as a network service, allowing stable access even as Pods are created or destroyed. It provides a consistent way to access Pods using a single IP address or DNS name.

Which Service type allows external access to a Kubernetes application through a specific port on each node in the cluster?

Correct! Wrong!

A NodePort Service exposes the application on a specific port of each node, allowing external access. The other types have different functionalities: ClusterIP is for internal cluster access, LoadBalancer integrates with cloud load balancers, and ExternalName maps a Service to an external DNS name.

What is a CNI plugin in Kubernetes?

Correct! Wrong!

A CNI plugin (Container Network Interface) implements Kubernetes networking, enabling Pods to communicate with each other and external networks. Examples include Flannel, Calico, and Weave Net. Other options do not describe the functionality of CNI plugins.

Which of the following is the default Kubernetes DNS Service?

Correct! Wrong!

The default DNS Service in Kubernetes is CoreDNS, which provides internal name resolution for services and Pods within the cluster. kube-dns was the older default DNS implementation. ExternalDNS is used for managing external DNS records, and SkyDNS is a precursor to kube-dns.

How do you restrict communication between Pods in a Kubernetes cluster?

Correct! Wrong!

Network Policies are used to control and restrict communication between Pods or between Pods and external

Premium Tests $49/mo
FREE February-2025