InterviewTreedInterviewTreed

The question library

Technical interview questions and answers

Explore practical questions, clear explanations, and code examples across developer technologies.

Showing 1477–1488 of 3610 questions

Docker & KubernetesIntermediate1 min read

What is an Ingress?

Ingress defines HTTP and HTTPS routing rules from outside the cluster to Services. An Ingress controller must implement those rules.

Docker & KubernetesIntermediate1 min read

When should you use a StatefulSet?

A StatefulSet provides stable Pod identities and ordered deployment/scaling semantics, commonly paired with persistent volume claims for stateful systems.

Docker & KubernetesIntermediate1 min read

What happens when a ConfigMap changes?

Environment variables sourced from a ConfigMap do not update inside existing processes automatically. Mounted ConfigMap files may update eventually, but the application must reload

Docker & KubernetesIntermediate1 min read

What is a NetworkPolicy?

A NetworkPolicy specifies allowed ingress and egress traffic for selected Pods, but it requires a network plugin that enforces policies.

Docker & KubernetesIntermediate1 min read

How does Kubernetes RBAC work?

Roles define permissions on resources; RoleBindings grant those permissions within a namespace. ClusterRoles and ClusterRoleBindings can grant cluster-scoped permissions.

Docker & KubernetesIntermediate1 min read

What is a PodDisruptionBudget?

A PDB limits voluntary disruptions by specifying a minimum available or maximum unavailable number of Pods during supported eviction workflows.