Infrastructure engineer interview questions and how to answer them
Infrastructure engineer interview questions test whether you can design, build and keep running the foundation everything else sits on: servers and virtualization, storage, networks, load balancing, DNS, backups and disaster recovery, usually across a data center and at least one cloud, all managed as code. Expect fundamentals, a troubleshooting scenario, a design round such as building a new site or migrating a rack of workloads, and questions about capacity and lifecycle. Interviewers want reasoning about failure, scale and cost, not product names.
By Evin JohnPublished 7 min read
What infrastructure engineers do, and where the title overlaps
An infrastructure engineer owns the layer below the applications: the hosts, hypervisors, storage arrays or clusters, switches and firewalls, load balancers, DNS and the automation that builds them. In a company with its own data centers or colocation space, that includes racking plans, power and cooling budgets, hardware refresh cycles and vendor support contracts. In a cloud-heavy company it shifts toward landing zones, network connectivity between sites and clouds, and shared services. Many teams run both, which is why hybrid questions are so common.
| Role | Center of gravity |
|---|---|
| Infrastructure engineer | Building and scaling the foundation: compute, storage, network, provisioning and DR, often hybrid. |
| Cloud engineer | Designing and running workloads on a public cloud's managed services. |
| Systems administrator | Operating servers, directories and user-facing systems day to day. |
| Site reliability engineer | Service reliability against objectives, incident response and toil reduction for production services. |
| Network engineer | Routing, switching, firewalls and WAN design in depth. |
How infrastructure engineer interviews tend to run
- Recruiter screenScale you have worked at (hosts, sites, clouds), on-call experience, and the automation tools you use daily.
- Technical screenRapid fundamentals: Linux, TCP/IP, DNS, storage and virtualization, plus a few "what happens when" questions.
- Troubleshooting roundA live or verbal scenario: a host is slow, a service is unreachable, a storage volume is filling. You narrate commands and hypotheses.
- Design roundBuild a new region or site, plan a data center exit, or design backup and DR for a set of systems with given recovery targets.
- Coding or automation taskSome teams ask for a script in Python, Go or a shell language, or an infrastructure-as-code module review.
- BehavioralOutages you handled, changes that went wrong, and how you work with application teams who depend on you.
Linux and networking fundamentals
| Question | What it tests | What a strong answer shows |
|---|---|---|
| A server's load average is high but CPU use is low. What is going on? | Linux internals | Load counts tasks waiting, including those blocked on disk or network I/O. Check I/O wait, disk latency and stuck NFS mounts. |
| Walk through what happens when a host resolves a name and opens an HTTPS connection. | End-to-end path | Resolver config, cache, recursive DNS, the TCP handshake, TLS, and where each step can fail or add latency. |
| What is the difference between a VLAN and a subnet? | Layer 2 versus layer 3 | A VLAN separates broadcast domains on switches; a subnet is an IP range routed at layer 3. They are often mapped one to one but are different things. |
| How does a load balancer decide a backend is healthy? | Health checks | Active checks against a path or port with thresholds, passive checks on failed requests, and the risk of a shallow check marking a broken app as healthy. |
| What is BGP used for in an infrastructure team? | Routing at the edge | Exchanging routes with providers or between sites and clouds, announcing your prefixes, and anycast for services such as DNS. Depth depends on the role. |
| Disk is full but du shows little usage. Why? | Filesystem behavior | A deleted file still held open by a process, or inodes exhausted. Find it with lsof and restart or truncate safely. |
| How do you safely change a kernel parameter across a fleet? | Change control | Test on one host, roll out in waves through configuration management, persist the setting, and watch metrics between waves. |
| Why lower a DNS record's TTL before a migration? | Caching | Resolvers cache the answer for the TTL. Lowering it at least one old TTL period ahead means clients pick up the new address quickly at cutover, and you raise it again afterward. |
Compute, virtualization and storage questions
- When would you run workloads on bare metal instead of virtual machines? For latency-sensitive or I/O-heavy systems, licensing tied to physical cores, or large databases where the hypervisor adds cost without much benefit. Mention what you lose: easy live migration and dense packing.
- What does overcommitting CPU or memory on a hypervisor buy you, and what does it risk? Higher density and lower cost, at the risk of contention, ballooning or swapping when many guests get busy at once. Set ratios per cluster based on workload type.
- Compare block, file and object storage. Block for databases and VM disks, file for shared access by many hosts, object for large volumes of unstructured data over an HTTP interface. Each has different consistency and performance traits.
- What RAID level would you choose for a database volume and why? Mirroring with striping is a common answer for write-heavy work, because parity RAID pays a write penalty and rebuilds slowly on large disks. Say that RAID is not a backup.
- How would you design storage for a cluster that must survive losing a whole rack? Replicate or erasure-code data across racks as the failure domain, keep enough spare capacity to rebuild, and test what happens to performance while a rebuild runs.
- A VM's disk latency spikes every night. How do you investigate? Line up the timing with backups, snapshots, replication or batch jobs on the same datastore, and look at latency at the guest, host and array to see where it starts.
- Why does NUMA matter when sizing a large VM? On multi-socket hosts, memory attached to the other socket is slower to reach. A VM sized larger than one NUMA node can lose performance unless the hypervisor exposes the topology to the guest.
Automation and provisioning questions
| Question | What it tests | What a strong answer shows |
|---|---|---|
| How does a new physical server go from the loading dock to production in your environment? | Provisioning pipeline | Inventory and asset record, firmware baseline, network boot into an automated OS install, configuration management, burn-in tests, then registration in monitoring and the scheduler. |
| Terraform plan shows it will destroy and recreate a critical resource. What do you do? | IaC safety | Stop, find which attribute forces replacement, decide whether the change is needed, and use state moves, lifecycle rules or a manual migration plan instead of applying blindly. |
| How do you handle configuration drift? | Desired state | Detect it with regular runs or reports, decide whether code or the host is right, and remove the path that allowed manual change. |
| Mutable or immutable servers? | Operating model | Immutable images reduce drift and make rollback simple; mutable hosts suit stateful or hard-to-rebuild systems. Most fleets mix both. |
| How do you keep secrets out of your infrastructure code? | Security hygiene | A secrets manager or vault referenced at deploy time, encrypted state with restricted access, and scanning repositories for leaks. |
| How do you test infrastructure code before it reaches production? | Safe delivery | Linting and policy checks in the pipeline, a plan reviewed by a second person, applying to a staging environment first, and small changes that are easy to roll back. |
Reliability, DR and capacity questions
- Explain RPO and RTO and how they shape a backup design. Recovery point is how much data you can lose, recovery time is how long you can be down. Tight targets push you from nightly backups toward replication and warm standby, at higher cost.
- How do you know your backups work? Scheduled restore tests to a clean environment, checks that restored data is usable, and copies that an attacker with admin rights cannot delete.
- Design DR for a payroll system that lives in one data center. Agree targets with the owner, replicate to a second site or a cloud, document the failover runbook, and rehearse it. Include DNS, identity and licensing, which often break during failover.
- How do you plan capacity for next year? Trend current use per resource, add known projects, include headroom for failure (losing a host or a rack), and account for hardware lead times and budget cycles.
- When should hardware be refreshed? When support ends, failure rates climb, power per unit of work is poor, or new workloads need features the old kit lacks. Tie the case to risk and running cost.
- What would you monitor on a hypervisor cluster? CPU ready time or steal, memory pressure, datastore latency and free space, host hardware health, and capacity left after losing the largest host.
Behavioral questions
- Tell me about the worst outage you were part of and what changed afterward.
- Describe a migration you planned, such as moving workloads between data centers or into a cloud.
- Give an example of automating something that used to take your team hours.
- Tell me about a change you made that caused an incident.
- Describe how you handled an application team that wanted infrastructure faster than you could safely provide it.
- Tell me about a vendor or hardware decision you made and how it turned out.
Fictional example
- Interviewer
- Users say an internal app is slow, but only from one office. Go.
- Candidate
- Since it is one office, I suspect the path before the app. I would ask when it started and whether other apps from that office are slow too. Then I compare a request from that office with one from elsewhere: DNS lookup time, connection time and time to first byte. If DNS is slow, I check which resolver that office uses. If the connection is slow, I trace the route and look at the office link for loss or saturation, and at any firewall or proxy in the path. In a similar case I worked on, a new backup job was saturating the office's uplink every afternoon. We moved it to the evening and added quality of service rules so interactive traffic came first.
Preparing in two weeks
- Days 1 to 3: Linux and network drillsPractice explaining load, memory, I/O and the DNS-to-TLS path, and run the core diagnostic commands on a lab VM until they are reflex.
- Days 4 to 6: storage and virtualizationReview storage types, RAID trade-offs, replication, snapshots and hypervisor resource contention.
- Days 7 to 9: automationWrite a small Terraform or Ansible project, break it on purpose, and practice reading a plan or diff aloud.
- Days 10 to 12: one design, rehearsedDesign DR for a two-tier app or a new site build. Draw failure domains and say what happens when each fails.
- Days 13 and 14: storiesPrepare an outage, a migration, an automation win and a mistake, each with what you measured.
Troubleshooting rounds are graded on how you narrate, so rehearse them with someone who keeps changing the symptoms. Natively, an AI interview assistant for Mac and Windows, records the conversation as a transcript on your computer and can suggest next steps during a practice run. For a design prompt or a log excerpt you capture in a screenshot, it can offer a second opinion to check your reasoning against, and the notes stay available for review afterward.
Questions people ask
What questions are asked in an infrastructure engineer interview?
Expect Linux and networking fundamentals, virtualization and storage trade-offs, provisioning and configuration as code, backup and disaster recovery, capacity planning, a live troubleshooting scenario and a design round.
How is an infrastructure engineer different from a cloud engineer?
A cloud engineer works mainly with one public cloud's managed services. An infrastructure engineer owns the foundation layer, often across data centers and clouds: hardware, hypervisors, storage, networks and the automation that builds them.
What design question might I get in an infrastructure interview?
Common prompts are designing disaster recovery for a system with given recovery targets, building a new site or region, or planning a migration out of a data center.
How should I approach an infrastructure troubleshooting question?
Clarify scope and timing, form a hypothesis, test the path layer by layer with the commands you would run, and say what each result rules out before moving on.
Where to go next
Practice with the same assistant you would use on a call: it listens, transcribes and suggests answers from your own resume and the job description.
Facts on this page were last checked on . Product details come from the Natively app itself; if something here is out of date, tell us at hello@heynatively.com.
