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. 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

To solve this question, the user needs to have a basic understanding of access control and network security.

Option A: Can be done as it is an internal IP

  • This option is partially correct. Implementing access control based on a hard-coded IP address can be done for internal IPs, since they are less likely to change or conflict with other IPs on the network. However, this alone does not guarantee security, and other measures such as firewalls and intrusion detection systems should also be in place.

Option B: Can be done for internet-facing servers as there are no chances of IP conflicts

  • This option is incorrect. Even for internet-facing servers, there are chances of IP conflicts, especially if the server is part of a larger network. Relying solely on hard-coded IP addresses for access control is not a good security practice.

Option C: Is a good security practice

  • This option is incorrect. While hard-coding IP addresses for access control can be part of a larger security strategy, it is not a good practice to rely solely on this method. Attackers can spoof IP addresses or gain access to a trusted IP address through various means. A more comprehensive security approach is needed.

Option D: Is a bad security practice

  • This option is partially correct. Relying solely on hard-coded IP addresses for access control is not a good security practice, as it is vulnerable to spoofing and other attacks. However, this does not mean that the practice is completely bad. It can be used in conjunction with other security measures, but should not be the only method of access control.

Therefore, the correct answer is:

The Answer is: D. Is a bad security practice

Multiple choice technology security
  1. Unvalidated input

  2. Lack of authentication

  3. Improper error handing

  4. Insecure configuration management

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

These major security vulnerabilities all stem from accepting untrusted user inputs without proper sanitization, validation, or escaping. Proper input validation mitigates the risk of execution or injection.

Multiple choice technology security
  1. Commercial applications

  2. Custom built applications

  3. In house developed applications

  4. All of the above

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

Configuration Management Security principles - version control, change approval, separation of duties, audit trails, and rollback procedures - apply universally across all software types. Whether commercial off-the-shelf, custom-built, or developed in-house, all applications require secure configuration management to prevent unauthorized changes and maintain system integrity.

Multiple choice technology security
  1. Encrypted data itself

  2. Asymmetric private key

  3. Symmetric key

  4. Asymmetric public key

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

In asymmetric cryptography, the public key is designed for distribution and encryption - revealing it doesn't compromise security. Encrypted data itself can be public without weakening the encryption. However, revealing the private key (asymmetric) or symmetric key would allow decryption, breaking confidentiality entirely.

Multiple choice technology security
  1. Data Validation

  2. Secure Cookies

  3. Encryption

  4. Comprehensive exception handling

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

Data validation (input whitelisting, type checking, length limits) is the primary defense against SQL injection - it ensures only expected input reaches the database. Secure cookies prevent theft but not injection, encryption protects data at rest (not query manipulation), and exception handling manages errors rather than preventing injection itself.

Multiple choice technology security
  1. Session ID

  2. Account Privileges

  3. UserName

  4. Password

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

Only the Session ID should be stored in a cookie - it's an opaque reference to server-side session data. Storing privileges, username, or especially passwords in cookies exposes sensitive information to theft (XSS, sniffing, physical access) and violates the principle of storing only identifiers, not authoritative data, on the client.

Multiple choice technology security
  1. Ensure that the data has not been tampered with

  2. Ensure that the session is valid

  3. Ensure that the user is valid

  4. All of the above

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

Data hashing creates a fixed-size fingerprint that detects tampering - if even one bit changes, the hash will be completely different. Hashing doesn't validate sessions (that's session management), doesn't validate users (that's authentication), and 'all of the above' is incorrect because hashing only addresses integrity, not authenticity or authorization.

Multiple choice technology security
  1. Cross Site Scripting

  2. Phishing

  3. SQL Injection

  4. HTTP Response Splitting

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

CRLF (%00%0A = Carriage Return + Line Feed) injection allows attackers to split HTTP responses by injecting malicious headers or content. This technique (HTTP Response Splitting) can lead to cache poisoning, XSS, or credential theft. XSS attacks inject scripts (not CRLF), phishing is social engineering, and SQL injection targets databases (not HTTP responses).

Multiple choice technology security
  1. The configuration management

  2. The session management

  3. The change management process

  4. The authorization process

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

Forced browsing attacks exploit inadequate authorization checks, allowing attackers to access restricted resources by guessing URLs or manipulating paths. A successful attack indicates the application fails to verify whether the authenticated user has permission to access the requested resource. Configuration, session, and change management are separate concerns.

Multiple choice technology security
  1. A mechanism that requires only a password

  2. Basic authentication

  3. 2/3 factor authentication

  4. A mechanism with no lock-out, to prevent accidentally denying legitimate access

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

Administrative interfaces are high-value targets for attackers and require stronger authentication than single-factor password-only mechanisms. Multi-factor authentication (2FA or 3FA) significantly reduces the risk of unauthorized access by requiring multiple independent verification factors. Basic authentication and password-only mechanisms are vulnerable to credential theft and brute force attacks.

Multiple choice technology security
  1. Sent to the user in a hidden field so that tech support can retrieve the information later

  2. Destroyed if it occurs to minimize the chances that this information might be inadvertently disclosed

  3. Logged on the server side

  4. A and C

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

Error messages containing stack traces or implementation details should never be sent to users as they reveal internal application structure to potential attackers. Instead, detailed error information should be logged securely on the server for administrator review. Users should receive generic error messages, while technical details are preserved server-side for troubleshooting and security monitoring.

Multiple choice technology security
  1. An administrative interface to an application

  2. When two users access each other's information

  3. A loop hole within an application that allows users to bypass the standard security flow by way of a secret token or identifier

  4. The connection between the application and the database

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

A backdoor is a hidden method of bypassing normal authentication and security controls, typically implemented through a secret token, special URL, or hardcoded credential. It deliberately circumvents the application's standard security flow, often left by developers for support or testing but posing severe security risks if discovered. Administrative interfaces and database connections are legitimate components, not backdoors.

Multiple choice technology security
  1. A backdoor

  2. An access control vulnerability

  3. A buffer over flow

  4. A SQL injection vulnerability

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

Hardcoded credentials that bypass standard authentication are a classic backdoor - they provide an alternative authentication method that wasn't part of the designed security flow. This differs from access control vulnerabilities (which are flaws in the designed controls), buffer overflows (memory corruption), or SQL injection (input validation issues). The defining characteristic is the deliberate, secret authentication path.

Multiple choice technology security
  1. Servers are generally configured in a secure manner when they are first installed

  2. It is impossible to securely configure a web server

  3. Out of the box settings normally meet what is called minimum baseline security standards

  4. The default settings on web servers are not generally secure

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

Web server default configurations prioritize ease of installation and functionality over security. They often include unnecessary features, default credentials, or permissive settings that must be manually hardened for production use.

Multiple choice technology security
  1. Filtering data with a default deny regular expression

  2. Running the application with the least privilege necessary

  3. Client side data validation

  4. Retrieving data from database using pre-compiled stored procedures

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

Client-side validation can be easily bypassed by disabling JavaScript, modifying requests, or using tools like proxy servers. Security controls must be implemented on the server where they cannot be tampered with by users.