Microland interview experience Real time questions & tips from candidates to crack your interview

Devops Engineer

Microland
upvote
share-icon
3 rounds | 16 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 4 months
Topics: Docker, Kubernetes, AWS, CI/CD, Git, DBMS, Linux
Tip
Tip

Tip 1 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 2 : Do at-least 2 good projects and you must know every bit of them.

Application process
Where: Referral
Eligibility: Above 1+ years of experience
Resume Tip
Resume tip

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Interview rounds

01
Round
Medium
Video Call
Duration60 minutes
Interview date22 Nov 2021
Coding problem8

This round majorly focused on Docker and Kubernetes. Basic Fundamentals of Docker should be clear for clearing these type of interviews.

1. Docker Question

What do you know about Docker Compose?

Problem approach

It is a YAML file consisting of all the details regarding various services, networks, and volumes that are needed for setting up the Docker-based application. So, docker-compose is used for creating multiple containers, host them and establish communication between them. For the purpose of communication amongst the containers, ports are exposed by each and every container.

2. Docker Question

List the most commonly used instructions in Dockerfile.

Problem approach

1) FROM : This is used to set the base image for upcoming instructions. A docker file is considered to be valid if it starts with the FROM instruction.

2) LABEL : This is used for the image organization based on projects, modules, or licensing. It also helps in automation as we specify a key-value pair while defining a label that can be later accessed and handled programmatically.

3) RUN : This command is used to execute instructions following it on the top of the current image in a new layer. Note that with each RUN command execution, we add layers on top of the image and then use that in subsequent steps.

4) CMD : This command is used to provide default values of an executing container. In cases of multiple CMD commands the last instruction would be considered.

3. Docker Question

Describe the lifecycle of Docker Container?

Problem approach

The different stages of the docker container from the start of creating it to its end are called the docker container life cycle.The most important stages are:

1) Created: This is the state where the container has just been created new but not started yet.
2) Running: In this state, the container would be running with all its associated processes.
3) Paused: This state happens when the running container has been paused.
4) Stopped: This state happens when the running container has been stopped.
5) Deleted: In this, the container is in a dead state.

4. Docker Question

What command can be run to import a pre-exported Docker image into another Docker host?

Problem approach

This can be done using the docker load command and the syntax is : docker load -i .tar

5. Kubernetes Question

How to monitor the Kubernetes cluster?

Problem approach

Prometheus is used for Kubernetes monitoring. The Prometheus ecosystem consists of multiple components.

1) Mainly Prometheus server which scrapes and stores time-series data.
2) Client libraries for instrumenting application code.
3) Push gateway for supporting short-lived jobs.
4) Special-purpose exporters for services like StatsD, HAProxy, Graphite, etc.
5) An alert manager to handle alerts on various support tools.

6. Kubernetes Question

What is the difference between Docker Swarm and Kubernetes?

Problem approach

The main difference between Kubernetes and Docker are :

1) The installation procedure of the K8s is very complicated but if it is once installed then the cluster is robust. On the other hand, the Docker swarm installation process is very simple but the cluster is not at all robust.

2) Kubernetes can process the auto-scaling but the Docker swarm cannot process the auto-scaling of the pods based on incoming load.

3) Kubernetes is a full-fledged Framework. Since it maintains the cluster states more consistently so autoscaling is not as fast as Docker Swarm.

7. Docker Question

What is the difference between CMD and ENTRYPOINT in a Dockerfile?

Problem approach

CMD defines default commands and/or parameters for a container. CMD is an instruction that is best to use if you need a default command which users can easily override. If a Dockerfile has multiple CMDs, it only applies the instructions from the last one.

ENTRYPOINT is preferred when you want to define a container with a specific executable.
You cannot override an ENTRYPOINT when starting a container unless you add the --entrypoint flag.

8. Docker Question

What are Docker Namespaces?

Problem approach

The Namespace in Docker is a technique which offers isolated workspaces called the Container. Namespaces also offer a layer of isolation for the Docker containers.

02
Round
Medium
Video Call
Duration60 minutes
Interview date22 Nov 2021
Coding problem7

This round was more inclined towards Git and Jenkins and had some preety standard questions revolving around them.

1. CI/CD Question

What do you know about Continuous Integration, Continuous Delivery, and Continuous Deployment?

Problem approach

Continuous Integration : A software development process where the changes made to software are integrated into the main code as and when a patch is ready so that the software will be always ready to be - built, tested, deployed, monitored - continuously.


Continuous Delivery : This is a Software Development Process where the continuously integrated (CI) changes will be tested & deployed continuously into a specific environment, generally through a manual release process, after all the quality checks are successful.


Continuous Deployment : A Software Development practice where the continuously integrated (CI) changes are deployed automatically into the target environment after all the quality checks are successful.

2. Jenkins Question

What are the common use cases Jenkins is used for?

Problem approach

Jenkins being open-source automation can be used for any kind of software-based automation. Some of the common use-cases include but not limited to -

i) Software build jobs
ii) Sanity/Smoke/CI/Regression test jobs
iii) Web/Data Scraping related jobs
iv) Code coverage measurement jobs
v) General-purpose automation
vi) Reverse Engineering jobs
vii) Key Decoding jobs & many other jobs where software automation will be applicable.

3. Jenkins Question

What are the types of Jenkins pipelines?

Problem approach

Jenkins Pipelines can be either - a Declarative pipeline or a Scripted Pipeline. Declarative pipeline makes use of numerous, generic, predefined build steps/stages (i.e. code snippets) to build our job according to our build/automation needs whereas, with Scripted pipelines, the steps/stages can be custom-defined & used using a groovy syntax which provides better control & fine-tuned execution levels.

4. Git Question

Tell me something about git stash?

Problem approach

Git stash can be used in cases where we need to switch in between branches and at the same time not wanting to lose edits in the current branch. Running the "git stash" command basically pushes the current working directory state and index to the stack for future use and thereby providing a clean working directory for other tasks.

5. Git Question

What is a conflict?

Problem approach

Git usually handles feature merges automatically but sometimes while working in a team environment, there might be cases of conflicts such as:

1) When two separate branches have changes to the same line in a file

2) A file is deleted in one branch but has been modified in the other.

These conflicts have to be solved manually after discussion with the team as git will not be able to predict what and whose changes have to be given precedence.

6. Git Question

How will you resolve conflict in Git?

Problem approach

Conflicts occur whenever there are multiple people working on the same file across multiple branches. In such cases, git won't be able to resolve it automatically as it is not capable of deciding what changes has to get the precedence.

Following are the steps are done in order to resolve git conflicts : 

1) Identify the files that have conflicts.

2) Discuss with members who have worked on the file and ensure that the required changes are done in the file.

3) Add these files to the staged section by using the git add command.

4) Commit these changes using the git commit command.

5) Finally, push the changes to the branch using the git.

7. Git Question

Explain the "git diff" and "git status" commands

Problem approach

git diff : This shows the changes between commits, working trees, etc.

git status : This shows the difference between the working directory and index that is essential in understanding git in depth.

"git diff" works in a similar fashion to "git status" with the only difference of showing the differences between commits and also between the working directory and index.

03
Round
Easy
HR Round
Duration30 minutes
Interview date22 Nov 2021
Coding problem1

This was a typical HR round with some standard Behavioral questions.

1. Basic HR Question

Tell me something about yourself?

Problem approach

Tip 1 : Prepare the points that you will speak in your introduction prior to the interview.
Tip 2 : Tell about your current cgpa, achievements and authenticated certification
Tip 3 : I told about my role in current internship and what all I do

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
8518 views
0 comments
0 upvotes
Analytics Consultant
3 rounds | 10 problems
Interviewed by ZS
907 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3320 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 6 problems
Interviewed by Expedia Group
2580 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Devops Engineer
3 rounds | 3 problems
Interviewed by Amazon
0 views
0 comments
0 upvotes
company logo
Devops Engineer
4 rounds | 7 problems
Interviewed by Amazon
2035 views
0 comments
0 upvotes
company logo
Devops Engineer
4 rounds | 4 problems
Interviewed by HashedIn
0 views
0 comments
0 upvotes