01What is the difference between TCP and UDP, and when would you choose UDP on purpose?▼easyNewCloudflareGoogleInfosysunlockedOrdering and retransmission are what TCP adds, and both of them cost time. Naming something that deliberately gives them up, and saying why, is what turns a textbook answer into a real one.Open full answer →
02Explain CIDR notation. How many hosts are in a /24, and why does subnet sizing matter in a VPC?▼easyNewAmazon & AWSGoogleAccentureunlockedThe arithmetic takes thirty seconds to learn and gets asked constantly. What it is really testing is whether you have ever had to size a VPC that could not be resized later.Open full answer →
03A server does not come back after a reboot. Walk me through the Linux boot process and where it can stop.▼easyNewRed HatIBMTCSunlockedFive stages, and which one you are stuck in tells you what to fix. A machine that reaches a GRUB prompt has a different problem from one that hangs waiting on a filesystem that no longer exists.Open full answer →
04A Linux host is slow and someone says it is out of memory. How do you check, and what do free and df actually tell you?▼easyNewRed HatGoogleTCSunlockedMost of what looks like used memory on a healthy Linux box is page cache doing its job. Knowing which column to read, and why df and du disagree, is half of Linux triage.Open full answer →
01Design a highly available three-tier application on AWS. What actually fails, and what does each layer of redundancy buy?▼easyNewAmazon & AWSAccentureInfosysunlockedMulti-AZ is the answer and the reason matters more than the acronym. Each tier fails differently, and the database is the one where high availability means a failover with a real gap, not zero interruption.Open full answer →
02How is an Azure environment organised? Explain tenants, management groups, subscriptions and resource groups.▼easyNewMicrosoftAccentureInfosysunlockedFour levels, and the two that matter operationally are the subscription, where quotas and billing live, and the resource group, which is the unit you delete. Getting the boundaries wrong is expensive to unpick later.Open full answer →
06You have only used AWS and the role is on GCP. What is genuinely different, beyond the service names?▼easyNewGoogleDatabricksAccentureunlockedTwo structural differences matter more than any service mapping: the VPC is global rather than regional, and permissions are granted to members on resources through a hierarchy rather than attached to identities.Open full answer →
13What actually makes cloud computing different from running your own servers? Cut past the marketing.▼easyAmazon & AWSMicrosoftOracleunlockedA question that sounds introductory and turns on one distinction: what you stop operating, and what you start paying for instead. The answer is three mechanical differences and one economic one.Open full answer →
26Why do mature AWS shops avoid IAM users for workloads? Where do instance profiles and IRSA fit in?▼easyAmazon & AWSGitLabRed Hat○ sign inRoles versus users looks like syntax trivia and is actually a secrets-management position. The follow-ups about instance profiles and IRSA separate practitioners from tutorial graduates.Open full answer →
01Walk me through terraform init, plan, apply and destroy. What is each one actually doing?▼easyNewHashiCorpAmazon & AWSInfosysunlockedFour commands, and the interesting one is plan, because it is the only point where you see the three-way comparison Terraform is actually making before anything changes.Open full answer →
02How does Ansible actually work? Explain inventory, playbooks, modules and why agentless matters.▼easyNewRed HatIBMTCSunlockedIt copies a small Python program to the target over SSH, runs it, and deletes it. Once that is clear, the agentless claim, the performance characteristics and the idempotency requirement all stop being separate topics.Open full answer →
20A module needs an AMI ID and three subnet IDs. Do you hardcode them, accept variables, or look them up?▼easyTCSAccentureInfosys○ sign inThe right answer depends on who owns the truth: the platform, the caller, or nobody. At scale there is a fourth option most candidates miss, where your image pipeline publishes values instead of Terraform hunting for them.Open full answer →
01What is the difference between a container and a virtual machine? Where does the isolation actually come from?▼easyNewRed HatIBMTCSunlockedA VM virtualises hardware and boots its own kernel. A container is a process on the host kernel with its view of the world restricted. Everything else, including the security answer, follows from that one difference.Open full answer →
02Draw me a Kubernetes cluster. What are the pieces, and what is each one responsible for?▼easyNewRed HatTCSInfosysunlockedFollow a Deployment change through the API server, controllers, scheduler and kubelet. Each handoff gives you a different place to investigate when a pod never starts.Open full answer →
03Why does Kubernetes schedule pods instead of containers? What is a pod actually for?▼easyNewGoogleRed HatInfosysunlockedA pod is a shared network and storage boundary that happens to contain containers. Once you can say what the containers inside one share, sidecars and init containers stop needing separate explanations.Open full answer →
04ClusterIP, NodePort, LoadBalancer: what is the difference, and which would you use in production?▼easyNewAmazon & AWSMicrosoftAccentureunlockedService types choose how an application is exposed. Follow the actual traffic path: cloud controllers can target nodes or pods, and internal exposure differs from public exposure.Open full answer →
05What does an Ingress do that a Service cannot, and what is an ingress controller?▼easyNewMicrosoftAtlassianInfosysunlockedA Service moves connections and an Ingress reads requests. The gap between those two sentences is hostname routing, path routing and TLS, and it is also why an Ingress object alone does nothing.Open full answer →
06A pod is not running. Walk me through telling Pending, ImagePullBackOff and CrashLoopBackOff apart.▼easyNewRed HatTCSAccentureunlockedThree states, three completely different causes, and one command that tells you which you are looking at. The state name says whether the problem is the scheduler, the registry or your own process.Open full answer →
07What is a namespace, and when do you actually need more than one?▼easyNewRed HatSalesforceInfosysunlockedA namespace scopes names, permissions and quotas. It does not scope the kernel or the network by default, and the gap between what people assume it isolates and what it does is where the trouble starts.Open full answer →
08How does a Service know which pods belong to it? Explain labels and selectors.▼easyNewGoogleMicrosoftAccentureunlockedSelectors match object labels; owner references record controller relationships. Keeping those mechanisms separate explains how a Service can select the wrong pods without owning them.Open full answer →
09What does a Deployment give you that a ReplicaSet does not, and when would you touch a ReplicaSet directly?▼easyNewAmazon & AWSRed HatInfosysunlockedA ReplicaSet keeps a count. A Deployment manages a sequence of ReplicaSets, and that is the entire difference: it is what turns a change into a rollout you can pause and undo.Open full answer →
12A container restarted and its data is gone. Explain volumes, bind mounts and where container state actually lives.▼easyNewAmazon & AWSRed HatTCSunlockedThe writable layer is part of the container, not the image, and it dies with the container. Everything about volumes follows from knowing which of those two a file is in.Open full answer →
01Walk me through the stages of a CI/CD pipeline you have built.▼easyNewAccentureInfosysTCSunlockedThe opener in most DevOps interviews, and the one most people answer as a list of nouns. What earns the follow-up is saying what each stage is allowed to fail for and how long it takes.Open full answer →
02What is a Jenkinsfile, and what is the difference between declarative and scripted pipelines?▼easyNewTCSInfosysAccentureunlockedPipeline as code moved the build definition into the repository, where it is reviewed and versioned with the thing it builds. Declarative is the default answer, and knowing when scripted still earns its place is the follow-up.Open full answer →
04Explain how GitHub Actions is put together: workflows, jobs, steps and runners.▼easyNewGitLabMicrosoftAtlassianunlockedFour nested things and one rule that explains most confusion: jobs run on different machines and share nothing unless you make them. Everything about artifacts and caching follows from that.Open full answer →
07What actually causes a merge conflict, and how do you resolve one without breaking anything?▼easyNewGitLabMicrosoftInfosysunlockedGit merges by comparing both branches against their common ancestor. A conflict means both sides changed the same region, and the resolution nobody checks is the one that compiles and is semantically wrong.Open full answer →
01How does Prometheus collect metrics? Explain the pull model, exporters and when you need a pushgateway.▼easyNewDatadogCloudflareInfosysunlockedPrometheus asks your service for numbers on a schedule rather than waiting to be told. That one design choice explains service discovery, exporters, staleness and why short-lived jobs are the awkward case.Open full answer →
02Logs, metrics and traces: what is each one good at, and which do you reach for first in an incident?▼easyNewDatadogAtlassianAccentureunlockedMetrics quantify impact, traces expose instrumented request paths, and logs describe individual events. Follow a slow checkout across all three while accounting for missing evidence.Open full answer →
01A user reports an error. What do 500, 502, 503 and 504 each tell you about where the problem is?▼easyNewCloudflareAccentureInfosysunlockedStatus codes describe an HTTP failure category. Locate the component that emitted the response, then use its logs to distinguish connection, capacity and application failures.Open full answer →
02You are on a Linux box you have never seen and something is failing. Where are the logs?▼easyNewRed HatIBMTCSunlockedThree places, and which one depends on how the thing was started. Knowing which logs the runtime collects and which the application writes itself, and that journald may not persist across reboots, saves the first twenty minutes.Open full answer →
02What does a secrets manager like Vault give you that an encrypted environment variable does not?▼easyNewHashiCorpJPMorgan ChaseSAPunlockedEncryption is the part people focus on and the least interesting part. What you are buying is short-lived credentials, a revocation path and an audit trail, none of which an environment variable can give you.Open full answer →
01What does it mean for a service to be stateless, and why does everyone insist on it?▼easyNewGoogleAmazon & AWSInfosysunlockedStateless does not mean there is no state. It means the state is not in the instance, which is what lets you kill any instance at any time. Every scaling and deployment property people want depends on that one thing.Open full answer →
02Why would you put a queue between two services? What does it actually buy, and what does it cost?▼easyNewAmazon & AWSStripeSwiggyunlockedIt converts a synchronous failure into a delay. That is the whole benefit and the whole cost, because the caller now gets an answer before the work has happened and somebody has to tell them when it did.Open full answer →
09When would you scale a system vertically rather than horizontally? Give me a case where vertical wins.▼easyOracleSAPGoldman SachsunlockedThe default answer is 'horizontal' because interviews reward it. The correct answer names the constraint that makes distribution expensive and knows when one big machine is the engineering choice.Open full answer →
01What is MLOps, and what does it add to a DevOps pipeline you already have?▼easyNewDatabricksMicrosoftInfosysunlockedCode is one of three inputs now. Data and the trained model are the other two, and they version differently, break differently and cannot be tested the way code is.Open full answer →
02What is an AI agent, and what makes running one different from running a normal service?▼easyNewDatabricksMicrosoftGoogleunlockedA loop that calls a model, gets asked to run a tool, runs it, and feeds the result back. Every operational difference comes from the fact that the number of iterations is not known in advance.Open full answer →
03How do you estimate what an LLM feature will cost to run?▼easyNewMicrosoftDatabricksSwiggyunlockedTokens are the unit and input and output are priced differently. Get the arithmetic on the table in the first minute, because the number usually decides the design before any other consideration does.Open full answer →
01Tell me about yourself. You are moving into DevOps from another field, so where do you start?▼easyNewTCSInfosysAccentureunlockedThe first question, the one people prepare least, and the only one where you choose what the rest of the interview is about. Two minutes, ending on something you want to be asked about.Open full answer →
02What does a DevOps engineer actually do day to day? What do you think this job involves?▼easyNewAccentureInfosysTCSunlockedA screening question that filters out people who have read about the field rather than looked at it. The answer that fails is a list of tools; the one that works describes who you serve and what you are on the hook for.Open full answer →
03How do you keep up with a field that changes this fast? What have you learned recently?▼easyNewGoogleAtlassianInfosysunlockedThe question is really whether you learn deliberately or absorb whatever passes by. One specific thing learned recently, with why you picked it and what you did with it, beats any list of newsletters.Open full answer →