WorksheetsCybersecurity Quiz
Total questions: 52
Worksheet time: 26mins
What does HTTP stand for?
High Text Transfer Protocol
HyperText Transfer Protocol
Host Transfer Type Protocol
Hyperlink Transfer Protocol
Which HTTP method is idempotent and typically used for updating a resource?
POST
DELETE
PUT
PATCH
Status code 302 indicates:
Resource not found
Permanent redirect
Temporary redirect
Internal server error
Which header allows a client to tell the server which types of content it can process?
Accept
Host
Cookie
Referer
When resolving a domain name, which record maps an IP address back to a hostname?
A record
MX record
PTR record
TXT record
An attacker injects script into a form field that executes in a victim's browser. What vulnerability is this?
SQL Injection
XSS (Cross-site scripting)
CSRF
Broken Access Control
Which OWASP Top 10 category refers to unpatched software potentially exploitable by attackers?
Injection
Sensitive Data Exposure
Components with Known Vulnerabilities
Broken Authentication
Scenario: A user bypasses hostname validation and proceeds to accept a self-signed certificate habitually. What security principle is most violated?
Integrity
Confidentiality
Availability
Authentication
What does CSRF stand for?
Client-Side Resource Forgery
Cross-Site Request Forgery
Cookie Security Rule Framework
Cross-Site Resource Form
In Metasploit, what is a 'payload'?
A vulnerability scanner
A malicious module executed on the target
A firewall rule
A data exfiltration method
Which command launches the Metasploit console on Linux?
msfstart
msfconsole
metasploit
startmsf
Scenario: A pentester uses Burp Suite to intercept web traffic by configuring HTTP traffic routing through the AttackBox on port 8080. This illustrates which method?
SQL Injection
Proxy-based MITM
XSS exploitation
DNS spoofing
'Auxiliary' modules in Metasploit are used primarily for:
Exploiting vulnerabilities
Creating persistent access
Scanning and reconnaissance
Delivering payloads
Meterpreter is a type of:
Scanner
Payload
Firewall tool
Brute-force utility
What does antivirus software primarily do?
Encrypt files
Detect and remove malware
Patch systems
Enable remote admin access
The process of securing a system by reducing its attack surface is called:
Patch Management
OS Hardening
VPN Deployment
Firewall Configuration
Regular patching helps in:
Slowing down performance
Eliminating vulnerabilities
Increasing downtime
Blocking malware backups
Scenario: A hospital encrypts stored patient data, but ransomware still stops staff from accessing it. Which principle of the CIA triad has been compromised?
Confidentiality
Integrity
Availability
Non-repudiation
Implementing fingerprint-based access to server racks is an example of which security control type?
Administrative
Logical
Physical
Detective
Which risk management phase involves identifying threats and vulnerabilities?
Detection
Response
Identification
Recovery
Defense-in-depth refers to:
Relying solely on firewalls
Using multiple security layers
Outsourcing security completely
Encrypting data only at rest
Scenario: A healthcare worker shares credentials in response to a fake call from 'IT support.' What type of social engineering is this?
Tailgating
Pretexting
Phishing
Baiting
Least Privilege principle ensures:
Everyone has admin rights
Access only what's necessary
Open access to all systems
Centralized password storage
Segregation of Duties prevents:
Role confusion
Single-person control over critical tasks
Access control failures
Redundancy in task assignments
Which stage of SDLC is ideal for performing threat modeling?
Design
Testing
Implementation
Deployment
OWASP stands for:
Official Web Application Security Protocol
Open Web Application Security Project
Online Web Attack Standards Project
Open Website Access Security Policy
Integrity in cybersecurity ensures:
Data is always accessible
Data hasn't been tampered with
Unauthorized access is prevented
Operations resume quickly after an attack
Non-repudiation means:
No one can deny their actions
Always available data
Secure backups
Encrypted transmissions
Which framework categorizes attacker behaviors and techniques?
NIST CSF
MITRE ATT&CK
ISO 27005
COBIT
Scenario: A hospital staffer uses default credentials on a new medical device. Which principle is violated?
Confidentiality
Integrity
Availability
Least Privilege
Scenario: Logs are collected but not reviewed, missing signs of intrusion. What kind of control failed?
Preventive
Detective
Physical
Administrative
Scenario: A system hashes passwords but uses MD5. What is the risk?
Weak hashing may be brute forced easily
It slows down login
Validates user identity
Prevents rainbow table attacks
Scenario: A web app trusts data from a third-party API without validating it. Which security requirement is not met?
Confidentiality
Availability
Input Validation
Encryption
Scenario: During incident response, a team isolates affected systems. Which stage is this?
Detection
Containment
Recovery
Identification
Scenario: For GDPR compliance, which principle ensures users' data is erased upon request?
Integrity
Confidentiality
Availability
Right to Erasure (Privacy)
Scenario: A website permits unlimited login attempts without lockout. What risk is this?
XSS
Brute Force
SQL Injection
CSRF
Scenario: A janitor gains tailgate access into a data floor. Which security lapse occurred?
Logical access failure
Physical security failure
Administrative error
Data leak
Scenario: A cloud config allows public read, exposing patient data. What principle is compromised?
Availability
Integrity
Confidentiality
Auditability
Scenario: A log file uses timestamps from different time zones, complicating audits. What security aspect is affected?
Integrity
Availability
Audit Effectiveness
Confidentiality
In HTTPS, what ensures server identity to the client?
Symmetric key
Certificate Authority (CA)
DNSSEC
IP address
HTTP/2 is faster than HTTP/1.1 because it uses:
Multiple TCP connections
Header compression and multiplexing
UDP instead of TCP
Stateless requests
DNS Spoofing involves:
Encrypting DNS queries
Redirecting traffic via fake DNS responses
Blocking DNS queries
Creating DNS logs
A web server responds with Cache-Control: no-store. This affects which aspect?
Integrity
Confidentiality
Non-repudiation
Privacy by preventing caching
Scenario: An admin manually reviews access logs every month. This is a form of:
Proactive Monitoring
Reactive Auditing
User Training
Physical Control
The principle of 'defense-in-depth' advocates for:
A single strong firewall
Multiple overlapping security layers
Encrypting only sensitive data
Outsourcing security tests
Scenario: A hospital uses both passwords and fingerprint scanners. This is an example of:
Single factor authentication
Biometric replication
Multi-Factor Authentication (MFA)
Single sign-on (SSO)
Scenario: A researcher hashes a file before altering it. What does this help ensure during forensic analysis?
Availability
Confidentiality
Integrity
Non-repudiation
Scenario: An insider installs a hidden rootkit on workstations. Which security principle is mainly jeopardized?
Integrity
Confidentiality
Availability
Authentication
Scenario: An API uses bearer tokens that never expire. This violates:
Confidentiality
Least Privilege
Time-bound Access (Security Principle)
Integrity
Which component renders content directly in your browser?
Back End
Front End
Middleware
Database
Which language defines the structure of a webpage?
JavaScript
HTML
Python
SQL
If an image tag is missing its extension, what must you do to make it load?
Add CSS
Add .jpg or appropriate extension
Change the file path
Use a
