Premium Employer

i

This company page is being actively managed by HCLTech Team. If you also belong to the team, you can get access from here

HCLTech Verified Tick

Compare button icon Compare button icon Compare
3.5

based on 35.1k Reviews

Filter interviews by

HCLTech Servicenow Consultant Interview Questions and Answers

Updated 26 Sep 2022

HCLTech Servicenow Consultant Interview Experiences

1 interview found

I applied via Naukri.com and was interviewed in Aug 2022. There were 2 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Technical 

(2 Questions)

  • Q1. Difference between incident management and major incident management
  • Ans. 

    Incident management deals with any unplanned interruption while major incident management deals with critical incidents that require immediate attention.

    • Incident management is a process of managing any unplanned interruption in the service, whereas major incident management deals with critical incidents that require immediate attention.

    • Incident management aims to restore normal service operation as soon as possible, wh...

  • Answered by AI
  • Q2. What is stagging table
  • Ans. 

    Staging table is a temporary table used to store data before it is processed and loaded into the final destination table.

    • Staging tables are used in ETL (Extract, Transform, Load) processes.

    • They help to ensure data quality and consistency before it is loaded into the final destination table.

    • Staging tables can also be used for data migration or integration projects.

    • Examples of staging tables include: import tables, expor

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Be prepare with all topics which you mentioned in resume and be transparent about your knowledge

Interview questions from similar companies

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Configure an email notification using email script.
  • Ans. 

    Configure email notification using email script

    • Create a new notification in ServiceNow

    • Select 'Email Script' as the notification type

    • Write the email script to define the email content and recipients

  • Answered by AI
Round 2 - Technical 

(1 Question)

  • Q1. Manager round related questions.
Round 3 - HR 

(1 Question)

  • Q1. CTC negotiation etc.

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(3 Questions)

  • Q1. Rest Api integration
  • Q2. Sccm integration
  • Q3. Define response body
  • Ans. 

    Response body is the data sent back from a server in response to a client's request.

    • Contains information requested by the client

    • Usually in JSON or XML format

    • Includes status codes like 200 for success or 404 for not found

  • Answered by AI
Round 2 - HR 

(2 Questions)

  • Q1. Salary discussion
  • Q2. Discussion on current components

Interview Preparation Tips

Interview preparation tips for other job seekers - Well prepared be clear with basic concepts and interview stages will be basic to advanced level.

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Types of client scripts
  • Ans. 

    Client scripts in ServiceNow can be categorized into three types: onLoad, onChange, and onSubmit.

    • onLoad client scripts run when a form is loaded

    • onChange client scripts run when a field value is changed

    • onSubmit client scripts run when a form is submitted

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - NA

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Aptitude Test 

Logical and verbal reasoning

Round 2 - Coding Test 

Good and factorial series

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
  • Ans. 

    API Gateway implementation is a centralized service that routes, manages, and secures API calls.

    • API Gateway acts as a single entry point for all API calls

    • It can handle authentication, rate limiting, caching, and request/response transformations

    • Examples include AWS API Gateway, Apigee, Kong

  • Answered by AI
  • Q2. Circuit breaker implementation
  • Ans. 

    Circuit breaker is a design pattern used to prevent system overload by temporarily stopping requests to a failing service.

    • Circuit breaker monitors requests to a service and opens when the service fails repeatedly.

    • It helps prevent cascading failures and allows the system to gracefully degrade.

    • Once the circuit breaker is open, it can periodically check if the service has recovered before allowing requests again.

  • Answered by AI
  • Q3. What is deadlock? How to avoid it?
  • Ans. 

    Deadlock is a situation in which two or more processes are unable to proceed because each is waiting for the other to release a resource.

    • Avoid circular wait by ensuring processes request resources in the same order.

    • Prevent hold and wait by requiring processes to request all needed resources at once.

    • Implement a timeout mechanism to break potential deadlocks.

    • Use resource allocation graphs to detect and prevent deadlocks.

    • ...

  • Answered by AI
  • Q4. Explain equals() method
  • Ans. 

    The equals() method is used to compare the contents of two objects for equality.

    • The equals() method is a method of the Object class in Java.

    • It is used to compare the contents of two objects for equality.

    • The default implementation of equals() in the Object class compares memory addresses, so it is often overridden in custom classes to compare content.

    • Example: String class overrides equals() method to compare the content

  • Answered by AI
  • Q5. How mongodb was integrated in your application?
  • Ans. 

    MongoDB was integrated in the application by using the official Java driver and configuring connection settings.

    • Used the official MongoDB Java driver to interact with the database

    • Configured connection settings such as host, port, database name, and authentication credentials

    • Implemented CRUD operations using MongoDB Java driver methods

    • Utilized MongoDB aggregation framework for complex queries

  • Answered by AI
  • Q6. What is hibernate?
  • Ans. 

    Hibernate is an open-source Java framework that simplifies the development of database interactions in Java applications.

    • Hibernate is an Object-Relational Mapping (ORM) tool that maps Java objects to database tables.

    • It provides a way to perform database operations using Java objects instead of writing SQL queries.

    • Hibernate handles the mapping of Java classes to database tables and vice versa, as well as the generation ...

  • Answered by AI
  • Q7. Runnable vs Callable interface
  • Ans. 

    Runnable is a functional interface with a single run() method, while Callable is a functional interface with a single call() method.

    • Runnable is used for tasks that do not return a result, while Callable is used for tasks that return a result.

    • Callable can throw checked exceptions, while Runnable cannot.

    • Callable returns a Future object, which can be used to retrieve the result of the computation.

    • Example: Runnable - execu...

  • Answered by AI
  • Q8. Which type of data is returned by Callable interface?
  • Ans. 

    The Callable interface in Java returns a Future object.

    • Callable interface returns a Future object which represents the result of a computation that may not be available yet.

    • The Future object can be used to retrieve the result of the computation, check if it is done, or cancel the computation.

    • Example: Callable<Integer> task = () -> { return 42; }

  • Answered by AI
  • Q9. HashMap internal working
  • Q10. Concurrent HashMap internal working
  • Q11. How to monitor health of your application?
  • Ans. 

    Monitor application health using metrics, logs, alerts, and performance monitoring tools.

    • Use monitoring tools like Prometheus, Grafana, or New Relic to track key metrics such as CPU usage, memory usage, response times, and error rates.

    • Implement logging to record important events and errors in your application. Use tools like ELK stack (Elasticsearch, Logstash, Kibana) for log analysis.

    • Set up alerts to notify you of any...

  • Answered by AI
  • Q12. How to call an API in a Microservice architecture?
  • Ans. 

    To call an API in a Microservice architecture, use HTTP requests or messaging protocols like gRPC.

    • Use HTTP requests to communicate between microservices

    • Implement RESTful APIs for easy integration

    • Leverage messaging protocols like gRPC for efficient communication

    • Consider using service discovery mechanisms for dynamic API calls

  • Answered by AI
  • Q13. Explain Profiles
  • Ans. 

    Profiles in Java are configurations that define the capabilities of a Java platform.

    • Profiles allow developers to target specific types of devices or applications.

    • They help in reducing the size of the Java runtime environment by including only the necessary APIs.

    • Examples include Java SE Embedded Profile for embedded devices and Java SE Compact Profile for resource-constrained environments.

  • Answered by AI
  • Q14. What is OpenFeign, and how is it used in microservices architecture?
  • Ans. 

    OpenFeign is a declarative web service client used to simplify the process of making HTTP requests in microservices architecture.

    • OpenFeign allows developers to define RESTful web services as interfaces and automatically generate the necessary implementation code.

    • It integrates seamlessly with Spring Cloud and other microservices frameworks to facilitate communication between services.

    • OpenFeign supports features like loa...

  • Answered by AI
  • Q15. What is the implementation process for service registry and discovery?
  • Ans. 

    Service registry and discovery involves registering services and allowing clients to discover and connect to them.

    • Implement a service registry where services can register themselves with metadata

    • Use a service discovery mechanism for clients to find and connect to services

    • Implement health checks to ensure services are available and healthy

    • Use a load balancer to distribute traffic among multiple instances of a service

  • Answered by AI
  • Q16. What are Spring boot actuators?
  • Ans. 

    Spring Boot Actuators are built-in tools that provide insight into the running application.

    • Actuators expose various endpoints to monitor and manage the application.

    • They can be used to check health, metrics, environment details, and more.

    • Examples include /actuator/health, /actuator/metrics, and /actuator/env.

  • Answered by AI
  • Q17. Synchronous vs Asynchronous communication
  • Ans. 

    Synchronous communication is blocking, while asynchronous communication is non-blocking.

    • Synchronous communication waits for a response before continuing, while asynchronous communication does not wait.

    • Examples of synchronous communication include traditional function calls, while examples of asynchronous communication include callbacks and promises.

    • Synchronous communication can lead to performance issues if there are d...

  • Answered by AI
  • Q18. Explain Synchronized keyword
  • Ans. 

    Synchronized keyword is used in Java to control access to shared resources by multiple threads.

    • Synchronized keyword can be applied to methods or code blocks to ensure only one thread can access the synchronized code at a time.

    • It prevents race conditions and ensures thread safety by creating a lock on the object or class.

    • Example: synchronized void myMethod() { // synchronized code block }

  • Answered by AI
  • Q19. What are the consequences of excessively using synchronized blocks and methods in Java?
  • Ans. 

    Excessive use of synchronized blocks and methods in Java can lead to performance issues and potential deadlocks.

    • Decreased performance due to increased contention for locks

    • Potential deadlocks if multiple threads are waiting for each other to release locks

    • Increased complexity and difficulty in debugging and maintaining code

    • Use synchronized sparingly and consider alternatives like ConcurrentHashMap or Lock interface

  • Answered by AI
  • Q20. How can you determine the number of threads needed for your application?
  • Ans. 

    The number of threads needed for an application can be determined based on factors like the type of tasks, hardware resources, and performance requirements.

    • Consider the type of tasks your application needs to perform - CPU-bound tasks may benefit from more threads, while I/O-bound tasks may not.

    • Take into account the hardware resources available - more threads may be beneficial on a multi-core processor compared to a si...

  • Answered by AI
  • Q21. Explain Executor framework
  • Ans. 

    Executor framework is a framework in Java that provides a way to manage and execute tasks asynchronously.

    • Allows for managing thread execution in a more efficient way

    • Provides a way to decouple task submission from task execution

    • Supports various types of executors like ThreadPoolExecutor and ScheduledExecutorService

    • Helps in handling tasks concurrently and asynchronously

  • Answered by AI
  • Q22. Explain BlockingQueue
  • Ans. 

    BlockingQueue is an interface in Java that represents a queue which supports operations that wait for the queue to become non-empty when retrieving an element and wait for space to become available in the queue when adding an element.

    • BlockingQueue is part of the java.util.concurrent package.

    • It is used for implementing producer-consumer scenarios where multiple threads are involved.

    • Methods like put() and take() are used...

  • Answered by AI
Round 2 - HR 

(2 Questions)

  • Q1. Why did you leave your previous company?
  • Ans. 

    Seeking new challenges and opportunities for growth.

    • Desire for career advancement

    • Looking for new challenges

    • Seeking better work-life balance

    • Company restructuring or downsizing

    • Relocation to a new area

  • Answered by AI
  • 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
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
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via Walk-in and was interviewed in Nov 2024. There were 3 interview rounds.

Round 1 - Coding Test 

It's walkin, so they conducted 1 technical mcqs round.

Round 2 - Technical 

(11 Questions)

  • Q1. Multi threading
  • Q2. Internal working of hashmap
  • Ans. 

    HashMap in Java is a data structure that stores key-value pairs and uses hashing to efficiently retrieve values based on keys.

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

    • Keys are hashed to determine the index in the array where the key-value pair will be stored.

    • In case of hash collisions, a linked list or a balanced tree is used to store multiple key-value pairs in the same bucket.

    • HashMap allows null keys...

  • Answered by AI
  • Q3. Spring batch related
  • Q4. Non repeating characters in a array
  • Ans. 

    Function to find and return all non-repeating characters in an array of strings.

    • Iterate through the array and count the occurrences of each character using a HashMap.

    • Then iterate through the array again and check if the count of each character is 1, if so add it to the result list.

    • Return the list of non-repeating characters.

  • Answered by AI
  • Q5. 3rd highest salary
  • Ans. 

    To find the 3rd highest salary in a database, we can use a SQL query with the 'LIMIT' and 'OFFSET' keywords.

    • Use a SQL query with 'ORDER BY salary DESC' to sort the salaries in descending order.

    • Use 'LIMIT 1 OFFSET 2' to skip the first two highest salaries and retrieve the third highest salary.

    • Example: SELECT salary FROM employees ORDER BY salary DESC LIMIT 1 OFFSET 2;

  • Answered by AI
  • Q6. Qualifier vs primary
  • Ans. 

    A qualifier in Java is used to specify additional information about a primary, which is the main data type or variable.

    • A primary in Java is the main data type or variable, while a qualifier provides additional information about the primary.

    • Qualifiers can be used to modify the behavior or characteristics of a primary.

    • For example, in Java, 'final' is a qualifier that can be used to make a variable constant.

  • Answered by AI
  • Q7. Controller vs restcontroller
  • Ans. 

    The main difference is that @RestController is a specialized version of @Controller that is used for RESTful web services.

    • Both @Controller and @RestController are used in Spring MVC to handle HTTP requests, but @RestController is specifically used for RESTful web services.

    • @Controller is used to create web pages, while @RestController is used to return data in JSON or XML format.

    • @RestController is a convenience annotati...

  • Answered by AI
  • Q8. Spring boot annotataions
  • Q9. Oops concepts with examples
  • Ans. 

    OOP concepts include inheritance, encapsulation, polymorphism, and abstraction.

    • Inheritance: Allows a class to inherit properties and behavior from another class. Example: class Dog extends Animal.

    • Encapsulation: Bundling data and methods that operate on the data into a single unit. Example: private variables with public getter and setter methods.

    • Polymorphism: Ability for objects to be treated as instances of their paren...

  • Answered by AI
  • Q10. Spring batch configuration
  • Q11. They covered all java, spring and Microservices
Round 3 - Technical 

(4 Questions)

  • Q1. Microservices architecture
  • Q2. How do Microservices communicate
  • Ans. 

    Microservices communicate with each other through various communication protocols like HTTP, messaging queues, and gRPC.

    • Microservices can communicate over HTTP using RESTful APIs.

    • Messaging queues like RabbitMQ or Kafka can be used for asynchronous communication between microservices.

    • gRPC is a high-performance, open-source RPC framework that can be used for communication between microservices.

    • Service discovery mechanism...

  • Answered by AI
  • Q3. How to access the Microservice end point
  • Ans. 

    Microservice endpoints can be accessed using HTTP requests with the appropriate URL

    • Use HTTP methods like GET, POST, PUT, DELETE to interact with the microservice

    • Construct the URL with the base URL of the microservice and the specific endpoint path

    • Include any necessary headers or parameters in the request for authentication or data filtering

  • Answered by AI
  • Q4. Why we use microservices
  • Ans. 

    Microservices allow for modular, scalable, and flexible software development by breaking down applications into smaller, independent services.

    • Microservices enable easier maintenance and updates as each service can be developed, deployed, and scaled independently.

    • They improve fault isolation, as failures in one service do not necessarily affect the entire application.

    • Microservices promote agility and faster time-to-mark...

  • Answered by AI

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
4-6 weeks
Result
Selected Selected

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

Round 1 - Technical 

(3 Questions)

  • Q1. Project based questions
  • Q2. Scenario based question (multithreading and caching related scenarios were asked to me)
  • Q3. One coding challenge

Interview Preparation Tips

Interview preparation tips for other job seekers - Questions vary from team to team.

HCLTech Interview FAQs

How many rounds are there in HCLTech Servicenow Consultant interview?
HCLTech interview process usually has 2 rounds. The most common rounds in the HCLTech interview process are Resume Shortlist and Technical.
What are the top questions asked in HCLTech Servicenow Consultant interview?

Some of the top questions asked at the HCLTech Servicenow Consultant interview -

  1. Difference between incident management and major incident managem...read more
  2. What is stagging ta...read more

Tell us how to improve this page.

Join HCLTech Find your spark and discover what drives you forward

Interview Questions from Similar Companies

TCS Interview Questions
3.7
 • 10.3k Interviews
Accenture Interview Questions
3.9
 • 8.1k Interviews
Infosys Interview Questions
3.7
 • 7.6k Interviews
Wipro Interview Questions
3.7
 • 5.6k Interviews
Cognizant Interview Questions
3.8
 • 5.5k Interviews
Capgemini Interview Questions
3.8
 • 4.8k Interviews
Tech Mahindra Interview Questions
3.5
 • 3.8k Interviews
Genpact Interview Questions
3.9
 • 3k Interviews
LTIMindtree Interview Questions
3.8
 • 3k Interviews
IBM Interview Questions
4.0
 • 2.4k Interviews
View all
HCLTech Servicenow Consultant Salary
based on 25 salaries
₹12.1 L/yr - ₹36 L/yr
86% more than the average Servicenow Consultant Salary in India
View more details
Software Engineer
22.7k salaries
unlock blur

₹1.2 L/yr - ₹8 L/yr

Technical Lead
20.9k salaries
unlock blur

₹6.9 L/yr - ₹25 L/yr

Senior Software Engineer
15.6k salaries
unlock blur

₹4 L/yr - ₹16.5 L/yr

Lead Engineer
14.8k salaries
unlock blur

₹4.2 L/yr - ₹14 L/yr

Analyst
14.1k salaries
unlock blur

₹1.3 L/yr - ₹6.6 L/yr

Explore more salaries
Compare HCLTech with

TCS

3.7
Compare

Wipro

3.7
Compare

Accenture

3.9
Compare

Cognizant

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