learn deep. ship safe.Practice testsFollow ByteMunSubscribe
Cybersecurity · Fresher

Cybersecurity Interview Questions for Freshers

Cybersecurity interview questions for freshers and students: the CIA triad, threats and vulnerabilities, hashing versus encryption, MFA, phishing, TLS, least privilege and salting. Each answer explains why the other options are wrong.

CoversAccess controlAuthenticationCryptographyFundamentalsIdentityNetwork securityPasswordsPhishingRiskSocial engineering

Practice questions with answers

Tap an option: green is right, red is wrong, and the explanation says why.

0/10 answered · ✓ 0 ✗ 0
Question 1 of 101 / 10
Q1Choose one answereasy

What does the CIA triad in security stand for?

Show answer and explanation

Answer: D. Confidentiality, integrity and availability

The CIA triad is the basic model for what security protects. Confidentiality means only authorised people can read data (encryption, access control); integrity means data isn't changed without detection (hashes, signatures); availability means systems are usable when needed (redundancy, DDoS protection). Most incidents can be described as a failure of one of the three, for example ransomware attacks availability. The other options are made-up expansions or a government agency.

Q2Choose one answereasy

What is the difference between a threat, a vulnerability and a risk?

Show answer and explanation

Answer: C. A vulnerability is a weakness, a threat is something that could exploit it, and risk is the likelihood and impact of that happening

An unpatched server is a vulnerability; ransomware gangs scanning for it are a threat; the risk is how likely they are to succeed and how bad the damage would be. Security work is mostly about reducing risk: patching removes the vulnerability, a firewall reduces exposure to the threat, backups reduce the impact. Interviewers use this question to check you can prioritise. The terms aren't synonyms, the second option swaps them, and risk applies to every system.

Q3Choose one answereasy

What is the main difference between hashing and encryption?

Show answer and explanation

Answer: D. Hashing is one-way and can't be reversed; encryption is two-way, so data can be decrypted with the right key

A hash function turns any input into a fixed-size digest that can't be turned back into the input, which suits integrity checks and password storage. Encryption scrambles data so that someone with the key can recover the original, which suits protecting data in transit and at rest. Encoding, such as Base64, is a third thing: a reversible format change with no secret at all, so it is never protection. Hashes don't need keys (HMACs do), and encryption is used far beyond passwords.

Q4Choose one answereasy

Why does multi-factor authentication (MFA) stop most account-takeover attacks?

Show answer and explanation

Answer: B. A stolen or guessed password alone isn't enough; the attacker also needs something else the user has or is

Most account takeovers start with a leaked, reused or phished password. MFA adds a second factor such as an authenticator app, a security key or a fingerprint, so the password by itself no longer opens the account. Phishing-resistant methods such as passkeys and FIDO2 keys are strongest, because they won't sign in to a fake site. MFA doesn't change password length, doesn't encrypt disks, and doesn't stop phishing emails from arriving.

Q5True or falseeasy

True or false: a padlock icon and HTTPS mean a website is safe and run by a trustworthy company.

Show answer and explanation

Answer: False

False. HTTPS means the connection is encrypted and that the browser is talking to the domain shown in the address bar, so nobody on the network can read or change the traffic. It says nothing about who runs the site or whether it is honest: phishing sites get free certificates too. Users should check the domain itself, and organisations should train people to treat the padlock as "private connection", not "trustworthy site".

Q6Choose one answereasy

What is the principle of least privilege?

Show answer and explanation

Answer: B. Give every user, service and process only the access it needs to do its job, and nothing more

Least privilege limits the damage when an account or service is compromised: a stolen marketing login can't touch the payroll database if it never had access. In practice it means role-based access, short-lived elevated rights, separate admin accounts and reviewing permissions regularly. Broad admin access is exactly what attackers hope to find, cost isn't the principle, and self-chosen permissions defeat the purpose.

Q7Choose one answermedium

Why is a unique random salt added to each password before hashing it?

Show answer and explanation

Answer: C. So identical passwords get different hashes, which defeats precomputed rainbow tables and stops one cracked hash revealing others

Without salts, every user with the password Summer2026! has the same hash, and attackers can look hashes up in huge precomputed tables. A random per-user salt, stored next to the hash, makes every hash unique, so each must be attacked separately. Salting doesn't make hashes reversible or shorter, and it works together with a slow password-hashing algorithm such as Argon2 or bcrypt, not instead of hashing.

Q8Choose one answermedium

How does symmetric encryption differ from asymmetric (public-key) encryption?

Show answer and explanation

Answer: A. Symmetric uses one shared secret key for encrypting and decrypting; asymmetric uses a public key and a matching private key

Symmetric ciphers such as AES are fast but both sides need the same secret, which is hard to share safely. Asymmetric schemes such as RSA or elliptic curves let anyone encrypt with your public key (or verify your signature) while only your private key can decrypt (or sign). Real protocols such as TLS combine them: public-key cryptography to agree on a key, then fast symmetric encryption for the data. Asymmetric is slower, not faster.

Q9Choose one answermedium

An employee gets an urgent email from the "CEO" asking them to buy gift cards and send the codes. What is this?

Show answer and explanation

Answer: B. A business email compromise or phishing attempt using social engineering; verify through a separate, known channel

Urgency, authority and an unusual payment method are classic social-engineering signs. Attackers spoof or compromise executive accounts because people hesitate to question the boss. The right response is to verify through a channel you already trust, such as calling the CEO's known number, and report it to security. It isn't a denial-of-service attack, and no software flaw is needed: the attack targets people and process, which is why awareness training and payment approval rules matter.

Q10Choose one answermedium

What does a stateful firewall do?

Show answer and explanation

Answer: C. It filters traffic by rules and tracks connections, so replies to allowed outbound traffic are let back in automatically

A firewall allows or blocks traffic based on rules such as source, destination, port and protocol. A stateful firewall also remembers established connections, so return traffic for a session a user started is allowed without opening that port to everyone. It isn't antivirus and doesn't encrypt traffic, and blocking replies would break almost everything. Next-generation firewalls add application awareness, but the stateful idea is the foundation.

Take it as a timed test

  • 12 questions
  • 15 min
  • Pass mark 60%
  • Answers shown at the end

Sign in with your email to take the test: we send a 6-digit code, no password. Your scores and reports are saved to your account. The test also uses 10 questions that aren't shown above, so practise for understanding, not memory.

About this paper

This freshers paper covers the cybersecurity basics that every interviewer checks, whether the role is SOC analyst, security engineer or a developer who needs to write secure code: the CIA triad, how a threat differs from a vulnerability and a risk, why hashing is not encryption, what HTTPS actually protects, and why multi-factor authentication stops most account takeovers. Ten questions are on this page with full explanations. Each timed test draws 12 questions from a larger bank, including ones that aren't shown here, so every attempt is different: practise for understanding rather than memory.

Answer each one before opening the explanation, then take the timed test: 15 minutes, a pass mark of 60%, and a report that shows which topics cost you marks.

Written by Published Answers checked by Deepak

More Cybersecurity quizzes

All Cybersecurity quizzes →