Fundamentals
1. What is the CIA triad?
Confidentiality (only authorised people see data), integrity (data is not altered improperly) and availability (systems work when needed).
2. Authentication vs authorisation?
Authentication proves who you are; authorisation decides what you are allowed to do.
3. What is least privilege?
Giving users and programs only the access they need, which limits the damage if an account is compromised.
4. What is defence in depth?
Layering several controls, such as firewalls, patching, MFA and monitoring, so one failure does not expose everything.
Networking
5. TCP vs UDP?
TCP is connection-oriented and reliable with ordered delivery; UDP is connectionless and faster but does not guarantee delivery.
6. Name some common ports.
22 SSH, 53 DNS, 80 HTTP, 443 HTTPS, 3389 RDP. Unexpected open ports are a frequent finding.
7. What does a firewall do?
It allows or blocks traffic based on rules such as source, destination, port and protocol.
8. What happens when you type a URL into a browser?
DNS resolves the name to an IP, a TCP connection and TLS handshake are made, an HTTP request is sent and the response is rendered.
Cryptography
9. Hashing vs encryption?
Hashing is one-way and used to verify data such as passwords; encryption is two-way and protects data so that authorised parties can decrypt it.
10. Symmetric vs asymmetric encryption?
Symmetric uses one shared key and is fast; asymmetric uses a public/private key pair and helps exchange keys and sign data. TLS uses both.
11. Why salt password hashes?
A unique salt per password stops attackers from using precomputed tables and hides identical passwords.
Common attacks
12. What is phishing?
Tricking people into revealing credentials or running malware, usually through deceptive emails or links. Training, filtering and MFA reduce the risk.
13. What is a brute-force attack and how do you stop it?
Trying many passwords. Use lockouts or rate limits, MFA and strong password rules, and monitor failed logins.
14. What is SQL injection?
Inserting malicious input into a database query. Prevent it with parameterised queries and input validation.
15. What is XSS?
Injecting script into a web page viewed by others. Prevent it by escaping output and using a content security policy.
Incident response
16. You see many failed logins then one success from a new country. What do you do?
Treat it as a likely compromise: verify with the user, lock or reset the account, check what the session accessed and escalate according to the playbook.
17. What are the phases of incident response?
Preparation, identification, containment, eradication, recovery and lessons learned.
18. Why are logs important?
They show what happened and when. Without reliable logs you cannot investigate or prove the scope of an incident.
Practise defensive skills in the free Cyber Security internship, or read the cyber security career guide.
Common questions
What is asked in a SOC analyst interview for freshers?
Networking basics, common ports, attack types such as phishing and brute force, the difference between hashing and encryption, and how you would handle a suspicious alert.
How should I answer scenario questions?
Explain how you would verify the alert, contain the risk, investigate the scope and escalate, following the organisation’s process.
