CDK Global
10+ DeHaat Interview Questions and Answers
Q1. Difference between async await and task
Async await is a syntactic sugar for working with asynchronous code in a synchronous manner, while Task is a class that represents an asynchronous operation.
Async await allows you to write asynchronous code that looks like synchronous code, making it easier to read and maintain.
Tasks are objects that represent asynchronous operations and can be used to manage and monitor the progress of those operations.
Async await is built on top of the Task class and is used to simplify the...read more
Q2. Program on thread concepts
Thread concepts involve concurrent execution of multiple parts of a program.
Threads allow for parallelism and can improve performance.
Threads can communicate with each other through shared memory or message passing.
Thread synchronization is important to prevent race conditions and deadlocks.
Examples of thread concepts include multithreading, thread pools, and futures.
Thread safety is important to ensure correct behavior in concurrent programs.
Q3. Architecture diagram of projects you did
I have designed architecture diagrams for various projects including a cloud-based e-commerce platform and a mobile app for a healthcare provider.
Designed architecture diagrams for a cloud-based e-commerce platform using AWS services such as EC2, S3, and RDS
Created architecture diagrams for a mobile app for a healthcare provider using Firebase for backend services
Collaborated with development teams to ensure architecture diagrams aligned with project requirements
Q4. If engineering team has less capacity and you are asked to deliver a feature by a deadline, how would you approach this?
I would prioritize the features based on their impact and feasibility.
Assess the importance and urgency of the feature
Collaborate with the engineering team to understand their capacity and constraints
Identify any potential trade-offs or compromises that can be made
Consider alternative solutions or workarounds
Communicate with stakeholders about the situation and manage expectations
Re-prioritize the roadmap if necessary
Q5. How would you do annual performance reviews and minimize conflicts ?
To minimize conflicts in annual performance reviews, establish clear expectations, provide regular feedback, encourage open communication, and offer support for professional development.
Establish clear performance expectations and goals at the beginning of the review period.
Provide regular feedback throughout the year, both positive and constructive.
Encourage open communication between the project lead and team members, creating a safe space for discussions.
Offer support for ...read more
Q6. Write unit test cases
Unit test cases are written to test individual units or components of a software application.
Identify the unit to be tested
Write test cases to cover different scenarios such as positive, negative, and edge cases
Use testing frameworks like JUnit or NUnit to write and execute the test cases
Ensure the test cases are independent, isolated, and repeatable
Include assertions to verify the expected behavior of the unit
Q7. Projects during b.tech
Developed projects in b.tech related to web development and machine learning.
Developed a web application for online shopping using PHP and MySQL.
Implemented a machine learning model for predicting stock prices using Python.
Created a sentiment analysis tool using Natural Language Processing.
Designed a chatbot using Dialogflow for customer service.
Developed a website for a local NGO using WordPress.
Implemented a recommendation system for a movie streaming platform using collabo...read more
Q8. What is difference between List and Dictionary
List is an ordered collection of items, while Dictionary is a collection of key-value pairs.
List maintains the order of elements, while Dictionary does not guarantee any specific order.
In List, elements are accessed by their index, while in Dictionary, elements are accessed by their keys.
Example: List - [1, 2, 3], Dictionary - {'a': 1, 'b': 2, 'c': 3}
Q9. Difference between AWS ALB and NLB
ALB is application layer load balancer, NLB is network layer load balancer in AWS.
ALB operates at Layer 7 and supports HTTP, HTTPS, and WebSocket protocols.
NLB operates at Layer 4 and supports TCP, UDP, and TLS protocols.
ALB can route traffic based on content of the request, NLB routes based on IP address and port.
ALB is ideal for web applications, NLB is ideal for applications that require high performance and low latency.
ALB supports host-based routing, NLB does not.
Q10. How handle Session in Dot Net core
Session handling in Dot Net Core involves configuring session middleware and using session variables to store user-specific data.
Configure session middleware in Startup.cs using services.AddSession() and app.UseSession()
Access session variables using HttpContext.Session
Store and retrieve data in session variables using key-value pairs
Set session expiration and cookie options for security and performance
Example: services.AddSession(options => { options.IdleTimeout = TimeSpan.F...read more
Q11. hibernate many to many mapping design
Hibernate many to many mapping allows for a relationship where multiple instances of one entity are related to multiple instances of another entity.
Use @ManyToMany annotation in Hibernate to establish many to many relationship between entities
Create a join table to store the relationship between the two entities
Specify the mapping details such as cascade type, fetch type, and join column details
Q12. Various projects challenges
Handling various project challenges requires adaptability and problem-solving skills.
Identifying bottlenecks in the development process
Implementing automation to streamline workflows
Resolving conflicts between different teams
Managing unexpected changes in project scope
Q13. Expectations on TC
Expectations on total compensation for the DevOps engineer role.
Research industry standards for DevOps engineer salaries
Consider the cost of living in the area where the job is located
Factor in additional benefits such as healthcare, retirement plans, and bonuses
Negotiate based on your skills, experience, and the value you bring to the company
Q14. arrays sort 0's to end
Use two pointers approach to sort 0's to end of array of strings.
Initialize two pointers, one for iterating through the array and one for placing 0's at the end.
If current element is '0', swap it with the element at the second pointer and move the second pointer forward.
Top HR Questions asked in DeHaat
Interview Process at DeHaat
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month