Monday, 20 January 2025

Service Portal


ServiceNow Interview Questions

Service Portal

11. What is a Service Catalog in ServiceNow Service Portal?

A Service Catalog in ServiceNow Service Portal is a collection of services and products that users can browse and request. It provides a user-friendly interface for submitting requests, tracking their status, and accessing various IT services.

12. How do you add a new widget to a Service Portal page?

To add a new widget to a Service Portal page, navigate to the Service Portal Designer, select the desired page, and drag the widget from the widget list onto the page layout. You can then configure the widget’s settings as needed.

13. What is the purpose of the Knowledge Base in ServiceNow Service Portal?

The Knowledge Base in ServiceNow Service Portal provides a repository of articles, documentation, and FAQs that users can search and access to find answers to their questions and resolve issues on their own.

14. How can you customize the header of a Service Portal?

You can customize the header of a Service Portal by editing the header widget or creating a custom header widget. This allows you to add menus, logos, and other elements to match your organization’s branding.

15. What is the difference between a public and a private Service Portal?

A public Service Portal is accessible to all users, including those who are not logged in, while a private Service Portal requires users to log in to access its features and content. Public portals are typically used for general information, while private portals provide personalized services and data.

16. How do you enable users to submit incidents through the Service Portal?

To enable users to submit incidents through the Service Portal, you can create a catalog item for incident submission and add it to the Service Catalog. Users can then fill out the form and submit their incidents directly from the portal.

17. What is the role of the Service Portal Administrator?

The Service Portal Administrator is responsible for managing and maintaining the Service Portal. This includes configuring widgets, creating pages, customizing the user interface, and ensuring the portal meets the organization’s requirements.

18. How can you add a search bar to a Service Portal?

You can add a search bar to a Service Portal by using the search widget. This widget can be placed on any page and configured to search the Knowledge Base, Service Catalog, or other data sources within ServiceNow.

19. What is the purpose of the Service Portal Designer?

The Service Portal Designer is a tool in ServiceNow that allows administrators to create and customize portal pages using a drag-and-drop interface. It simplifies the process of building and managing the portal without requiring extensive coding knowledge.

20.  How do you manage user permissions in ServiceNow Service Portal?

User permissions in ServiceNow Service Portal are managed through roles and access controls. Administrators can assign roles to users and configure access controls to restrict or grant access to specific pages, widgets, and data based on the user’s role.

 

Advanced Questions:

 

21. How do you handle custom scripts in ServiceNow Service Portal?

Custom scripts in ServiceNow Service Portal can be added to widgets using the “Client Script” and “Server Script” sections. Client scripts run in the user’s browser and handle tasks like form validation and dynamic content updates. Server scripts run on the server and handle data processing and interactions with the ServiceNow database. Both types of scripts can be written in JavaScript.

22. What is the purpose of the Service Portal’s “spUtil” service, and how do you use it?

The spUtil service in ServiceNow Service Portal is a utility service that provides helper functions for widgets. It can be used to perform tasks such as navigating to different pages, refreshing widgets, and displaying messages. For example, you can use spUtil.addErrorMessage('Error message') to display an error message to the user.

23. How can you implement conditional visibility for widgets in ServiceNow Service Portal?

Conditional visibility for widgets can be implemented using AngularJS directives such as ng-if or ng-show. These directives allow you to control the visibility of widgets based on specific conditions. For example:

HTML

<div ng-if="userHasRole('admin')">

  <!-- Widget content for admin users -->

</div>

This code will display the widget content only if the user has the ‘admin’ role.

24. Explain the concept of “Record Watch” in ServiceNow Service Portal.

 “Record Watch” in ServiceNow Service Portal is a feature that allows widgets to listen for changes to specific records in real-time. When a watched record is updated, the widget can automatically refresh to reflect the changes. This is useful for creating dynamic and responsive interfaces. Record Watch can be implemented using the spUtil.recordWatch function.

25. How do you handle localization in ServiceNow Service Portal?

Localization in ServiceNow Service Portal is handled by creating and managing translation sets. Translation sets contain key-value pairs where the key is the original text, and the value is the translated text. Widgets can use the i18n service to fetch and display the translated text based on the user’s language preference. For example:

HTML

<span>{{ 'WELCOME_MESSAGE' | i18n }}</span>

This code will display the translated text for the key ‘WELCOME_MESSAGE’.

26. What are the best practices for optimizing the performance of a ServiceNow Service Portal?

Best practices for optimizing the performance of a ServiceNow Service Portal include:

                                      i.     Minimizing the use of client scripts and heavy computations on the client side.

                                     ii.     Using asynchronous data loading to improve page load times.

                                    iii.     Caching frequently accessed data to reduce server load.

                                   iv.     Optimizing images and other media assets for faster loading.

                                     v.     Regularly monitoring and profiling the portal to identify and address performance bottlenecks.

27. How can you integrate third-party APIs with ServiceNow Service Portal?

Third-party APIs can be integrated with ServiceNow Service Portal using RESTful APIs or SOAP web services. You can create custom widgets that make HTTP requests to the third-party APIs and process the responses. ServiceNow provides the sn_ws.RESTMessageV2 and sn_ws.SOAPMessageV2 classes for making outbound REST and SOAP calls, respectively.

28. What is the role of the “Service Portal Designer” in customizing the portal?

The Service Portal Designer is a visual tool in ServiceNow that allows administrators to create and customize portal pages using a drag-and-drop interface. It simplifies the process of adding widgets, configuring layouts, and managing the overall structure of the portal without requiring extensive coding knowledge.

29. How do you manage user roles and permissions in ServiceNow Service Portal?

User roles and permissions in ServiceNow Service Portal are managed through the platform’s role-based access control (RBAC) system. Administrators can assign roles to users and configure access controls to restrict or grant access to specific pages, widgets, and data based on the user’s role. This ensures that users only have access to the features and information they are authorized to see.

30. How can you create a custom theme for a ServiceNow Service Portal?

To create a custom theme for a ServiceNow Service Portal, you can use the “Themes” module in the Service Portal configuration. You can define custom CSS styles, colors, fonts, and other visual elements to match your organization’s branding. The custom theme can then be applied to the entire portal or specific pages to achieve a consistent look and feel.

 

 

Change Management

ServiceNow Interview Questions

Change Management

 

1. What is Change Management in ServiceNow?

Change Management in ServiceNow is the process of controlling and managing changes to an organization’s IT infrastructure, application services, and processes in a structured, systematic manner throughout the entire lifecycle of a change request. It involves planning, evaluating, authorizing, scheduling, and implementing changes to minimize disruptions and ensure stability.

 

2. Why is Change Management important?

Change Management is important because it helps organizations manage changes in a controlled manner, reducing the risks associated with changes, improving service quality and availability, and minimizing disruptions to business operations.

 

3. What are the different types of changes in ServiceNow?

The different types of changes in ServiceNow include:

Standard Change: Pre-approved, low-risk changes that follow a predefined process.

Normal Change: Changes that require assessment and approval before implementation.

Emergency Change: Changes that need to be implemented urgently to resolve critical issues.

 

4. What is a Change Advisory Board (CAB)?

A Change Advisory Board (CAB) is a group of stakeholders responsible for reviewing and approving change requests. The CAB ensures that changes are thoroughly assessed for potential risks and impacts before approval.

 

5. What is the role of a Change Manager?

The Change Manager is responsible for overseeing the Change Management process, ensuring that changes are properly assessed, approved, and implemented. They coordinate with stakeholders, manage the CAB meetings, and ensure compliance with Change Management policies.

 

6. How do you create a change request in ServiceNow?

To create a change request in ServiceNow, navigate to the Change module, select the type of change (Standard, Normal, or Emergency), fill in the required details such as description, assignment group, and planned start and end dates, and then submit the request for approval.

 

7. What is a risk assessment in Change Management?

A risk assessment in Change Management is the process of evaluating the potential risks and impacts associated with a change. It helps in identifying and mitigating risks to ensure a smooth implementation of the change.

 

8. How can you track the progress of a change request in ServiceNow?

You can track the progress of a change request in ServiceNow by viewing the change record, which shows the current status, approval history, and any related tasks. ServiceNow also provides dashboards and reports to monitor change activities.

 

9. What is the purpose of the change calendar in ServiceNow?

The change calendar in ServiceNow provides a visual representation of scheduled changes, helping to identify potential conflicts and ensuring that changes are planned and implemented without causing disruptions to services.

 

10. How does ServiceNow ensure compliance with Change Management policies?

ServiceNow ensures compliance with Change Management policies by providing automated workflows, approval processes, and audit trails. These features help in enforcing policies, tracking changes, and maintaining accountability.

 

11. What is the purpose of the unauthorized checkbox on the change form?

The unauthorized checkbox is used to flag changes that have not been authorized. This helps in identifying and managing unauthorized changes, ensuring that only approved changes are implemented.

 

12. Can we create multiple risk assessments in a change, and what will be the impact?

Typically, only one risk assessment is created per change to maintain clarity and consistency. Multiple risk assessments can lead to confusion and conflicting risk evaluations, making it harder to manage the change effectively.

13. Can we create a change record in a scoped application?

Yes, you can create a change record in a scoped application. However, it requires proper configuration and customization to ensure it works as expected within the scoped environment.

 

14. How can you demonstrate to a customer that their change process is streamlined?

You can demonstrate this by showing key performance indicators (KPIs) such as reduced change implementation time, fewer failed changes, and improved change success rates. Additionally, presenting a well-documented change process and automated workflows can help illustrate the streamlined process.

 

15. How is the Knowledge Management module related to Change Management?

The Knowledge Management module is related to Change Management as it provides a repository for documenting and sharing information about changes. This includes best practices, lessons learned, and troubleshooting guides, which can help in managing future changes more effectively.

 

16. What prerequisite questions would you ask a client who wants to create a normal change?

Some prerequisite questions include:

What is the objective of the change?

What are the potential risks and impacts?

What resources are required for the change?

What is the planned implementation timeline?

Are there any dependencies or related changes?

 

17. How can you automate the transition of a normal change request to the implementing state when the planned state date is breached?

You can use a scheduled job or a business rule to monitor the planned state date. If the date is breached, the script can automatically transition the change request to the implementing state without manual intervention.

 

18. How can you set up an auto-approval for certain change management flows based on specific conditions?

You can configure approval rules and workflows in ServiceNow to automatically approve changes that meet specific criteria. This can be done using condition-based logic in the workflow editor, ensuring that changes fitting the predefined conditions are auto-approved.

 

19. How do you handle conflicting changes in ServiceNow?

Conflicting changes can be managed using the Change Conflict Detection feature in ServiceNow. This feature identifies potential conflicts by comparing the planned start and end dates of changes affecting the same Configuration Item (CI). If a conflict is detected, the system can notify the Change Manager or the CAB for resolution. Additionally, the change calendar can be used to visualize and manage overlapping changes.

 

20. What is the purpose of the Change Task in ServiceNow, and how is it used?

A Change Task in ServiceNow is used to break down a change request into smaller, manageable tasks. Each task can be assigned to different individuals or groups, allowing for parallel processing and better coordination. Change Tasks help ensure that all aspects of a change are addressed, from planning and implementation to testing and validation.

 

21. How can you automate the approval process for changes in ServiceNow?

The approval process for changes in ServiceNow can be automated using workflows and approval rules. You can define conditions and criteria for automatic approvals within the workflow editor. For example, low-risk changes can be auto-approved based on predefined risk assessment scores, while high-risk changes may require manual approval from the CAB.

 

22. Explain the concept of Change Models in ServiceNow.

Change Models in ServiceNow are predefined templates that standardize the process for specific types of changes. Each model includes predefined fields, workflows, and approval processes tailored to the type of change. Using Change Models ensures consistency, reduces the time required to create change requests, and helps in maintaining compliance with organizational policies.

 

23. What is the role of the Post-Implementation Review (PIR) in Change Management?

The Post-Implementation Review (PIR) is a critical step in the Change Management process. It involves reviewing the change after it has been implemented to assess its success and identify any issues or areas for improvement. The PIR helps in understanding the impact of the change, ensuring that it met its objectives, and capturing lessons learned for future changes.

24. How do you integrate Change Management with other ITSM processes in ServiceNow?

Change Management can be integrated with other ITSM processes such as Incident Management, Problem Management, and Configuration Management. For example, changes can be linked to incidents or problems to track their resolution. Configuration Management Database (CMDB) integration ensures that changes are accurately reflected in the CI records. This integration helps in maintaining data consistency and provides a holistic view of IT operations.

 

25. What are the key performance indicators (KPIs) for measuring the effectiveness of Change Management?

Key performance indicators for Change Management include:

Change success rate: The percentage of changes implemented successfully without causing incidents.

Change lead time: The average time taken from change request submission to implementation.

Change failure rate: The percentage of changes that result in incidents or require rollback.

Number of emergency changes: A high number of emergency changes may indicate issues with planning and risk assessment.

CAB approval time: The average time taken for the CAB to review and approve changes.

 

26. How can you ensure compliance with regulatory requirements in Change Management?

Compliance with regulatory requirements can be ensured by implementing standardized processes, maintaining detailed documentation, and conducting regular audits. ServiceNow provides features such as audit trails, automated workflows, and approval processes to enforce compliance. Additionally, training and awareness programs can help ensure that all stakeholders understand and adhere to regulatory requirements.

 

Scripting Questions for Change Management:

27. Write a script to automatically approve changes of a specific type (e.g., Standard Changes).

JavaScript

var change = new GlideRecord('change_request');

change.addQuery('type', 'Standard');

change.query();

while (change.next()) {

    change.state = 'Approved';

    change.update();

}

 

28. How do you create a business rule to send a notification when a change request is moved to the ‘Scheduled’ state?

JavaScript

if (current.state.changesTo('Scheduled')) {

    gs.eventQueue('change.scheduled', current, current.assigned_to.email, current.number);

}

 

29. Write a script to generate a weekly report of changes grouped by their type.

JavaScript

var gr = new GlideAggregate('change_request');

gr.addEncodedQuery('sys_created_onONLast week@javascript:gs.beginningOfLastWeek()@javascript:gs.endOfLastWeek()');

gr.addAggregate('COUNT');

gr.groupBy('type');

gr.query();

while (gr.next()) {

    gs.print(gr.type.getDisplayValue() + ': ' + gr.getAggregate('COUNT'));

}

 


Problem Management

ServiceNow Interview Questions

Problem Management

1. What is Problem Management in ITSM?

Problem Management is a process in IT Service Management (ITSM) that aims to identify, analyse, and resolve the root causes of incidents to prevent their recurrence and minimize the impact of incidents that cannot be prevented.

2. What is the difference between an incident and a problem?

An incident is an unplanned interruption to an IT service or a reduction in the quality of an IT service. A problem is the underlying cause of one or more incidents. Incident Management focuses on restoring service as quickly as possible, while Problem Management aims to identify and eliminate the root cause of incidents.

3. What are the main objectives of Problem Management?

The main objectives are to prevent problems and resulting incidents from happening, eliminate recurring incidents, and minimize the impact of incidents that cannot be prevented.

4. What is a Known Error in Problem Management?

A Known Error is a problem that has been analyzed and has a documented root cause and workaround. It is recorded in the Known Error Database (KEDB) to help in quicker resolution of incidents.

5. What is the role of a Problem Manager?

A Problem Manager is responsible for managing the lifecycle of problems, including identifying, analysing, and resolving problems. They ensure that problems are properly documented, root causes are identified, and permanent solutions are implemented.

6. Describe the steps involved in the Problem Management process.

The steps include:

Problem Detection: Identifying problems through trend analysis or incident patterns.

Problem Logging: Recording the problem details.

Problem Categorization and Prioritization: Classifying and prioritizing the problem based on its impact and urgency.

Problem Investigation and Diagnosis: Analysing the problem to identify the root cause.

Workaround and Resolution: Implementing a temporary workaround or permanent solution.

Problem Closure: Closing the problem after verifying the resolution.

Major Problem Review: Conducting a review for significant problems to identify lessons learned.

7. What techniques can be used for root cause analysis in Problem Management?

Techniques include the Five Whys, Fishbone Diagram (Ishikawa), Fault Tree Analysis, and Pareto Analysis. These methods help in systematically identifying the underlying causes of problems.

8. How do you prioritize problems that need to be addressed?

Problems are prioritized based on their impact and urgency. Impact refers to the effect on business operations, while urgency indicates how quickly the problem needs to be resolved. A priority matrix is often used to determine the priority level by combining these two factors.

9. What is a workaround, and how is it used in Problem Management?

A workaround is a temporary solution that reduces or eliminates the impact of an incident or problem for which a full resolution is not yet available. Workarounds are documented in the Known Error Database (KEDB) and used to quickly restore service while a permanent solution is being developed.

10. How do you measure the effectiveness of Problem Management?

Effectiveness can be measured using metrics such as the number of problems identified and resolved, the reduction in the number of incidents, the time taken to resolve problems, and the impact of problems on service availability. Regular reviews and audits can also help assess the effectiveness of Problem Management processes.

 


ITSM

ServiceNow Interview Questions

ITSM

1. What do you understand by IT Service Management (ITSM)?

ITSM refers to the implementation and management of quality IT services that meet the needs of the business. It involves a set of policies, processes, and procedures to design, deliver, manage, and improve the way IT is used within an organization.

2. Explain the ITIL (Information Technology Infrastructure Library) framework and its importance in ITSM.

ITIL is a set of best practices for IT service management that focuses on aligning IT services with the needs of the business. It provides a systematic approach to managing IT services, ensuring efficiency, effectiveness, and continuous improvement.

3. What are the key components of ITIL?

The key components of ITIL include Service Strategy, Service Design, Service Transition, Service Operation, and Continual Service Improvement.

4. How would you define Incident Management in ITSM?

Incident Management is the process of managing the lifecycle of all incidents to ensure that normal service operation is restored as quickly as possible and the business impact is minimized.

5. Can you differentiate between Incident Management and Problem Management?

Incident Management focuses on restoring normal service operation as quickly as possible, while Problem Management aims to identify and eliminate the root cause of incidents to prevent recurrence.

6. What is the role of a Configuration Management Database (CMDB) in ITSM?

A CMDB is a repository that acts as a data warehouse for IT installations. It holds data related to a collection of IT assets, commonly referred to as configuration items (CIs), as well as descriptive relationships between such assets. The CMDB helps in understanding the relationships and dependencies between different IT components, which is crucial for effective incident, problem, and change management.

7. Explain the concept of Service Portfolio Management.

Service Portfolio Management involves managing the entire lifecycle of all services within an organization. It includes three main components: the Service Pipeline (services under development), the Service Catalog (live services or those available for deployment), and Retired Services (services that are no longer offered). This process ensures that the service provider has the right mix of services to meet required business outcomes at an appropriate level of investment.

8. How does ITSM contribute to business value?

ITSM contributes to business value by ensuring that IT services are aligned with business needs, improving service quality, reducing costs through efficient processes, enhancing user satisfaction, and enabling better risk management. It also supports continuous improvement and innovation, which can lead to competitive advantages.

9. How do you measure the success of ITSM implementation in an organization?

Success can be measured using Key Performance Indicators (KPIs) such as incident resolution time, customer satisfaction scores, service availability, change success rate, and the number of recurring incidents. Regular audits and reviews can also help assess the effectiveness of ITSM processes.

10. What is the role of automation in ITSM, and how can it improve service delivery?

Automation in ITSM can streamline repetitive tasks, reduce human error, and improve efficiency. Examples include automated incident routing, self-service portals, automated change approvals, and proactive monitoring. Automation helps in faster incident resolution, better resource utilization, and enhanced user satisfaction.

11. Explain the concept of Service Integration and Management (SIAM) and its importance in ITSM.

SIAM is a methodology used to manage multiple service providers and ensure they deliver seamless and integrated services to the business. It involves coordinating and managing the interactions between different service providers to ensure they work together effectively. SIAM is important for organizations that rely on multiple vendors, as it helps in achieving consistent service quality and accountability.

 

Incident Management Questions:

 

12. What are the main objectives of Incident Management?

The main objectives are to restore normal service operation as quickly as possible, minimize the impact on business operations, and ensure that agreed levels of service quality are maintained.

13. Describe the steps involved in the Incident Management process.

The steps include:

Identification and Logging: Detecting and recording the incident.

Categorization and Prioritization: Classifying the incident and determining its urgency and impact.

Initial Diagnosis: Performing initial troubleshooting.

Escalation: Escalating to higher support levels if necessary.

Investigation and Diagnosis: Further analysis and troubleshooting.

Resolution and Recovery: Implementing a solution and restoring the service.

Closure: Confirming resolution with the user and closing the incident.

 

14. How do you handle major incidents?

Major incidents require a separate process due to their high impact. This includes:

Immediate escalation to a major incident team.

Rapid communication to stakeholders.

Prioritizing resources to resolve the incident quickly.

Conducting a post-incident review to identify lessons learned.

15. What is a Service Level Agreement (SLA) and its role in Incident Management?

An SLA is a contract between the service provider and the customer that defines the level of service expected. In Incident Management, SLAs help ensure that incidents are resolved within agreed timeframes, maintaining service quality and customer satisfaction.

16. What is the difference between a workaround and a permanent fix in Incident Management?

A workaround is a temporary solution that reduces or eliminates the impact of an incident or problem for which a full resolution is not yet available. A permanent fix, on the other hand, is a solution that completely resolves the underlying issue, preventing the incident or problem from recurring.

17. How do you prioritize incidents in ITSM?

Incidents are prioritized based on their impact and urgency. Impact refers to the effect on business operations, while urgency indicates how quickly the incident needs to be resolved. A priority matrix is often used to determine the priority level by combining these two factors.

18. Describe the process of conducting a post-incident review.

A post-incident review involves analysing the incident after it has been resolved to understand what happened, why it happened, and how it was handled. The review should identify any weaknesses in the process, areas for improvement, and lessons learned. It typically includes a timeline of events, root cause analysis, and recommendations for preventing future incidents.

19. How do you handle incidents that require coordination between multiple teams?

Effective coordination involves clear communication, defined roles and responsibilities, and a collaborative approach. Use tools like incident management systems to track progress, set up regular update meetings, and ensure all teams are aligned on the resolution plan. Escalate issues promptly if there are delays or conflicts.

20. What strategies would you use to reduce the number of recurring incidents?

Implementing Problem Management to identify and eliminate root causes, conducting regular incident reviews, improving documentation and knowledge sharing, and providing training to users and support staff can help reduce recurring incidents. Automation and proactive monitoring can also play a significant role.

21. Describe a scenario where you had to manage a critical incident. What steps did you take to resolve it?

This question requires a detailed response based on personal experience. Highlight the steps taken, such as identifying the incident, assessing its impact, escalating to the appropriate teams, communicating with stakeholders, implementing a resolution, and conducting a post-incident review to prevent future occurrences.

 

Problem Management Questions:

 

22. What is the primary goal of Problem Management?

The primary goal of Problem Management is to identify and eliminate the root cause of incidents to prevent recurrence and minimize the impact of incidents that cannot be prevented.

23. Explain the difference between a Problem and a Known Error.

A Problem is the unknown cause of one or more incidents, while a Known Error is a problem that has been analysed and has a documented root cause and workaround.

24. Describe the steps involved in the Problem Management process.

The steps include:

Problem Detection: Identifying problems through trend analysis or incident patterns.

Problem Logging: Recording the problem details.

Problem Categorization and Prioritization: Classifying and prioritizing the problem based on its impact and urgency.

Problem Investigation and Diagnosis: Analysing the problem to identify the root cause.

Workaround and Resolution: Implementing a temporary workaround or permanent solution.

Problem Closure: Closing the problem after verifying the resolution.

Major Problem Review: Conducting a review for significant problems to identify lessons learned.

25. How do you differentiate between reactive and proactive Problem Management?

Reactive Problem Management focuses on identifying and resolving problems in response to incidents that have already occurred. Proactive Problem Management aims to identify and resolve problems before they result in incidents, often through trend analysis and regular reviews.

26. What techniques can be used for root cause analysis in Problem Management?

Techniques include the Five Whys, Fishbone Diagram (Ishikawa), Fault Tree Analysis, and Pareto Analysis. These methods help in systematically identifying the underlying causes of problems.

27. How do you measure the effectiveness of Problem Management?

Effectiveness can be measured using metrics such as the number of problems identified and resolved, the reduction in the number of incidents, the time taken to resolve problems, and the impact of problems on service availability.

 

Change Management Questions:

 

28. What are the objectives of Change Management?

The objectives are to ensure that changes are implemented in a controlled and efficient manner, minimize the risk of disruption to IT services, and ensure that changes are properly documented and communicated.

29. Explain the different types of changes in Change Management.

The types include:

Standard Changes: Pre-approved, low-risk changes that follow a predefined process.

Normal Changes: Changes that require assessment, approval, and scheduling.

Emergency Changes: Changes that need to be implemented urgently to resolve an incident or prevent an imminent issue.

30. Describe the Change Advisory Board (CAB) and its role in Change Management.

The CAB is a group of stakeholders responsible for reviewing and approving changes. The CAB ensures that changes are assessed for risk, impact, and resource requirements, and that they align with business objectives.

31. What is the role of a Change Manager in the Change Management process?

The Change Manager is responsible for overseeing the entire change process, ensuring that changes are properly assessed, approved, implemented, and reviewed. They coordinate with stakeholders, manage the Change Advisory Board (CAB), and ensure compliance with change policies.

32. How do you handle emergency changes in Change Management?

Emergency changes require a fast-tracked process due to their urgent nature. They are typically reviewed and approved by an Emergency Change Advisory Board (ECAB) and implemented as quickly as possible to resolve critical issues or prevent imminent problems.

33. What are the key components of a Change Management policy?

Key components include the scope of the policy, roles and responsibilities, change classification, change approval process, risk assessment, communication plan, and post-implementation review.

 

Service Request Management Questions:

 

34. What is the purpose of Service Request Management?

The purpose is to handle all user requests for IT services, such as access to applications, software installations, and information requests, in an efficient and standardized manner.

35. Explain the difference between an Incident and a Service Request.

An Incident is an unplanned interruption to an IT service or a reduction in its quality, while a Service Request is a formal request from a user for something to be provided, such as access to a new application or a password reset.

36. Describe the lifecycle of a Service Request.

The lifecycle includes:

Request Logging: Recording the service request details.

Request Categorization and Prioritization: Classifying and prioritizing the request.

Request Approval: Obtaining necessary approvals.

Request Fulfilment: Completing the request.

Request Closure: Closing the request after verifying fulfilment.

37. How do you ensure that service requests are fulfilled efficiently and effectively?

Efficient fulfilment can be ensured by having well-defined processes, clear service catalogs, automated workflows, regular training for service desk staff, and continuous monitoring and improvement of the request fulfilment process.

38. What is the role of a Service Catalog in Service Request Management?

The Service Catalog provides a centralized repository of all available IT services, including detailed descriptions, pricing, and fulfilment processes. It helps users understand what services are available and how to request them, and it aids in managing and tracking service requests.

39. How do you handle service requests that require approval from multiple stakeholders?

Use automated workflows to route the request to the appropriate approvers in sequence or parallel, depending on the approval process. Ensure clear communication and tracking to avoid delays and ensure timely fulfilment.

 

Configuration Management Questions:

 

40. What is the role of Configuration Management in ITSM?

Configuration Management ensures that accurate and reliable information about the IT infrastructure and its components (Configuration Items or CIs) is available when needed. This information supports other ITSM processes such as Incident, Problem, and Change Management.

41. Explain the concept of a Configuration Management Database (CMDB).

A CMDB is a repository that stores information about all the CIs in the IT environment, including their attributes and relationships. It helps in understanding the dependencies and impact of changes, incidents, and problems.

42. Describe the process of maintaining the CMDB.

The process includes:

Identification: Defining and identifying CIs.

Control: Ensuring that only authorized changes are made to CIs.

Status Accounting: Recording and reporting the status of CIs.

Verification and Audit: Regularly verifying and auditing the CMDB to ensure accuracy.

42. What are the challenges in maintaining an accurate CMDB, and how do you address them?

Challenges include data accuracy, completeness, and consistency. Address these by implementing automated discovery tools, regular audits, and updates, defining clear processes for adding and updating CIs, and ensuring proper training for staff.

43. How do you use the CMDB to support other ITSM processes?

The CMDB supports Incident, Problem, and Change Management by providing accurate information about the IT infrastructure, relationships between CIs, and impact analysis. It helps in identifying affected services, assessing change risks, and diagnosing problems.

44. Explain the concept of Configuration Item (CI) lifecycle management.

CI lifecycle management involves tracking and managing CIs from their creation to retirement. This includes identifying and recording CIs, maintaining their status and relationships, and ensuring they are updated or retired as needed. It ensures that the CMDB reflects the current state of the IT environment.

 

Scripting Questions:

 

45. Write a script to automatically assign incidents to a specific group based on the category.

JavaScript

var gr = new GlideRecord('incident');

gr.addQuery('category', 'Network');

gr.query();

while (gr.next()) {

    gr.assignment_group = 'Network Support';

    gr.update();

}

 

46. How do you create a business rule to send a notification when an incident is reassigned?

Navigate to System Definition > Business Rules, create a new business rule, and use the following script:

JavaScript

if (current.assignment_group.changes()) {

    gs.eventQueue('incident.reassigned', current, current.assignment_group, previous.assignment_group);

}

47. Write a script to calculate the average resolution time for incidents resolved in the last month.

JavaScript

var gr = new GlideAggregate('incident');

gr.addEncodedQuery('state=Closed^resolved_atONLast month@javascript:gs.beginningOfLastMonth()@javascript:gs.endOfLastMonth()');

gr.addAggregate('AVG', 'resolved_at - opened_at');

gr.query();

if (gr.next()) {

    gs.print('Average resolution time: ' + gr.getAggregate('AVG', 'resolved_at - opened_at') + ' milliseconds');

}

 

48. Write a script to automatically close incidents that have been in the ‘Resolved’ state for more than 30 days.

JavaScript

var gr = new GlideRecord('incident');

gr.addEncodedQuery('state=6^resolved_atRELATIVELE@dayofweek@ago@30');

gr.query();

while (gr.next()) {

    gr.state = 'Closed';

    gr.update();

}

 

49. How do you create a business rule to prevent incidents from being reopened if they are in the ‘Closed’ state?

Navigate to System Definition > Business Rules, create a new business rule, and use the following script:

JavaScript

if (current.state.changes() && current.state == 'Closed') {

    gs.addErrorMessage('Cannot reopen closed incidents');

    current.setAbortAction(true);

}

 

50. Write a script to send an email notification to the incident manager when an incident is escalated.

JavaScript

var gr = new GlideRecord('incident');

gr.addEncodedQuery('priority=1^ORpriority=2');

gr.query();

while (gr.next()) {

    gs.eventQueue('incident.escalated', gr, gr.incident_manager.email, gr.priority);

}

 

51. How do you create a scheduled job to run a script every week to check for incidents that have not been updated in the last 7 days?

Navigate to System Definition > Scheduled Jobs, create a new scheduled job, and use the following script:

JavaScript

var gr = new GlideRecord('incident');

gr.addEncodedQuery('sys_updated_onRELATIVELE@dayofweek@ago@7^state!=Closed');

gr.query();

while (gr.next()) {

    gs.eventQueue('incident.stale', gr, gr.assigned_to.email, gr.number);

}

 

52. Write a script to automatically escalate incidents that have not been updated in the last 48 hours.

JavaScript

var gr = new GlideRecord('incident');

gr.addEncodedQuery('sys_updated_onRELATIVELE@hour@ago@48^state!=Closed');

gr.query();

while (gr.next()) {

    gr.escalation = true;

    gr.update();

}

 

53. How do you create a business rule to notify the incident manager if an incident’s priority is changed to ‘Critical’?

Navigate to System Definition > Business Rules, create a new business rule, and use the following script:

JavaScript

if (current.priority.changesTo('1')) {

    gs.eventQueue('incident.critical_priority', current, current.incident_manager.email, current.priority);

}

 

54. Write a script to generate a weekly report of incidents grouped by their assignment group.

JavaScript

var gr = new GlideAggregate('incident');

gr.addEncodedQuery('sys_created_onONLast week@javascript:gs.beginningOfLastWeek()@javascript:gs.endOfLastWeek()');

gr.addAggregate('COUNT');

gr.groupBy('assignment_group');

gr.query();

while (gr.next()) {

    gs.print(gr.assignment_group.getDisplayValue() + ': ' + gr.getAggregate('COUNT'));

}

 

55. How do you create a scheduled job to automatically close incidents that have been in the ‘Resolved’ state for more than 14 days?

Navigate to System Definition > Scheduled Jobs, create a new scheduled job, and use the following script:

JavaScript

var gr = new GlideRecord('incident');

gr.addEncodedQuery('state=6^resolved_atRELATIVELE@dayofweek@ago@14');

gr.query();

while (gr.next()) {

    gr.state = 'Closed';

    gr.update();

}

 

56. Write a script to automatically create a problem record when an incident is marked as a major incident.

JavaScript

var incident = new GlideRecord('incident');

incident.addQuery('major_incident', true);

incident.query();

while (incident.next()) {

    var problem = new GlideRecord('problem');

    problem.initialize();

    problem.short_description = 'Problem created from major incident: ' + incident.number;

    problem.description = incident.description;

    problem.incident = incident.sys_id;

    problem.insert();

}

 

57. How do you create a business rule to link incidents to an existing problem based on a keyword in the incident description?

JavaScript

var incident = new GlideRecord('incident');

incident.addQuery('short_description', 'CONTAINS', 'network');

incident.query();

while (incident.next()) {

    var problem = new GlideRecord('problem');

    problem.addQuery('short_description', 'CONTAINS', 'network');

    problem.query();

    if (problem.next()) {

        incident.problem_id = problem.sys_id;

        incident.update();

    }

}

58. Write a script to automatically approve changes of a specific type (e.g., Standard Changes).

JavaScript

var change = new GlideRecord('change_request');

change.addQuery('type', 'Standard');

change.query();

while (change.next()) {

    change.state = 'Approved';

    change.update();

}

 

59. How do you create a business rule to send a notification when a change request is moved to the ‘Scheduled’ state?

JavaScript

if (current.state.changesTo('Scheduled')) {

    gs.eventQueue('change.scheduled', current, current.assigned_to.email, current.number);

}

 

60. Write a script to automatically fulfill service requests that do not require approval.

JavaScript

var request = new GlideRecord('sc_request');

request.addQuery('approval', 'not_required');

request.query();

while (request.next()) {

    request.state = 'Fulfilled';

    request.update();

}

 

61. How do you create a business rule to notify the requestor when their service request is fulfilled?

JavaScript

if (current.state.changesTo('Fulfilled')) {

    gs.eventQueue('request.fulfilled', current, current.requested_for.email, current.number);

}

 

62. Write a script to automatically update the status of configuration items (CIs) that have not been updated in the last 90 days.

JavaScript

var ci = new GlideRecord('cmdb_ci');

ci.addEncodedQuery('sys_updated_onRELATIVELE@dayofweek@ago@90');

ci.query();

while (ci.next()) {

    ci.status = 'Inactive';

    ci.update();

}

 

63. How do you create a business rule to prevent deletion of critical CIs?

JavaScript

if (current.critical == true) {

    gs.addErrorMessage('Cannot delete critical configuration items');

    current.setAbortAction(true);

}

 


Featured post

Common Service Data Model (CSDM)

                                                ServiceNow Interview Questions                                             Common Service Da...

Popular Posts