Tech Mahindra

Tech Mahindra

Multinational IT services and consulting company.

4 Rounds ~21 Days Medium
Start Mock Interview

The Interview Loop

Recruiter Screen (30 min)

Standard fit check, behavioral questions, and resume overview.

Technical Loop (3-4 Rounds)

Deep dive into domain knowledge, coding, and system design.

Interview Question Bank

DevOps Engineer Behavioral medium

Explain a time when a deployment failed in production. How did you troubleshoot and resolve it while communicating with the client?

#Troubleshooting #Client Communication #Incident Management
DevOps Engineer Behavioral medium

Tell me about a time you had to push back on a developer's request because it violated DevOps best practices or security policies.

#Communication #Security #Best Practices
DevOps Engineer Behavioral easy

Describe a situation where you automated a manual, time-consuming process. What tools did you use and what was the business impact?

#Automation #Impact #Initiative
DevOps Engineer Coding easy

Write a Bash script to find and delete all log files older than 30 days in a specific directory.

#Bash #Linux #Automation
DevOps Engineer Coding medium

Write a Python script to parse an Nginx access log and count the number of 5xx HTTP errors.

#Python #Log Parsing #Regex
DevOps Engineer Coding medium

Write a Jenkinsfile snippet to build a Docker image and push it to AWS ECR, ensuring credentials are not hardcoded.

#Jenkins #Docker #AWS ECR #Groovy
DevOps Engineer Coding medium

Write a Python function using the boto3 library to list all running EC2 instances in a specific AWS region.

#Python #AWS #boto3
DevOps Engineer Coding medium

Write a Bash script to check the disk usage of a Linux server and send an email alert if it exceeds 85%.

#Bash #Linux #Monitoring
DevOps Engineer System Design medium

Explain how you would design a CI/CD pipeline for a microservices-based telecom application using Jenkins and Kubernetes.

#Jenkins #Kubernetes #Microservices #Pipeline Design
DevOps Engineer System Design hard

Design an AWS architecture for a highly available web application. Include VPC, Subnets, ASG, ALB, and RDS.

#AWS #High Availability #Networking #Architecture
DevOps Engineer System Design hard

Design a logging architecture for a distributed microservices application using the ELK stack.

#Logging #ELK #Microservices #Architecture
DevOps Engineer System Design hard

Design a disaster recovery strategy for a stateful application hosted on AWS.

#AWS #Disaster Recovery #RTO/RPO
DevOps Engineer System Design hard

Explain how you would migrate an on-premise monolithic application to a containerized microservices architecture on Azure.

#Cloud Migration #Azure #Microservices #Docker
DevOps Engineer Technical medium

How do you handle Jenkins master node failure? What is your backup and disaster recovery strategy?

#Jenkins #Disaster Recovery #High Availability
DevOps Engineer Technical medium

What is the difference between a Deployment and a StatefulSet in Kubernetes? When would you use a StatefulSet for an enterprise client?

#Kubernetes #StatefulSets #Deployments
DevOps Engineer Technical medium

How do you manage Terraform state files in a multi-developer environment? Explain state locking.

#Terraform #State Management #AWS S3 #DynamoDB
DevOps Engineer Technical hard

How do you secure a Docker container before deploying it to a production Kubernetes cluster?

#Docker #DevSecOps #Kubernetes Security
DevOps Engineer Technical easy

What are Ansible roles? How do you pass variables to a role in a playbook?

#Ansible #Automation #Roles
DevOps Engineer Technical medium

Explain the GitOps workflow. How does ArgoCD or Flux differ from a traditional push-based Jenkins pipeline?

#GitOps #ArgoCD #Kubernetes
DevOps Engineer Technical medium

A Kubernetes pod is stuck in 'CrashLoopBackOff'. Walk me through your exact troubleshooting steps.

#Kubernetes #Troubleshooting #Pods
DevOps Engineer Technical hard

How do you implement Blue-Green deployments in Kubernetes?

#Kubernetes #Deployment Strategies #Zero Downtime
DevOps Engineer Technical medium

What is the purpose of an Ingress Controller in Kubernetes? How does it differ from a LoadBalancer service?

#Kubernetes #Networking #Ingress
DevOps Engineer Technical medium

How do you handle secrets management in Terraform and Kubernetes? Have you used HashiCorp Vault?

#Secrets Management #Terraform #Kubernetes #Vault
DevOps Engineer Technical medium

Explain the difference between Terraform 'count' and 'for_each'. When would you use one over the other?

#Terraform #HCL
DevOps Engineer Technical medium

Describe your experience with Azure DevOps. How do you set up branch policies and build validation in Azure Repos?

#Azure DevOps #Git #Branch Policies
DevOps Engineer Technical medium

How do you monitor a Kubernetes cluster? What specific metrics would you alert on using Prometheus?

#Kubernetes #Prometheus #Grafana #Alerting
DevOps Engineer Technical easy

What is a Kubernetes DaemonSet? Give a real-world use case where you implemented it.

#Kubernetes #DaemonSet
DevOps Engineer Technical medium

How do you optimize Docker image sizes for faster CI/CD pipeline execution?

#Docker #Optimization #CI/CD
DevOps Engineer Technical hard

Explain the concept of 'Infrastructure Drift'. How do you detect and remediate it using Terraform?

#Terraform #Infrastructure Drift #Automation
DevOps Engineer Technical medium

What are Jenkins Shared Libraries? How do they help in maintaining pipelines for multiple projects?

#Jenkins #Groovy #DRY Principle
DevOps Engineer Technical hard

If an application is running slow, how do you determine if the bottleneck is at the network, CPU, memory, or database level?

#Troubleshooting #Performance Tuning #Linux
DevOps Engineer Technical hard

How do you upgrade a live Kubernetes cluster (e.g., EKS or AKS) with zero downtime?

#Kubernetes #EKS #AKS #Upgrades
DevOps Engineer Technical easy

What is the difference between Ansible 'copy' and 'template' modules? When would you use Jinja2 templating?

#Ansible #Jinja2 #Modules
DevOps Engineer Technical easy

What is the purpose of AWS IAM Roles vs IAM Policies? How do you grant an EC2 instance access to an S3 bucket securely?

#AWS #IAM #Security
DevOps Engineer Technical hard

How do you manage database schema migrations in an automated CI/CD pipeline?

#Database #CI/CD #Automation

Difficulty Radar

Based on recent AI-sourced data.

Meet Your Interviewers

The "Standard" Interviewer

Senior Engineer

Focuses on core competencies, system constraints, and clear communication.

Simulate

Unwritten Rules

Think Out Loud

Always explain your thought process before writing code or drawing architecture.

Practice Now