Kubernetes - Health Checks and ProbesWhat is the main purpose of a TCP probe in Kubernetes?ATo check the container's memory usageBTo monitor CPU usage of a containerCTo verify the container's file system integrityDTo check if a container accepts TCP connections on a specified portCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand TCP probe functionA TCP probe tests if a container is accepting TCP connections on a specific port.Step 2: Compare with other optionsCPU, memory, and file system checks are not done by TCP probes but by other mechanisms.Final Answer:To check if a container accepts TCP connections on a specified port -> Option DQuick Check:TCP probe = connection check [OK]Quick Trick: TCP probe checks port connectivity, not resource usage [OK]Common Mistakes:Confusing TCP probe with CPU or memory monitoringThinking TCP probe checks file system healthAssuming TCP probe checks HTTP endpoints
Master "Health Checks and Probes" in Kubernetes9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Kubernetes Quizzes Ingress - Why Ingress manages external access - Quiz 7medium Ingress - Path-based routing - Quiz 2easy Networking - Service mesh concept overview - Quiz 12easy Networking - Why Kubernetes networking matters - Quiz 14medium Resource Management - Cluster Autoscaler concept - Quiz 13medium Resource Management - Vertical Pod Autoscaler concept - Quiz 4medium Resource Management - CPU requests and limits - Quiz 15hard Resource Management - Horizontal Pod Autoscaler - Quiz 14medium Scheduling - DaemonSets for per-node workloads - Quiz 12easy Secrets - Using Secrets as mounted volumes - Quiz 7medium