Upload Button Icon Add office photos

National Career Service

Compare button icon Compare button icon Compare

Filter interviews by

National Career Service Devops Engineer Interview Questions and Answers

Updated 3 Sep 2024

6 Interview questions

A Devops Engineer was asked 9mo ago
Q. What are the steps to deploy an application to Kubernetes?
Ans. 

Steps to deploy an application to Kubernetes

  • Create a Kubernetes deployment file with specifications for the application

  • Apply the deployment file using kubectl apply command

  • Monitor the deployment using kubectl get pods command

  • Expose the application using a Kubernetes service

  • Scale the application by adjusting the replica count in the deployment file

A Devops Engineer was asked 9mo ago
Q. Define stage in Docker.
Ans. 

A stage in Docker is a logical division in a Dockerfile where a specific set of instructions are executed and the resulting image is saved.

  • Stages help in breaking down complex build processes into smaller, manageable parts.

  • Each stage can have its own base image and set of instructions.

  • Stages can be used to optimize the build process by reusing intermediate images.

  • Stages are defined using the 'FROM' keyword in a Do...

Devops Engineer Interview Questions Asked at Other Companies

asked in Siemens
Q1. How can you run a Docker command remotely on a Linux server witho ... read more
asked in Lentra AI
Q2. If you want to connect multiple VPCs, and you have two or three V ... read more
Q3. Reverse the String Problem Statement You are given a string STR w ... read more
asked in Nagarro
Q4. Guess The Hidden Number Problem Statement You are given an intege ... read more
Q5. What Docker command can you use to transfer an image from one mac ... read more
A Devops Engineer was asked 9mo ago
Q. What are modules in Terraform?
Ans. 

Modules in Terraform are reusable configurations that can be used to create multiple instances of resources.

  • Modules help in organizing and reusing Terraform configurations.

  • They allow for creating reusable components that can be shared across different projects.

  • Modules can be used to encapsulate related resources and configurations.

  • They promote code reusability and maintainability in Terraform scripts.

A Devops Engineer was asked 9mo ago
Q. What is NullResource in Terraform?
Ans. 

NullResource in Terraform is a resource that performs no actions when applied, but can be used to trigger provisioners or other side effects.

  • NullResource is a resource type in Terraform that allows you to run provisioners without creating any infrastructure.

  • It can be used to trigger actions like running scripts or commands on the local machine or remote servers.

  • NullResource is often used for tasks like running ini...

A Devops Engineer was asked 9mo ago
Q. What is CrashLoopBackOff?
Ans. 

CrashLoopBackOff is an error state in Kubernetes when a container repeatedly crashes and fails to start.

  • CrashLoopBackOff occurs when a container in a Kubernetes pod crashes and Kubernetes tries to restart it, but it keeps failing.

  • This error is often caused by misconfigurations, resource constraints, or application bugs.

  • To troubleshoot CrashLoopBackOff, check the container logs, resource limits, and pod configurati...

A Devops Engineer was asked 9mo ago
Q. Modules in terrafrom
Ans. 

Modules in Terraform are reusable configurations that can be used to create resources in a consistent and efficient manner.

  • Modules help in organizing and reusing Terraform configurations

  • They can be used to create resources, manage infrastructure, and define policies

  • Modules can be shared and reused across different projects

  • Example: Creating a module for provisioning an AWS EC2 instance

National Career Service Devops Engineer Interview Experiences

2 interviews found

Interview experience
3
Average
Difficulty level
Hard
Process Duration
Less than 2 weeks
Result
No response

I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.

Round 1 - Technical 

(5 Questions)

  • Q1. What are the steps to deploy an application to kubernetes?
  • Ans. 

    Steps to deploy an application to Kubernetes

    • Create a Kubernetes deployment file with specifications for the application

    • Apply the deployment file using kubectl apply command

    • Monitor the deployment using kubectl get pods command

    • Expose the application using a Kubernetes service

    • Scale the application by adjusting the replica count in the deployment file

  • Answered by AI
  • Q2. What are modules in terraform?
  • Ans. 

    Modules in Terraform are reusable configurations that can be used to create multiple instances of resources.

    • Modules help in organizing and reusing Terraform configurations.

    • They allow for creating reusable components that can be shared across different projects.

    • Modules can be used to encapsulate related resources and configurations.

    • They promote code reusability and maintainability in Terraform scripts.

  • Answered by AI
  • Q3. Define stage in docker.
  • Ans. 

    A stage in Docker is a logical division in a Dockerfile where a specific set of instructions are executed and the resulting image is saved.

    • Stages help in breaking down complex build processes into smaller, manageable parts.

    • Each stage can have its own base image and set of instructions.

    • Stages can be used to optimize the build process by reusing intermediate images.

    • Stages are defined using the 'FROM' keyword in a Dockerf...

  • Answered by AI
  • Q4. What is CrashLoopBackOff
  • Ans. 

    CrashLoopBackOff is an error state in Kubernetes when a container repeatedly crashes and fails to start.

    • CrashLoopBackOff occurs when a container in a Kubernetes pod crashes and Kubernetes tries to restart it, but it keeps failing.

    • This error is often caused by misconfigurations, resource constraints, or application bugs.

    • To troubleshoot CrashLoopBackOff, check the container logs, resource limits, and pod configuration.

    • Ex...

  • Answered by AI
  • Q5. What is NullResource in terraform.
  • Ans. 

    NullResource in Terraform is a resource that performs no actions when applied, but can be used to trigger provisioners or other side effects.

    • NullResource is a resource type in Terraform that allows you to run provisioners without creating any infrastructure.

    • It can be used to trigger actions like running scripts or commands on the local machine or remote servers.

    • NullResource is often used for tasks like running initiali...

  • Answered by AI

Skills evaluated in this interview

Devops Engineer Interview Questions & Answers

user image Tanishq Vaishnav

posted on 3 Sep 2024

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. K8s architecture
  • Q2. Modules in terrafrom
  • Ans. 

    Modules in Terraform are reusable configurations that can be used to create resources in a consistent and efficient manner.

    • Modules help in organizing and reusing Terraform configurations

    • They can be used to create resources, manage infrastructure, and define policies

    • Modules can be shared and reused across different projects

    • Example: Creating a module for provisioning an AWS EC2 instance

  • Answered by AI

Skills evaluated in this interview

Top trending discussions

View All
Interview Tips & Stories
5d (edited)
a team lead
Why are women still asked such personal questions in interview?
I recently went for an interview… and honestly, m still trying to process what just happened. Instead of being asked about my skills, experience, or how I could add value to the company… the questions took a totally unexpected turn. The interviewer started asking things like When are you getting married? Are you engaged? And m sure, if I had said I was married, the next question would’ve been How long have you been married? What does my personal life have to do with the job m applying for? This is where I felt the gender discrimination hit hard. These types of questions are so casually thrown at women during interviews but are they ever asked to men? No one asks male candidates if they’re planning a wedding or how old their kids are. So why is it okay to ask women? Can we please stop normalising this kind of behaviour in interviews? Our careers shouldn’t be judged by our relationship status. Period.
Got a question about National Career Service?
Ask anonymously on communities.

Interview questions from similar companies

Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
No response

I applied via Company Website and was interviewed before Oct 2023. There was 1 interview round.

Round 1 - HR 

(2 Questions)

  • Q1. Project details
  • Q2. Experience in each tool
  • Ans. 

    I have experience with a variety of tools commonly used in DevOps, including Jenkins, Docker, Kubernetes, Ansible, and Git.

    • Proficient in Jenkins for continuous integration and continuous deployment

    • Familiar with Docker for containerization of applications

    • Experience with Kubernetes for container orchestration

    • Skilled in Ansible for configuration management and automation

    • Proficient in Git for version control and collaborat...

  • Answered by AI

I applied via Recruitment Consultant and was interviewed before Aug 2020. There were 5 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. Basic DevOps questions need to be prepared and docker and Jenkins plays vital role in interview
  • Q2. Git, Maven, Sonar, Jenkins docker,any load balancers and scripting must to work

Interview Preparation Tips

Interview preparation tips for other job seekers - They don't dig depth in questions but you should be prepared with all devops tools in ur stack

Interview Questionnaire 

1 Question

  • Q1. Project details, job roles,

I applied via Naukri.com and was interviewed in Mar 2021. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Related to middleware and devops

Interview Preparation Tips

Interview preparation tips for other job seekers - It was good, there were 3 rounds.
Round 1 - HR 

(1 Question)

  • Q1. Share details of your previous job.
  • Ans. 

    As a DevOps Engineer, I streamlined CI/CD processes, improved system reliability, and enhanced collaboration between development and operations teams.

    • CI/CD Implementation: I set up Jenkins pipelines to automate testing and deployment, reducing deployment time by 40%.

    • Infrastructure as Code: Utilized Terraform to manage cloud infrastructure, enabling version control and reproducibility of environments.

    • Monitoring and Logg...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Good place for begginers, people will help when you faces any challenges.
Are these interview questions helpful?

Interview Questionnaire 

1 Question

  • Q1. Gitlab Ci/Cd ,Aws ,linux xommands

I applied via Naukri.com and was interviewed before Dec 2020. There were 3 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. Explain previous project and used technology?
  • Q2. Most difficult or challenging and how you overcome it.
  • Ans. 

    Faced a major deployment failure, I led a team to troubleshoot and implement a robust CI/CD pipeline to prevent future issues.

    • Incident Response: During a critical deployment, our application crashed due to a misconfiguration. I quickly assembled a team to diagnose the issue.

    • Root Cause Analysis: We identified that the failure was due to a missing environment variable. I implemented a checklist for environment configurat...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Had 2 rounds one technical and one HR. Technical interview was straight forward about my experience on projects and technologies.
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I appeared for an interview before Feb 2022.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Assignment 

Asked me to do a project in GIT & push it to dockerhub.

Round 3 - HR 

(2 Questions)

  • Q1. Asked about my experience and previous projects
  • Q2. Asked briefly about my role in the project

Interview Preparation Tips

Interview preparation tips for other job seekers - Be careful while answering. If you don't know the answer just say I don't know.

National Career Service Interview FAQs

How many rounds are there in National Career Service Devops Engineer interview?
National Career Service interview process usually has 1 rounds. The most common rounds in the National Career Service interview process are Technical.
What are the top questions asked in National Career Service Devops Engineer interview?

Some of the top questions asked at the National Career Service Devops Engineer interview -

  1. What are the steps to deploy an application to kubernet...read more
  2. What is NullResource in terrafo...read more
  3. What are modules in terrafo...read more

Tell us how to improve this page.

Overall Interview Experience Rating

3/5

based on 2 interview experiences

Difficulty level

Hard 100%

Duration

Less than 2 weeks 100%
View more
Software Engineer
94 salaries
unlock blur

₹3.6 L/yr - ₹6 L/yr

Software Developer
35 salaries
unlock blur

₹3 L/yr - ₹6.8 L/yr

Full Stack Developer
10 salaries
unlock blur

₹1 L/yr - ₹4.8 L/yr

Young Professional
9 salaries
unlock blur

₹6 L/yr - ₹7 L/yr

Java Developer
9 salaries
unlock blur

₹3 L/yr - ₹7.5 L/yr

Explore more salaries
Compare National Career Service with

Government of India

4.3
Compare

National Informatics Centre

3.9
Compare

Csc E Governance Services

3.9
Compare

Central Reserve Police Force

4.7
Compare
write
Share an Interview