Upload Button Icon Add office photos

Filter interviews by

Druk Exporting Java Developer Interview Questions and Answers

Be the first one to contribute and help others!

Interview questions from similar companies

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

I was interviewed in Dec 2024.

Round 1 - Technical 

(22 Questions)

  • Q1. API Gateway implementation
  • Q2. Circuit breaker implementation
  • Q3. What is deadlock? How to avoid it?
  • Q4. Explain equals() method
  • Q5. How mongodb was integrated in your application?
  • Q6. What is hibernate?
  • Q7. Runnable vs Callable interface
  • Q8. Which type of data is returned by Callable interface?
  • Q9. HashMap internal working
  • Q10. Concurrent HashMap internal working
  • Q11. How to monitor health of your application?
  • Q12. How to call an API in a Microservice architecture?
  • Q13. Explain Profiles
  • Q14. What is OpenFeign, and how is it used in microservices architecture?
  • Q15. What is the implementation process for service registry and discovery?
  • Q16. What are Spring boot actuators?
  • Q17. Synchronous vs Asynchronous communication
  • Q18. Explain Synchronized keyword
  • Q19. What are the consequences of excessively using synchronized blocks and methods in Java?
  • Q20. How can you determine the number of threads needed for your application?
  • Q21. Explain Executor framework
  • Q22. Explain BlockingQueue
Round 2 - HR 

(2 Questions)

  • Q1. Why did you leave your previous company?
  • Q2. Other basic questions asked regarding the relevant skills and technologies I have worked with.
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Approached by Company and was interviewed in Dec 2024. There was 1 interview round.

Round 1 - Technical 

(8 Questions)

  • Q1. What improvements to interfaces were introduced in Java 8 that were missing in Java 7, specifically regarding static and default methods?
  • Ans. 

    Java 8 introduced static and default methods in interfaces, allowing for method implementation and code reusability.

    • Java 8 introduced static methods in interfaces, allowing for method implementation directly in the interface itself.

    • Default methods were also introduced in Java 8, enabling interfaces to have method implementations without affecting implementing classes.

    • Static methods in interfaces can be called using the...

  • Answered by AI
  • Q2. Explain internal working of HashMap ? How to synchronize it ?
  • Ans. 

    HashMap is a data structure that stores key-value pairs and uses hashing to efficiently retrieve values.

    • HashMap uses an array of linked lists to store key-value pairs.

    • When a key-value pair is added, the key is hashed to determine the index in the array where it will be stored.

    • If multiple keys hash to the same index, a linked list is used to handle collisions.

    • To synchronize a HashMap, you can use the synchronizedMap() m...

  • Answered by AI
  • Q3. Given a list of employees with their ratings, how can you sort the employees based on their ratings using the Java 8 Streaming API?
  • Q4. Will the program compile if the parent class throws a runtime exception while the child class throws an arithmetic exception?
  • Ans. 

    No, the program will not compile if the parent class throws a runtime exception while the child class throws an arithmetic exception.

    • In Java, if a parent class method throws a checked exception, the child class method can only throw the same exception or its subclasses.

    • ArithmeticException is an unchecked exception, so if the parent class throws a checked exception and the child class throws an unchecked exception, the ...

  • Answered by AI
  • Q5. In a Spring Boot application with two databases, how can you configure JDBC to specify which database to use?
  • Ans. 

    Configure JDBC in Spring Boot to specify which database to use

    • Define multiple DataSource beans in the configuration class

    • Use @Primary annotation to specify the primary DataSource

    • Use @Qualifier annotation to specify the secondary DataSource

    • Inject the DataSource beans where needed in the application

  • Answered by AI
  • Q6. How to use a jetty server in your spring boot application ?
  • Ans. 

    To use a Jetty server in a Spring Boot application, you can configure it as a dependency and customize its settings.

    • Add Jetty server dependency in your pom.xml file

    • Exclude Tomcat server dependency if it's included by default in Spring Boot

    • Configure Jetty server settings in application.properties or application.yml file

    • Example: Add Jetty dependency - <dependency> <groupId>org.springframework.boot</groupId...

  • Answered by AI
  • Q7. Difference between @RequestParam and @PathVariable ?
  • Ans. 

    RequestParam is used to extract query parameters from the URL, while PathVariable is used to extract values from the URI path.

    • RequestParam is used for query parameters in the URL, while PathVariable is used for values in the URI path.

    • RequestParam is optional, while PathVariable is required.

    • RequestParam is used with the @RequestParam annotation, while PathVariable is used with the @PathVariable annotation.

    • Example: @Requ...

  • Answered by AI
  • Q8. How would you handle a scenario where one microservice is awaiting a response from another microservice that is taking an extended time to respond?
  • Ans. 

    I would implement timeout mechanisms and retries to handle the scenario of one microservice awaiting a response from another microservice taking an extended time.

    • Implement timeout mechanisms in the calling microservice to limit the waiting time for a response.

    • Set up retry logic to automatically resend the request to the slow microservice if no response is received within the specified timeout period.

    • Use circuit breaker...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare the basics about Java 8 , Core Java , Springboot , Microservices and MySql.
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Company Website and was interviewed in Nov 2024. There were 2 interview rounds.

Round 1 - Technical 

(7 Questions)

  • Q1. Create one Spring boot controller from end to end. No need to create a spring boot project we just want to see the structure and end to end implementation.
  • Q2. Write a java 8 program to get the characters from a string whose count is 2 or more than 2 e.g. input: baseball , output: b, a, l.
  • Q3. Why you left your previous organization.
  • Q4. What is the functional interface
  • Q5. What are the OOPS concepts. and some questions related to inheritance.
  • Q6. Asked about the project mentioned in CV (Client project) and asked its architecture.
  • Q7. Various SQL join types
Round 2 - HR 

(3 Questions)

  • Q1. Are you ready to relocate to job location
  • Q2. Why are you leaving your previous organization.
  • Q3. Expectation about salary

Interview Preparation Tips

Interview preparation tips for other job seekers - Do your basics strong, and keep hands on problems.
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

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

Round 1 - Technical 

(8 Questions)

  • Q1. How much exp in docker?
  • Ans. 

    I have 2 years of experience working with Docker in various projects.

    • 2 years of experience working with Docker in various projects

    • Proficient in creating Docker containers, managing images, and orchestrating containers using Docker Compose

    • Familiar with Docker Swarm and Kubernetes for container orchestration

    • Experience in troubleshooting Docker-related issues and optimizing container performance

  • Answered by AI
  • Q2. Do you have exp in Kubernetes?
  • Ans. 

    Yes, I have experience in Kubernetes.

    • I have worked on deploying and managing applications on Kubernetes clusters.

    • I am familiar with creating and managing Kubernetes resources such as pods, deployments, services, and ingresses.

    • I have experience in using tools like kubectl and Helm for interacting with Kubernetes clusters.

    • I have implemented CI/CD pipelines using Kubernetes for automated deployment and scaling of applicat

  • Answered by AI
  • Q3. What is OOP?
  • Ans. 

    OOP stands for Object-Oriented Programming, a programming paradigm based on the concept of objects.

    • OOP focuses on creating objects that contain data and methods to manipulate that data.

    • Encapsulation, inheritance, and polymorphism are key principles of OOP.

    • Examples of OOP languages include Java, C++, and Python.

  • Answered by AI
  • Q4. Types of polymorphism
  • Ans. 

    Polymorphism in Java refers to the ability of a method to do different things based on the object it is acting upon.

    • Types of polymorphism in Java include method overloading and method overriding.

    • Method overloading is when multiple methods have the same name but different parameters.

    • Method overriding is when a subclass provides a specific implementation of a method that is already defined in its superclass.

  • Answered by AI
  • Q5. Thread in java
  • Ans. 

    Threads in Java allow multiple tasks to run concurrently within a single program.

    • Threads are lightweight sub-processes that share the same memory space.

    • They are used to improve performance by allowing tasks to run simultaneously.

    • Examples include creating a new thread using the Thread class or implementing the Runnable interface.

  • Answered by AI
  • Q6. Knowledge in which spring modules
  • Q7. What is spring profile
  • Ans. 

    Spring profile is a way to segregate parts of your application configuration and make it only available in certain environments.

    • Spring profiles allow you to define different configurations for different environments such as development, testing, and production.

    • You can use @Profile annotation to specify which beans should be loaded based on the active profile.

    • Profiles can be activated in various ways such as through app...

  • Answered by AI
  • Q8. What is @PreAuthorize and @PostAuthorize
  • Ans. 

    Annotations used in Spring Security to apply authorization rules before and after a method is called.

    • Used in Spring Security to define authorization rules

    • @PreAuthorize is used to apply authorization rules before a method is called

    • @PostAuthorize is used to apply authorization rules after a method is called

    • Both annotations support SpEL expressions for defining rules

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Deloitte Java Developer interview:
  • Basics in java
  • Spring security
  • Spring Boot
  • Docker
  • Cloud Computing
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

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

Round 1 - Technical 

(6 Questions)

  • Q1. Java 8 , java 11 and java 17 features?
  • Ans. 

    Java 8 introduced lambda expressions, Java 11 added local-variable syntax for lambda parameters, and Java 17 included sealed classes and pattern matching.

    • Java 8 introduced lambda expressions for functional programming.

    • Java 11 added local-variable syntax for lambda parameters to simplify code.

    • Java 17 included sealed classes to restrict inheritance and pattern matching for instanceof checks and type casts.

  • Answered by AI
  • Q2. Dispatcher servlet, design patterns
  • Q3. @SpringbootApplication annotation, actuators
  • Q4. String Coding question with java 8 features such as lambda function and stream api
  • Q5. Number of words in a string
  • Ans. 

    Count the number of words in a given string.

    • Split the string by spaces and count the number of resulting elements.

    • Handle edge cases like multiple spaces or empty strings.

    • Consider punctuation marks as part of words unless specified otherwise.

  • Answered by AI
  • Q6. Microservice design patterns
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

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

Round 1 - One-on-one 

(3 Questions)

  • Q1. Difference between hashmap and hash table
  • Ans. 

    HashMap is non-synchronized and allows null values, while HashTable is synchronized and does not allow null values.

    • HashMap is non-synchronized, meaning it is not thread-safe, while HashTable is synchronized and thread-safe.

    • HashMap allows null values for both keys and values, while HashTable does not allow null keys or values.

    • HashMap is generally preferred for non-thread-safe applications, while HashTable is used in mul

  • Answered by AI
  • Q2. Static block related questions
  • Q3. Arraylist and linkedlist question

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

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

Round 1 - Technical 

(2 Questions)

  • Q1. What are virtual threads and its uses
  • Q2. Differenciate deep cloning vs shallow cloning with a code
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
6-8 weeks
Result
Not Selected

I applied via Job Fair and was interviewed in Oct 2024. There were 4 interview rounds.

Round 1 - Aptitude Test 

Onlin test consist pf easy numerical questions

Round 2 - Coding Test 

Easy questions not so difficult

Round 3 - Technical 

(3 Questions)

  • Q1. Java oops concept
  • Q2. Basic sprophramming questions
  • Q3. Networking firewall cisco
Round 4 - HR 

(2 Questions)

  • Q1. Personal questions
  • Q2. Whetehr to willing to work in any locations
  • Ans. 

    Yes, I am willing to work in any location for the right opportunity.

    • I am open to relocating for the right job opportunity

    • I am flexible and adaptable to new environments

    • I believe working in different locations can provide valuable experiences and growth opportunities

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Tech Mahindra Java Developer interview:
  • Networking
Interview preparation tips for other job seekers - nothiung
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
No response

I applied via Company Website and was interviewed in Oct 2024. There were 3 interview rounds.

Round 1 - Aptitude Test 

First round is quit easy

Round 2 - Coding Test 

2 coding question based on dsa

Round 3 - Technical 

(2 Questions)

  • Q1. Explain different phases of sdlc
  • Ans. 

    SDLC stands for Software Development Life Cycle, which consists of different phases from planning to maintenance.

    • 1. Planning phase involves defining project scope, requirements, and creating a project plan.

    • 2. Analysis phase focuses on gathering and analyzing requirements to create a detailed system design.

    • 3. Design phase involves creating a high-level design, detailed design, and architecture for the software.

    • 4. Implem...

  • Answered by AI
  • Q2. 4 paillers of datastructure.
  • Ans. 

    The 4 pillars of data structure are arrays, linked lists, stacks, and queues.

    • Arrays: Data structure that stores a collection of elements with a fixed size.

    • Linked Lists: Data structure where each element points to the next element in the sequence.

    • Stacks: Data structure that follows the Last In First Out (LIFO) principle.

    • Queues: Data structure that follows the First In First Out (FIFO) principle.

  • Answered by AI

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-

I applied via Naukri.com

Round 1 - Technical 

(2 Questions)

  • Q1. Circuit breaker pattern
  • Q2. Aws S3 access via ECS
Round 2 - Technical 

(2 Questions)

  • Q1. Time Complexity
  • Q2. Coding question and SQL queries

Tell us how to improve this page.

Compare Druk Exporting with

TCS

3.7
Compare

Accenture

3.9
Compare

Wipro

3.7
Compare

Cognizant

3.8
Compare
Did you find this page helpful?
Yes No
write
Share an Interview