What does a '502 Bad Gateway' HTTP status code return imply about a web link connection state? MCQ with Answer and Explanation

What does a '502 Bad Gateway' HTTP status code return imply about a web link connection state?
A. The user's computer network cable is unplugged.
B. The client browser used an invalid or expired login session password.
C. One server on the internet received an invalid response from another edge server it accessed while attempting to fulfill the request.
D. The URL has been completely deleted and will never be recovered.
Answer: Option C
Solution (By JKSSB Mock Tests)
A 502 Bad Gateway error indicates that a gateway or proxy server on the network path received an invalid or unreadable response from the upstream backend server.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Internet and Web Technologies Questions

Question #1
Which of the following is an example of a web browser extension?
A. Google Search
B. Firefox Monitor
C. Chrome Web Store
D. AdBlock

Correct Answer: Option D


Explanation:
AdBlock is a popular browser extension that blocks advertisements. The Chrome Web Store is a store for extensions, not an extension itself.

This question belongs to: Computer Internet and Web Technologies
Question #2
What is the role of a web-based application firewall (WAF)?
A. To filter and monitor HTTP traffic to protect web applications
B. To provide load balancing
C. To manage DNS
D. To accelerate content delivery

Correct Answer: Option A


Explanation:
A WAF specifically monitors and filters HTTP traffic, blocking malicious requests, and protecting against common web vulnerabilities.

This question belongs to: Computer Internet and Web Technologies
Question #3
Which of the following is a type of web cache that stores content closer to the user to reduce latency?
A. Browser cache
B. Both CDN and Proxy cache
C. Proxy cache
D. CDN

Correct Answer: Option B


Explanation:
CDNs and proxy caches both store copies of content in distributed locations to reduce latency and bandwidth.

This question belongs to: Computer Internet and Web Technologies