Add office photos
Larsen & Toubro Limited logo
Engaged Employer

Larsen & Toubro Limited

Verified
4.0
based on 18.8k Reviews
Video summary
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Devops Engineer
Clear (1)

10+ Larsen & Toubro Limited Devops Engineer Interview Questions and Answers

Updated 5 Feb 2024

Q1. If pipeline breaks in production environment, how do you handle it?

Ans.

I would follow the incident management process to identify the root cause and resolve the issue as quickly as possible.

  • Notify the relevant stakeholders and initiate the incident management process

  • Identify the root cause of the issue and take corrective actions

  • Rollback to the previous stable version if necessary

  • Communicate the status and progress of the incident to stakeholders

  • Conduct a post-incident review to identify areas of improvement

Add your answer
right arrow

Q2. Did you write a Docker file from scratch? What is the syntax for Docker file?

Ans.

Yes, I have written Docker files from scratch. The syntax for Docker file includes instructions and arguments.

  • Docker file is a script that contains instructions to build a Docker image

  • The syntax includes instructions like FROM, RUN, COPY, CMD, etc.

  • Arguments are used to specify details like the base image, working directory, etc.

  • Example: FROM ubuntu:latest RUN apt-get update && apt-get install -y python3

  • Example: COPY . /app WORKDIR /app CMD python3 app.py

Add your answer
right arrow

Q3. How do you give permission to a particular secret to a user or application?

Ans.

To give permission to a secret, grant access to the user or application in the secret management tool.

  • Access control can be managed through the secret management tool.

  • Users or applications can be granted read or write access to a specific secret.

  • Access can be granted based on roles or individual permissions.

  • Examples of secret management tools include HashiCorp Vault and AWS Secrets Manager.

Add your answer
right arrow

Q4. What are the Docker commands used inside a Docker file?

Ans.

Docker commands used inside a Dockerfile

  • FROM - specifies the base image

  • RUN - executes a command in the container

  • COPY - copies files from host to container

  • WORKDIR - sets the working directory for subsequent commands

  • CMD - specifies the command to run when the container starts

Add your answer
right arrow
Discover Larsen & Toubro Limited interview dos and don'ts from real experiences

Q5. What is the procedure for .net pipeline build process?

Ans.

The .NET pipeline build process involves several steps including source code management, building, testing, and deployment.

  • Source code is managed using a version control system like Git.

  • The build process involves compiling the code and creating an executable or library.

  • Unit tests are run to ensure the code is functioning correctly.

  • The application is deployed to a testing or staging environment for further testing.

  • Once testing is complete, the application is deployed to produc...read more

Add your answer
right arrow

Q6. In pipelines, what is the approval request procedure?

Ans.

Approval request procedure in pipelines involves manual or automated approval process before deployment.

  • Approval request is triggered when a pipeline reaches a certain stage or before deployment.

  • The request can be manual or automated depending on the pipeline configuration.

  • Manual approval requires a designated person to review and approve the request.

  • Automated approval can be based on predefined rules or conditions.

  • Approval request procedure ensures that only authorized chang...read more

Add your answer
right arrow
Are these interview questions helpful?

Q7. How do you install nuget? What is the use of nuget restore?

Ans.

NuGet is a package manager for .NET that simplifies the process of finding, installing, and using third-party libraries.

  • NuGet can be installed using Visual Studio or the NuGet command-line interface (CLI).

  • NuGet restore is used to restore the packages listed in a project's packages.config file.

  • NuGet packages can be used to add functionality to a project, such as libraries, tools, and frameworks.

  • NuGet also allows for the creation and publishing of packages to be shared with oth...read more

Add your answer
right arrow

Q8. What is your strategy for Kubernetes cluster?

Ans.

My strategy for Kubernetes cluster is to ensure high availability, scalability, and efficient resource utilization.

  • Implementing auto-scaling to handle sudden spikes in traffic

  • Using Kubernetes' built-in features like horizontal pod autoscaling and cluster autoscaling

  • Ensuring proper resource allocation and utilization through resource quotas and limits

  • Implementing rolling updates to minimize downtime

  • Using Kubernetes' built-in monitoring and logging tools to identify and trouble...read more

Add your answer
right arrow
Share interview questions and help millions of jobseekers 🌟
man with laptop

Q9. How do you autoscale in kubernetes?

Ans.

Autoscaling in Kubernetes can be achieved through Horizontal Pod Autoscaler (HPA) and Cluster Autoscaler.

  • Horizontal Pod Autoscaler (HPA) scales the number of pods based on CPU utilization or custom metrics.

  • Cluster Autoscaler scales the number of nodes in the cluster based on resource utilization.

  • HPA can be configured using kubectl autoscale command or through YAML file.

  • Cluster Autoscaler can be installed as a Kubernetes deployment or as a cluster add-on.

  • Both HPA and Cluster A...read more

Add your answer
right arrow

Q10. How do you run a Docker file?

Ans.

To run a Docker file, use the 'docker build' command followed by the path to the Dockerfile.

  • Navigate to the directory containing the Dockerfile

  • Run the command 'docker build -t .'

  • The '.' at the end of the command specifies the build context

  • Once the build is complete, run the container using 'docker run '

Add your answer
right arrow

Q11. What is the use of Azure Keyvaults?

Ans.

Azure Keyvaults are used to securely store and manage cryptographic keys, secrets, and certificates.

  • Keyvaults provide a centralized location for managing secrets and keys used in applications.

  • They allow for secure storage and retrieval of sensitive information such as passwords, API keys, and certificates.

  • Keyvaults can be accessed programmatically through APIs or through the Azure portal.

  • They can also be integrated with Azure services such as Azure Functions and Azure Virtual...read more

Add your answer
right arrow
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at Larsen & Toubro Limited Devops Engineer

based on 1 interviews
Interview experience
5.0
Excellent
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Devops Engineer Interview Questions from Similar Companies

Lentra AI  Logo
2.8
 • 20 Interview Questions
CometChat Logo
4.5
 • 19 Interview Questions
LTIMindtree Logo
3.8
 • 15 Interview Questions
Amdocs Logo
3.7
 • 10 Interview Questions
View all
Recently Viewed
REVIEWS
HSBC Electronic Data Processing
No Reviews
SALARIES
HSBC Electronic Data Processing
REVIEWS
HSBC Electronic Data Processing
No Reviews
LIST OF COMPANIES
HSBC Electronic Data Processing
Locations
REVIEWS
HSBC Electronic Data Processing
No Reviews
REVIEWS
HSBC Electronic Data Processing
No Reviews
REVIEWS
HSBC Electronic Data Processing
No Reviews
REVIEWS
HSBC Electronic Data Processing
No Reviews
REVIEWS
HSBC Electronic Data Processing
No Reviews
REVIEWS
HSBC Electronic Data Processing
No Reviews
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter