Interview Questions Preparations
Interview Questions Preparations
com
password: JamunTech2023
My name is Surya. I am highly energetic and self motivated IT professional and have
been working as a DevOps Engineer in my organization. As a DevOps engineer, I am
involved in complete DevOps process including automation of application and
infrastructure delivery, build and deployment using various tools and technologies
like
GitHub for code repository,
Jenkins for CI/CD pipelines,
Ansible for patch management and configuration,
AWS for infrastructure,
Terraform for automated infrastructure deployment in AWS using CI/CD pipelines
built in Jenkins.
1. What is DevOps?
DevOps is a set of practices and processes that organization follow in automating
the software development process by using different tools like Github for code
repository, Jenkins for CI/CD pipelines, Ansible for configuration management and
NAGIOS for monitoring and terraform for Infrastructure as Code (IaC). It involves
automation with Contiuous Integration and Continuous Delivery and Continuous
Deployment and moving towards cloud technologies like AWS/GCP/Azure.
3. What is Docker?
Docker is a program that is used to build images of set of libraries to run an
application like java/node/nginx and use the images to deploy containers which are
live applications. Docker images function similar to an OS with application
software installed but it contains only the system libraries required to run the
application. Docker is used as containerization engine by Kubernetes.
7. What is a POD?
Both Agile and DevOps aim to improve software development processes, promote
collaboration, and deliver high-quality software products more efficiently.
Some of the configuration management tools are ansible, chef and puppet. But I am
familiar with ansible.
In Jenkins, "Freestyle" refers to a project type that allows users to create and
configure build jobs with a high degree of flexibility and customization. Freestyle
projects are the traditional and most basic type of project in Jenkins.
With Freestyle projects, users have the freedom to define various build steps, such
as executing shell commands, running scripts, triggering external tools, and
performing actions based on conditions or triggers. Users can configure build
triggers, source code management options, build environment settings, build
parameters, post-build actions, and more.
Freestyle projects are suitable for simple to complex build and deployment
workflows, offering a wide range of options and configurations. However, they lack
the structured and versionable nature of Jenkins pipelines, making them less suited
for managing complex and scalable CI/CD processes.
Jenkins Pipeline allows for defining complex workflows using stages, steps, and
conditions. It provides a structured and versionable approach to defining and
managing CI/CD processes, making it easier to track changes, collaborate, and
maintain the pipeline code.
Continuous Deployment, on the other hand, takes the automation of software releases
one step further by releasing the software to test/development/productions
environment and into operations.
GitHub is a web-based platform and service that provides a hosting environment for
version control repositories. It allows developers to collaboratively work on
projects, track changes, manage code, and facilitate team collaboration through
features like pull requests, issue tracking, and code review.
Merge operation in Git helps integrate new features, bug fixes, or changes from
separate branches into the main codebase, allowing different lines of development
to come together and be consolidated.
NACL (Network Access Control List) in AWS is firewall that operates at the subnet
level, controlling inbound and outbound traffic by using allow and deny rules.
27. What is the last issue or problem you encountered and how you resolved it?
The last issue that I faced as a DevOps engineer was to perform ssh copy from
Jenkins server to Java application server after compilation. It was unable to copy
hidden files and folders. So I used rsync to sync the folder from Jenkins server to
Java application server which also syncs the hidden files and folders.
ReplicaSets and Deployments are both Kubernetes objects used for managing and
scaling containerized applications, but they have distinct purposes and
functionalities:
Linux is operating system which comes in different distributions like RHEL, Centos,
Ubunti, HPUX, AIX.
Shell Script is a text file that contains a series of commands that are executed
sequentially by the shell. Shell scripts are commonly used for automating tasks,
executing system commands, and performing various operations within an operating
system. They can be used to automate repetitive tasks, configure system settings,
manage files and directories, process data, and more.
31. How can you be a professional DevOps Engineer?
The ImagePullBackOff error occurs when the image path is incorrect, the network
fails, or the kubelet does not succeed in authenticating with the container
registry.