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. SSL/TLS Implementation

  2. URL/HTML Encoding

  3. Using parameterized queries

  4. Configuring web server to restrict directory listing

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

Parameterized queries separate SQL logic from data, preventing injection by treating user input as literal values not executable code. SSL/TLS (A) encrypts transmission but doesnt stop injection. URL/HTML encoding (B) mitigates XSS, not SQLi. Directory restrictions (D) address information disclosure, not injection. Parameterized queries (also called prepared statements) are the primary defense.

Multiple choice technology security
  1. Authentication testing

  2. Session Management

  3. Information Gathering

  4. Authorization Testing

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

Spiders, robots, and crawlers automate information gathering by traversing websites and cataloging content, links, and structure. This reconnaissance phase identifies targets, technologies, and potential vulnerabilities. Authentication (A) and authorization (D) testing focus on access controls. Session management (B) concerns maintaining user state. These tools primarily enable discovery and mapping.

Multiple choice technology security
  1. Finding default files and directories

  2. Finding maximum attempts for account lockout

  3. Finding a password for a given user ID

  4. Finding the information displayed on a validation CAPTCHA

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

CAPTCHAs specifically resist automated solving by design - they test humanity. Fuzzers like WebScarab send massive automated requests but cannot interpret visual/audio challenges meant for humans. Fuzzers can discover files (A), test lockout limits (B), and attempt passwords (C). CAPTCHA breaking requires human interaction or specialized AI, not simple request automation, making it unsuitable for fuzzing tools.

Multiple choice technology
  1. Rescure, Strategise & Act

  2. Rescure, Secure & Act

  3. Rivest, Shamir & Adleman

  4. Ruskin, Shammy & Atkinson

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

RSA encryption is named after its inventors: Ron Rivest, Adi Shamir, and Leonard Adleman. Option C correctly identifies these three cryptographers who developed this public-key cryptosystem.

Multiple choice technology security
  1. Group based access control should be implemented to assign permissions to application users

  2. Consistent authorization checking should be performed on all application pages

  3. A set of all allowable actions should be defined for each user role and all other's denied

  4. All failed access authorization requests should be logged to a secure location for review by administrators

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

The principle of least privilege means granting only the minimum necessary access. Option C correctly states this: define exactly what each role CAN do, deny everything else by default. Group-based access (A) is an implementation detail, not the principle itself. Consistent checking (B) is about execution, not privilege assignment. Logging failures (D) is auditing, not the principle itself.

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 TCS security library used for remediation of security vulnerabilities found during assessments. The other options (B, C, D) are plausible variations but not the correct product name.

Multiple choice technology security
  1. Client (Browser)

  2. Database

  3. Web Application

  4. Web Server

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

Cross Site Scripting (XSS) attacks target the client's browser by injecting malicious scripts that execute in the victim's browser context. The attack exploits the browser's trust in content from a vulnerable website, not the server, database, or web application itself.

Multiple choice technology security
  1. Compromise of users

  2. Loss of data integrity

  3. Destruction of data

  4. None of the above

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

The primary risk of XSS is user compromise - attackers can steal session cookies, credentials, or perform actions on behalf of victims. While data integrity and destruction are potential consequences, the core threat is compromising user accounts and sessions through script injection.

Multiple choice technology security
  1. Equivalent to normal users

  2. Less than those of normal users as all administrators are trustworthy

  3. No authentication is required for administrators

  4. Greater than those of normal users

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

Administrator accounts require stronger authentication than normal users because they have elevated privileges that can cause greater damage if compromised. Trust assumptions are security vulnerabilities - admins must face stricter access controls.

Multiple choice technology security
  1. Cannot be treated as a secure practice

  2. Is a good way to hide passwords from hackers

  3. Is perfectly fine for internal applications

  4. Is perfectly fine for external user facing applications

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

Hard coding credentials means embedding passwords or API keys directly in source code, which is a serious security vulnerability. Credentials exposed in code can be easily discovered through version control history, decompilation, or unauthorized access to the repository. Options B, C, and D are incorrect because hardcoding credentials is never secure, regardless of application type or intended audience.

Multiple choice technology security
  1. Cross-Site Scripting

  2. Buffer over flows

  3. Command injection

  4. Path traversal attack

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

Cross-Site Scripting (XSS) attacks occur when an attacker injects malicious scripts into content from a seemingly trusted source, like a compromised link or reflected input. The script executes in the victim's browser context. Buffer overflows and command injection are different vulnerability classes that don't involve malicious links.

Multiple choice technology security
  1. Escape the invalid characters and continue processing the input data

  2. Accept the input data without modifying it and log the validation error

  3. Delete the invalid characters and continue processing the input data

  4. Reject the entire input data and send an error message back to the user

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

The most secure response to invalid input is complete rejection (option D) because sanitization (escaping or deleting characters) can be bypassed and attackers might craft malicious payloads that survive filtering. Simply accepting invalid input (B) is dangerous, and partial processing after modification (A, C) risks introducing vulnerabilities.

Multiple choice technology security
  1. Hashing the password twice

  2. Encrypting the password using the private key

  3. Use an encryption algorithm you wrote your self so no one knows how it works

  4. Salting the hash

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

Salting (adding random data before hashing) prevents dictionary and rainbow table attacks by ensuring identical passwords produce different hashes. Hashing twice (A) adds negligible security. Private key encryption (B) isn't applicable to password storage. Custom encryption (C) violates Kerckhoffs's principle and is rarely secure.

Multiple choice technology security
  1. Can be done as it as an internal IP

  2. Can be done for internet facing servers as there are no chances of IP conflicts

  3. Is a good security practice

  4. Is a bad security practice

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

Hard-coded IP access control is fundamentally insecure because IP addresses can be spoofed, are dynamic (especially for ISPs), and create inflexible, brittle security. Option D correctly identifies this as bad practice. Internal IPs (A) and IP conflicts (B) aren't the core issues.