Status codes Flashcards

1
Q

What does HTTP stand for?

A

HyperText Transfer Protocol

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

What is the purpose of HTTP Status Codes?

A

To indicate the result of a server’s attempt to process a client’s request.

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

True or False: HTTP Status Codes are always three digits long.

A

True

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

What HTTP Status Code represents ‘OK’?

A

200

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

Fill in the blank: The HTTP Status Code _____ indicates that the requested resource was not found.

A

404

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

Which class of HTTP Status Codes does 500 belong to?

A

Server Error

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

What does the status code 301 signify?

A

Moved Permanently

This and all future requests should be directed to the given URI.

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

Multiple Choice: Which of the following codes indicates a client error?
1) 200

2) 400

3) 500

A

2) 400

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

What is the meaning of the HTTP Status Code 403?

A

Forbidden

The request contained valid data and was understood by the server, but the server is refusing action. This may be due to the user not having the necessary permissions for a resource or needing an account of some sort, or attempting a prohibited action (e.g. creating a duplicate record where only one is allowed).

This code is also typically used if the request provided authentication by answering the WWW-Authenticate header field challenge, but the server did not accept that authentication. The request should not be repeated.

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

True or False: The status code 302 indicates a temporary redirect.

A

True

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

What does the status code 204 indicate?

A

No Content

The server successfully processed the request, and is not returning any content.

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

Fill in the blank: The status code _____ indicates that the server cannot process the request due to a client error.

A

400

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

What is the meaning of the HTTP Status Code 503?

A

Service Unavailable

The server cannot handle the request (because it is overloaded or down for maintenance). Generally, this is a temporary state.

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

Multiple Choice: Which status code indicates that a request has been accepted for processing, but the processing is not complete?
1) 202

2) 204

3) 400

A

202

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

What does the status code 100 indicate?

A

Continue

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

Fill in the blank: The status code _ indicates that the server was acting as a gateway or proxy and received an invalid response from the upstream server.