30 Questions
What does the HTTP status code 301 signify?
The page requested has moved to a new URL permanently
Which status code is used for caching purposes?
304
What does the HTTP status code 400 indicate?
The server did not understand the client's request
Which HTTP status code represents a temporary redirection to another website?
302
What should a response with HTTP status code 304 not contain?
A message-body
When does a client receive an HTTP status code 301 response?
When the requested page has moved to a new URL permanently
What does a 401 HTTP status code require from the client?
Provide user authentication
In the context of a 403 HTTP status code, what does it mean when the server refuses to fulfill a request?
The details of the refusal are provided in the response entity
What happens when a 404 HTTP status code is received by the client?
The server did not find anything at the requested URL
What information does a 500 HTTP status code provide?
Unexpected condition encountered by the server
What is NOT a possible reason for a 403 HTTP status code?
Incomplete request method
What is NOT a characteristic of a 401 HTTP status code?
Server challenge for deceptive requests
What is the range of a port number?
0-65535
What type of ports fall under the range 1024-49151?
Registered ports
Why are port numbers essential in data transmission?
To identify where data should be sent after transmission
Which organization handles the registration of port numbers for applications?
Internet Assigned Numbers Authority (IANA)
What is the purpose of well-known ports?
Assigned to certain standardized uses
Which range of port numbers can software applications and operating system services utilize to send and receive data over networks?
(0-65535)
What is the significance of knowing common ports according to the text?
Identifying ancient services still operating in the infrastructure
Which status code indicates that the page requested has been fulfilled by the server?
2xx
Why would a bug bounty hunter benefit from understanding protocols and services?
To know how to execute version detection scans
What type of response does a status code starting with '1xx' indicate?
Informational Response
Why is it helpful for a security researcher to be familiar with Nmap tool?
To perform version detection and vulnerability scans
Which status code signifies that the requested URL has been redirected elsewhere?
3xx
What does RDBMS stand for?
Relational Database Management System
In a database, what is a record?
An individual entry in a table
Which of the following is NOT an example of a database management system?
Python
What is SQL primarily used for?
Accessing and manipulating databases
How is data stored in an RDBMS?
In database objects called tables
What is the role of a field in a database table?
To maintain specific information about every record
Study Notes
HTTP Status Codes
- 301 status code signifies a permanent relocation of a resource
- 400 status code indicates a bad request from the client
- 304 status code is used for caching purposes, no response body is returned
- 301 status code represents a permanent redirection to another website
- A response with 304 status code should not contain a response body
- A client receives a 301 response when a resource has been relocated permanently
- 401 status code requires authentication from the client
- 403 status code means the server refuses to fulfill a request due to permissions or access control
- 404 status code indicates that the requested resource cannot be found
- 500 status code provides information about an internal server error
- A 403 status code is not due to a resource being permanently relocated
Port Numbers
- Port numbers range from 0 to 65535
- The range 1024-49151 is for registered ports, used by software applications and operating system services
- Port numbers are essential for identifying specific processes or services in data transmission
- The Internet Assigned Numbers Authority (IANA) handles the registration of port numbers for applications
- Well-known ports (0-1023) are assigned by IANA for standard network services
- Registered ports (1024-49151) can be used by software applications and operating system services
- Knowing common ports is significant for identifying and understanding network communication
Database
- RDBMS stands for Relational Database Management System
- In a database, a record is a collection of related data
- Not an example of a database management system: A spreadsheet
- SQL (Structured Query Language) is primarily used for managing relational databases
- Data is stored in tables with rows and columns in an RDBMS
- A field in a database table is a single piece of information about a record
Miscellaneous
- Bug bounty hunters benefit from understanding protocols and services to identify vulnerabilities
- Status codes starting with '1xx' indicate informational responses
- Nmap is a helpful tool for security researchers to scan and map networks
- A status code of 301 signifies that the requested URL has been redirected elsewhere
Test your knowledge of different HTTP methods and status codes with this quiz. Learn about the purposes of GET, POST, HEAD, and TRACE methods, as well as the meaning of HTTP status code 301 (Permanent Redirect).
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free