Site Reliability Engineer

70+ Site Reliability Engineer Interview Questions and Answers

Updated 18 Jun 2025
search-icon

Asked in Equifax

4d ago

Q. what is diff cloud formation vs terraform, release management like blue green etc.

Ans.

CloudFormation and Terraform are both infrastructure as code tools, while blue-green release management is a deployment strategy.

  • CloudFormation is a service provided by AWS for creating and managing AWS resources using templates written in JSON or YAML.

  • Terraform is an open-source tool by HashiCorp that allows you to define and provision infrastructure using a declarative configuration language.

  • Blue-green deployment is a strategy where you have two identical production environ...read more

Asked in Verizon

2d ago

Q. Write a program to find a missing number in an array.

Ans.

Program to find a missing number in Arrays

  • Sort the array and iterate to find the missing number

  • Use XOR operation to find the missing number

  • Calculate the sum of all numbers and subtract from the sum of expected numbers to find the missing number

Site Reliability Engineer Interview Questions and Answers for Freshers

illustration image
1d ago

Q. Write a script to display logs of GET responses, response times, and response codes from a log file.

Ans.

Script to display logs of GET response and response time and code from a log file

  • Use grep command to filter GET requests from the log file

  • Use awk command to extract response time and response code from the filtered logs

  • Format the output using printf command

  • Example: grep 'GET' logfile | awk '{print $4, $9, $NF}' | printf '%-20s %-10s %-10s '

Asked in Coforge

2d ago

Q. What is the Collection Framework?

Ans.

The Collection Framework is a unified architecture for representing and manipulating collections in Java.

  • It provides interfaces like List, Set, Queue, etc. for storing and manipulating collections of objects.

  • It also provides concrete classes like ArrayList, HashSet, PriorityQueue, etc. that implement these interfaces.

  • It supports algorithms like sorting, searching, and shuffling on collections.

  • It is a part of the Java Collections Framework.

  • Example: List names = new ArrayList<>...read more

Are these interview questions helpful?

Asked in Cisco

1d ago

Q. What Linux commands do you know?

Ans.

I know various Linux commands for file management, process management, networking, and system administration.

  • File management: ls, cd, cp, mv, rm, mkdir, touch

  • Process management: ps, top, kill, nice, renice

  • Networking: ping, traceroute, netstat, ifconfig, ssh

  • System administration: sudo, apt-get, systemctl, journalctl, crontab

Asked in Zuora

5d ago

Q. How would you monitor intermittent high response times and how would you troubleshoot them?

Ans.

To monitor intermittent high response, use monitoring tools like Prometheus or Datadog. Troubleshoot by analyzing logs, identifying bottlenecks, and optimizing code.

  • Set up monitoring tools like Prometheus or Datadog to track response times

  • Analyze logs to identify patterns of high response times

  • Use profiling tools to pinpoint bottlenecks in the code

  • Optimize code to improve response times

Site Reliability Engineer Jobs

Site Reliability Engineer 6-8 years
IBM India Pvt. Limited
4.0
₹ 18 L/yr - ₹ 28 L/yr
(AmbitionBox estimate)
Bangalore / Bengaluru
Site Reliability Engineer - Compliance Specialist 6-8 years
IBM India Pvt. Limited
4.0
₹ 12 L/yr - ₹ 32 L/yr
(AmbitionBox estimate)
Hyderabad / Secunderabad
Site Reliability Engineering Professional 3-5 years
IBM India Pvt. Limited
4.0
₹ 5 L/yr - ₹ 21 L/yr
(AmbitionBox estimate)
Bangalore / Bengaluru

Q. What happens when two Docker containers expose the same port?

Ans.

It creates a conflict and the container that started last will take over the port.

  • The container that started last will take over the port.

  • The first container will be inaccessible on that port.

  • The conflict can be resolved by mapping different host ports to the container ports.

Asked in Equifax

2d ago

Q. what is Docker,image vs containers,mutistage,terraformstatebackend

Ans.

Docker is a platform for developing, shipping, and running applications using containers. Images are templates for containers, multistage builds optimize Dockerfiles, and Terraform state backend stores infrastructure state.

  • Docker is a platform that allows developers to package applications and their dependencies into containers for easy deployment and scalability.

  • Images are read-only templates used to create containers. They include the application code, runtime, libraries, a...read more

Share interview questions and help millions of jobseekers 🌟

man-with-laptop

Asked in Wipro

6d ago

Q. What is SLI and SLO ? Tell us how did you set up or used SLI SLO in your day to day task ?

Ans.

SLI stands for Service Level Indicator and SLO stands for Service Level Objective. They are used to measure and define the reliability of a service.

  • SLI is a metric that measures the performance of a service, such as latency or availability.

  • SLO is a target value or range for a specific SLI that defines the acceptable level of reliability for a service.

  • Setting up SLI involves defining the metrics to be measured and collecting data to calculate them.

  • Using SLO involves setting sp...read more

4d ago

Q. How do you view CPU information on Linux?

Ans.

To see CPU info on Linux, use the 'lscpu' command.

  • Open the terminal and type 'lscpu' command

  • This will display detailed information about the CPU architecture, vendor, model name, speed, cache size, and more.

  • Other commands like 'cat /proc/cpuinfo' and 'top' can also be used to view CPU information.

Asked in Paytm

3d ago

Q. What is Jenkins, Shell scripting, Cron job, system files

Ans.

Jenkins is a CI/CD tool, Shell scripting automates tasks, Cron job schedules tasks, System files store configuration data.

  • Jenkins is a popular CI/CD tool used for continuous integration and deployment

  • Shell scripting is a way to automate tasks on a Unix/Linux system using command line interface

  • Cron job is a scheduling utility in Unix/Linux systems used to schedule tasks at specific times

  • System files are configuration files that store system-wide settings and preferences

3d ago

Q. what is VPC ?, NAT, Subnet networking protocols

Ans.

VPC is a virtual private cloud that allows users to create a private network within the public cloud.

  • VPC provides a secure and isolated environment for resources in the cloud

  • NAT (Network Address Translation) allows instances in a private subnet to access the internet

  • Subnets are subdivisions of a VPC that allow users to segment their resources and apply different security policies

Q. What is the chmod command in Linux, and how do you use it?

Ans.

The chmod command in Linux changes file permissions for users, groups, and others.

  • Syntax: chmod [options] mode file(s)

  • Mode can be specified in symbolic (rwx) or numeric (octal) format.

  • Example: chmod 755 myfile.txt sets read, write, execute for owner, read and execute for group and others.

  • Example: chmod u+x myscript.sh adds execute permission for the user.

6d ago

Q. swap memory in linux, projects worked on , explain CI/CD , docker, kubernetes

Ans.

Questions on swap memory, projects, CI/CD, Docker, and Kubernetes for Site Reliability Engineer role.

  • Swap memory is a space on the hard disk used as virtual memory when RAM is full.

  • Projects worked on may include automation, monitoring, and scaling.

  • CI/CD is a software development practice that involves continuous integration, testing, and deployment.

  • Docker is a containerization platform that allows for easy deployment and management of applications.

  • Kubernetes is an open-source...read more

Asked in Wipro

6d ago

Q. How do you integrate an application with observability tools like Grafana?

Ans.

Integrating applications to observability tools like Grafana involves setting up data sources and creating dashboards.

  • Configure data sources in Grafana to connect to the application's metrics

  • Create custom dashboards in Grafana to visualize the application's performance

  • Use Grafana plugins or APIs to enhance monitoring capabilities

Asked in PhonePe

1d ago

Q. How do you copy the contents of one file to another?

Ans.

To copy contents of a file to another file, you can use file handling methods in programming languages.

  • Open the source file in read mode and the destination file in write mode

  • Read the contents of the source file and write them to the destination file

  • Close both files after the copying process is complete

2d ago

Q. What would you recommend a junior engineer learn first: Kubernetes or Lambda?

Ans.

It depends on the specific use case and requirements of the project.

  • Consider the complexity and scale of the project - Kubernetes is better suited for large, complex applications with multiple services, while Lambda is more suitable for smaller, event-driven applications.

  • Evaluate the cost implications - Lambda can be more cost-effective for low-traffic applications due to its pay-per-use pricing model, while Kubernetes may be more cost-effective for high-traffic applications ...read more

Asked in trivago

6d ago

Q. How can you improve or further automate your solution?

Ans.

By implementing continuous integration and deployment, using configuration management tools, and leveraging monitoring and alerting systems.

  • Implement continuous integration and deployment to automate the process of building, testing, and deploying software changes.

  • Use configuration management tools like Ansible or Puppet to automate the provisioning and configuration of infrastructure.

  • Leverage monitoring and alerting systems like Prometheus or Nagios to automatically detect a...read more

Asked in Birdeye

1d ago

Q. Design a CI/CD pipeline for an application deployed on EC2 in production, ensuring scalability, reliability, and automated testing.

Ans.

Design a CI/CD pipeline for an application on EC2 in production ensuring scalability, reliability, and automated testing.

  • Use a version control system like Git for managing code changes.

  • Set up a CI/CD tool like Jenkins to automate the build, test, and deployment process.

  • Implement automated testing at different stages of the pipeline (unit tests, integration tests, etc.).

  • Utilize infrastructure as code tools like Terraform to provision and manage EC2 instances.

  • Include monitoring...read more

Asked in Verizon

1d ago

Q. What is an abstract class in Java?

Ans.

An abstract class is a class that cannot be instantiated and is used as a base class for other classes.

  • An abstract class can have abstract and non-abstract methods.

  • Abstract methods have no implementation and must be implemented by the subclass.

  • A class can only extend one abstract class but can implement multiple interfaces.

  • Abstract classes are used to provide a common interface for a group of related classes.

  • Example: abstract class Animal { abstract void makeSound(); }

Asked in Cisco

6d ago

Q. What is Git, and what are some common Git commands?

Ans.

Git is a version control system used for tracking changes in code. It allows collaboration and easy management of codebase.

  • git init - initializes a new git repository

  • git add - adds changes to the staging area

  • git commit - commits changes to the repository

  • git push - pushes changes to a remote repository

  • git pull - pulls changes from a remote repository

  • git branch - lists all branches in the repository

  • git merge - merges changes from one branch to another

Q. How do you handle incident response during a production outage?

Ans.

Effective incident response during production outages involves preparation, communication, investigation, and resolution strategies.

  • Preparation: Establish a runbook that outlines the incident response process, including roles and responsibilities for team members.

  • Communication: Use a dedicated communication channel (like Slack or PagerDuty) to keep all stakeholders informed during the incident.

  • Investigation: Quickly gather data from monitoring tools and logs to identify the r...read more

Q. What is the difference between uptime and availability?

Ans.

Uptime refers to the time a system is operational, while availability measures the system's readiness for use, factoring in downtime.

  • Uptime Percentage: Uptime is often expressed as a percentage (e.g., 99.9% uptime), indicating the total time a service is operational over a period.

  • Availability Calculation: Availability considers both uptime and downtime, calculated as (Uptime / (Uptime + Downtime)) * 100.

  • Example of Uptime: A web server that runs continuously for 30 days withou...read more

Asked in Verizon

3d ago

Q. What are the locators present in Selenium?

Ans.

Locators are used to identify web elements in Selenium.

  • Locators are used to find and interact with web elements on a web page.

  • There are several types of locators in Selenium, including ID, name, class name, tag name, link text, and partial link text.

  • For example, to find an element with the ID 'username', you would use the ID locator: driver.findElement(By.id('username'));

Asked in Questionpro

5d ago

Q. Write a Terraform template to create an EC2 instance in AWS.

Ans.

Terraform template to create EC2 instance in AWS

  • Define provider and region

  • Create security group and define ingress/egress rules

  • Define instance type, AMI, key pair, and user data

  • Create instance resource and associate with security group

Asked in Verizon

2d ago

Q. Can a constructor be declared as static?

Ans.

Constructor can be declared static or non-static depending on the use case.

  • If a constructor is declared static, it means it can be called without creating an instance of the class.

  • Static constructors are used to initialize static fields of the class.

  • Non-static constructors are used to initialize instance fields of the class.

  • If a class has both static and non-static constructors, the non-static constructor is called when an instance of the class is created.

Asked in trivago

6d ago

Q. How do you handle deployment tasks like rollback?

Ans.

Rollback in deployment tasks is handled by following a structured process to revert to a previous stable version.

  • Maintain version control for all deployments

  • Automate rollback process to minimize downtime

  • Perform thorough testing before deploying to production

  • Monitor system health during deployment to detect issues

  • Have a rollback plan in place with clear steps and communication channels

  • Document and learn from rollback incidents to improve future deployments

1d ago

Q. Write code to generate the Fibonacci sequence in your preferred language.

Ans.

Code for Fibonacci series in Python

  • Define a function that takes an integer as input

  • Initialize two variables with 0 and 1 respectively

  • Use a for loop to iterate through the range of the input integer

  • Add the two variables and assign the result to a third variable

  • Print the third variable and update the first two variables

Asked in Zuora

4d ago

Q. python program to remove whitespace from string, strings are anagram, reverse a string

Ans.

Python program to remove whitespace, check if strings are anagram, and reverse a string.

  • Use the replace() function to remove whitespace from a string.

  • Use sorted() function to check if two strings are anagrams.

  • Use string slicing to reverse a string.

Q. How do you merge specific commits into a branch?

Ans.

To merge particular commits to a branch, use git cherry-pick command.

  • Identify the commit hash of the specific commit you want to merge

  • Switch to the branch where you want to merge the commit

  • Use 'git cherry-pick ' to apply the changes of that commit to the current branch

1
2
3
Next

Interview Experiences of Popular Companies

4.2
 • 386 Interviews
3.8
 • 79 Interviews
View all
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary

Site Reliability Engineer Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+

Reviews

10L+

Interviews

4 Cr+

Salaries

1.5 Cr+

Users

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2025 Info Edge (India) Ltd.

Follow Us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter
Hello, Guest
AmbitionBox Employee Choice Awards 2025
Winners announced!
Contribute to help millions!
Write a review
Share interview
Contribute salary
Add office photos
Add office benefits