Interview Questions
Interview Questions
-----------------------------------------------------------------------------------
------------------------------
A2.Day to day activities
Once I login to office, I will check for any Handover tasks nd pending tasks
from previous shift that is from onshore team ,
then I will check emails for any pending tasks nd any open issues ,
we are using service-now as a ticketing tool ,
so I will check pending tasks nd incidents assigned to my team nd will
start working by assigning to my self based upon priority,then I will
co-ordinate vth my team members nd
developers for any issues nd fix them according,usually we get issues
from committing code to git nd application server side issues ,
these r my major day to day activities
-----------------------------------------------------------------------------------
------------------------------
My roles are as devops engineer, I am responsible for SCM like git and supporting
developers
Git: Creating & maintain the repositories & branches according to the requirement.
we are not allowing developers to merge directly into master because we want to
maintain the consistency in master branch, asking developers to push there code to
starting branch create a pull request, then me & my TL will review &
approve it then it will merge to the master.
Jenkins: Configuring the CI Jobs (Like mavin jobs & generating code analysis
reports by using sonar cube)
coming to plugin management i used some plugins like deploy to container,maven
integration, safe restart,
next build number, email extensions, audit trial, scheduled build artifactory
plugin, blue ocean, thin backup,
convert to pipeline & role base authorization etc.
coming to Jenkin security i am providing access to Jenkin users by using project
based matrics authorization stratezy.
Dockers.: we are using docker container for test deployments that too from pipeline
jobs.
we are mentioning the deploy to docker stage.
I was writing docker files to create custom images for deployments.
Regularly am running docker system prune command for removing unused n\w's dangling
images & stopped containers.
I involved in writing & modifying docker compose yaml file.
I will creating infrastructure for all environments in AWS.
-----------------------------------------------------------------------------------
---------------------------
-----------------------------------------------------------------------------------
---------------------------------
A5..Tell about cloud experience
I have very good experience in AWS for cloud computing in which I worked
-----------------------------------------------------------------------------------
-----------------------------------
A6.What is VCS?
Version control systems are a kind of software tool which reports the changes in
the code and
integrates these changes with the existing code.
As the developer makes changes in the code frequently,
these types of tools are helpful in integrating the new code smoothly without
disturbing
the work of other team members. Along with integration.
-----------------------------------------------------------------------------------
-------
-----------------------------------------------------------------------------------
-----------
A8.What is Git?
Git is a distributed version control system particularly used for recording the
changes in the source code during software development.
It manages a set of files or a project that change over time. It stores the
information in a data structure called the repository.
-----------------------------------------------------------------------------------
-----------
A9.How to create a backup and copy files in Jenkins?
The following steps will help you understand how to create a backup and copy files
in Jenkins:
Move a job from one installation of Jenkins to another by simply copying the
corresponding job directory.
Make a copy of an existing job by making a clone of a job directory by a different
name.
Rename an existing job by renaming a directory. Note that if you change a job name
you will need to change any other job that tries to call the renamed job.
-----------------------------------------------------------------------------------
--------------------
A11.How to create a new build job in Jenkins?
The following steps will help you understand how to create a Jenkins job:
Step1: Logon to the Jenkins dashboard and click on the new item at the top left
side of the dashboard.
Step2: Enter the item name and click on the freestyle project.
Step3: Enter the details of the project you want to test.
Step4: Enter your repository URL under source code management.
Step5: Under the build, click on add build step, and click on execute Windows batch
command.
Step6: After entering the data, click on apply and save the project.
Step7: Click on Build now button to build the source code.
Step8: To see the status of the build you run, click on the build number and click
on the console output.
-----------------------------------------------------------------------------------
-----------------
For Firefox:
WebDriver driver = new FirefoxDriver();
For Chrome:
WebDriver driver = new ChromeDriver();
A13.What is Puppet?
-----------------------------------------------------------------------------------
------------------------
In client or server architecture, you should use the Puppet Agent and Puppet
Master.
In stand-alone architecture, you should use the Puppet application.
-----------------------------------------------------------------------------------
----------------------------------
-----------------------------------------------------------------------------------
--------------------------------------
A17.What is Docker?
Docker is a tool by using which we create containers in less time.
Docker uses light weight OS in the form of Docker images that we
will get from docker hub.
We can use docker in both windows & Linux Machines.
Docker is a open source now.It became so popular because of its unique
virtualization
concept called containerization which is not there in other tool.
-----------------------------------------------------------------------------------
------------------------------------
A18. What is the process for stopping and restarting a Docker container?
-----------------------------------------------------------------------------------
-----------------------------------------
A21. Ansible components?
Server-It is the place where we create play books & write coding YML format
Node-It is the place where we apply code to create infrastructure server pushes
code to nodes.
SSH-It is an agent through ansible server pushes codes to nodes.
Setup-It is a module in ansible which gathers nods information.
Inventory file-In this file we keep IP/DNS of nodes.
-----------------------------------------------------------------------------------
---------------------------------------
A22. Explain a sample playbook insatll any package?
_hosts: Ipaddress
user : ansible
Become:Yes
Connection:SSH
tasks:
-name:install HTTPD on centos 7
action:yum name =httpd state=installed
-----------------------------------------------------------------------------------
--------------------------------------
-----------------------------------------------------------------------------------
--------------------------------------
A24. What is CI & CD?
-----------------------------------------------------------------------------------
----------------------------------------
A25.What are the ways through which we can do CI?
-----------------------------------------------------------------------------------
--------------------------------------
-----------------------------------------------------------------------------------
-------------------------------
A28 What is container?
-----------------------------------------------------------------------------------
-------------------------------
A29. How many types of configurations in jenkins.
-----------------------------------------------------------------------------------
-------------------------------------
A30. Does jenkins Open Sourse?
There are two editions in Jenkins
1. Open source edition
2.Enterprise edition
Open source edition we call Jenkins.
Here we get support from community If we need it.
Enterprise edition we call hudson. Here jenkins company will provide support.
-----------------------------------------------------------------------------------
---------------------------------
A31. How to create Maven project?