Computer Knowledge ยท General Awareness

Information Security

4,634 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. Get method should be used with a suitable encryption mechanism

  2. Submit method should be used with state of the art encryption algorithm

  3. POST method should be used with a suitable encryption mechanism

  4. Stored procedure to be used

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

When transmitting sensitive data, the POST method should be used instead of GET because POST parameters are included in the request body rather than the URL. This keeps sensitive information out of server logs, browser history, and referer headers. The data should still be encrypted using HTTPS or other suitable encryption to protect it during transit over the network.

Multiple choice technology security
  1. Only restrict and reduce availability

  2. Improve availability by allowing data to be easily placed where authorized users can access it

  3. Improve availability by increasing granularity of access controls

  4. Neither reduce nor improve availability

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

By encrypting database content, the data can be safely replicated, stored, or transported across public clouds or untrusted hosting environments. This allows authorized users to access data closer to them, improving overall availability without compromising confidentiality.

Multiple choice technology security
  1. Are unsafe because they typically rely on security by obscurity

  2. Are unsafe because buffer overflows cannot be effectively determined by random submission of data

  3. Are insecure because vendors do not test them

  4. Are secure because of encryption

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

Proprietary protocols and formats are often considered unsafe because they rely on security through obscurity - the idea that keeping the system secret makes it secure. This approach fails because security should not depend on secrecy of design; truly secure systems are those that remain secure even when their inner workings are fully known and can be independently audited by security researchers.

Multiple choice technology security
  1. Increased stability as the programs are protected against viral attack

  2. Enhanced reliability as users can no longer modify source code

  3. Reduced breaches of policy due to disclosure of information

  4. Possible denial of service if the keys are corrupted

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

Adding cryptography introduces complexity and potential failure points. If encryption keys are corrupted or become unavailable, the application may fail to decrypt necessary data, leading to denial of service. Cryptographic operations also consume significant computational resources and if not implemented carefully can create performance bottlenecks or timing-based attack vectors.

Multiple choice technology security
  1. Safe

  2. Protected

  3. Locked

  4. Secure

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

To solve this question, the user needs to know the different flags that can be set when creating a cookie and their purposes.

Now, let's go through each option and explain why it is right or wrong:

A. Safe: This flag indicates that the cookie should only be sent over an encrypted channel. It does not protect against other types of attacks such as cross-site scripting (XSS) or cross-site request forgery (CSRF). Therefore, this option is not correct for this question.

B. Protected: This flag is not a standard cookie flag. Therefore, this option is not correct for this question.

C. Locked: This flag is not a standard cookie flag. Therefore, this option is not correct for this question.

D. Secure: This flag indicates that the cookie should only be sent over an encrypted channel and helps protect against attacks such as XSS and CSRF. This is a good programming practice to ensure that sensitive information transmitted over cookies is secure. Therefore, the correct answer is:

The Answer is: D

Multiple choice technology security
  1. URL arguments

  2. hidden variables

  3. server side repository

  4. Cookie

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

A server-side repository (like a database or session store) keeps the actual sensitive data secure on the server, only transmitting a reference key. This is safer than cookies, URL parameters, or hidden inputs, which are exposed to client-side risks and logs.

Multiple choice technology security
  1. Session Hijacking

  2. Session Fixation

  3. Cross Site Scripting

  4. SQL injection

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

Stored procedures parameterize queries, separating input data from the SQL command structure. This prevents untrusted user authentication payloads from executing arbitrary SQL commands, effectively mitigating SQL injection attacks, whereas it does not directly address session fixation or hijacking.

Multiple choice technology security
  1. SQLiX

  2. WebScarab

  3. ParosProxy

  4. NMAP

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

SQLiX is an automated SQL injection scanner and exploitation tool that detects vulnerability entry points, SQL dialect types, and potential database takeover options. General tools like NMAP are for network scanning, and Paros or WebScarab act as intercepting proxies.

Multiple choice technology security
  1. Assent

  2. Consult

  3. Masketeer

  4. SQUARE

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

SQUARE (Security Quality Requirements Engineering) is a structured, nine-step methodology developed by Carnegie Mellon University specifically designed to help organizations identify and prioritize software security requirements during early development phases, unlike general consulting or data masking tools.

Multiple choice technology security
  1. SQL Injection

  2. Bufer Overflow

  3. Brute Force Attacks

  4. None of the above

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

CAPTCHAs verify that an agent attempting an action is human. This blocks automated bots, preventing them from performing automated credential stuffing or brute force login attempts. However, it does not directly prevent input injection or buffer exploits.

Multiple choice technology security
  1. SQL Injection

  2. CSRF

  3. Path Manipulation

  4. Denial of Service

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

LOIC (Low Orbit Ion Cannon) is a network stress testing and DoS attack tool that floods a target with TCP, UDP, or HTTP packets. It overwhelms the target's resources by sending massive volumes of traffic from multiple sources, making the service unavailable to legitimate users. It has been used in various high-profile DDoS attacks by hacktivist groups.

Multiple choice technology security
  1. Server Misconfigurations

  2. Buffer Overflow

  3. Brute Force Attacks

  4. None of the above

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

ASLR randomizes memory address locations to make it harder for attackers to predict where code and data are stored, while DEP prevents code execution from certain memory regions like the stack and heap. Together they effectively mitigate buffer overflow attacks by making it difficult for attackers to predict where to jump to execute their shellcode and preventing execution in writable memory regions.

Multiple choice technology security
  1. Attacker changes the privilege level through a script

  2. Attacker uploads a message that contains client side code that attacks anyone that reads it.

  3. A script is run at the attackers machine

  4. None of the above

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

Stored Cross-Site Scripting (XSS) occurs when an attacker uploads or injects a malicious script onto a target server (such as in a comment section). The script then executes inside the browser of any user who retrieves and reads that content, attacking the client side.

Multiple choice technology security
  1. "Cache-Control: do not-cache, do not save"

  2. "Cache-Control: do not-save, do not store"

  3. "Cache-Control: no-cache, no store"

  4. "Cache-Control: do not cache"

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

To solve this question, the user needs to know about caching and how to prevent sensitive data from being cached on clients or proxies.

Option A: "Cache-Control: do not-cache, do not save" - This option is not entirely correct. Although the "do not-cache" directive will prevent the client or proxy from caching the data, there is no "do not save" directive in the Cache-Control header field.

Option B: "Cache-Control: do not-save, do not store" - This option is incorrect. There is no "do not-save" or "do not store" directive in the Cache-Control header field.

Option C: "Cache-Control: no-cache, no store" - This option is correct. The "no-cache" directive indicates that the client or proxy should not use a cached copy of the data for subsequent requests, but it should revalidate the data with the origin server. The "no-store" directive indicates that the client or proxy should not store the data in any form of cache. Together, these directives ensure that sensitive data is not cached on the client or proxy.

Option D: "Cache-Control: do not cache" - This option is not entirely correct. The "do not cache" directive will prevent the client or proxy from caching the data, but it does not prevent the data from being stored in other forms of cache.

Therefore, the correct answer is:

The Answer is: C

Multiple choice technology security
  1. Error Messages

  2. Services

  3. Packaging

  4. Response Codes

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

Services represent functional interface endpoints where clients interact with the application. Unlike error messages or response codes (which are outputs) or packaging (which is a deployment structure), services are direct entry channels through which external systems input data, making them key entry points.