Bird
0
0

What is the main purpose of an exec probe in Kubernetes?

easy📝 Conceptual Q11 of 15
Kubernetes - Health Checks and Probes
What is the main purpose of an exec probe in Kubernetes?
ATo schedule pods on specific nodes
BTo expose container ports to the outside world
CTo create persistent storage volumes
DTo run a command inside a container to check if it is healthy
Step-by-Step Solution
Solution:
  1. Step 1: Understand exec probe functionality

    An exec probe runs a command inside the container to check its health status.
  2. Step 2: Compare with other options

    Options A, B, and D relate to scheduling, networking, and storage, not health checks.
  3. Final Answer:

    To run a command inside a container to check if it is healthy -> Option D
  4. Quick Check:

    Exec probe = runs command inside container [OK]
Quick Trick: Exec probe runs commands inside container to check health [OK]
Common Mistakes:
  • Confusing exec probe with port exposure
  • Thinking exec probe schedules pods
  • Mixing exec probe with storage management

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes