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. Cross site Scripting

  2. Injection flaws

  3. Privilege Escalation

  4. None of the above

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

Privilege escalation cannot be handled by input validation alone. It's a logic flaw where users can access functions or data beyond their intended permissions. It requires proper authorization checks, access controls, and session management, not just input validation.

Multiple choice technology security
  1. uses different ports

  2. HTTPS is insure while HTTP is secure

  3. HTTPS is designed to withstand such attacks and is secure.

  4. Both 1 and 3

  5. Both 2 and 3

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

HTTP uses port 80 while HTTPS uses port 443. HTTPS provides security through SSL/TLS encryption. The question wording is vague - option C lacks context about which attacks, and option B has a typo ('insure' instead of 'insecure').

Multiple choice technology security
  1. Rootkit

  2. Denial of Service

  3. Zero Day

  4. Worm

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

A Zero Day vulnerability is a security flaw unknown to the software vendor, for which no patch exists. Attackers exploit these vulnerabilities before developers become aware and can release fixes, making them particularly dangerous.

Multiple choice technology security
  1. Keylogging

  2. Backdoor

  3. Phishing

  4. Masquerading

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

To solve this question, the user needs to be familiar with different hacking techniques. The user must identify the technique used by the hacker to obtain sensitive information from a victim.

The correct answer is:

C. Phishing

Explanation:

Phishing is a technique used by hackers to create a fake website or email to look like an original one to trick the victims into providing sensitive information, such as passwords, credit card numbers, or social security numbers. The fake website or email will usually contain a link to the original website, but when the victim clicks on the link, they will be directed to the fake website where the hacker can obtain their sensitive information.

Option A, Keylogging, is a technique used to record the keystrokes of a victim to obtain their login credentials.

Option B, Backdoor, is a technique used to create a hidden entry point to a computer system to gain access to it later.

Option D, Masquerading, is a general term that refers to any technique used to disguise oneself or one's activities.

Therefore, the correct answer is C. Phishing.

Multiple choice technology security
  1. Shell environment variables

  2. Data received via encrypted network channels

  3. argv[0] can only have either null or program name

  4. no external input must be trusted

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

In secure programming, a fundamental principle is that NO external input should be blindly trusted. Even encrypted network data can be malicious or corrupted. Shell environment variables can be manipulated by attackers. argv[0] is not guaranteed to be just the program name - it can be set to arbitrary values by the calling process. Only option D correctly states that no external input must be trusted without validation.

Multiple choice technology security
  1. DNS Spoofing

  2. Command Injection

  3. Path Traversal

  4. Command Injection AND Path Traversal

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

This question is poorly worded and incomplete - it references code that isn't shown. However, the intended answer appears to be that certain code vulnerabilities can lead to multiple attack types. Buffer overflows can enable command injection (by overwriting return addresses to inject shellcode) and path traversal (by manipulating string parameters). The question asks what else can go wrong given buffer overflow vulnerability.

Multiple choice technology security
  1. Information Leakage

  2. Cross Site Scripting

  3. Cross Site Tracing

  4. Option 1 AND Option 2

  5. Option 1 AND Option 3

  6. Command Injection

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

Line 6 directly outputs the 'searchID' parameter from the request without HTML encoding, allowing XSS injection (attacker can craft malicious searchID). The commented text also leaks implementation details (developer name, date, logic flow) which is information leakage. Both vulnerabilities coexist.

Multiple choice technology security
  1. auto-complete ON

  2. Improper usage of HTTP Method

  3. Developer Comments

  4. Option 2 AND Option 3

  5. Option 1 AND Option 3

  6. All

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

The code exhibits multiple security issues: sensitive credentials are left in developer comments, the form uses the GET method (exposing passwords in the URL), and autocomplete is not disabled on password fields.

Multiple choice technology security
  1. Content Spoofing

  2. HTTP Response Splitting

  3. Directory Listing

  4. Option 1 AND Option 2

  5. Option 2 AND Option 3

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

Unvalidated user input in a redirect allows Content Spoofing by manipulating the redirect location to arbitrary URLs, and HTTP Response Splitting by injecting CRLF characters (%0d%0a) to craft arbitrary response headers or body content.

Multiple choice technology security
  1. Create a hash of the document and encrypt the resulting hash using the signer's private key

  2. Encrypt the document using the signer's private key

  3. Encrypt the document using the signer's private key and create a hash of the encrypted document

  4. Encrypt the document using the signer's public key

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

Digital signatures work by creating a hash of the original document, then encrypting that hash with the signer's private key. This creates a fixed-size signature that can be verified by decrypting with the public key and comparing against a newly computed hash. The document itself isn't encrypted (options B, C, D) - digital signatures provide authenticity and integrity, not confidentiality.

Multiple choice technology security
  1. 1 AND 4

  2. 2 AND 4

  3. 1 AND 5

  4. 2 AND 5

  5. 1 AND 2 AND 4

  6. 1 AND 2 AND 5

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

XSS prevention requires two complementary approaches: Input Validation (whitelist allowed characters/patterns) and Output Encoding (escape dynamic output based on context). These neutralize malicious scripts. Releasing resources, least privilege, and URL access control address different security concerns (resource leaks, privilege escalation, authorization).

Multiple choice technology web technology
  1. getApplicationId()

  2. getSecurityLevel()

  3. getAuthenticationLevel()

  4. getApplicationSecurityLevel()

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

To retrieve the current security level in a PS (PeopleSoft) application, the getSecurityLevel() method is the appropriate API call. The other options are incorrect: getApplicationId() retrieves app identifier, getAuthenticationLevel() is not the standard method, and getApplicationSecurityLevel() is not the correct method name.