Site Reliability Engineer
70+ Site Reliability Engineer Interview Questions and Answers

Asked in Equifax

Q. what is diff cloud formation vs terraform, release management like blue green etc.
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

Q. Write a program to find a missing number in an array.
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

Asked in Signzy Technologies

Q. Write a script to display logs of GET responses, response times, and response codes from a log file.
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

Q. What is the Collection Framework?
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

Asked in Cisco

Q. What Linux commands do you know?
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

Q. How would you monitor intermittent high response times and how would you troubleshoot them?
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
Asked in Core Value Technologies

Q. What happens when two Docker containers expose the same port?
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

Q. what is Docker,image vs containers,mutistage,terraformstatebackend
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 🌟

Asked in Wipro

Q. What is SLI and SLO ? Tell us how did you set up or used SLI SLO in your day to day task ?
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

Asked in Signzy Technologies

Q. How do you view CPU information on Linux?
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

Q. What is Jenkins, Shell scripting, Cron job, system files
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

Asked in Signzy Technologies

Q. what is VPC ?, NAT, Subnet networking protocols
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?
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.

Asked in Signzy Technologies

Q. swap memory in linux, projects worked on , explain CI/CD , docker, kubernetes
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

Q. How do you integrate an application with observability tools like Grafana?
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

Q. How do you copy the contents of one file to another?
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

Asked in Jaguar Land Rover

Q. What would you recommend a junior engineer learn first: Kubernetes or Lambda?
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

Q. How can you improve or further automate your solution?
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

Q. Design a CI/CD pipeline for an application deployed on EC2 in production, ensuring scalability, reliability, and automated testing.
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

Q. What is an abstract class in Java?
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

Q. What is Git, and what are some common Git commands?
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
Asked in La Net Team Software Solutions

Q. How do you handle incident response during a production outage?
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
Asked in La Net Team Software Solutions

Q. What is the difference between uptime and availability?
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

Q. What are the locators present in Selenium?
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

Q. Write a Terraform template to create an EC2 instance in AWS.
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

Q. Can a constructor be declared as static?
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

Q. How do you handle deployment tasks like rollback?
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

Asked in Fino Payments Bank

Q. Write code to generate the Fibonacci sequence in your preferred language.
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

Q. python program to remove whitespace from string, strings are anagram, reverse a string
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.

Asked in Fulcrum Worldwide Software

Q. How do you merge specific commits into a branch?
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
Interview Questions of Similar Designations
Interview Experiences of Popular Companies
Top Interview Questions for Site Reliability Engineer Related Skills
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
Reviews
Interviews
Salaries
Users