LDT Technology
Ascent Health And Wellness Solutions Interview Questions and Answers
Q1. What is docker and difference b/w docker attach and docker exec
Docker is a containerization platform that allows developers to package, deploy, and run applications in isolated environments.
Docker attach allows you to attach to a running container's console output, while docker exec allows you to run a command inside a running container.
Docker attach is used to view the output of a container, while docker exec is used to execute a command inside a container.
Docker attach is used for debugging purposes, while docker exec is used for runni...read more
Q2. Tell about Spring Framework
Spring Framework is a popular Java framework that provides comprehensive infrastructure support for developing Java applications.
Provides dependency injection for managing components
Offers support for aspect-oriented programming
Includes modules for data access, web development, security, and more
Facilitates integration with other frameworks like Hibernate and JPA
Q3. what is multithreading
Multithreading is the ability of a CPU to execute multiple threads concurrently, allowing for parallel processing.
Multithreading allows for better utilization of CPU resources by running multiple threads simultaneously.
Threads share the same memory space, allowing for communication and data sharing between threads.
Examples of multithreading in Java include creating multiple threads to perform different tasks concurrently.
Q4. What is interface
An interface in Java is a reference type, similar to a class, that can contain only constants, method signatures, default methods, static methods, and nested types.
Interfaces are used to define a contract for classes that implement them.
Classes can implement multiple interfaces, but can only extend one class.
Interfaces are used to achieve abstraction and multiple inheritance in Java.
Example: interface Animal { void eat(); }
Q5. What is Polymorphism
Polymorphism is the ability of a single function or method to operate on different types of data.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).
Example: Animal superclass with Dog and Cat subclasses, both implementing a makeSound method differently.
Q6. What is current ctc and expected ctc
Answering salary related questions is inappropriate in an interview setting.
It is not appropriate to ask about current or expected salary in an interview.
Salary negotiations should be conducted after a job offer has been made.
Focusing on salary can detract from discussing the candidate's qualifications and fit for the role.
Q7. Types of Exception
Types of exceptions include checked, unchecked, and errors.
Checked exceptions are checked at compile time, like IOException.
Unchecked exceptions are not checked at compile time, like NullPointerException.
Errors are serious problems that should not be caught, like OutOfMemoryError.
Q8. Procedure for resetting password of ec2
To reset password of ec2, follow these steps:
Log in to the AWS Management Console
Navigate to the EC2 dashboard
Select the instance for which you want to reset the password
Stop the instance
Detach the root volume
Attach the root volume to another instance
Modify the authorized_keys file
Detach the volume from the second instance
Attach it back to the original instance
Start the instance
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month