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
-
CONFIDENTIALITY
-
INTEGRITY
-
AVAILABILITY
-
ACCOUNTABILITY
B
Correct answer
Explanation
Integrity refers to safeguarding the accuracy and completeness of assets and ensuring consistent, unaltered behavior under various conditions, including tampering or overload. Confidentiality ensures data privacy, availability ensures uptime, and accountability tracks actions; none of these directly define the requirement for consistent functionality under tampering.
-
Denial of Service
-
Data Manipulation
-
Authentication bypass
-
Directory Listing and Traversal
D
Correct answer
Explanation
SQL injection allows attackers to bypass authentication, manipulate data (insert, update, delete), and cause denial of service by executing intensive queries. Directory listing and traversal is a path-based vulnerability, not a direct outcome of SQL injection.
-
URL/HTML encoding
-
Blacklisting
-
Whitelisting
-
Parameterized SQL queries in application code/configuration
A
Correct answer
Explanation
Cross-Site Scripting (XSS) occurs when untrusted data is executed as code. To display special characters like tags safely without execution, you must HTML-encode them - converting < to <, > to >, etc. This renders the characters visually but they're not parsed as HTML/JavaScript. Option A (URL/HTML encoding) is correct. Blacklisting (B) is unreliable, whitelisting (C) doesn't solve display, and parameterized SQL (D) prevents SQL injection, not XSS.
-
Distinguishing a computer from a human, primarily to restrict the access
-
Supporting multifactor authentication
-
Provide a secure channel for client server communication
-
Providing a friendly interface between human and computers
A
Correct answer
Explanation
CAPTCHA is designed to differentiate humans from bots by presenting tasks easy for humans but hard for computers. This prevents automated abuse like spam, brute-force attacks, and bot registrations. Option A correctly identifies its primary purpose of access restriction based on humanity verification. The other options confuse CAPTCHA with security concepts like MFA (B), encrypted communication (C), or UX design (D).
-
Input Validation
-
Configuration Management/Insecure Configuration
-
Error Handling
-
Denial of Service
B
Correct answer
Explanation
Exposing backup files in hidden directories is a misconfiguration vulnerability. Proper configuration management should restrict access or move sensitive files outside web root. Input validation (A) checks user data, not file exposure. Error handling (C) manages exceptions, and DoS (D) concerns availability attacks. The issue stems from improper server/file system configuration.
-
Spoofing
-
Tampering
-
Repudiation
-
Denial of Service
C
Correct answer
Explanation
Repudiation threats involve a user denying legitimate actions they performed. Non-repudiation mechanisms like digital signatures and audit logs provide evidence of transactions. Spoofing (A) is impersonation, tampering (B) is unauthorized modification, and DoS (D) disrupts availability. The scenario describes a classic repudiation risk where a user falsely denies executing a transaction.
-
SSL/TLS Implementation
-
URL/HTML Encoding
-
Using parameterized queries
-
Configuring web server to restrict directory listing
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.
-
Authentication testing
-
Session Management
-
Information Gathering
-
Authorization Testing
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.
-
Finding default files and directories
-
Finding maximum attempts for account lockout
-
Finding a password for a given user ID
-
Finding the information displayed on a validation CAPTCHA
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.
-
Rescure, Strategise & Act
-
Rescure, Secure & Act
-
Rivest, Shamir & Adleman
-
Ruskin, Shammy & Atkinson
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.
-
Group based access control should be implemented to assign permissions to application users
-
Consistent authorization checking should be performed on all application pages
-
A set of all allowable actions should be defined for each user role and all other's denied
-
All failed access authorization requests should be logged to a secure location for review by administrators
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.
-
TCS Security API
-
TCS Security Library
-
TCS Application Security API
-
TCS e-Security Library
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.
-
No. Because leads to insecure storage of private information of the customer
-
Yes. Because it is a good logging practice to log all relevant information during an exception
-
Yes. Because it will help in troubleshooting specific customer problems
-
No. Because its an additional over head
A
Correct answer
Explanation
Credit card numbers must NOT be logged during exceptions as it creates insecure storage of sensitive customer data, violating PCI-DSS and privacy requirements. Options B and C incorrectly suggest it's good practice or helps troubleshooting. The security risk outweighs any troubleshooting benefit.
-
Client (Browser)
-
Database
-
Web Application
-
Web Server
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.
-
Secure
-
Domain
-
Expires
-
Static
A
Correct answer
Explanation
The Secure cookie flag ensures cookies are only transmitted over encrypted HTTPS connections, preventing their interception over insecure HTTP channels. The Domain flag specifies cookie scope, Expires sets cookie lifetime, and Static is not a valid cookie attribute.