Which of the following is a type of web-based attack that involves injecting SQL queries into input fields? MCQ with Answer and Explanation

Which of the following is a type of web-based attack that involves injecting SQL queries into input fields?
A. SQL Injection
B. Session Hijacking
C. Cross-Site Request Forgery
D. Cross-Site Scripting
Answer: Option A
Solution (By JKSSB Mock Tests)
SQL Injection is an attack where malicious SQL statements are inserted into input fields to manipulate the database.

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 a tool used for web debugging and network analysis?
A. All of the above
B. Chrome DevTools
C. Fiddler
D. Wireshark

Correct Answer: Option A


Explanation:
Wireshark, Fiddler, and Chrome DevTools are all used for inspecting network traffic and debugging web applications.

This question belongs to: Computer Internet and Web Technologies
Question #2
What is the function of the 'ping' tool in relation to a URL?
A. To trace the network route
B. To resolve the domain to an IP
C. To check if the web server is reachable
D. To test website speed

Correct Answer: Option C


Explanation:
Ping sends ICMP echo requests to the host to determine connectivity and round-trip time.

This question belongs to: Computer Internet and Web Technologies
Question #3
What does an 'HTTP Cookie' data structure use to identify a returning user session securely to a server database without prompting continuous password requests?
A. The client computer's current internal hardware operating core temperature
B. A unique Session ID token string stored locally in the browser and transmitted with each HTTP request
C. The user's physical home street address record
D. An unlinked structural HTML layout design code block

Correct Answer: Option B


Explanation:
When a user logs in, the server generates a unique session identifier and passes it to the browser as a cookie. The browser automatically includes this token with future requests, maintaining the authenticated session.

This question belongs to: Computer Internet and Web Technologies