Cyber Security Interview Questions & Answers
All 200 unique questions in one place — 58 easy, 95 medium, 47 hard — grouped by topic.
Practise by topic
Practise the way your interview works
What is the difference between a threat, a vulnerability and a risk?
Show answer
What is defence in depth?
Show answer
What is the principle of least privilege?
Show answer
Explain the difference between symmetric and asymmetric encryption at a basic level.
Show answer
What is the difference between hashing and encryption?
Show answer
What is social engineering and what are its common forms?
Show answer
What is malware and how do virus, worm, trojan and ransomware differ?
Show answer
What is the difference between a vulnerability assessment and a penetration test?
Show answer
What is the difference between authentication, authorisation and accounting?
Show answer
Tell me about a time you found a security issue that nobody asked you to look at.
Show answer
How would you verify the integrity of a downloaded installer on Windows and Linux?
Show answer
How do you generate a strong random secret or password from the command line?
Show answer
How do you check which ports are listening on a server you manage?
Show answer
Why do you want to build a career in cyber security?
Show answer
What is the Cyber Kill Chain?
Show answer
What is MITRE ATT&CK and how is it used?
Show answer
What is Zero Trust security?
Show answer
Your manager asks why the company needs security when it already has antivirus on every laptop. How do you explain?
Show answer
A user reports a pop-up saying their files are encrypted. What are your first steps?
Show answer
A developer has hardcoded database passwords in a public code repository. What do you do?
Show answer
Leadership wants to block all USB drives tomorrow. How would you handle this request?
Show answer
How would you run a basic threat model for a new web application?
Show answer
Tell me about a time you explained a security risk to a non-technical person.
Show answer
A vendor announces a zero-day in your internet-facing appliance with no patch yet. What does that mean and how do you protect the company?
Show answer
How do you prioritise 500 vulnerabilities found in a scan?
Show answer
What is the difference between TCP and UDP from a security point of view?
Show answer
What is a firewall and what types exist?
Show answer
What is the difference between IDS and IPS?
Show answer
What is a DMZ?
Show answer
How do you scan your own network for open ports with Nmap, with permission?
Show answer
What is network segmentation and why is it important?
Show answer
How does a VPN protect traffic and what are its limits?
Show answer
Your SOC sees heavy DNS traffic with long random subdomains from one workstation. Which DNS attacks should you consider and what defences apply?
Show answer
A user on the office LAN reports repeated certificate warnings and you suspect ARP spoofing. What is happening and how do you stop it?
Show answer
What is a DDoS attack and how is it mitigated?
Show answer
What is TLS and what does the handshake achieve?
Show answer
What is Network Access Control?
Show answer
How do you handle a network team that refuses a security change you recommended?
Show answer
Your IDS alerts on outbound traffic from a database server to an unknown IP on port 443 at 3 AM. How do you investigate?
Show answer
Users complain that a new firewall rule broke an application. How do you troubleshoot?
Show answer
A firewall audit finds 40 percent of rules have not been hit in a year. What do you do?
Show answer
A guest Wi-Fi user can reach internal printers. What is wrong and how do you fix it?
Show answer
How would you capture and analyse suspicious traffic using tcpdump and Wireshark?
Show answer
How do you write basic Linux host firewall rules with nftables?
Show answer
How do you check a server's TLS configuration?
Show answer
Describe a time you handled a stressful outage or security issue.
Show answer
What is SASE?
Show answer
Your servers can reach any internet destination freely. Why is this a problem and how do you introduce egress filtering?
Show answer
Your company website is under an application layer DDoS attack. What actions do you take?
Show answer
Management wants to replace the VPN with Zero Trust access. How would you plan it?
Show answer
What is PKI?
Show answer
What is a digital signature and how does it work?
Show answer
What is a salt and why is it used in password hashing?
Show answer
What is the difference between encoding, encryption and obfuscation?
Show answer
A developer wants to write their own encryption algorithm for customer data. How do you respond?
Show answer
How do you inspect a certificate and check its chain?
Show answer
How do you encrypt and decrypt a file using GPG?
Show answer
Tell me about a time you learned a difficult technical topic quickly.
Show answer
Describe a time you had to admit you did not know something in a technical discussion.
Show answer
What is forward secrecy?
Show answer
What is certificate revocation and how is it checked?
Show answer
What is a man-in-the-middle attack on TLS and how do certificates prevent it?
Show answer
A TLS certificate expired on the main customer portal and caused an outage. How do you prevent this in future?
Show answer
How do you create a private key and CSR with OpenSSL?
Show answer
How would you hash passwords correctly in Python?
Show answer
Why is AES-GCM preferred over AES-CBC?
Show answer
What is the role of a Hardware Security Module?
Show answer
What is key management and why is it hard?
Show answer
Your CISO asks whether the company needs to act on quantum computing risk now. What do you advise?
Show answer
What is Certificate Transparency?
Show answer
You find an application storing user passwords as unsalted MD5. What do you recommend?
Show answer
A private key for an internal code-signing certificate was found on a shared drive. What actions do you take?
Show answer
How do you build a cryptography inventory for an organisation?
Show answer
How would you set up envelope encryption for application data in the cloud?
Show answer
What is a Security Operations Center?
Show answer
What is a SIEM and what does it do?
Show answer
What is the difference between a SIEM and a SOAR?
Show answer
What is EDR and how is it different from antivirus?
Show answer
What is a false positive and a false negative in SOC alerts?
Show answer
How do you analyse a suspicious email reported by a user?
Show answer
How would you build a basic home SOC lab?
Show answer
How do you handle night shifts and rotating schedules in a SOC?
Show answer
Which Windows event IDs should a SOC analyst know?
Show answer
How would you use Sysmon to improve endpoint visibility on Windows?
Show answer
What is threat intelligence and what are IOCs and TTPs?
Show answer
What is threat hunting?
Show answer
What SOC metrics matter most?
Show answer
What is UEBA?
Show answer
You receive an alert for 300 failed logins on one account followed by a success. How do you triage it?
Show answer
An alert shows Microsoft Word spawning PowerShell with an encoded command. What does it mean and what do you do?
Show answer
During triage you notice a user logged in from Mumbai and then from Frankfurt 20 minutes later. How do you handle it?
Show answer
A key log source stopped sending data to the SIEM two days ago. Why does it matter and what do you do?
Show answer
How do you write a Splunk search to find brute-force attempts on Windows?
Show answer
How do you onboard a new log source into a SIEM properly?
Show answer
Tell me about a time you made a mistake at work and how you handled it.
Show answer
What is detection engineering?
Show answer
Your SOC receives 4000 alerts a day and analysts are overwhelmed. How do you fix this?
Show answer
Write a KQL query in Microsoft Sentinel to find sign-ins from many countries for one user.
Show answer
What does a Sigma rule look like?
Show answer
What are the phases of incident response?
Show answer
What is the difference between an event, an alert and an incident?
Show answer
What is chain of custody in digital forensics?
Show answer
What should a post-incident review include?
Show answer
What are India's CERT-In incident reporting requirements?
Show answer
What is the order of volatility in evidence collection?
Show answer
What are the main containment strategies?
Show answer
What is memory forensics and which tool is commonly used?
Show answer
What is the difference between static and dynamic malware analysis?
Show answer
What is a business email compromise attack?
Show answer
A finance employee transferred money after a fake email from the CEO. What do you do?
Show answer
An employee who is leaving copied large volumes of data to a personal cloud drive. How do you handle it?
Show answer
How do you collect basic triage data from a suspected compromised Windows host?
Show answer
How do you create a forensic disk image and verify it?
Show answer
How do you run a tabletop exercise?
Show answer
Describe a time you worked under pressure during an incident.
Show answer
How do you communicate technical incident details to senior management?
Show answer
Tell me about a time you followed process even though a shortcut was tempting.
Show answer
During a major breach, an engineer asks why legal and communications must join the war room. How do you explain?
Show answer
A ransomware attack has encrypted 50 servers. Walk through your response.
Show answer
You find a web shell on a public web server. What steps do you take?
Show answer
Your EDR shows the same suspicious hash on 30 machines. How do you scope the incident?
Show answer
A cloud access key was leaked and used to start crypto-mining instances. What is your response?
Show answer
How do you analyse a memory dump with Volatility 3?
Show answer
What does a simple YARA rule look like?
Show answer
How would you build a forensic timeline of an incident?
Show answer
What is Identity and Access Management?
Show answer
What is multi-factor authentication and which factors are strongest?
Show answer
What is single sign-on and what protocols does it use?
Show answer
A user's account shows sign-in risk high in your identity platform. What do you do?
Show answer
What are passkeys?
Show answer
What is the difference between OAuth 2.0 and OpenID Connect?
Show answer
What is RBAC and ABAC?
Show answer
What is Privileged Access Management?
Show answer
How would you design a joiner, mover, leaver process for a growing company?
Show answer
Describe a time you dealt with a user who was upset about losing access.
Show answer
What is conditional access?
Show answer
Attackers bypassed MFA by sending repeated push notifications until a user approved. How do you prevent this?
Show answer
An audit finds 200 active accounts belonging to employees who left. How do you fix it?
Show answer
Developers share one admin account for a production database. What do you propose?
Show answer
How do you find stale and privileged accounts in Active Directory with PowerShell?
Show answer
How do you decode and check a JWT during troubleshooting?
Show answer
How would you roll out MFA to 5000 employees?
Show answer
How do you design an access review for a critical application?
Show answer
Tell me about a time you had to say no to a senior person's access request.
Show answer
What are common Active Directory attacks?
Show answer
An audit finds hundreds of service accounts with no owner and keys older than three years. What are the risks and which controls do you put in place?
Show answer
Your company is acquiring another firm with its own Active Directory. How do you approach identity integration securely?
Show answer
How do you set up a break-glass account safely?
Show answer
How would you implement just-in-time privileged access in the cloud?
Show answer
What is the shared responsibility model in cloud security?
Show answer
What are the most common cloud security misconfigurations?
Show answer
How do you scan a container image for vulnerabilities in CI?
Show answer
How would you check a cloud account against CIS benchmarks?
Show answer
How do you keep your cloud security skills updated?
Show answer
What is the role of IAM in AWS security?
Show answer
Which cloud logs are essential for security monitoring?
Show answer
What is Infrastructure as Code security scanning?
Show answer
Tell me about a time you worked with developers to fix a security finding.
Show answer
How does encryption work for data at rest in the cloud?
Show answer
A scan shows an S3 bucket with customer documents is publicly readable. What do you do?
Show answer
Developers want admin access in the cloud to move fast. How do you balance speed and security?
Show answer
GuardDuty reports an EC2 instance communicating with a known crypto-mining pool. How do you respond?
Show answer
How do you find overly permissive security groups with the AWS CLI?
Show answer
Write a least-privilege AWS IAM policy that allows reading one S3 bucket.
Show answer
Tell me about a time you improved a process with automation.
Show answer
What is CSPM, CWPP and CNAPP?
Show answer
A pentest shows an SSRF flaw in your app can reach the cloud metadata endpoint. Why is that serious and how do you fix it?
Show answer
What are key container and Kubernetes security practices?
Show answer
Why is a multi-account or multi-subscription structure important in the cloud?
Show answer
What are the data residency rules relevant to cloud in India?
Show answer
Your company is moving a banking application to the cloud. What security controls would you require?
Show answer
A Kubernetes pod in production is running a cryptominer. How do you investigate?
Show answer
How do you enable organisation-wide audit logging in AWS?
Show answer
How do you replace static cloud keys in CI/CD pipelines?
Show answer
What does GRC stand for in cyber security?
Show answer
What is ISO/IEC 27001?
Show answer
What are the four risk treatment options?
Show answer
What is the difference between a policy, a standard, a procedure and a guideline?
Show answer
What is business continuity and disaster recovery, and what are RTO and RPO?
Show answer
How do you write an effective security policy?
Show answer
How do you build a risk register?
Show answer
Where do you see yourself in five years in cyber security?
Show answer
What is the NIST Cybersecurity Framework 2.0?
Show answer
What are the key points of India's DPDP Act?
Show answer
What is the difference between qualitative and quantitative risk assessment?
Show answer
What is PCI DSS?
Show answer
What is third-party or vendor risk management?
Show answer
A US customer asks your Indian SaaS company for a SOC 2 report. What is it and which type should you aim for?
Show answer
A business unit wants to accept a high risk instead of fixing it. How do you handle it?
Show answer
An auditor finds that access reviews were not done for two quarters. What do you do?
Show answer
A new vendor will process customer personal data. What checks do you perform before onboarding?
Show answer
How do you calculate annual loss expectancy?
Show answer
How do you collect audit evidence efficiently?
Show answer
Tell me about a time you had to convince a team to follow a compliance requirement they disliked.
Show answer
How do you manage many audit and compliance deadlines at the same time?
Show answer
Which Indian regulators issue cyber security requirements for financial firms?
Show answer
You are asked to prepare the company for its first ISO 27001 certification in nine months. How do you plan it?
Show answer
The board asks how secure the company is. How would you answer?
Show answer
How would you run a data protection impact assessment under the DPDP Act?
Show answer
Frequently asked questions
What jobs can I get after learning cyber security?
Freshers usually start as SOC analysts, security operations associates, GRC or audit analysts, or vulnerability management analysts. With two to four years of experience you can move into incident response, network security, cloud security, detection engineering or security consulting. Senior paths include security architect, SOC manager and CISO. IT services firms, banks, fintechs, telecoms, consulting firms and product companies in India all hire for these roles, and many global SOCs are based in Indian cities.
Who is eligible to learn cyber security?
Graduates in computer science, IT, electronics or BCA and MCA have the easiest start, but students from other backgrounds can also enter, especially in GRC roles. You need basic computer skills, curiosity and willingness to learn networking, Linux and Windows. Working professionals in IT support, networking, system administration or development often switch successfully because they already understand how systems work. No prior security experience is required to begin.
How long does it take to become job ready in cyber security?
With focused study of two to three hours a day, most learners become ready for entry-level SOC or GRC roles in four to six months. That includes networking and OS basics, SIEM practice, incident response fundamentals and one certification. Deeper specialisations like cloud security or forensics take another year of hands-on work. Building a home lab and documenting projects speeds up the process because interviewers value practical evidence.
Which certifications are useful for a cyber security career?
For beginners, CompTIA Security+ and ISC2 Certified in Cybersecurity build strong foundations. For SOC roles, CompTIA CySA+ and vendor SIEM certifications such as Splunk or Microsoft SC-200 help. Cloud roles benefit from AWS Security Specialty or Azure AZ-500. GRC professionals often pursue ISO 27001 Lead Auditor or Lead Implementer. Senior professionals target CISSP or CISM, which require several years of experience. Certifications help shortlisting, but skills decide interviews.
Do I need coding skills for cyber security?
Many defensive roles need only basic scripting, not full software development. Writing SIEM queries, small Python or PowerShell scripts for automation and reading code during investigations are very useful. GRC roles need almost no coding. Cloud security, detection engineering and application security need stronger scripting and infrastructure as code skills. Starting with Python basics and SQL-like query languages such as SPL or KQL is a practical path.
Is cyber security a good career in India in 2026?
Yes. Regulations like the DPDP Act, CERT-In directions and RBI and SEBI cyber frameworks require companies to invest in monitoring, incident response and compliance. Cloud adoption, digital payments and frequent ransomware attacks keep demand high, and global companies run SOCs from India. There is a shortage of skilled, hands-on professionals, so learners who build practical skills and keep updating them find steady growth opportunities.