85 cybersecurity questions with answers, selected from the Scope In Science question bank. They cover networking, cryptography, SOC and blue team defence, ethical hacking, VAPT and web application security, and are useful for interviews and certifications such as CEH, Security+ and OSCP. Try to answer each one before reading the answer.
Blue Team: Security Operations & Defence questions and answers
A firewall is which kind of control?
Answer: Preventive (technical)
It blocks unwanted traffic before harm occurs.
A security policy document is an example of an?
Answer: Administrative control
Policies, procedures and training are administrative.
The 3-2-1 backup rule means?
Answer: 3 copies, 2 media types, 1 off-site
Ideally one copy is also offline/immutable.
Which MFA method is most phishing-resistant?
Answer: FIDO2 security key / passkey
Origin-bound cryptographic keys cannot be replayed on fake sites.
A new mailbox rule forwarding all mail to an external address is a sign of?
Answer: Possible account compromise
Attackers use forwarding rules to keep access to mail.
Which is a compensating control?
Answer: Extra monitoring when a legacy system cannot be patched
An alternative safeguard when the primary one isn't feasible.
Chain of custody documents?
Answer: Who handled evidence, when and why
Required for evidence to be trusted, especially in court.
Hashing a forensic image proves?
Answer: It has not been altered
Any change alters the hash.
Running a suspicious file in an isolated environment to observe it is?
Answer: Dynamic analysis in a sandbox
Behaviour is observed safely.
Extracting strings and imports from a binary without running it is?
Answer: Static analysis
Static analysis does not execute the sample.
Restoring from backup after ransomware is which control type?
Answer: Corrective
Corrective controls fix things after an event.
SPF helps email security by?
Answer: Listing servers authorised to send for a domain
Receivers check the sending IP against the SPF record.
Application allow-listing?
Answer: Only permits approved programs to run
Unknown executables are blocked by default.
Authorisation answers the question?
Answer: What are you allowed to do?
Authentication = identity; authorisation = permissions.
Patches should be prioritised by?
Answer: Severity and whether exploits exist in the wild
Actively exploited critical bugs come first.
Phishing simulations and awareness training mainly address?
Answer: The human factor
Trained users report and resist social engineering.
Practise more Blue Team: Security Operations & Defence questions: free Blue Team: Security Operations & Defence practice set · full course
Bug Bounty & Web Application Security questions and answers
The standard defences against CSRF are?
Answer: Anti-CSRF tokens and SameSite cookies
Requests without the token are rejected.
An open redirect is dangerous mainly because it?
Answer: Helps phishing and can leak OAuth tokens
Users trust the legitimate domain in the link.
A path traversal payload typically contains?
Answer: ../
Moves up directories to read other files.
A CORS policy that reflects any Origin and allows credentials can let?
Answer: A malicious site read authenticated API responses
Origins must be strictly allow-listed.
A safe file upload feature should?
Answer: Validate type, rename files and store them outside the web root
Prevents uploading executable scripts.
The SameSite cookie attribute helps defend against?
Answer: CSRF
Restricts sending cookies on cross-site requests.
An SBOM (software bill of materials) helps with?
Answer: Knowing which components and versions you use
Essential for tracking vulnerable components.
Which is the best fix for SSRF?
Answer: Allow-list permitted destinations and block internal ranges
Restrict where the server can connect.
Clickjacking is prevented with?
Answer: X-Frame-Options or CSP frame-ancestors
Stops the page being framed by other sites.
Subdomain takeover happens when?
Answer: A DNS record points to a deleted cloud resource someone else can claim
Attacker serves content on the victim's subdomain.
Applying the same coupon many times in parallel requests to exceed limits exploits a?
Answer: Race condition / business logic flaw
Needs atomic server-side checks.
Unlimited attempts on a 6-digit OTP endpoint is a?
Answer: Rate-limiting / authentication weakness
OTPs can be brute-forced without limits.
Mass assignment in an API means?
Answer: The API binds extra client fields such as isAdmin to the object
Use explicit allow-lists of writable fields.
BOLA in the OWASP API Top 10 is essentially?
Answer: IDOR for APIs
Broken Object Level Authorization.
Strict-Transport-Security (HSTS) tells browsers to?
Answer: Always use HTTPS for the site
Prevents SSL-stripping downgrades.
X-Content-Type-Options: nosniff prevents?
Answer: MIME-type sniffing by the browser
Files are treated only as their declared type.
Logging failures (A09) mainly cause?
Answer: Attacks to go undetected
No logs, no detection or forensics.
Sessions not invalidated on logout allow?
Answer: Reuse of a stolen session token after logout
Server must destroy the session.
Business logic flaws are often missed by automated scanners because?
Answer: They need understanding of how the app is supposed to work
Manual testing finds them.
Practise more Bug Bounty & Web Application Security questions: free Bug Bounty & Web Application Security practice set · full course
Networking Fundamentals for Security questions and answers
Why is egress (outbound) filtering useful?
Answer: It stops malware calling home and data leaving
Controlling outbound traffic limits command-and-control and exfiltration.
Which wireless security standard is considered broken?
Answer: WEP
WEP's RC4 implementation with weak IVs can be cracked quickly.
Which IPsec protocol provides encryption?
Answer: ESP
ESP (Encapsulating Security Payload) encrypts; AH only authenticates.
Which tool captures and analyses packets with a graphical interface?
Answer: Wireshark
Wireshark is the standard packet analyser.
Which algorithm is symmetric?
Answer: AES
AES uses the same key to encrypt and decrypt.
In asymmetric encryption, data encrypted with a public key is decrypted with?
Answer: The matching private key
Only the private key of the pair can decrypt it.
Which hash algorithm is considered broken for collision resistance?
Answer: MD5
Practical MD5 collisions have existed for years.
A salt in password storage is used to?
Answer: Defeat pre-computed rainbow tables
A unique random salt makes identical passwords hash differently.
Which is the best choice for storing user passwords?
Answer: Argon2 or bcrypt
Slow, salted, adaptive algorithms resist brute force.
A digital signature provides?
Answer: Integrity, authentication and non-repudiation
Signing with the private key proves who sent it and that it was not changed.
Who signs an X.509 certificate?
Answer: A Certificate Authority
CAs vouch for the binding between a public key and an identity.
The 'A' in the CIA triad stands for?
Answer: Availability
Confidentiality, Integrity, Availability.
Which SNMP version adds authentication and encryption?
Answer: v3
SNMPv3 supports user-based security; v1/v2c send community strings in clear text.
Zero Trust architecture means?
Answer: Verify every request regardless of location
Never trust, always verify – identity, device and context are checked continuously.
WPA3 improves on WPA2-PSK mainly by using?
Answer: SAE, which resists offline dictionary attacks
Simultaneous Authentication of Equals replaces the PSK 4-way handshake weakness.
TLS uses asymmetric cryptography mainly to?
Answer: Agree/exchange a symmetric session key and authenticate the server
Bulk data is encrypted with the fast symmetric key.
Practise more Networking Fundamentals for Security questions: free Networking Fundamentals for Security practice set · full course
Red Team & Ethical Hacking Concepts questions and answers
The best defence against credential stuffing is?
Answer: MFA plus breached-password checks
Stolen passwords alone are then not enough.
An 'unquoted service path' is a privilege escalation issue on?
Answer: Windows
Windows may execute a planted binary from a path containing spaces.
In an authorised test, sensitive data access should be proven by?
Answer: Minimal evidence such as a screenshot or marker file
Testers avoid taking real data.
A bind shell is often blocked because?
Answer: Inbound connections to new ports are filtered by firewalls
The attacker must connect in.
Which publicly lists known vulnerabilities with identifiers?
Answer: CVE
Common Vulnerabilities and Exposures.
The payload in an exploit is?
Answer: The code that runs after successful exploitation
e.g. a shell or a command.
Hashcat and John the Ripper are used for?
Answer: Offline password hash cracking
They test hashes against word lists and rules.
Going from a normal user to root/SYSTEM is?
Answer: Vertical privilege escalation
Vertical = higher privilege level.
Accessing another user's data at the same privilege level is?
Answer: Horizontal escalation
Same level, different user.
On Linux, a binary with the SUID bit runs with?
Answer: The file owner's privileges
A SUID root binary that can be abused leads to root.
Creating a scheduled task to regain access after reboot is?
Answer: Persistence
Persistence survives restarts.
Moving from one compromised host to another inside the network is?
Answer: Lateral movement
Often using stolen credentials or hashes.
Pass-the-hash attacks reuse?
Answer: NTLM password hashes for authentication
The hash itself is accepted for NTLM authentication.
Misconfigured sudo rights allowing a user to run an editor as root can lead to?
Answer: Privilege escalation
Many programs can spawn a shell.
Default credentials are dangerous because?
Answer: They are published and widely known
Always change defaults.
Practise more Red Team & Ethical Hacking Concepts questions: free Red Team & Ethical Hacking Concepts practice set · full course
VAPT: Vulnerability Assessment & Penetration Testing questions and answers
An attack narrative in a report shows?
Answer: How findings were chained to reach objectives
Demonstrates real-world impact.
The vulnerability management lifecycle starts with?
Answer: Asset discovery
You can't protect what you don't know you have.
A finding marked 'risk accepted' means?
Answer: Management chose not to fix it and accepts the risk
A documented business decision.
Which belongs in 'Scope and methodology'?
Answer: Targets, dates, test type and limitations
Defines what was and wasn't tested.
The limitations section of a report explains?
Answer: What could not be tested and why
Readers need to know coverage gaps.
Which is NOT normally part of a findings entry?
Answer: Tester's personal social media
Keep reports professional.
A critical vulnerability on an Internet-facing server with a public exploit should be?
Answer: Remediated urgently
High exploitability + exposure.
Why is a VAPT report considered the main deliverable?
Answer: It is the lasting record that drives fixes
The value of the test lives in the report.
Which phase follows remediation in the vulnerability management lifecycle?
Answer: Verification
Confirm the fix worked.
A finding's 'impact' describes?
Answer: What an attacker could achieve and what it means for the business
Connects technical issue to business risk.
Screenshots in reports should have?
Answer: Sensitive data such as passwords and personal data redacted
Reports are sensitive documents.
VAPT reports should be shared?
Answer: Only with authorised people, encrypted
They describe how to break in.
Severity in findings is usually expressed with?
Answer: CVSS rating
A standard scale aids prioritisation.
Continuous scanning plus periodic penetration tests is recommended because?
Answer: Scans catch new known issues quickly; pentests find deeper chained issues
The two complement each other.
Recommendations should prefer fixing?
Answer: Root causes
Root-cause fixes stop variants too.
After the engagement, test accounts and uploaded files should be?
Answer: Removed and the clean-up documented
Leftovers create new risk.
Mapping a finding to a CWE helps developers?
Answer: Find training and fixes for that weakness class
CWE explains the underlying weakness.
Data collected during a test should be deleted?
Answer: According to the agreed retention period
Agreed in the rules of engagement.
Strategic recommendations in an executive summary might include?
Answer: Introduce secure development training and a patch management process
Address patterns behind multiple findings.
Practise more VAPT: Vulnerability Assessment & Penetration Testing questions: free VAPT: Vulnerability Assessment & Penetration Testing practice set · full course
Want more practice?
Every chapter on Scope In Science has theory notes and a full question bank with answers. Start with the free lessons and practice questions, or see plans and pricing.