What is the purpose of a web application firewall (WAF)? MCQ with Answer and Explanation

What is the purpose of a web application firewall (WAF)?
A. To encrypt web traffic
B. To manage domain names
C. To cache web content
D. To monitor and filter HTTP traffic to protect web applications
Answer: Option D
Solution (By JKSSB Mock Tests)
A WAF monitors, filters, and blocks HTTP traffic to and from a web application to protect against common attacks such as SQL injection and XSS.

Discuss this Question (0)

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

Practice More Internet and Web Technologies Questions

Question #1
What does a '504 Gateway Timeout' HTTP status code tell a web user?
A. The digital SSL identity certificate has completely expired.
B. The server, while acting as a gateway or proxy, did not receive a timely response from the upstream backend server to complete the request.
C. The user entered an unapproved domain string value inside the search engine interface.
D. The browser cache folder space has run out of local memory storage.

Correct Answer: Option B


Explanation:
A 504 status code means that an intermediate proxy or gateway server timed out while waiting for a response from an internal upstream server during a request loop.

This question belongs to: Computer Internet and Web Technologies
Question #2
Which of the following is a web standard developed by the World Wide Web Consortium (W3C)?
A. HTML
B. All of the above
C. CSS
D. XML

Correct Answer: Option B


Explanation:
W3C develops and maintains many web standards, including HTML, CSS, and XML.

This question belongs to: Computer Internet and Web Technologies
Question #3
Which HTTP header is used to indicate the type of content being sent in the response body?
A. Content-Length
B. Host
C. Content-Type
D. User-Agent

Correct Answer: Option C


Explanation:
The Content-Type header indicates the media type (MIME type) of the resource, e.g., text/html, application/json.

This question belongs to: Computer Internet and Web Technologies