Bird
0
0

What is the main purpose of a TCP probe in Kubernetes?

easy📝 Conceptual Q11 of 15
Kubernetes - Health Checks and Probes
What is the main purpose of a TCP probe in Kubernetes?
ATo check the container's memory usage
BTo monitor CPU usage of a container
CTo verify the container's file system integrity
DTo check if a container accepts TCP connections on a specified port
Step-by-Step Solution
Solution:
  1. Step 1: Understand TCP probe function

    A TCP probe tests if a container is accepting TCP connections on a specific port.
  2. Step 2: Compare with other options

    CPU, memory, and file system checks are not done by TCP probes but by other mechanisms.
  3. Final Answer:

    To check if a container accepts TCP connections on a specified port -> Option D
  4. Quick 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 monitoring
  • Thinking TCP probe checks file system health
  • Assuming TCP probe checks HTTP endpoints

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes