Question 31
MediumWhich HTTP status code class indicates a server error?
- A.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Computer Networks
Which HTTP status code class indicates a server error?
5xx
3xx
4xx
2xx
Sign up free to see the answer and a step-by-step explanation.
Why is HTTP called a stateless protocol?
It cannot send data
The server doesn't remember earlier requests from the same client by itself
It works only once
It doesn't use TCP
Sign up free to see the answer and a step-by-step explanation.
Which ports does FTP use?
22 only
80 and 443
25 and 110
21 for control and 20 for data (in active mode)
Sign up free to see the answer and a step-by-step explanation.
Which HTTP method is idempotent: repeating it has the same effect as doing it once?
None of them
POST
PATCH (in general)
PUT
Sign up free to see the answer and a step-by-step explanation.
You type www.example.in into a browser for the first time. What happens before the TCP connection to the web server?
A DNS lookup finds the server's IP address
The browser sends an FTP request
DHCP assigns the server an address
An SMTP message is sent
Sign up free to see the answer and a step-by-step explanation.
Which DNS record says which server receives email for a domain?
PTR
MX
A
CNAME
Sign up free to see the answer and a step-by-step explanation.
Which DNS record is used for reverse lookup (IP to name)?
MX
PTR
NS
A
Sign up free to see the answer and a step-by-step explanation.
Which DNS record holds an IPv6 address?
SOA
TXT
A
AAAA
Sign up free to see the answer and a step-by-step explanation.
What does the TTL of a DNS record control?
The record's priority
How long resolvers may cache the answer
How many routers it can cross
How long the domain is registered
Sign up free to see the answer and a step-by-step explanation.
A login form posts credentials to the server. Which HTTP method should it use?
POST
HEAD
GET
TRACE
Sign up free to see the answer and a step-by-step explanation.