HTTP STATUS CODE Question Flashcards

(25 cards)

1
Q

Define HTTP status code.

A

A three-digit response code indicating the result of a server’s attempt to process a request.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does a 200 status code signify?

A

It indicates that the request was successful and the server returned the requested resource.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

True or false: A 404 status code means the resource was found.

A

FALSE

A 404 status code indicates that the requested resource could not be found on the server.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Fill in the blank: A 500 status code indicates a _______ error.

A

server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does a 301 status code indicate?

A

It indicates that a resource has been permanently moved to a new URL.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Define client error in HTTP status codes.

A

Client errors are codes in the 400 range, indicating issues with the request from the client.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does a 403 status code mean?

A

It means that access to the requested resource is forbidden.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

True or false: A 302 status code indicates a permanent redirect.

A

FALSE

A 302 status code indicates a temporary redirect to a different URL.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Fill in the blank: The status code for ‘Unauthorized’ is _______.

A

401

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does a 204 status code indicate?

A

It indicates that the server successfully processed the request but is not returning any content.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Define redirection in HTTP status codes.

A

Redirection status codes (300-399) indicate that further action is needed to complete the request.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does a 408 status code mean?

A

It indicates that the server timed out waiting for the client to send a request.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

True or false: A 503 status code means the server is temporarily unable to handle the request.

A

TRUE

A 503 status code is often due to server overload or maintenance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Fill in the blank: The status code for ‘Not Found’ is _______.

A

404

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What does a 429 status code indicate?

A

It indicates that the user has sent too many requests in a given amount of time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Define informational responses in HTTP status codes.

A

Informational responses (100-199) indicate that the request was received and is being processed.

17
Q

What does a 505 status code mean?

A

It indicates that the server does not support the HTTP protocol version used in the request.

18
Q

True or false: A 100 status code indicates that the request is being processed.

A

TRUE

A 100 status code is an interim response indicating that the initial part of the request has been received.

19
Q

Fill in the blank: The status code for ‘Payment Required’ is _______.

20
Q

What does a 511 status code indicate?

A

It indicates that network authentication is required to access the requested resource.

21
Q

Define success responses in HTTP status codes.

A

Success responses (200-299) indicate that the request was successfully received, understood, and accepted.

22
Q

What does a 308 status code indicate?

A

It indicates that the resource has been permanently redirected, similar to a 301 but retains the request method.

23
Q

True or false: A 201 status code indicates that a resource was created successfully.

A

TRUE

A 201 status code is commonly returned after a POST request that creates a new resource.

24
Q

Fill in the blank: The status code for ‘Conflict’ is _______.

25
What does a **206** status code indicate?
It indicates that the server is returning only part of the resource due to a range request.