CtrlS
Power Exchange India Interview Questions and Answers
Q1. what is the cluster version? how many clusters and nodes are there in your project who manages the master node how many master nodes are there
The cluster version, number of clusters and nodes, management of master node, and number of master nodes in the project.
The cluster version refers to the version of the software used to manage the cluster.
The number of clusters and nodes depends on the project requirements.
The master node is managed by the DevOps team or the system administrator.
The number of master nodes can vary depending on the project's high availability requirements.
Q2. difference between git fetch and git pull difference between git clone and git remote
git fetch vs git pull and git clone vs git remote
git fetch downloads the changes from the remote repository but does not merge them with the local branch
git pull downloads the changes and merges them with the local branch
git clone creates a copy of the remote repository on the local machine
git remote is used to manage the remote repositories that a local repository is connected to
Q3. kubernetes- what are autoscaling methods used. explain
Autoscaling methods in Kubernetes include Horizontal Pod Autoscaler (HPA), Cluster Autoscaler, and Vertical Pod Autoscaler (VPA).
Horizontal Pod Autoscaler (HPA) scales the number of pods based on CPU utilization or custom metrics
Cluster Autoscaler scales the number of nodes in a cluster based on resource utilization
Vertical Pod Autoscaler (VPA) adjusts the resource requests and limits of containers based on usage patterns
HPA can be used with custom metrics like queue length o...read more
Q4. What are environments in Azure Devops (pipelines)
Environments in Azure DevOps are logical groups of resources where code is deployed and tested.
Environments can be created for different stages of the development process, such as development, testing, staging, and production.
Each environment can have its own set of resources, such as virtual machines, databases, and storage accounts.
Environments can be configured to automatically deploy code from a pipeline or manually triggered.
Examples of environments include 'Dev', 'QA', ...read more
Q5. How do you establish service connection? why do you give spn in Devops? what is the use of it?
Establishing service connection involves configuring the service principal name (SPN) in DevOps.
Service connection is established by configuring the SPN in DevOps.
SPN is used to uniquely identify a service instance in a network environment.
It allows DevOps to authenticate and authorize the service instance.
SPN is also used to delegate authentication to other services.
Examples of services that require SPN include SQL Server, Exchange, and SharePoint.
Q6. how do you get conflicts in git. scenarios
Conflicts in Git occur when two or more people make changes to the same file or code at the same time.
Conflicts can occur when merging branches or pulling changes from a remote repository.
Git will notify you of conflicts and you must manually resolve them by editing the affected files.
Conflicts can be avoided by communicating with team members and establishing a clear workflow.
Using Git's branching and merging features properly can also help prevent conflicts.
Q7. how do you deploy webapp into k8s
Deploy webapp into k8s by creating a deployment YAML file and applying it using kubectl command.
Create a Docker image of the webapp
Create a deployment YAML file with necessary specifications like image, replicas, ports, etc.
Apply the deployment YAML file using kubectl apply command
Expose the deployment using a service YAML file with necessary specifications like type, ports, etc.
Apply the service YAML file using kubectl apply command
More about working at CtrlS
Interview Process at Power Exchange India
Top Devops Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month