W3Reference.com
Toggle Menu
Home
Online Rust Compiler
Tutorials
Python Tutorial
Java Tutorial
Rust Tutorial
TypeScript Tutorial
ReactJS Tutorial
HTML & CSS Basics
Docker Containers Guide
Kubernetes Tutorial
Software Design Patterns
Blog
All Posts
Kubernetes Networking and Services
Assess how well you understand Service types,Ingress,and load balancing.
1. Which Kubernetes Service type is used for internal cluster communication only, with no external exposure?
ClusterIP
NodePort
LoadBalancer
ExternalName
2. Which of the following are valid Kubernetes Service types? (Select all that apply)
ClusterIP
NodePort
LoadBalancer
ExternalName
Ingress
3. An Ingress resource is a type of Kubernetes Service.
True
False
4. What is the default DNS service name for resolving Service and Pod DNS names in Kubernetes? (common name)
5. Which component is responsible for maintaining the mapping between a Service and its Pod endpoints?
kube-proxy
kube-controller-manager
kube-scheduler
etcd
6. Which Service types expose Pods to external traffic? (Select all that apply)
NodePort
LoadBalancer
ExternalName
ClusterIP
7. Network Policies can restrict Pod-to-Pod communication based on labels, namespaces, or IP ranges.
True
False
8. What is the default port range for NodePort Services in Kubernetes?
30000-32767
80-443
1024-65535
8080-8443
9. Which of the following are features provided by a Kubernetes Service? (Select all that apply)
Stable network endpoint
Load balancing across Pods
Automatic Pod health checks
DNS name resolution
Storage persistence
10. A Pod's IP address remains unchanged throughout its lifecycle.
True
False
11. Which Service type maps a Kubernetes Service to an external domain name (e.g., example.com)?
ExternalName
LoadBalancer
NodePort
ClusterIP
12. What are the minimum required fields in a Kubernetes Service manifest? (Select all that apply)
apiVersion
kind
metadata
spec.selector
spec.ports
spec.type
13. kube-proxy runs on every node and implements Service load balancing by maintaining network rules.
True
False
14. Which resource handles HTTP/HTTPS routing to Services, including path-based routing and TLS termination?
Ingress
LoadBalancer Service
Network Policy
ConfigMap
15. What is the term for the set of Pods targeted by a Service, as defined by its label selector?
Reset
Answered 0 of 0 — 0 correct