InterviewStack.io LogoInterviewStack.io

Network Security and Defense Questions

Securing networks at the infrastructure layer. Covers firewalls, ACLs and rule design, network device hardening and secure configuration, intrusion detection and prevention systems, VPN and remote-access encryption, network protocols and their security properties, and packet-level traffic analysis. The hands-on network-defense layer, distinct from zero-trust architecture strategy.

HardTechnical
25 practiced

Provide a concise nftables or iptables configuration snippet that rate-limits new HTTP connections to 200 new connections per second per source IP with a burst of 400, dropping connections that exceed this. Explain limitations of this approach under high-cardinality distributed attacks and the impact on conntrack tables.

MediumTechnical
22 practiced

You have two servers on different VLANs that cannot communicate. Describe a step-by-step troubleshooting approach from Layer 1 through Layer 7 to find and fix the issue. Mention specific commands and tools you would use on a Cisco-like environment (for example: show interface, show vlan, show ip route, traceroute, tcpdump) and what evidence each step provides.

MediumSystem Design
24 practiced

Design a Zero Trust Network Access (ZTNA) solution to secure access to a mix of SaaS and internal web applications for remote users. Include identity provider (IdP) integration, device posture checks, least-privilege policy enforcement, centralized logging/visibility, and how ZTNA reduces lateral movement compared to traditional VPNs.

MediumSystem Design
21 practiced

For a Kubernetes cluster hosting multi-tenant applications, compare network-level VLAN segmentation to Kubernetes NetworkPolicies (microsegmentation). Discuss enforcement points, scalability with pod churn, visibility, integration with cloud VPC networking and L4/L7 load balancers, and operational trade-offs.

HardSystem Design
21 practiced

Design a scalable remote-access VPN architecture to support 50,000 concurrent users across multiple regions with strict availability and throughput SLAs. Describe authentication architecture, session brokering and load balancing, regional ingress/egress placement, key management, NAT and edge constraints, client performance considerations, and telemetry for large-scale troubleshooting. Discuss protocol choices (TLS-based VPN, WireGuard, IPsec) and sharding/federation strategies for auth services.

Unlock Full Question Bank

Get access to all Network Security and Defense interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.