Skip to content
tezvyn:

Top 30 Infrastructure Interview Questions and Answers

30 multiple-choice questions on Infrastructure, drawn from 30 bites out of the 110 tagged Infrastructure on Tezvyn. Answer them here or read straight down. Every question carries the correct option, why it is correct, and a link to the bite it came from.

30 questions. Pick an answer, or open “Show the answer” to read it.

Answers are graded in your browser. Nothing is saved, and no XP or streak is earned here. The app keeps score.

  1. Question 1 of 30

    What problem does cloud computing primarily solve for businesses launching new digital services?

    Show the answer

    Answer: c · The high upfront costs and risks of owning physical IT infrastructure.

    The card states cloud computing was created to solve "huge upfront capital costs, long procurement times, and the risk of buying too much or too little capacity" associated with owning physical servers. While cloud computing can help with IT personnel challenges (A) and high availability (D), these are not its primary foundational purpose.

    Read the full bite: Cloud Computing: Renting Someone Else's Computer

  2. Question 2 of 30

    What is the significance of Vercel using the same public Adapter API contract as third-party platforms?

    Show the answer

    Answer: a · Third-party platforms can achieve full framework fidelity without relying on reverse-engineered internals.

    The correct answer is B because the card emphasizes that the public contract allows any platform to target the same framework fidelity as Vercel without reverse-engineering build output. Option D is tempting because Vercel did open-source its adapter, but the card explicitly states there are no private hooks, so there was no secret build logic to replicate.

    Read the full bite: Next.js 16.2 ships stable Adapter API for all platforms

  3. Question 3 of 30

    A long-running agent job fails on step five after several expensive model calls. How does Vercel Workflow SDK handle the retry?

    Show the answer

    Answer: a · It resumes from the last successful checkpoint before the failure, avoiding redundant calls.

    Workflow SDK checkpoints every step and persists state, so retries resume from the last good step instead of restarting from zero. Option C describes standard retry behavior without durable execution, while option B conflates automatic retries with the SDK's optional human-in-the-loop pauses.

    Read the full bite: Vercel ships AI Gateway, Workflow SDK, and Sandbox for agents

  4. Question 4 of 30

    Why does the card suggest evaluating Vercel Connect against your current secret management strategy?

    Show the answer

    Answer: a · Because it replaces long-lived environment tokens with temporary scoped credentials

    The card states that Vercel Connect introduces temporary scoped credentials for agent-to-service authentication, eliminating long-lived environment tokens, which directly addresses secret management and token rotation struggles. Option C confuses Connect with Marketplace database integrations, while B and D describe other distinct products in the Agent Stack.

    Read the full bite: Vercel Ship 2026: agent stack, eve framework, and microservices

  5. Question 5 of 30

    When you run a container from an image, how does Docker handle the image layers and runtime file changes?

    Show the answer

    Answer: a · It keeps the image layers read-only and adds a writable layer on top for runtime changes.

    A container mounts the image's read-only layers and adds a writable layer on top, allowing runtime changes without altering the original image. Option B is wrong because containers are isolated processes that share the host kernel, not mini-VMs that boot their own kernels.

    Read the full bite: How do Docker images and containers differ and relate?

  6. Question 6 of 30

    Which statement best describes a core benefit of adopting public cloud for a new business?

    Show the answer

    Answer: c · It enables rapid resource scaling and avoids large upfront capital investments.

    Option C is correct because the card emphasizes public cloud's ability to turn rigid capital expense into flexible operational expense, allowing rapid scaling without large upfront hardware purchases. Option D is incorrect as the card notes that public cloud may not be cost-effective for stable, high-utilization workloads and uncontrolled usage can lead to higher costs.

    Read the full bite: Public Cloud: Renting, Not Owning, Your Datacenter

  7. Question 7 of 30

    Which scenario would trigger an automated MLOps deployment but typically not a traditional DevOps pipeline?

    Show the answer

    Answer: b · Production monitoring detecting drift in input data distributions

    The card states that MLOps deployments add triggers like data drift detection, unlike DevOps pipelines that react to code commits, dependency patches, or infrastructure changes. The GPU driver update is a tempting distractor because a common misconception is that MLOps is simply DevOps plus GPUs.

    Read the full bite: What are the primary differences between traditional DevOps and MLOps?

  8. Question 8 of 30

    What is the key feature that distinguishes a private cloud from a traditional, on-premises data center?

    Show the answer

    Answer: d · It offers on-demand, self-service access to resources through a management software layer.

    A private cloud's defining characteristic is the cloud management software stack that provides self-service, on-demand access and automation, differentiating it from a traditional data center which may also own its hardware and use virtualization but lacks these cloud-like capabilities. While option B is often true for private clouds, it's also true for traditional data centers, so it's not the distinguishing factor.

    Read the full bite: Private Cloud: Cloud Computing on Your Terms

  9. Question 9 of 30

    An e-commerce company notices prediction accuracy dropping on a model whose serving code hasn't changed. What is the most appropriate first step in a mature MLOps setup?

    Show the answer

    Answer: a · Trigger the CT pipeline to validate data, train, evaluate against the champion, and promote if blessed

    When model performance decays but serving code is unchanged, the CT pipeline should validate data, retrain, and evaluate before promotion. Option D is wrong because it bypasses evaluation gates and data validation, and B is wrong because models are separate deployable units from serving code.

    Read the full bite: Explain ML pipelines and typical CI/CD/CT components

  10. Question 10 of 30

    A development team prioritizes rapid deployment of their custom web application and wants to avoid managing servers or operating systems. Which cloud service model best fits their needs?

    Show the answer

    Answer: b · Platform as a Service (PaaS), as it abstracts away infrastructure, allowing focus on code and quick deployment.

    PaaS is designed for rapid development and deployment by abstracting away the underlying infrastructure like servers and operating systems, allowing developers to focus solely on their application code. While IaaS offers control, it requires managing those underlying components, which the team wants to avoid.

    Read the full bite: Platform as a Service (PaaS): Focus on Code, Not Infrastructure

  11. Question 11 of 30

    What key characteristic separates Infrastructure as Code from traditional imperative server scripting?

    Show the answer

    Answer: d · IaC defines the desired end state and achieves idempotence through automated reconciliation

    True IaC is defined by its declarative, idempotent model that lets the platform reconcile to a desired state, not by the file format used. While IaC definitions are often written in JSON or YAML, simply using those formats without declarative idempotence is still just scripting.

    Read the full bite: What is Infrastructure as Code (IaC), and how does it support CI/CD?

  12. Question 12 of 30

    A model is trained on batch aggregates computed in Spark and served via a Python microservice using real-time streams. What is the most robust way to prevent training-serving skew?

    Show the answer

    Answer: b · Use a shared transformation library for both paths, serve from a versioned feature store, and log features at training time for replay validation

    A shared transformation library and versioned feature store guarantee both paths execute identical logic from a single source of truth. Relying on manual code reviews is insufficient because separate implementations inevitably diverge under operational pressure.

    Read the full bite: How do you guarantee identical feature engineering for training and real-time inference?

  13. Question 13 of 30

    Which characteristic of blue-green deployment most directly enables sub-minute rollback during a failed release?

    Show the answer

    Answer: c · The blue environment remains fully operational and ready to receive traffic after cutover.

    The card states that because the old environment stays warm, rollback is a single traffic switch rather than a redeploy. Option A describes a canary release, which reuses the same infrastructure and gradually shifts traffic, making it a common misconception rather than true blue-green behavior.

    Read the full bite: Explain blue-green deployment, its prerequisites, and how it reduces deployment risk.

  14. Question 14 of 30

    The cloud's Region/Availability Zone (AZ) model is primarily designed to address which of the following challenges?

    Show the answer

    Answer: b · The inherent risk of a single data center becoming a critical point of failure.

    The card states that "A single data center is a massive single point of failure" and the Region/AZ model was created to allow applications to "survive the loss of an entire data center or more." This directly addresses the risk of single data center failures. While other options are general cloud benefits, they are not the primary design goal of the Region/AZ model's failure isolation.

    Read the full bite: Cloud Regions and AZs: Infrastructure Built for Failure

  15. Question 15 of 30

    Which architectural element of a feature store most directly prevents training-serving skew for a precomputed feature?

    Show the answer

    Answer: a · Running identical transformation logic in offline training pipelines and online serving paths

    Training-serving skew is eliminated when the exact same transformations generate features for both training backfills and live inference. Option C is tempting but wrong because offline and online stores are separate, workload-optimized layers rather than a single shared database.

    Read the full bite: Describe feature store architecture and training-serving skew

  16. Question 16 of 30

    What is a key characteristic that distinguishes a Virtual Machine (VM) from simply running multiple applications on a single operating system?

    Show the answer

    Answer: d · VMs enable the execution of entirely separate operating systems on a single physical machine.

    The core purpose of a VM is to run multiple isolated operating systems on a single physical machine, each with its own OS. Option B is incorrect because VMs do not share the host's OS kernel; that is a characteristic of containers.

    Read the full bite: Virtual Machine (VM): A Computer Inside a Computer

  17. Question 17 of 30

    What is the primary benefit of using a machine image for deploying servers?

    Show the answer

    Answer: a · It enables rapid and consistent provisioning of identical virtual machines.

    The card emphasizes that machine images solve "slow, error-prone, and inconsistent server provisioning" by acting as a "cookie cutter" to launch "hundreds of identical virtual machines" quickly. Option D is incorrect because images are for identical servers; unique configurations often require additional tools. Option C is incorrect as the card states images can be overkill for simple applications, where Docker might be preferred.

    Read the full bite: Machine Images: The Blueprint for Your Servers

  18. Question 18 of 30

    Which scenario best illustrates the primary advantage of using cloud instances?

    Show the answer

    Answer: b · A website experiencing significant, unpredictable spikes in user traffic throughout the day.

    Cloud instances are designed for elasticity, allowing users to scale computing resources up or down rapidly to meet fluctuating demand and pay only for the time they are active. A website with unpredictable traffic spikes directly benefits from this on-demand scalability, unlike scenarios with consistent loads or static needs.

    Read the full bite: Cloud Instances: Renting Servers on Demand

  19. Question 19 of 30

    A model degrades in production because separate batch and streaming pipelines produce slightly different values for the same feature. What does a feature store primarily solve here?

    Show the answer

    Answer: b · It ensures identical transformation logic is used for both training and real-time serving

    A feature store prevents training-serving skew by governing the same transformations and definitions across batch and real-time contexts. Describing it as merely a cache or database misses its core consistency and governance role.

    Read the full bite: What problems does a Feature Store solve in ML systems?

  20. Question 20 of 30

    Which scenario best highlights the core advantage of implementing a data lake?

    Show the answer

    Answer: c · A research team collecting vast amounts of raw, multi-format sensor data for exploratory machine learning.

    The correct answer (C) aligns with the data lake's purpose: storing diverse, raw data for exploratory analysis and machine learning without upfront schema. Options A, B, and D describe use cases better suited for transactional databases, data warehouses, or indexed systems, which data lakes are explicitly not designed for.

    Read the full bite: Data Lake: A Single Repository for Raw Data

  21. Question 21 of 30

    Which statement best captures a key operational tradeoff between ephemeral and persistent CI build agents?

    Show the answer

    Answer: b · Ephemeral agents reduce security patching burden through short lifecycles, while persistent agents require ongoing OS and toolchain maintenance

    Ephemeral agents are short-lived, which minimizes patching and drift, whereas persistent agents accumulate state and need active maintenance. Distractor A is wrong because ephemeral agents can suffer from cold-start latency and repeated image pulls, and persistent agents can be more cost-effective when heavily utilized.

    Read the full bite: Compare ephemeral container agents versus persistent build agents

  22. Question 22 of 30

    When A/B testing a backend architecture change with shared database pools, which experimental design most rigorously isolates the architecture effect from confounders?

    Show the answer

    Answer: b · Bucket users by session ID hash for sticky routing, stratify by region, pair P99 latency with a user completion metric, and run a parallel holdback at identical traffic percentage

    Option B correctly combines sticky routing, regional stratification, paired P99 and user-completion metrics, and a parallel holdback to isolate architecture effects. Option D is tempting because it includes stickiness and P99 latency, but omitting stratification and a user-facing guardrail leaves the test vulnerable to regional confounders and silent UX regressions.

    Read the full bite: How would you structure a backend architecture A/B test and define metrics?

  23. Question 23 of 30

    When is a bare metal instance the most appropriate choice over a virtual machine?

    Show the answer

    Answer: b · To host a high-frequency trading platform requiring consistent, ultra-low latency and direct hardware access.

    Bare metal instances are ideal for performance-critical workloads like high-frequency trading that require consistent low latency and direct hardware access, bypassing virtualization overhead. Virtual machines, on the other hand, are better suited for rapid auto-scaling to handle unpredictable traffic spikes, which bare metal instances lack.

    Read the full bite: Bare Metal Instances: Your Own Dedicated Cloud Server

  24. Question 24 of 30

    Which AWS Placement Group strategy is best for a large distributed database to minimize correlated hardware failures?

    Show the answer

    Answer: d · Partition, to distribute instances across logical hardware segments, reducing single point of failure impact.

    Partition placement groups are designed for large distributed systems like Kafka or Cassandra, allowing instances to be spread across logical hardware partitions to reduce the chance of multiple nodes failing from a single hardware issue. While Spread groups also offer isolation, they are typically recommended for a small number of critical instances, not large distributed databases, due to the potential to exhaust distinct hardware.

    Read the full bite: AWS Placement Groups: Control Where Your Instances Run

  25. Question 25 of 30

    Before a cloud server's operating system can store files on a newly provisioned block storage volume, what essential step must be performed?

    Show the answer

    Answer: a · It must be formatted with a filesystem and then mounted to a directory.

    The card states that block storage is like a raw, unformatted SSD, and it's 'up to you to format it with a filesystem... and mount it' before use. Option B is incorrect because block storage is designed for single-server attachment, not for simultaneous access by multiple servers.

    Read the full bite: Block Storage: Your Virtual Hard Drive in the Cloud

  26. Question 26 of 30

    For which scenario is cloud file storage the most suitable solution?

    Show the answer

    Answer: c · Enabling multiple servers or users to access a shared, hierarchical file system.

    Cloud file storage is designed for scenarios requiring a shared, traditional file system accessible by multiple clients or servers, as stated in the card. Storing vast unstructured data is better suited for object storage, and high-performance databases typically use block storage.

    Read the full bite: Cloud File Storage: A Shared Drive on the Internet

  27. Question 27 of 30

    What is the primary benefit of using Docker Compose profiles?

    Show the answer

    Answer: c · To define and selectively activate optional groups of services, such as debugging tools or environment-specific setups, from a unified compose.yaml.

    Profiles are designed to enable or disable subsets of services (e.g., debugging tools, dev-specific setups) within a single compose.yaml file, reducing complexity. Option A describes a scenario where separate compose.yaml files are explicitly recommended instead of profiles.

    Read the full bite: Docker Compose Profiles: Activate Service Groups

  28. Question 28 of 30

    What is the main advantage Hydra offers for managing configurations in complex applications, particularly in machine learning?

    Show the answer

    Answer: d · It enables the systematic composition of small, reusable configuration pieces to manage numerous experimental variations.

    Hydra's core benefit is its ability to compose modular configuration components, allowing users to systematically manage and swap out different settings for various experimental runs. The card explicitly states it avoids a 'monolithic file' approach, making option A incorrect.

    Read the full bite: Hydra: Composable Configuration for Complex Apps

  29. Question 29 of 30

    Which strategy best guarantees that CI and developers use bitwise-identical Docker dev environments without host-specific drift?

    Show the answer

    Answer: b · Build the image once, push it to a registry with an immutable tag or digest, and have both CI and developers pull that exact image

    The card treats the built image—not the Dockerfile—as the immutable artifact to distribute, and pulling an exact tagged or digested image eliminates host dependency and cache variability. Option A is tempting because pinning a base image by digest is correct, but local rebuilds still reintroduce 'works on my machine' discrepancies from host caches and build contexts.

    Read the full bite: How do you version and distribute Docker dev environments consistently?

  30. Question 30 of 30

    Which combination best shrinks a PyTorch serving image while preserving operational rigor and layer hygiene?

    Show the answer

    Answer: c · Build in a devel stage, copy artifacts to a runtime stage, and collapse cleanup into the install RUN

    The correct approach uses multi-stage builds to exclude devel libraries and collapses cleanup into the installation RUN so intermediate files never commit to a layer. The most tempting distractor, docker squash, merely hides bloat rather than fixing build hygiene, and separate RUN cleanups still preserve deleted files in underlying layers.

    Read the full bite: Strategies to reduce a 5GB ML Docker image size

Could you explain these out loud?

That is what an interview actually tests. Tezvyn gives you questions like these with what the interviewer is really checking, the answer that lands, and the mistake that ends the conversation, in the four minutes before your next meeting.

The iPhone app is on the way

We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.

Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.

Get it on Google PlayiPhone app coming soon