Computer Knowledge · General Awareness

Information Security

4,143 Questions

Information security involves protecting computer systems and data from unauthorized access, cyber threats, and damage. It is a core part of the computer knowledge section in various banking and government exams. Practicing these concepts helps in understanding digital signatures, network security, and access control effectively.

Cybersecurity threatsAccess controlCryptography basicsSecurity risk managementDatabase protection

Information Security Questions

Multiple choice technology security
  1. TCS Security API

  2. TCS Security Library

  3. TCS Application Security API

  4. TCS e-Security Library

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

TCS Security API is the security library provided by TCS for remediation of security vulnerabilities. It offers standardized security functions and controls that development teams can integrate into their applications.

Multiple choice technology security
  1. NO-Becoz Hardware keylogger can be used

  2. YES

  3. NO-Kernel level Keylogger can be used

  4. Can't say

Reveal answer Fill a bubble to check yourself
A,C Correct answer
Explanation

Virtual keyboards are NOT foolproof against keylogging. Hardware keyloggers capture keystrokes at the physical keyboard level before software virtual keyboards are involved. Kernel-level keyloggers intercept input at the OS level, capturing all input regardless of whether it comes from a physical or virtual keyboard. Both A and C correctly identify why virtual keyboards fail as protection.

Multiple choice technology security
  1. md5

  2. ntlm

  3. ntlmv2

  4. Obscurehash

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

MD5 has known cryptographic weaknesses and collision vulnerabilities that make it significantly easier to crack than NTLM, NTLMv2, or any strong modern hash. NTLM and NTLMv2 have stronger security properties, while an obscure hash would be more secure due to lack of known attacks.

Multiple choice technology security
  1. session tracking

  2. Man in Middle

  3. cookie stealing

  4. forging

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Man-in-the-Middle (MitM) attacks exploit certificate verification by intercepting communications between parties without their knowledge. An unverified digital certificate error indicates the certificate chain cannot be verified, which is a classic sign of an MitM attack where an attacker presents a fraudulent certificate.

Multiple choice technology security
  1. DES

  2. Triple DES

  3. whirpool

  4. AES

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

AES (Advanced Encryption Standard) is the current US government standard for encryption and is significantly stronger than DES or Triple DES, which have known vulnerabilities. Whirlpool is a hash function, not an encryption algorithm. AES is approved for classified information and widely adopted.

Multiple choice technology security
  1. HTTP is stateless, so is SSL. Full SSL handshake needed for each HTTP page.

  2. SSL is stateful, only one full handshake for multiple HTTP pages in a session.

  3. SSL is security at IP layer. One handshake for one set of source/destination IP address.

  4. dont know

Reveal answer Fill a bubble to check yourself
A Correct answer
Multiple choice technology security
  1. Displaying “Welcome, “+request.getParameter(“userid”)

  2. Displaying “You entered either a wrong user id or password” error message

  3. Call stack trace

  4. Return error code 404

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Call stack traces expose internal implementation details (file paths, method names, library versions, framework info). This helps attackers understand system architecture and identify vulnerabilities. Displaying user-specific info (A) or generic error messages (B) is less risky. 404 errors (D) are standard and safe.

Multiple choice technology security
  1. Display “Welcome, user!” on the home page

  2. Display only “Welcome” on the home page

  3. Invalidate and destroy the session when user logs out

  4. Use persistent cookies for session management

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Proper session management requires destroying session data on logout to prevent session hijacking. Invalidating and destroying the session removes all session data from server. Displaying personalized info (A) or generic welcome (B) doesn't address session security. Persistent cookies (D) increase security risk as they remain after browser closes.

Multiple choice technology security
  1. Reset password functionality was invoked during the testing

  2. Change password form was submitted by appscan

  3. Somebody changed your password while the scan was running

  4. This is a result of an SQL injection test by appscan

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

AppScan automatically fills and submits forms during testing, including password change forms. When it encounters a password change form, it submits with auto-generated values like '1234', changing the actual password. This is normal testing behavior, not an attack. Solution: use a dedicated test account during scans.

Multiple choice technology security
  1. User account compromised

  2. Steal user sessions

  3. Site defacement and complete take over of the application

  4. Complete user account compromise

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Malicious file execution allows attackers to upload and execute arbitrary code on the server, leading to complete server takeover. This enables site defacement, data theft, using the server to attack others, and full control of the application. Impact is far more severe than compromising individual user accounts or sessions - it's total server compromise.

Multiple choice technology security
  1. Execute OS commands

  2. Steal user sessions

  3. Execute scripts on the webserver

  4. Manipulate the data in the database

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

XSS injects JavaScript that executes in victims' browsers, allowing attackers to access cookies, session tokens, or other sensitive data. Unlike SQL injection or command injection, XSS doesn't directly affect the server or database.

Multiple choice technology security
  1. /transfer.asp?fromacct=”account1”&toaccount=”account2”&amount=200.45&trnsactToken=”121431ersw”

  2. /email.jsp&to=”[email protected]”&subject=”hi”

  3. Use https for all secured pages

  4. Use encryption for session cookies

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Anti-CSRF tokens like the trnsactToken in option A prevent CSRF by including an unpredictable, session-bound value that attackers can't guess. HTTPS and cookie encryption protect against different threats (eavesdropping), not CSRF.

Multiple choice technology security
  1. Send 403 return code

  2. Send 302 return code and redirect the user to the home page

  3. Send 404 return code

  4. Send 200 return code

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Sending a 404 Not Found code hides a resource's existence entirely. A 403 Forbidden or 302 Found (redirect) reveals the resource exists but requires access rights or redirection, whereas a 200 OK indicates success and exposes the resource.

Multiple choice technology security
  1. Use https

  2. Use encryption

  3. Black box testing

  4. Secure coding

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Secure coding practices address vulnerabilities at the root level during development. While HTTPS, encryption, and testing are vital, they are secondary defenses if the code itself is fundamentally insecure.

Multiple choice technology security
  1. Displaying “Welcome, “+request.getParameter(“userid”)

  2. Displaying “You entered either a wrong user id or password” error message

  3. Call stack trace

  4. Return error code 404

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Stack traces expose implementation details, file paths, framework versions, and variable states - all valuable intelligence for attackers. Unlike generic error messages, stack traces provide a roadmap of your application's internal structure.