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 platforms and products
  1. Windows NT

  2. Windows AD

  3. LDAP

  4. All the above

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

BusinessObjects XI R2/R3.1 supports multiple authentication methods including Windows NT (single sign-on), Windows Active Directory, and LDAP for enterprise authentication. All three methods are valid authentication options in the platform, making 'All the above' the correct choice.

Multiple choice technology web technology
  1. Privileges

  2. Access groups

  3. Party role

  4. Properties

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

Under the Rules-by-Type Security tab in Pega, the two key security components are Privileges (which control access to rules and functionality) and Access groups (which control user access to applications and classes). Party roles define user roles in case processing, and Properties are data attributes, not security settings.

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 official name of the proprietary library developed by TCS to remediate common application security vulnerabilities. Distractors like 'TCS Security Library', 'TCS Application Security API', and 'TCS e-Security Library' are incorrect variations of this specific software tool name.

Multiple choice technology security
  1. XOR'ing with a cryptographically secure random number

  2. Triple DES

  3. DES-CBC 56bits

  4. Salted hash with a cryptographically secure random number

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

Triple DES (3DES) is a symmetric encryption algorithm that provides confidentiality for personal data. XOR with a random number is not a standardized encryption method, DES-CBC with 56-bit keys is cryptographically broken, and salted hashing is one-way (cannot decrypt to retrieve the original data).

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

XSS attacks execute malicious scripts in the victim's browser, compromising the client. The vulnerability exists in the web application, but the attack impact is on the client side where the malicious code runs.

Multiple choice technology security
  1. Secure

  2. Domain

  3. Expires

  4. Static

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

To solve this question, the user needs to know the purpose of cookie flags and how they are used to control cookie behavior.

A. Secure: This option is correct. When the "Secure" flag is set for a cookie, it instructs the browser to only send the cookie over a secure (HTTPS) connection. This prevents the cookie from being transmitted over an insecure (HTTP) channel where it could potentially be intercepted by an attacker.

B. Domain: This option is incorrect. The "Domain" flag is used to specify the domain(s) to which the cookie should be sent. It does not affect whether or not the cookie is transmitted over a secure channel.

C. Expires: This option is incorrect. The "Expires" flag is used to set an expiration date/time for the cookie. It does not affect whether or not the cookie is transmitted over a secure channel.

D. Static: This option is incorrect. There is no "Static" flag for cookies.

Therefore, the answer is: A. Secure

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 hold elevated privileges, making them high-value targets. Consequently, authentication requirements for administrators must be greater (e.g., multi-factor authentication, stricter password policies) than those for normal users. Distractors recommending equivalent, lesser, or no authentication increase system risk.

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

Hardcoding credentials cannot be treated as a secure practice because they are stored in plain text or easily decompilable code, exposing them to anyone with source access. Distractors suggesting it hides passwords, or is acceptable for internal or external facing applications, violate fundamental credential management principles.

Multiple choice technology security
  1. Read only certain memory areas using the %s token

  2. Write only certain areas using other tokens

  3. Read and write to memory at will

  4. None of the above

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

To solve this question, the user needs to know about format string attacks and their consequences.

A format string attack occurs when a web application uses unvalidated input in a format string function. This can allow an attacker to read or write memory at will, which can lead to serious security issues.

Option A is incorrect. While the %s token can be used to read data from memory, it is not limited to "certain memory areas." Rather, it allows an attacker to read any data that is on the stack or heap.

Option B is incorrect. While other tokens can be used to write to memory, they are not limited to "certain areas." Rather, they allow an attacker to write to any address that is on the stack or heap.

Option C is correct. With a successful format string attack, an attacker can read and write to memory at will. This can allow the attacker to access sensitive data, modify program behavior, or even execute arbitrary code.

Option D is incorrect. A successful format string attack can have serious consequences, making this option incorrect.

Therefore, the answer is: C.

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

To solve this question, the user needs to be familiar with the concept of different types of security vulnerabilities.

The answer to this question is A. Cross-Site Scripting (XSS).

Explanation:

A Cross-Site Scripting (XSS) attack occurs when an attacker injects malicious code into a web page that is viewed by other users. This attack typically takes advantage of vulnerabilities in web applications that do not properly validate user input.

In an XSS attack, the attacker may insert malicious code into a link that appears to be from a trustworthy source, such as a social networking site or an online banking application. When the victim clicks on the link, the malicious code is executed, allowing the attacker to steal sensitive information or take control of the victim's computer.

Option B, Buffer overflows, is a type of vulnerability that occurs when a program attempts to write more data to a buffer than it can hold. This can allow an attacker to overwrite critical data or execute malicious code.

Option C, Command injection, is a type of vulnerability that occurs when an attacker is able to execute arbitrary commands on a target system. This can allow the attacker to gain unauthorized access or perform other malicious actions.

Option D, Path traversal attack, is a type of vulnerability that occurs when an attacker is able to navigate to directories or files outside of the web root directory. This can allow the attacker to access sensitive files or execute malicious code.

Therefore, the correct answer is A. Cross-Site Scripting (XSS).

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

Rejecting invalid input outright and sending an error is the most secure response because it avoids processing potentially malicious payloads. Escaping or deleting characters can result in bypasses (e.g., nested sanitization bypasses) or unintended data modification, while accepting it and merely logging is completely insecure.

Multiple choice technology security
  1. Cross-Site Scripting

  2. SQL injection

  3. Command injection

  4. Directory traversal

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

Directory traversal (also called path traversal) attacks manipulate file paths using sequences like '../' to access files and directories outside the web document root. This can reveal source code, configuration files, or execute arbitrary files.

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

To prevent dictionary attacks on password hashes, one common technique is salting the hash.

Option A: Hashing the password twice is not a solution to prevent dictionary attacks. It is a technique called key stretching that makes brute-force attacks slower, but it does not prevent dictionary attacks.

Option B: Encrypting the password using the private key is not a solution to prevent dictionary attacks. Encryption is reversible, and an attacker with the private key can easily obtain the original password.

Option C: Using an encryption algorithm you wrote yourself is not a solution to prevent dictionary attacks. It is not recommended to invent your own encryption algorithm because it can have vulnerabilities that attackers can exploit.

Option D: Salting the hash is a technique that involves adding a random string of characters to the password before hashing. The salt is unique for each password and makes it difficult for an attacker to use precomputed hash tables (rainbow tables) to find the original password. Therefore, it is an effective method to prevent dictionary attacks.

Therefore, the correct answer is:

The Answer is: D

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

Hardcoded IP addresses are inflexible, difficult to maintain, and provide a false sense of security since IPs can be spoofed or change. Proper authentication and authorization should be based on user identity, not network location.