Google Network Engineer (Entry Level) Interview Preparation Guide
Google's network engineer interview process for entry-level candidates typically consists of a recruiter screening phase, followed by 1-2 technical phone screens focusing on networking fundamentals and troubleshooting, and 4-5 onsite rounds covering technical networking depth, practical troubleshooting scenarios, network design basics, and behavioral/culture fit assessment. The process evaluates foundational networking knowledge, problem-solving ability, communication skills, and alignment with Google's collaborative culture.
Interview Rounds
Recruiter Screening
What to Expect
Initial conversation with a Google recruiter to assess your background, verify your interest in the network engineer role, and determine baseline fit. This includes discussion of your networking experience, education, motivation for joining Google, and clarification of role expectations. The recruiter will also explain the interview process and timeline.
Tips & Advice
Be enthusiastic and clear about your interest in network engineering. Highlight any internships, labs, certifications (CCNA, Network+), or personal projects involving network configuration. Prepare a concise summary of your networking experience and why you want to work at Google on infrastructure. Ask thoughtful questions about the role and team to show genuine interest.
Focus Topics
Questions to Ask About the Role
Prepare thoughtful questions about the network engineer position, the team structure, onboarding process, and typical projects you'd work on.
Practice Interview
Study Questions
Communication and Professionalism
Communicate clearly, answer questions directly, and maintain professional demeanor. Demonstrate listening skills and ask relevant follow-up questions.
Practice Interview
Study Questions
Background and Motivation
Articulate your networking experience, educational background, and genuine interest in Google's infrastructure and the specific network engineer role.
Practice Interview
Study Questions
Technical Phone Screen - Networking Fundamentals
What to Expect
First technical interview conducted over phone or video with a Google network engineer. This round focuses on foundational networking concepts, TCP/IP stack, addressing, routing basics, and your understanding of core protocols. You may be asked to explain networking concepts, work through simple network scenarios, or discuss how you've applied these concepts in past work or learning. This assesses your baseline technical knowledge and communication ability.
Tips & Advice
Review OSI model layers, TCP/IP stack, IPv4/IPv6 addressing, subnetting, routing concepts (static vs dynamic), and common protocols (TCP, UDP, DNS, DHCP, ARP). Be ready to explain network concepts clearly and ask clarifying questions if a scenario is unclear. Use a whiteboard or notepad to sketch network diagrams while explaining. For entry-level, focus on explaining fundamental concepts correctly rather than advanced optimization. Reference the job description: be ready to discuss how you understand network infrastructure design, protocols, and basic troubleshooting.
Focus Topics
Network Design Concepts
Understand basic network architecture concepts like LAN, WAN, VLANs, network segmentation, redundancy, and how these relate to reliability and scalability.
Practice Interview
Study Questions
Routing Fundamentals
Understand static routing, dynamic routing basics (distance-vector vs link-state), routing tables, default gateways, and how routers forward packets. Know concepts like convergence and metric.
Practice Interview
Study Questions
Basic Network Troubleshooting Tools
Know common Linux/Unix networking tools like ping, traceroute, netstat, ss, ifconfig/ip, dig, nslookup, arp, and tcpdump. Understand what each tool shows and when to use it.
Practice Interview
Study Questions
IPv4 Addressing and Subnetting
Master IPv4 address classes, subnet masks, CIDR notation, calculating network/broadcast addresses, and determining host ranges. Understand private vs public IP ranges and special-use addresses.[1]
Practice Interview
Study Questions
OSI Model and TCP/IP Stack
Understand the 7 layers of the OSI model and the TCP/IP model, including the protocols at each layer and how data flows through layers. Know common protocols like TCP, UDP, IP, ICMP, DNS, DHCP, ARP, and HTTP/HTTPS.
Practice Interview
Study Questions
Technical Phone Screen - Network Troubleshooting and Problem-Solving
What to Expect
Second technical phone interview focusing on practical troubleshooting scenarios and problem-solving methodology. You'll be presented with network connectivity or performance issues and asked to diagnose the problem methodically. This assesses your troubleshooting approach, logical thinking, ability to ask clarifying questions, and understanding of common network failure modes. The goal is to see how you apply foundational knowledge to real-world scenarios, not necessarily to arrive at the 'correct' answer quickly.
Tips & Advice
When presented with a troubleshooting scenario, start by gathering information: ask what symptoms are being observed, what was working before, what changed. Use a systematic approach—work from Layer 1 upward or follow the network path. Ask clarifying questions about the environment (VLANs, firewalls, NAT, cloud vs on-prem). Explain your reasoning aloud so the interviewer understands your methodology. Don't jump to conclusions; rule out possibilities methodically. Reference the search results[1] which show common troubleshooting patterns: IP connectivity issues, service port accessibility, DNS resolution failures, routing to specific subnets, inter-VLAN communication, and application-level issues.
Focus Topics
VLAN and Layer-2 Issues
Understand VLAN basics, inter-VLAN routing configuration, trunk vs access ports, VLAN tagging, and how to troubleshoot communication failures between VLANs. Know when to check port assignments and router interfaces.[1]
Practice Interview
Study Questions
Service and Application Connectivity Issues
Differentiate between network-level problems and application-level issues. Know how to verify service listening (ss -lntp), check port binding, validate load balancer configuration, and understand when to involve application teams.[1]
Practice Interview
Study Questions
DNS Troubleshooting
Understand DNS resolution flow, know how to test DNS with dig and getent commands, differentiate between DNS failures and other connectivity issues, identify resolver configuration issues via /etc/nsswitch.conf, and diagnose when DNS works but applications fail.[1]
Practice Interview
Study Questions
Routing and Path Issues
Diagnose missing routes, overlapping CIDRs, policy-based routing issues, and understand how to use 'ip route' command to view and troubleshoot routing. Identify when selective routing failures occur.[1]
Practice Interview
Study Questions
Connectivity Troubleshooting Methodology
Systematic approach to diagnosing connectivity issues: verify local configuration (IP, gateway), check layer-2 connectivity (ARP, MAC), test layer-3 routing, verify service listening on correct port, and rule out firewall/NAT issues. Know when to use ping, traceroute, arp, netstat, and ss.[1]
Practice Interview
Study Questions
Onsite Interview 1 - Network Infrastructure Design and Protocols
What to Expect
In-person or video interview with a senior network engineer or infrastructure architect. This round assesses deeper understanding of network infrastructure design, protocol choices, and architectural thinking at a basic level. You'll discuss designing simple network topologies, selecting appropriate protocols and technologies for scenarios, understanding performance and reliability trade-offs, and explaining your design reasoning. This evaluates whether you understand how individual network components work together and can think about infrastructure holistically, not just individual device configuration.
Tips & Advice
Prepare by understanding network design trade-offs: redundancy vs cost, performance vs complexity, security vs usability. Be ready to discuss when to use different technologies: static vs dynamic routing, VLAN vs subnet segmentation, L3 switching vs separate routers. Draw network diagrams and explain your reasoning. For entry-level, focus on explaining fundamental design decisions (e.g., why use OSPF over static routing) rather than complex optimization. Discuss the job responsibilities: how would you design network infrastructure for reliability, security, and scalability? Reference Google's emphasis on infrastructure reliability. Ask clarifying questions about requirements before proposing designs.
Focus Topics
IP Addressing Strategy and IPAM
Design addressing schemes using subnetting and hierarchical addressing. Understand IPAM (IP Address Management) concepts, address space planning, and how addressing scales with network growth.
Practice Interview
Study Questions
Routing Protocol Selection
Understand characteristics of different routing protocols: static routing, RIP, OSPF, BGP. Know when to use each based on network size, complexity, and convergence requirements. Discuss metrics, cost, and scalability.
Practice Interview
Study Questions
Switching and VLAN Architecture
Understand switched network design, VLAN architecture for segmentation, trunk port design, spanning tree basics for preventing loops, and Layer 3 switching. Know how switches provide scalability and segmentation.
Practice Interview
Study Questions
Network Security Fundamentals in Design
Understand how firewalls fit into network design, DMZ concepts, network segmentation for security, ACL basics, and how security considerations influence architecture. Know the job requirement to implement network security measures.
Practice Interview
Study Questions
Network Topology Design Principles
Understand basic network topologies (star, mesh, hybrid), their advantages and disadvantages. Know when to use redundancy, failover mechanisms, and how topology affects reliability and scalability.
Practice Interview
Study Questions
Onsite Interview 2 - Advanced Troubleshooting and Performance Monitoring
What to Expect
Interview with a network operations engineer or performance specialist. This round combines challenging troubleshooting scenarios with discussion of network monitoring, performance analysis, and operational metrics. You'll work through complex multi-layer issues that require synthesizing knowledge across protocols, tools, and infrastructure. The interview also assesses your understanding of network performance monitoring requirements and how to measure network health. This evaluates problem-solving depth, ability to handle ambiguity, and understanding of operational requirements.
Tips & Advice
Prepare for complex scenarios combining multiple failure modes (e.g., intermittent connectivity that turns out to be MTU issues, or DNS working for some clients but not others). Approach systematically but be willing to pivot when new information changes your hypothesis. Discuss monitoring: what metrics matter (latency, jitter, packet loss, throughput), what tools to use (NetFlow, sFlow, SNMP, packet analysis), and how to detect problems proactively. Reference the job responsibility for monitoring network performance and traffic. Be comfortable discussing tools like Wireshark for packet analysis, NetFlow for traffic analytics, and SNMP for device monitoring. For entry-level, show that you understand the 'why' behind monitoring rather than just 'what to measure.'
Focus Topics
Capacity Planning and Network Growth
Understand how to plan for network growth: monitoring utilization trends, predicting when upgrades are needed, understanding bottlenecks, and planning expansion. Link to the job responsibility of capacity planning.
Practice Interview
Study Questions
Packet Analysis and Protocol Inspection
Understand how to capture and analyze packets using Wireshark or tcpdump. Know how to interpret packet headers, identify protocol anomalies, and use packet analysis to diagnose issues like DNS failures, TCP retransmissions, or protocol-specific problems.
Practice Interview
Study Questions
Network Performance Analysis and Metrics
Understand key performance metrics: latency, jitter, packet loss, throughput, and how they relate to user experience. Know tools for measuring performance: ping, iperf, traceroute with latency analysis, and understanding when performance is inadequate.
Practice Interview
Study Questions
Network Monitoring and Observability
Understand monitoring approaches: SNMP for device metrics, NetFlow/sFlow for traffic analysis, packet capture and analysis with tcpdump/Wireshark, and syslog for event logging. Know what each tool provides and limitations.
Practice Interview
Study Questions
Complex Multi-Layer Troubleshooting Scenarios
Diagnose issues that span multiple network layers or combine multiple failure modes. Practice scenarios like MTU issues in tunnels, packet fragmentation problems, performance issues with specific traffic types, and intermittent connectivity. Know when to involve application teams.
Practice Interview
Study Questions
Onsite Interview 3 - Network Security, Configuration, and Behavioral
What to Expect
This round combines technical assessment of network security and device configuration practices with behavioral evaluation. A network security specialist or senior engineer will assess your understanding of firewall concepts, access control, security best practices, and how you configure network equipment securely. Additionally, a Google team member will conduct a behavioral interview using Google's standard framework to assess collaboration, teamwork, communication, learning ability, and cultural fit. The behavioral portion uses the STAR method and asks about your past experiences demonstrating these qualities.
Tips & Advice
For the technical portion: Study firewall concepts (stateful vs stateless filtering, ACLs, NAT/PAT), understand basic cryptography (why encryption matters), know security hardening practices (least privilege, default deny, logging), and be ready to discuss how to configure network equipment securely. Reference the job requirement to implement network security measures. For behavioral: Prepare 5-6 stories using the STAR method about times you collaborated with teammates, learned something new, solved a problem creatively, handled feedback, or dealt with ambiguity. Google values learning ability and collaboration highly for entry-level candidates. Emphasize growth mindset and willingness to learn from team members.
Focus Topics
Google Behavioral: Problem-Solving and Initiative
Discuss times you identified problems proactively, took initiative to solve them, thought creatively about solutions, and followed through. Show both technical and interpersonal problem-solving examples.[2]
Practice Interview
Study Questions
Secure Network Device Configuration
Know best practices for configuring network equipment securely: strong authentication, logging and monitoring configuration changes, disabling unnecessary services, keeping firmware updated, and using secure management protocols.
Practice Interview
Study Questions
Google Behavioral: Learning Ability and Growth Mindset
Show eagerness to learn, examples of quickly picking up new technologies or domains, adaptability to change, and ability to learn from feedback. Demonstrate intellectual curiosity about networking.[2]
Practice Interview
Study Questions
Network Access Control and Least Privilege
Understand the principle of least privilege, how to design access control policies, segmentation using firewalls/ACLs/VLANs, and verification that users/systems have only necessary access. Know why this matters for security.
Practice Interview
Study Questions
Firewall Fundamentals and ACLs
Understand stateful vs stateless firewalls, how firewalls inspect traffic, basic ACL syntax and logic, implicit deny rules, and how to write firewall rules for common scenarios. Know limitations and when firewalls alone aren't sufficient.
Practice Interview
Study Questions
Google Behavioral: Collaboration and Teamwork
Demonstrate ability to work effectively with team members, ask for help when needed, share knowledge, and contribute to team goals. Use STAR method to discuss times you collaborated cross-functionally or supported teammates.[2]
Practice Interview
Study Questions
Frequently Asked Network Engineer Interview Questions
What is the difference between 'culture fit' and 'culture add', and which do you think better describes you as a candidate? Give one concrete example of a perspective, skill, or way of working you would bring to a team that is not already well represented there.
Sample Answer
Direct answer
Culture fit asks whether you already share a team's existing norms and behaviors; culture add asks what you would bring that the team does not already have. I would describe myself mostly as a culture add: I share the fundamentals a team needs to trust me (reliability, candor, respect for other people's time), but the useful thing I offer beyond that is a genuinely different working background rather than a mirror of the team that is already there.
Structured elaboration
- Define both terms precisely before answering for yourself. Culture fit is about alignment on shared behaviors and values: does this person operate the way we already operate. Culture add is about complementary difference: does this person's background, working style, or perspective fill a gap the team doesn't currently have.
- Explain why the distinction matters, not just define it. A team optimized purely for fit tends toward groupthink: everyone reasons the same way, so blind spots go unchallenged and the same kinds of mistakes recur. A team that only adds without any shared fit becomes uncoordinated: people can't predict each other's reasoning enough to move fast together. The healthy target is fit on a small number of load-bearing behaviors (honesty, follow-through, respect) plus deliberate add on everything else.
- Give a genuine, specific example of your own add, not a generic trait. Vague claims ("I bring diverse perspectives") are the single most common failure mode here; a strong answer names the concrete gap and the concrete evidence.
- Anticipate the natural follow-up: how do you know your difference is actually useful, versus just different for its own sake. The answer is to point at a specific decision, disagreement, or piece of feedback that changed because of the difference you brought, not just a credential or background fact.
Worked example
Suppose your last two teams were both product engineering teams building consumer-facing features, and the team you're interviewing for is mostly staffed by engineers with that same background. Your own prior role was on a data-platform team, closer to the systems that feed those consumer features than to the features themselves. A concrete add-story: in a past project, a product team wanted to ship a new recommendation feature quickly; because of your platform background, you asked a question the rest of the team hadn't raised (whether the upstream data pipeline's freshness guarantees actually matched what the feature's UI implied to users), which surfaced a real gap between a 24-hour batch refresh and a UI copy that said "updated just for you." The team fixed the copy and adjusted the refresh cadence before launch rather than after a user complaint. That is a genuine add: a different background produced a question the existing team composition was less likely to ask on its own, and it changed a real outcome.
Trade-offs & pitfalls
The common failure is answering only the definitional half (correctly explaining fit versus add) and then, when asked for a personal example, retreating to generic self-description ("I'm a good communicator", "I care about quality") that any candidate could say and that does not actually demonstrate difference. A second pitfall is overcorrecting into implying you don't fit at all; the strongest answers are explicit that you also share the small set of behaviors every functioning team needs, and that add is about everything on top of that baseline, not a replacement for it.
Tell me about something technical you taught yourself recently that nobody asked you to learn. What made you decide it was worth your time, how did you go about it, and what changed at work because you did?
Sample Answer
Direct answer
In the last year I taught myself how to read query execution plans and reason about indexing, not because anyone assigned it, but because a recurring internal report kept getting slower and nobody had the bandwidth to look into why. I spent a handful of evenings learning to read plan output and understand how the database chooses an access path, then applied it directly to that report's query rather than treating it as a side hobby, and the fix noticeably shortened a report that had become one of the slowest in the weekly batch.
Structured elaboration
- Justify the "why this and not something else": pick something tied to a real, recurring cost you already feel, a slow report, a repeated manual step, a bug class that keeps recurring, rather than a trending technology with no attachment to your actual work.
- Keep the learning self-structured: with no assigned curriculum, the plan is whatever sequence of official docs and small experiments gets to "I can predict what this will do" fastest.
- Validate the new understanding against people who already know the area, even when nobody assigned this; a quick review confirms the understanding is actually right, not just plausible.
- Land it back in the work rather than a personal notebook; the skill only counts, for real impact and for describing it later, once it is applied to something that mattered.
- Check whether it stuck: months later, are you still reaching for it, or did it fade once the original problem was solved?
Worked example
A weekly finance reconciliation report kept taking noticeably longer to run as data grew, and it kept getting flagged as "just slow" without anyone owning a fix. Outside assigned work, I spent a handful of evenings over two weeks working through documentation on how a query planner chooses between an index and a full scan, reproducing small example queries locally rather than only reading passively. I then applied the plan-inspection tooling directly to the report's slowest query and found it was doing a full table scan on a column with no index, caused by an implicit type mismatch in a join condition. I added the right index and fixed the mismatch, and had a senior engineer sanity-check the change before it shipped, since this was genuinely new territory for me. The report went from being flagged in every week's slow-query review to not appearing at all. I kept using the same read-the-plan-first habit on later slow queries, so the skill stuck well past the original problem.
Trade-offs and pitfalls
- Self-taught understanding validated only against your own intuition, with no outside check, risks confidently shipping a fix that happens to work on the case you tested but does not generalize.
- Picking a skill purely because it is trendy, with no real problem behind it, produces knowledge that is hard to defend as impact and often does not stick.
- There is a real risk of scope creep: fixing one query can turn into re-architecting a system nobody asked you to touch; the discipline is applying the new skill to the specific problem, not treating it as license for a bigger, unrequested project.
Compare cloud security groups (for example AWS Security Groups, Azure NSGs) with on-prem VLANs and ACLs. Explain how stateful versus stateless behavior, rule ordering, and scope affect segmentation design when migrating on-prem services to cloud environments.
Sample Answer
High-level comparison
- On‑prem VLANs + router/switch ACLs: segmentation at L2/L3, ACLs are typically stateless, ordered, and can express explicit denies. Enforcement sits on network devices; can rely on physical topology.
- Cloud security groups (AWS SGs, Azure NSGs): virtual, software‑defined segmentation. AWS SGs are stateful, permissive-only (no explicit deny) and evaluated as a set (no priority ordering). Azure NSGs are also stateful at the flow level but implement priority numbers for rule ordering (lower = higher priority). Cloud providers also offer stateless subnet ACLs (AWS NACLs) with numbered rules and explicit allow/deny.
Stateful vs stateless — practical impact
- Stateful (SGs/NSGs): return traffic is automatically allowed — simpler host/application rules, fewer rules for bi‑directional flows. When migrating, you can convert many on‑prem symmetric ACLs into fewer SG rules.
- Stateless (router ACLs/NACLs): every direction must be explicitly permitted. Use when you need explicit deny logging or fine‑grained per‑packet control at subnet edge.
Rule ordering and semantics
- Ordered ACLs/NACLs: evaluate top→bottom until match; first match wins. Important to place denies/overrides correctly when translating policies.
- Unordered SGs: all rules combined; no implicit priority — can't implement "deny except for X" easily. Translate deny-heavy policies by using subnet NACLs or network firewalls.
Scope and placement
- VLANs enforce segmentation across physical switches; cloud: place SGs at instance/network interface level for east‑west control, use subnet NSGs/NACLs for perimeter controls, and cloud-native firewalls for complex policies.
- In migration, map service zones to security group collections and subnet-level controls, and implement host-based firewalling when needed.
Design guidance when migrating
- Inventory flows and identify directionality; convert symmetric ACLs to stateful SG rules where appropriate to reduce complexity.
- Preserve required explicit denies using stateless NACLs or managed firewalls.
- Use least‑privilege SGs per tier (web/app/db), tag/group instances, and implement logging (VPC Flow Logs/NSG flow logs).
- Test with staged policies and capture edge cases (health checks, ephemeral ports, load balancer source IPs).
This approach keeps segmentation equivalent or stronger in cloud while leveraging stateful semantics to simplify rule sets and using stateless controls when explicit deny/order is required.
Design Kubernetes cluster networking across multiple availability zones to provide service-level high availability and low failover time. Discuss CNI choices, cross-AZ overlay vs routed model, service load balancing, node failure handling, pod affinity/anti-affinity implications, and how to ensure external connectivity remains available during AZ failures.
Sample Answer
Approach summary
Design an active‑active, multi‑AZ Kubernetes networking architecture that minimizes failover time by keeping pod networking routable cross‑AZ, using a CNI that supports high‑performance routing/eBPF, and fronting services with multi‑AZ LBs and global failover.
CNI choices
- AWS/GCP native VPC-CNI: best for cloud-native IP-per-pod, direct routing, low latency; limited in IP scale on some clouds.
- Calico (BGP/routed) or Cilium (eBPF + routed overlay): preferred for production multi‑AZ — Calico offers native BGP for cross-node routing; Cilium gives high-performance eBPF dataplane and encryption options.
- Flannel/Weave (overlay): simpler but adds encapsulation overhead and cross‑AZ bandwidth/latency; less ideal for low failover/time-sensitive traffic.
Cross‑AZ overlay vs routed model
- Routed (BGP/VxLAN-less, e.g., Calico/Cilium routed): faster convergence, no double encapsulation, simpler egress/source IP preservation. Requires L3 connectivity across AZs and IP planning.
- Overlay: isolates addressing, simpler to deploy where L3 peering not available, but increases latency and recovery complexity during AZ partitions.
Service load balancing
- External: use cloud NLB/ALB in cross‑AZ active‑active mode + health checks. Prefer NLB for TCP/UDP with preservation of source IP; use Global Accelerator/Route53 multi‑region for cross‑region.
- Internal: kube-proxy IPVS or Cilium’s load balancing for performance; set externalTrafficPolicy=Local when you need source IP preservation and ensure cross‑AZ node ports and health checks are configured.
- MetalLB with BGP for on‑prem: advertise VIPs from multiple AZ routers to enable fast failover.
Node failure handling
- Fast detection: aggressive node-probe tuning (node‑status, kubelet heartbeats), and cloud instance health checks.
- Automated remediation: cluster-autoscaler + cloud auto-replace; kubelet restart/backoff tuning.
- Traffic steering: use BGP/FRR to withdraw routes for failed node's CIDR quickly; for overlays, ensure control plane marks endpoints down so LBs stop sending traffic.
Pod affinity / anti‑affinity
- Strong zone affinity reduces cross‑AZ traffic but increases blast radius; prefer anti‑affinity for stateful workloads to spread replicas across AZs.
- Use topologySpreadConstraints and preferredDuringScheduling to balance availability vs latency.
- Be mindful: strict anti‑affinity can prevent scheduling during capacity loss; allow soft constraints for resiliency.
External connectivity during AZ failures
- Active‑active LBs across AZs with cross‑zone load balancing enabled.
- Anycast/BGP (on‑prem) or cloud Global Accelerator for single VIP across AZs/regions.
- DNS health checks + low TTL + weighted failover for fast client redirection.
- Ensure NAT/egress is multi‑AZ (NAT gateways or egress nodes in each AZ) and advertise egress prefixes via BGP so sessions survive AZ loss.
Trade‑offs & validation
- Routed/eBPF gives best latency and failover but needs L3 engineering and IP planning.
- Overlay is easier but slower failover and higher bandwidth cost.
- Test with chaos engineering (simulate AZ loss, BGP withdrawal, LB health failures) and measure failover time and packet-loss to tune probes and routing timers.
This design balances low failover time, predictable routing, and operational simplicity for network teams.
Design a multi-region data placement and routing strategy for a globally distributed, read-heavy service that requires low read latency and eventual consistency for writes. Describe replication topology (master/replica, multi-master, geo-partitioning), routing choices for read locality, estimated network bandwidth for replication, and failure modes that will affect capacity planning and how you would mitigate them.
Sample Answer
Clarify goals & constraints
- Read-heavy, global; low read latency; writes can be eventual-consistent; network engineer focus on inter-region links, bandwidth, routing, failure domains.
Replication topology
- Geo-partitioned primary-per-region + async cross-region replication: each region has a local read-replica cluster; a single region owns a partition’s write shard (sharded master per key-range). This reduces write-conflicts and keeps read local.
- For hot keys: multi-master across 2 regions with conflict resolution (CRDTs or last-writer-wins) and quorum write probes.
Routing / read locality
- Use DNS-based geo-DNS + Anycast front-ends for initial routing to nearest POP. Within region, local load balancers route reads to closest read-replica via iBGP and local ECMP.
- For cross-region reads (cache-miss): prefer async replica over WAN if staleness allowed; otherwise route to master using explicit service mesh routing.
Estimated replication bandwidth
- Example: 100K writes/sec, avg write payload 1 KB => 100 MB/s of change-stream. With 5 secondary regions x2 overhead (serialization + TLS) => ~1.0 GB/s outbound from primary shard. Compress deltas (x3) to reduce to ~333 MB/s; plan links accordingly (10 Gbps per shard-aggregate).
Failure modes & mitigation
- WAN outage: route reads to local replicas; degrade to local-only writes if multi-master enabled; use queuing for write-forwarding when links restore.
- Region loss: automated failover of affected shards to secondary region with DNS TTL shortness (30s) and BGP failover. Ensure capacity buffer (30–50%) in secondaries for sudden traffic.
- Network saturation: prioritize replication traffic with QoS; use dedicated replication VLANs and redundant MPLS/Direct Connect + public overlay.
- Partitioned master: detect via heartbeats; avoid split-brain by fencing (STONITH) and quorum-based election.
Operational considerations
- Monitor replication lag, RTT, bandwidth, and BGP path changes. Run periodic failover drills, size inter-region links with compression and buffer to handle change-burst from re-syncs.
Define a DMZ (demilitarized zone) in network architecture. Describe common services hosted in a DMZ, recommended controls (firewall rules, monitoring, bastion hosts), and how traffic should be allowed between internet, DMZ, and internal networks. Describe the flow in text or a simple list of rules.
Sample Answer
Definition
A DMZ (demilitarized zone) is a segmented network zone that hosts systems exposed to untrusted networks (typically the Internet) while isolating the internal/trusted network. It limits attack surface and provides controlled access to services.
Common services hosted
- Public web servers / reverse proxies (NGINX, HAProxy)
- Mail gateways, SMTP relays
- External DNS resolvers
- VPN concentrators / SSL termination
- Public APIs, CDN origin servers
- Bastion (jump) hosts for admin access (hardened, audited)
Recommended controls
- Perimeter firewalls: explicit allow/deny rules, stateful inspection, application-level filtering
- Network segmentation: separate VLANs/subnets and ACLs between Internet → DMZ → Internal
- Bastion hosts: restrict SSH/RDP to bastion, MFA, session recording, jump server logging
- Reverse proxy/WAF in DMZ for web app protection and TLS termination
- IDS/IPS and flow logging (NetFlow/sFlow), centralized SIEM, host EDR
- Least-privilege rules, IP whitelisting for management, automated patching and hardening
- Strict egress filtering from DMZ to Internet and internal networks
Traffic flow / example rule list
- Internet → DMZ: allow TCP 80/443 to web reverse proxy; block all other inbound.
- Internet → Bastion: allow management ports from admin IPs only (e.g., SSH 22), require MFA.
- DMZ → Internal: allow only specific service-to-service ports (e.g., proxy → app DB on port X) from DMZ subnet to specific internal server IPs; logged and rate-limited.
- Internal → DMZ: allow necessary application connections (for updates, logging, monitoring) from internal hosts to DMZ services.
- DMZ → Internet: allow outbound for necessary updates/DNS only; block arbitrary outbound.
- Internal ↔ Internet: deny direct inbound from Internet to internal; allow controlled outbound with NAT and proxying.
- Management/monitoring: dedicated management network or VPN with separate ACLs to access DMZ and internal devices.
These controls plus continuous monitoring, patching and periodic audits ensure the DMZ reduces risk while enabling required public-facing services.
Discuss criteria for choosing DHCP versus static IP assignment for devices in a corporate network. Cover device types suitable for static IPs, use of DHCP reservations, effects on monitoring and change control, and best practices for documenting and backing up static assignments.
Sample Answer
Approach / Criteria for choosing DHCP vs Static
- Use DHCP when devices are many, mobile, short-lived, or require minimal admin overhead (workstations, BYOD, printers, IoT clients). DHCP improves scalability, reduces config errors, and supports centralized lease/revocation.
- Use static IPs when predictable addressing is required for services that depend on stable endpoints (infrastructure servers, core switches, routers, firewalls, load balancers, DNS/DHCP servers, SAN controllers, management interfaces).
Device types suitable for static IPs
- Infrastructure: routers, L3 switches, firewalls, DNS/DHCP, AD/DC, NTP, monitoring collectors
- Storage/Backup appliances, virtualization management (vCenter), and any device used in failover clustering or ACL-based access controls
DHCP reservations
- Prefer DHCP reservations (MAC->IP) for devices needing stable addresses but wanting centralized management (VOIP phones, printers, some servers). Reservations retain DHCP benefits (lease expiry, central logs) while providing predictable IPs.
Effects on monitoring and change control
- Static IPs require strict change control: undocumented changes lead to monitoring gaps and troubleshooting complexity. Monitoring rules frequently bind to IPs; use DNS names and service checks instead.
- DHCP can complicate asset tracking unless reservations or robust DHCP logs + IPAM are used. Correlate DHCP logs with CMDB for accurate alerts and incident response.
Best practices for documenting & backing up static assignments
- Maintain an IPAM/CMDB source of truth with owner, device, VLAN, subnet, purpose, and change history.
- Enforce RFC1918 plan, reserved ranges for static vs dynamic, and subnet allocation templates.
- Back up network device configs and IPAM exports regularly (automated daily/weekly). Use version control for config files and change tickets for every static assignment.
- Automate verification: periodic scans to detect IP conflicts, DNS reverse/forward consistency, and alert on undocumented static addresses.
Result: combine DHCP for scale and flexibility, reservations for semi-static needs, and strict documentation/control for true static assignments to preserve reliability, monitoring fidelity, and failover behavior.
Construct a BPF filter for tcpdump or a display filter for Wireshark/tshark that isolates TCP retransmissions on a busy interface, and explain the difference between what a capture filter and a display filter can each see and why that distinction matters when you're trying to keep a production capture small.
Sample Answer
Direct answer
A capture filter (tcp[tcpflags] & (tcp-syn|tcp-ack) != 0 alone won't isolate retransmissions specifically, since BPF has no built-in concept of "this segment I've seen before") is fundamentally limited here; retransmission detection genuinely requires STATE across multiple packets (has this exact sequence number been seen already), which a stateless capture filter can't express, so isolating retransmissions is really a DISPLAY-filter (or post-processing) job, not a capture-filter one.
Structured elaboration
- Why capture filters (BPF) can't do this well: BPF filters evaluate each packet independently, with no memory of prior packets; "is this a retransmission" requires comparing THIS packet's sequence number against what's already been seen for this same TCP stream, which is inherently stateful and outside what a capture filter can express.
- What Wireshark's display filter CAN do, because it operates AFTER full protocol dissection with state:
tcp.analysis.retransmissionis a Wireshark-computed field, built by Wireshark's own stateful TCP stream tracking during dissection, not something derivable from a stateless per-packet filter; this display filter, applied in Wireshark or viatshark -Y, correctly isolates retransmissions because Wireshark has already done the stateful bookkeeping. - The practical implication for capturing on a busy interface: since you can't cheaply filter for retransmissions AT CAPTURE TIME, the practical approach is to capture the full (or reasonably filtered by host/port) traffic to a file, then apply the display filter afterward during analysis, accepting a larger capture file in exchange for being able to ask this specific, stateful question after the fact.
- Capture filters versus display filters, the general principle: capture filters (BPF) are for REDUCING VOLUME at the point of capture using only per-packet, stateless criteria (host, port, protocol, flags); display filters (Wireshark's own syntax) can express much richer, STATEFUL, cross-packet logic, because they run against already-captured, already-parsed data where the tool has built up state across the whole stream.
- Why you'd prefer one over the other in production: a capture filter is cheaper (reduces what's written to disk or memory at all) and appropriate when you know in advance a simple, stateless criterion (a specific host/port) will scope the capture usefully; a display filter is necessary whenever the question itself requires state (retransmissions, duplicate ACKs, a specific stream's full analysis), and in that case you must capture broadly enough first, then filter afterward.
Worked example
On a busy interface, capture with a modest capture filter scoping to the relevant host/port (tcp and host 10.1.1.10) to keep the file a manageable size, then open it in Wireshark or run tshark -r file.pcap -Y 'tcp.analysis.retransmission' to isolate the retransmissions specifically; attempting to write an equivalent BPF capture filter for "retransmissions only" isn't achievable, because BPF has no mechanism to remember which sequence numbers it's already seen for a given stream.
Trade-offs & pitfalls
A common misunderstanding is assuming any packet-matching criterion can be expressed as a capture filter if you just find the right syntax; retransmission detection specifically cannot, because it requires state BPF fundamentally doesn't carry across packets. Recognizing this distinction (stateless capture-time filtering versus stateful post-capture analysis) up front saves time that would otherwise be spent trying to force a capture filter to do something it structurally cannot.
Design telemetry pipeline resilience for devices that can lose connectivity intermittently (e.g., cellular-managed sites) and produce telemetry bursts. Describe buffering strategies on-device or collector-side, backpressure handling, deduplication, idempotency, partitioning and replay mechanisms, and how to bound memory/disk usage while guaranteeing at-least-once ingestion.
Sample Answer
Situation & goals
Design resilient telemetry ingestion for intermittently-connected, bursty devices (cellular sites). Guarantee at-least-once ingestion while bounding device/collector resources and supporting replay, deduplication, and backpressure.
Buffering strategy
- On-device: durable write-ahead log (WAL) + local persistent queue (e.g., SQLite or RocksDB). Append telemetry with metadata (device_id, monotonic seq_no, timestamp, size, CRC).
- Collector-side: short in-memory ingest buffer + on-disk spillover (e.g., local RocksDB) before forwarding to Kafka.
Backpressure & flow control
- Credit-based TCP/HTTP: collector issues token credits; device stalls send when credits exhausted.
- If offline, device switches to WAL-only mode and applies local rate shaping (max writes/s and burst window).
- Use exponential backoff + jitter for reconnect attempts to avoid thundering herd.
Deduplication & idempotency
- Every record carries (device_id, seq_no, ingestion_attempt_id, checksum). Consumer uses (device_id, seq_no) as idempotency key.
- At collector/Kafka consumer: maintain per-device highest-commit seq_no + small cache of recent seq_nos (LRU) to detect duplicates.
- Use Kafka topic with idempotent producer or consumer-side dedupe store; commit only after durable write.
Partitioning & routing
- Partition by device_id (or device_id hash) to preserve ordering per device and co-locate stateful dedupe.
- Within partition, order by seq_no to allow deterministic replay.
Replay mechanisms
- Device replay: resend from seq_no N on reconnect; collector validates seq_no > last-acked.
- Collector replay: retain WAL and offer admin-triggered replay by re-publishing to Kafka with same keys.
- Use Kafka retention and compaction (keyed by device+seq) so replays can reconstitute state.
Bounding memory/disk usage
- Device: configurable max WAL size (e.g., 100MB); when exceeded, apply retention policy—drop oldest non-critical telemetry, escalate alerts, or compress batches. Persist summary metrics to preserve semblance of data.
- Collector: capped in-memory buffer; spill to disk with eviction policy; monitor disk usage and backpressure upstream.
- Enforce per-device quotas and circuit-breakers to prevent noisy neighbors.
Guarantees & trade-offs
- At-least-once: achieved via persistent WAL, ack protocol, and retries. Deduplication on consumer prevents duplicates from surfacing to downstream.
- Trade-off: keeping per-device dedupe state increases storage; mitigate with TTL and LRU cache.
- Observability: expose metrics (queue depth, dropped count, replay count) and alert on quota breaches.
This design balances durability, bounded resource use, and operational simplicity appropriate for network-managed cellular sites.
Explain the seven layers of the OSI model. For each layer, state its primary responsibility, the name of its protocol data unit (PDU), and one or two protocols or technologies that commonly operate there. Then explain why identifying which layer a failure sits at is useful before you jump to a fix.
Sample Answer
Direct answer
The OSI model splits network communication into seven layers, each handing off a well-defined unit of work to the layer above and below it: Physical, Data Link, Network, Transport, Session, Presentation, and Application. Knowing which layer a protocol or symptom belongs to lets you reason about failures systematically instead of guessing.
Structured elaboration
| Layer | Responsibility | PDU (protocol data unit) | Common protocols/tech |
|---|---|---|---|
| 7. Application | Provides the interface applications use to talk over the network | Data | HTTP, DNS |
| 6. Presentation | Translates, encrypts, and compresses data into a form the application layer can use | Data | TLS, character encoding |
| 5. Session | Establishes, manages, and tears down a logical session between two hosts | Data | RPC session handling |
| 4. Transport | End-to-end delivery between processes: reliability, ordering, flow control | Segment (TCP) / Datagram (UDP) | TCP, UDP |
| 3. Network | Logical addressing and routing across networks | Packet | IP, ICMP |
| 2. Data Link | Framing and addressing on a single link (same broadcast domain) | Frame | Ethernet, ARP |
| 1. Physical | Raw bit transmission over a physical medium | Bit | Ethernet PHY, fiber, radio (Wi-Fi) |
The mnemonic that matters more than memorizing names is the DIRECTION of responsibility: each layer only needs to trust the layer directly below it to deliver its unit of data, and it only exposes a clean interface to the layer above. That's what lets a Transport-layer protocol like TCP work identically over Ethernet, Wi-Fi, or a VPN tunnel: it never needs to know which Layer 1/2 technology is underneath.
Worked example
Say a user reports "the site is down." Layer-by-layer reasoning turns that vague complaint into a specific hypothesis:
- Physical/Data Link symptom: the NIC shows no link light, or
ip linkreports the interface asDOWNa cable or switch-port problem. - Network layer symptom:
pingto the server's IP times out but the local gateway responds a routing problem somewhere between here and there. - Transport layer symptom:
pingsucceeds but a TCP connection to the port hangs or resets a firewall, a service that isn't listening, or a transport-level issue. - Application layer symptom: the TCP connection completes but the HTTP response is an error or garbage the service is up but misbehaving.
Each of these is a different team, a different fix, and a different urgency. That's the actual payoff of the model: it turns "the site is down" into "which layer, which evidence."
Trade-offs & pitfalls
The OSI model is a teaching and troubleshooting framework, not how real stacks are literally implemented. Session and Presentation are rarely separate pieces of code in modern systems; TLS, for instance, is commonly described as "sits between Transport and Application" rather than cleanly as Layer 6. Don't over-fit a real symptom to exactly one layer: a firewall dropping SYN packets looks like a Transport-layer symptom (connection never establishes) but the actual cause and fix live at a security-policy layer that OSI doesn't model at all.
Want to create your own tailored preparation guide using our deep research?
Get Started for FreeInterview-Ready Courses
Visual-first, interactive, structured learning paths
Browse Network Engineer jobs
AI-enriched listings across hundreds of company career pages
Explore Jobs