Cognizant
Laurus Labs Interview Questions and Answers
Q1. What are state full and stateless applications?What is the difference between them?
Stateful applications store data while stateless applications do not.
Stateful applications maintain a record of previous interactions and require persistent storage.
Stateless applications do not store data and can be easily scaled horizontally.
Stateful applications are more complex and require more resources than stateless applications.
Examples of stateful applications include databases and messaging systems, while stateless applications include web servers and load balancers...read more
Q2. what is the difference between devops and sre?
DevOps focuses on collaboration between development and operations teams, while SRE focuses on reliability and scalability of systems.
DevOps is a cultural and organizational practice that emphasizes collaboration and communication between development and operations teams.
SRE (Site Reliability Engineering) is a specific role within an organization that focuses on ensuring the reliability, scalability, and performance of systems.
DevOps aims to streamline the software delivery p...read more
Q3. how to handle devops operations?
Devops operations involve managing the development and deployment of software applications.
Automate repetitive tasks to improve efficiency
Use version control systems like Git for tracking changes
Implement continuous integration and continuous deployment pipelines
Monitor system performance and troubleshoot issues proactively
Q4. What is array. Types of array.collection
An array is a data structure that stores a collection of elements, typically of the same data type.
Arrays can be of fixed size or dynamic size.
Types of arrays include one-dimensional, multi-dimensional, and jagged arrays.
Examples: ['apple', 'banana', 'orange']
Q5. Cicd implementation for java app using Jenkins
Implementing CI/CD for a Java app using Jenkins
Set up Jenkins server and install necessary plugins for Java projects
Create a Jenkins pipeline script to build, test, and deploy the Java app
Integrate version control system (e.g. Git) with Jenkins for automated builds
Use Maven or Gradle for dependency management and build automation
Implement automated testing using tools like JUnit or Selenium
Configure Jenkins to trigger builds on code commits and schedule regular builds
Q6. how is the devops important?
DevOps is important for streamlining software development and deployment processes.
DevOps helps in automating manual tasks, increasing efficiency and reducing errors.
It promotes collaboration between development and operations teams, leading to faster delivery of software.
DevOps enables continuous integration and continuous delivery (CI/CD) pipelines, ensuring rapid and reliable software releases.
It improves overall software quality and stability by implementing infrastructur...read more
Q7. what is devops?
DevOps is a software development methodology that combines software development (Dev) with IT operations (Ops) to improve collaboration and efficiency.
DevOps focuses on automating and streamlining the software development process.
It emphasizes communication and collaboration between development and operations teams.
DevOps aims to shorten the development lifecycle and provide continuous delivery of high-quality software.
Tools commonly used in DevOps include Jenkins, Docker, An...read more
Q8. What is inheritance
Inheritance is a concept in object-oriented programming where a class can inherit attributes and methods from another class.
Allows a class to reuse code from another class
Enables the creation of a hierarchy of classes
Derived class inherits properties and behaviors from a base class
Promotes code reusability and reduces redundancy
More about working at Cognizant
Interview Process at Laurus Labs
Top Devops Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month