TCS interview prep · updated Oct 2026

TCS DevOps Engineer Interview Questions

DevOps Engineer 8 questions

DevOps engineers at an IT services company like TCS run releases and infrastructure for client companies that are cautious for good reason, such as banks and insurers. Changes pass through approvals, audits and many test environments. Prepare to discuss bringing automation to a client that deploys by hand, disaster recovery and its silent failures, audit evidence from pipelines, and change boards. What to show here: automation that fits a cautious client's change process. Each question below has what the interviewer is checking, an answer frame and a sample spoken answer to adapt.

Behavioral

1. Tell me about a time you had to get a risky change approved by a client's change board. How did you prepare, and what did they ask?

What they are checking
Checks whether you can present a change clearly to people who carry the risk, and whether you plan rollback before you need it.
Answer frame
  1. Describe the change and its risk.
  2. Explain what you prepared: steps, tests, rollback, timing.
  3. Share the questions raised and your answers.
  4. Give the result.
Sample spoken answer

“I needed approval to upgrade the database version behind a client's loan application. I prepared a one-page plan: the reason for the upgrade, the exact steps, evidence from the rehearsal in the pre-production environment, the rollback steps with how long they take, and who would be on the call. The board asked what would happen if rollback failed, so I explained the backup restore we had also rehearsed. They moved the date away from month end, which was sensible. The upgrade went ahead in the next window. The result was your result.”

Red flag to avoid

Weak answers treat the change board as an obstacle, or arrive without a tested rollback plan.

Behavioral

2. Describe an incident that kept coming back on a client's system until you found and removed the real cause.

What they are checking
Checks whether you go beyond restoring service each time and do proper root cause work.
Answer frame
  1. Describe the repeating incident and the usual quick fix.
  2. Explain how you gathered evidence over several occurrences.
  3. Share the real cause and the permanent fix.
  4. Give the result.
Sample spoken answer

“An application server at a client ran out of disk space every few weeks, and each time someone deleted old logs and closed the ticket. I collected the dates and found it always followed a monthly report run. That job wrote large temporary files and did not clean up when it failed. I worked with the developers to fix the cleanup, moved temporary files to a separate volume, and added an alert that warned well before the disk filled. I raised it as a problem record so the history was linked. The result was your result.”

Red flag to avoid

Weak answers describe the same quick fix applied many times, with no curiosity about why it returned.

Technical

3. A client releases once every three months, by hand, from a long document. They ask you to bring in automated pipelines. Where do you start?

What they are checking
Checks whether you can introduce automation in steps a cautious client will accept, not as a sudden overhaul.
Answer frame
  1. Learn the current process and where it hurts.
  2. Automate build and tests first, then deployment to lower environments.
  3. Keep approvals as gates inside the pipeline.
  4. Prove it on one application before spreading it.
Sample spoken answer

“I would first sit through one manual release to see where time and errors come from. Then I would pick one application with a willing team. The first step is an automated build and test on every commit, which changes nothing in production and shows value fast. Next, automated deployment to development and test environments using the same scripts each time. The client's approvals stay, but become gates in the pipeline with a record. Production deployment is automated last, run by the same people in the same window at first. Once releases are reliable, we can discuss doing them more often.”

Red flag to avoid

Weak answers want to remove approvals and deploy many times a day from the first week.

Technical

4. A client has development, test, acceptance and pre-production environments, and a defect appears in one but not in another. How do you keep environments alike, and how do you supply test data safely?

What they are checking
Checks whether you understand environment drift and the rules around using customer data for testing.
Answer frame
  1. Define environments as code so they are built the same way.
  2. Detect and report drift regularly.
  3. Promote the same build through every stage.
  4. Use masked or generated data, never raw customer data.
Sample spoken answer

“Environments drift when people fix things by hand in one place. I would define servers, settings and versions as code in version control, and build each environment from that. A scheduled job compares the real state with the definition and reports differences. The same build artifact moves through every stage, with only configuration changing. For test data, raw customer data should not leave production. I would use a masking process that replaces names, account numbers and contact details while keeping the shape of the data, or generate data where masking is not enough.”

Red flag to avoid

Weak answers copy production data into test as it is, or rebuild the application separately for each environment.

System Design

5. Design disaster recovery for a bank client's online banking application, so that it can run from a second site if the main data centre is lost.

What they are checking
Checks whether you can turn recovery targets into a design and whether you insist on testing it.
Answer frame
  1. Agree how much data loss and downtime the business accepts.
  2. Replicate data and keep the second site ready to that standard.
  3. Define the switch-over steps and who decides.
  4. Rehearse regularly and fix what the drill reveals.
Sample spoken answer

“I would start by agreeing two targets with the client: how much data they can afford to lose and how long the service can be down. For online banking both are small. So the database is replicated to the second site continuously, and application servers there are kept built and patched from the same code as the main site. Switch-over steps are written as a runbook and automated where possible, including moving network traffic. One named person decides when to switch. The plan is only real if rehearsed, so I would schedule drills and run from the second site for a day.”

Red flag to avoid

Weak answers describe backups only, or have a second site that has never been tested.

Technical

6. A bank client's auditors ask for proof that every production change in the past year was approved, tested and traceable. How do you set up pipelines and records so that evidence exists without anyone assembling it by hand?

What they are checking
Checks whether you can design a release process that produces audit evidence as a by-product.
Answer frame
  1. Link every deployment to a change record and a code review.
  2. Store test results and approvals with the build.
  3. Make production deployments possible only through the pipeline.
  4. Keep records immutable and easy to search.
Sample spoken answer

“The pipeline should refuse to deploy to production unless the build is linked to an approved change record and a reviewed merge. Test results, security scan results and the approver's name are attached to the build and stored where they cannot be edited. Nobody deploys to production by hand, so the pipeline log is the complete history. Each deployment records the version, the time, who approved it and what changed. With that in place, an auditor's question becomes a search, not a week of collecting emails. I would run a mock audit myself once a quarter to check that the records are complete.”

Red flag to avoid

Weak answers rely on emails and spreadsheets for approvals, or allow manual deployments alongside the pipeline.

Scenario

7. During a routine check you discover that replication to a client's disaster recovery site has been silently broken for two weeks. Nothing is down. What do you do?

What they are checking
Checks whether you treat a hidden risk with urgency and honesty, even when there is no visible outage.
Answer frame
  1. Confirm the gap and how far behind the second site is.
  2. Tell the client the same day, plainly.
  3. Restore replication and verify the second site catches up.
  4. Add monitoring and find out why nothing alerted.
Sample spoken answer

“Even though nothing is down, the client has had no working recovery for two weeks, and that is serious. I would first confirm the gap and how far behind the second site is. Then I would tell my lead and the client contact the same day, in plain words, with what I know and what I am doing. Next I would restore replication, watch it catch up, and run a check that the data at the second site matches. Then the harder question: why did nothing alert us? I would add a check on replication delay and review what else is quietly unmonitored.”

Red flag to avoid

Weak answers fix it quietly and say nothing because there was no outage, or blame the monitoring without fixing it.

Why this company

8. Why do you want to do DevOps work for client companies at TCS?

What they are checking
Checks whether you understand that automation at clients in regulated industries means working with their controls.
Answer frame
  1. Say what you enjoy in DevOps work.
  2. Tie it to clients that are cautious about change.
  3. Link to your experience.
  4. Say what you want to learn.
Sample spoken answer

“I enjoy making releases dull, in a good way. At many client companies, especially banks and insurers, releases are still stressful nights, and the controls around them exist for real reasons. I find it rewarding to bring automation that keeps those controls and removes the manual errors. TCS works with clients across industries, so I would see many kinds of infrastructure, from old data centres to cloud. I have built pipelines and handled release nights, and I want to learn how to lead that change for a large client step by step.”

Red flag to avoid

Weak answers mock slow client processes, or only list tools without saying what problem they solve.

Salary questions come last

No figures on this page: pay depends on the level, the city and the offer in front of you. When the offer comes, the free salary negotiation script helps with that part.

For the call itself

The questions above are the prep. On the real call, ClapAssist helps with the ones you did not practice.

ClapAssist is an AI interview assistant for Mac and Windows. It listens to the interview on your computer and shows you what to say, in short lines you can read while you talk. Your live interview audio and screen are never stored. Your resume and notes are saved to your account so the app fills them in on any computer. It is hidden from screen share on every plan, including Free; only you can see it.

Download with 10 free minutes
Mac and Windows · Stays out of screen share · No card