Certified Kubernetes Application Developer (CKAD) Practice Test

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for the Certified Kubernetes Application Developer (CKAD) Exam. Gain confidence with flashcards and multiple-choice questions, complete with hints and explanations. Achieve your certification with ease!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


Which type of probing method uses HTTP requests to check container health?

  1. exec

  2. tcpSocket

  3. httpGet

  4. none

The correct answer is: httpGet

The probing method that uses HTTP requests to check container health is the httpGet method. This type of probe sends an HTTP GET request to a specified endpoint in the container. If the response from the container is within the expected range (i.e., a successful HTTP status code), the container is considered healthy. This method is particularly useful for applications that expose health check endpoints over HTTP, which allows the orchestration system to determine the application's health state based on its ability to respond to web requests. In contrast, the exec method runs a command directly inside the container to check its state, while the tcpSocket method tries to open a TCP connection on a specified port. Neither of these methods utilizes HTTP requests to determine health. Moreover, the "none" choice does not apply here since httpGet is indeed a standard probing method recognized in Kubernetes health checks. Therefore, the choice of httpGet aligns directly with the requirement of using HTTP requests for health probes.