ServiceNow CAD Practice Test - Questions Answers, Page 5
List of questions
Question 41

Application developers configure ServiceNow using industry standard JavaScript to...
Explanation:
Application developers configure ServiceNow using industry standard JavaScript to extend and add functionality. JavaScript is a scripting language that enables developers to create dynamic and interactive web pages, as well as manipulate data and logic on the server-side. ServiceNow provides various APIs and frameworks for developers to use JavaScript to customize and enhance the functionality of their applications, such as client scripts, UI policies, business rules, script includes, UI actions, and more. References: [ServiceNow Docs - JavaScript in ServiceNow], [ServiceNow Docs - Scripting in ServiceNow]
Question 42

How many applications menus can an application have?
Explanation:
An application can have as many application menus as the application design requires. An application menu is a container for application modules, which are links to features or functionalities within an application. Application menus are displayed in the application navigator, which is the left sidebar of the ServiceNow interface. Developers can create and configure application menus using Studio or the Application Menus module. Application menus can have different roles and visibility settings, depending on the intended audience and purpose of the application. References: [ServiceNow Docs - Application menus], [ServiceNow Docs - Create an application menu]
Question 43

The source control operation used to store local changes on an instance for later application is called a(n)
Explanation:
Question 44

What syntax is used in a Record Producer script to access values from Record Producer form fields?
Explanation:
The syntax used in a Record Producer script to access values from Record Producer form fields is producer.variable_name. A Record Producer is a type of catalog item that allows users to create records on any table from the service catalog. A Record Producer script is a server-side script that runs when a Record Producer is submitted, and can be used to set values or perform actions on the generated record. The producer object is a global object that represents the Record Producer form and its variables. The variable_name is the name of the variable defined in the Record Producer. References: [ServiceNow Docs - Record producers], [ServiceNow Docs - Record producer script]
Question 45

Which of the following methods prints a message on a blue background to the top of the current form by default?
Explanation:
From: https://docs.servicenow.com/bundle/paris-application-development/page/script/general-scripting/reference/r_ScriptingAlertInfoAndErrorMsgs.html
g_form.showFieldMsg('field_name', 'Hello World', 'error'); Puts 'Hello World' in an error message **below the specified field**. g_form.addInfoMessage() or g_form.addErrorMessage() place a blue box message at the top of the screen. Pg 126 of the CAD handbook
The method that prints a message on a blue background to the top of the current form by default is g_form.addInfoMessage(). The g_form object is a global object that provides access to form fields and UI elements on a form. The addInfoMessage() method is a method of the g_form object that displays an informational message next to the form header. The message has a blue background color by default, unless it is overridden by a CSS style. The addInfoMessage() method takes one argument, which is the message text to display. References: [ServiceNow Docs - GlideForm (g_form) API], [ServiceNow Docs - g_form.addInfoMessage()]
Question 46

A scoped application containing Flow Designer content dedicated to a particular application is called a(n):
Explanation:
https://docs.servicenow.com/bundle/paris-servicenow-platform/page/administer/flow-designer/concept/spokes.html
A spoke is a scoped application containing Flow Designer content dedicated to a particular application or record type. Flow Designer provides a set of core actions to automate Now Platform processes. You can add application-specific core actions by activating the associated spoke.
Question 47

What is a Module?
Explanation:
Question 48

Which source control operation is available from BOTH Studio and the Git Repository?
Explanation:
The Create Branch operation is available from both Studio and the Git Repository. This operation allows you to create a new branch from an existing branch in your Git repository. You can use branches to work on different features or versions of your application without affecting the main branch.
Reference: [Create a branch]
Question 49

Which one of the following is NOT required to link a ServiceNow application to a Git repository?
Explanation:
The application name is not required to link a ServiceNow application to a Git repository. You only need to provide the URL, user name, and password of the Git repository, as well as the branch name and the authentication type. The application name is automatically generated based on the scope name of your application.
Reference: [Link an application to a Git repository]
Question 50

Which Report Type(s) can be created by right-clicking on a column header in a table's list?
Explanation:
The Bar Chart and Pie Chart report types can be created by right-clicking on a column header in a table's list. These report types show how individual pieces of data relate to the whole using proportional bars or slices. You can also choose different aggregation methods such as count, sum, average, min, max, or percent.
Reference: [Create reports from lists]
Question