Which of the following is NOT a valid HTTP status code?

Practice Questions

Q1
Which of the following is NOT a valid HTTP status code?
  1. 200
  2. 301
  3. 404
  4. 5050

Questions & Step-by-Step Solutions

Which of the following is NOT a valid HTTP status code?
  • Step 1: Understand what an HTTP status code is. It is a three-digit number sent by a server to indicate the result of a client's request.
  • Step 2: Recognize that valid HTTP status codes are always three digits long, ranging from 100 to 599.
  • Step 3: Look at the number given in the question, which is 5050. Count the digits in this number.
  • Step 4: Notice that 5050 has four digits, which means it is not a valid HTTP status code.
  • Step 5: Compare 5050 with examples of valid codes like 200, 301, and 404, which all have three digits.
No concepts available.
Soulshift Feedback ×

On a scale of 0–10, how likely are you to recommend The Soulshift Academy?

Not likely Very likely