Study. uk . com
  1. Home
  2. All questions
  3. Question 199

CKA study material · question 199 of 1000

An object violating a LimitRange is submitted. What does the API server return?

  1. HTTP 422 Unprocessable Entity
  2. HTTP 409 Conflict
  3. HTTP 200 with a warning annotation
  4. HTTP 403 Forbidden with a message naming the constraint
Show the answer

Answer: D. HTTP 403 Forbidden with a message naming the constraint

Violating a LimitRange makes the request fail with 403 Forbidden and a message explaining which constraint.

Source: Limit Ranges (Kubernetes) — Constraints on resource limits and requests

Challenge yourself on this topic → Study as cards