Certleader offers free demo for CAD exam. "Certified Application Developer-ServiceNow", also known as CAD exam, is a ServiceNow Certification. This set of posts, Passing the ServiceNow CAD exam, will help you answer those questions. The CAD Questions & Answers covers all the knowledge points of the real exam. 100% real ServiceNow CAD exams and revised by experts!

Free CAD Demo Online For ServiceNow Certifitcation:

NEW QUESTION 1
In a Business Rule, which one of the following returns true if the currently logged in user has the admin role?

  • A. g_form.hasRoleExactly(‘admin’)
  • B. gs.hasRole(‘admin’)
  • C. g_form.hasRole(‘admin’)
  • D. gs.hasRoleExactly(‘admin’)

Answer: B

Explanation:
Business Rule is server-side, so it uses GlideSystem API. gs.hasRoleExactly doesn't exist
In a Business Rule, the following returns true if the currently logged in user has the admin role:
✑ gs.hasRole(‘admin’). This is the correct answer because gs is the GlideSystem object, which provides methods for performing system operations, and hasRole is a method that checks if the current user has the specified role. For example, gs.hasRole(‘admin’) will return true if the current user has the admin role, and false otherwise.
The following do not return true if the currently logged in user has the admin role in a Business Rule:
✑ g_form.hasRoleExactly(‘admin’). This is not correct because g_form is the
GlideForm object, which provides methods for manipulating forms, and hasRoleExactly is a method that checks if the current user has exactly the specified role and no other roles. For example, g_form.hasRoleExactly(‘admin’) will return true if the current user has only the admin role, and false if the current user has the admin role and any other role.
✑ g_form.hasRole(‘admin’). This is not correct because g_form is the GlideForm
object, which provides methods for manipulating forms, and hasRole is a method
that checks if the current user has the specified role or any role that contains the specified role. For example, g_form.hasRole(‘admin’) will return true if the current user has the admin role or any role that contains the admin role, such as admin_ui or admin_script.
✑ gs.hasRoleExactly(‘admin’). This is not correct because gs is the GlideSystem
object, which provides methods for performing system operations, and hasRoleExactly is not a valid method of the gs object. There is no method that checks if the current user has exactly the specified role and no other roles in the gs object. References: Business Rules, GlideSystem, GlideForm

NEW QUESTION 2
What is the best UX format to use for lists and forms?

  • A. Forms
  • B. Lists
  • C. Standard
  • D. Classic

Answer: D

Explanation:
there are only two types of UX options: Mobile and Classic. Classic is defined as "manage records via lists and form"

NEW QUESTION 3
Identify the incorrect statement about Delegated Development in ServiceNow.

  • A. Administrators can grant non-admin users the ability to develop global applications.
  • B. Administrators can specify which application file types the developer can access.
  • C. Administrators can grant the developer access to script fields.
  • D. Administrators can grant the developer access to security records.

Answer: A

Explanation:
Administrators can grant non-admin users the ability to develop global applications. Delegated Development is for the scoped applications only
Reference: https://docs.servicenow.com/bundle/orlando-application- development/page/build/applications/ concept/c_DelegatedDevelopment.html
The incorrect statement about Delegated Development in ServiceNow is that administrators can grant non-admin users the ability to develop global applications. Delegated Development allows administrators to grant non-admin users the ability to develop scoped applications, not global applications. Global applications are accessible by all other applications and do not have a namespace prefix. Scoped applications are isolated from other applications and have a unique namespace identifier. Delegated Development provides more granular control over the developer permissions, application resources, and data access. References: [Advantages of Scoped Applications in ServiceNow], [Product Documentation | ServiceNow]

NEW QUESTION 4
Here is the Business Rule script template:
CAD dumps exhibit
This type of JavaScript function is known as:

  • A. Constructor
  • B. Scoped
  • C. Anonymous
  • D. Self-invoking

Answer: D

Explanation:
Self-invoking. Learn JavaScript!
This type of JavaScript function is known as self-invoking or immediately-invoked function expression (IIFE). It is a function that is defined and executed at the same time, without being assigned to a variable or being called by another function. It is often used to create a local scope for variables and avoid polluting the global namespace. References: [W3Schools - JavaScript Function Definitions], [MDN Web Docs - Immediately-invoked function expressions]

NEW QUESTION 5
Which of the following statements does NOT apply when extending an existing table?

  • A. The parent table’s Access Controls are evaluated when determining access to the new table’s records and fields
  • B. The new table inherits the functionality built into the parent table
  • C. The new table inherits all of the fields from the parent table
  • D. You must script and configure all required behaviors

Answer: D

Explanation:
You must script and configure all required behaviors Provided link has this statement: Extending an existing ServiceNow table means the new table inherits the parent table's columns as well as its business logic.
The following statements apply when extending an existing table:
✑ The parent table’s Access Controls are evaluated when determining access to the new table’s records and fields. This is true because Access Control (ACL) rules are inherited from the parent table to the child table, unless the child table has its own ACL rules that override the parent table’s rules. ACL rules are used to restrict the access to the data and functionality of the ServiceNow platform based on the user’s roles and conditions.
✑ The new table inherits the functionality built into the parent table. This is true because the new table inherits the business logic and the relationships from the parent table, such as Business Rules, Script Includes, UI Actions, UI Policies, and Reference Fields. Business logic and relationships are used to define the behavior and the structure of the data on the ServiceNow platform.
✑ The new table inherits all of the fields from the parent table. This is true because the new table inherits the columns and the attributes from the parent table, such as Field Name, Data Type, Default Value, and Mandatory. Columns and attributes are used to define the properties and the characteristics of the data on the ServiceNow platform.
The following statement does not apply when extending an existing table:
✑ You must script and configure all required behaviors. This is false because you do not have to script and configure all required behaviors when extending an existing table, as some of the behaviors are already inherited from the parent table, as explained above. However, you can script and configure additional or customized behaviors for the new table, such as adding new fields, creating new Business Rules, or modifying existing UI Actions. References: Table Extension, Access Control Rules

NEW QUESTION 6
For Application Access there is a configuration option called Allow access to this table via web services. Which one of the following statements is true when this option is selected?

  • A. This option restricts the ability to delete records via web services but records can always be read
  • B. The user performing the query via web services must have the correct permissions to access the table's records
  • C. Even when not selected, users with the correct permissions can use web services to access the table's records
  • D. This option restricts access only to SOAP web services but does not apply to REST

Answer: B

Explanation:
Application Access is a feature that allows you to control the access level of other application scopes to your application’s data tables. By selecting the Allow access to this table via web services option, you can enable other application scopes to access your data tables using web services, such as SOAP or REST. However, the user performing the query via web services must have the correct permissions to access the table’s records. The user must have the appropriate roles and access controls to perform the operations on the table, such as create, read, write, or delete.
The other statements are not true when this option is selected. This option does not restrict the ability to delete records via web services, nor does it allow records to be always read. The access to the records depends on the user’s permissions and the web service method. This option also does not restrict access only to SOAP web services, but applies to both SOAP and REST web services. Finally, this option is not the only way to enable web service access to the table’s records. Even when this option is not selected, users with the correct permissions can use web services to access the table’s records, as long as they specify the application scope in the web service request.
References:
✑ Application Access
✑ Web service access to scoped applications

NEW QUESTION 7
What is a Module?

  • A. The functionality within an application menu such as opening a page in the content frame or a separate tab or window
  • B. A group of menus, or pages, providing related information and functionality to end-users
  • C. A way of helping users quickly access information and services by filtering the items in the Application Navigator
  • D. A web-based way of providing software to end-users

Answer: A

Explanation:
https://docs.servicenow.com/bundle/rome-platform-user- interface/page/administer/navigation-and-ui/task/t_CreateAModule.html
A module is the functionality within an application menu such as opening a page in the content frame or a separate tab or window. For example, Open is a module under the Problem application menu that opens a list of problem records. Modules are the second level navigation options for applications. Reference: Modules | ServiceNow Tutorials

NEW QUESTION 8
What is the purpose of the Application Picker?

  • A. Select an application to run
  • B. Select an application as a favorite in the Application Navigator
  • C. Choose an application to edit and set the Application Scope
  • D. Choose an application to download and install

Answer: C

Explanation:
https://docs.servicenow.com/bundle/tokyo-application-development/page/build/applications/concept/c_ApplicationPicker.html

NEW QUESTION 9
Which one of the following is true?

  • A. A UI Policy’s Actions execute before the UI Policy’s Scripts
  • B. The execution order for a UI Policy’s Scripts and Actions is determined at runtime
  • C. A UI Policy’s Scripts execute before the UI Policy’s Actions
  • D. A UI Policy’s Actions and Scripts execute at the same time

Answer: A

Explanation:
Created UI policy on incident form, action set's cmdb_ci field as mandatory and script as not. result, field was not mandatory.
A UI Policy’s Actions execute before the UI Policy’s Scripts. Actions are predefined operations that can be applied to fields or sections, such as making them mandatory, read- only, visible, or setting a default value. Scripts are custom JavaScript code that can be used to perform more complex logic or validations. Actions are executed first, and then Scripts are executed if the UI Policy conditions are met. References: [ServiceNow Docs - UI policy actions], [ServiceNow Docs - UI policy scripts]

NEW QUESTION 10
When writing a Client Script to provide feedback targeted at a specific field, which method should be used?

  • A. g_form.showInfoMessage()
  • B. g_form.showFieldMsg()
  • C. g_form.addInfoMessage()
  • D. g_form.addFieldMsg()

Answer: B

Explanation:
https://docs.servicenow.com/bundle/tokyo-application- development/page/script/useful-scripts/reference/r_DisplayFieldMessages.html

NEW QUESTION 11
One of the uses of the ServiceNow REST API Explorer is:

  • A. Practice using REST to interact with public data providers
  • B. Find resources on the web for learning about REST
  • C. Convert SOAP Message functions to REST methods
  • D. Create sample code for sending REST requests to ServiceNow

Answer: D

Explanation:
One of the uses of the ServiceNow REST API Explorer is to create sample code for sending REST requests to ServiceNow. The REST API Explorer is a tool that allows you to discover and test the ServiceNow REST APIs. You can select an API endpoint, set the HTTP method, parameters, headers, and body, and then execute the request. The REST API Explorer will show you the response status, headers, and body, as well as generate sample code for various languages and frameworks, such as cURL, Java, JavaScript, Node.js, Python, Ruby, and more. References: [Use the REST API Explorer - Product Documentation: Tokyo - ServiceNow], [Introduction to Scripted REST APIs - ServiceNow Developers]
Reference: https://developer.servicenow.com/dev.do#!/learn/courses/newyork/
app_store_learnv2_rest_newyork_rest_integrations/ app_store_learnv2_rest_newyork_inbound_rest_integrations/ app_store_learnv2_rest_newyork_introduction_to_the_rest_api_explorer

NEW QUESTION 12
Which of the following statements must evaluate to true for a user to pass an Access Control?
Choose 3 answers

  • A. Other matching Access Controls for the records evaluate to true.
  • B. Conditions configured in the Access Control must evaluate to true.
  • C. The user must be granted access through a business rule.
  • D. The user has one of the roles specified in the Required roles related list.
  • E. Scripts configured in the Access Control must evaluate to true.

Answer: BDE

Explanation:
The statements that must evaluate to true for a user to pass an Access Control are:
✑ Conditions configured in the Access Control must evaluate to true.
✑ The user has one of the roles specified in the Required roles related list.
✑ Scripts configured in the Access Control must evaluate to true.
An Access Control is a rule that determines whether a user can access a particular object or operation in ServiceNow. An Access Control consists of three elements: Conditions, Roles, and Script. Each element specifies a requirement that the user must meet to access the object or operation. If any of these elements return false, the Access Control denies access and stops evaluating the remaining elements. Therefore, for a user to pass an Access Control, all three elements must evaluate to true.
The other statements are not required for a user to pass an Access Control. Other matching Access Controls for the records do not need to evaluate to true, as only one matching Access Control needs to return true for access to be granted. The user does not need to be granted access through a business rule, as business rules are not part of Access Controls and do not affect their evaluation. Reference: Access control rules, Access Controls

NEW QUESTION 13
Identify the way(s) an application can respond to an Event generated by the gs.eventQueue() method.
a) Script Action
b) Scheduled Script Execution (Scheduled Job)
c) UI Policy
d) Email Notification

  • A. b and c
  • B. c
  • C. a and d
  • D. a and c

Answer: C

Explanation:
"There are two possible ways to respond to events:
- Email Notification
- Script Action" - see this quote in link below: https://developer.servicenow.com/dev.do#!/learn/learning- plans/tokyo/new_to_servicenow/app_store_learnv2_automatingapps_tokyo_responding_to
_events

NEW QUESTION 14
Which objects can be used in Inbound Action scripts?

  • A. current and previous
  • B. current and email
  • C. current and event
  • D. current and producer

Answer: B

Explanation:
Inbound Action scripts are server-side scripts that run when an email is received by the system. They can use the current object to access the record that is created or updated by the email, and the email object to access the properties and methods of the email message. The previous and event objects are not available in Inbound Action scripts. The producer object is only available in Record Producer scripts, which are used to create records from a service catalog item.
References:
✑ Inbound Action scripts
✑ [Record Producer scripts]

NEW QUESTION 15
What is a workflow context?

  • A. It is a checked out workflow which is being edited
  • B. It is generated from a workflow version, executes activities, and follows transitions
  • C. The table for which a workflow is defined plus any conditions such as "Active is true"
  • D. The business reason or process for which a workflow is designed

Answer: B

Explanation:
A workflow is a tool that allows you to automate processes on the ServiceNow platform. A workflow consists of activities and transitions that define the logic and flow of the process. A workflow context is an instance of a workflow that is generated from a workflow version, executes activities, and follows transitions. A workflow context is associated with a specific record on a table and tracks the state and progress of the workflow. You can view and manage the workflow contexts from the Workflow Contexts module or the Workflow Contexts related list on a record.
The other options are not valid definitions of a workflow context. A checked out workflow is a workflow that is being edited by a user and has not been published yet. The table and conditions for a workflow are the criteria that determine when a workflow should run on a record. The business reason or process for a workflow is the purpose and function of the workflow.
References:
✑ [Workflow overview]
✑ [Workflow context]

NEW QUESTION 16
Identify characteristic(s) of a Record Producer. Choose 3 answers

  • A. Graphics can be included on the user interface.
  • B. All records created using this strategy are inserted into the Requested Item [sc_req_item] table.
  • C. You can script behaviors of fields in the user interface.
  • D. They must be scripted.
  • E. Each field prompts the user with a question rather than a field label.

Answer: ACE

Explanation:
A Record Producer is a type of service catalog item that allows users to create records on a specified table. A Record Producer has the following characteristics:
✑ Graphics can be included on the user interface: You can add images, icons, or
banners to the Record Producer to make it more appealing and informative for the user. You can also use HTML and CSS to customize the layout and style of the Record Producer.
✑ You can script behaviors of fields in the user interface: You can use Client Scripts
and UI Policies to control the behavior and appearance of the fields on the Record Producer. For example, you can use Client Scripts to validate the field inputs, perform calculations, or populate default values. You can also use UI Policies to show or hide fields, make fields mandatory or read-only, or set field values based on conditions.
✑ Each field prompts the user with a question rather than a field label: You can use
the Variable Question field to define the question that prompts the user for the field value. The question can be more descriptive and user-friendly than the field label. For example, you can use the question “What is the name of the project?” instead of the field label “Name”.
The other statements are not true for Record Producers. Record Producers do not always insert records into the Requested Item [sc_req_item] table. They can insert records into any table that is specified in the Record Producer properties. Record Producers also do not have to be scripted. They can use the default script that maps the variable values to the record fields, or they can use a custom script that defines the logic for creating the record. References:
✑ [Record Producers]
✑ [Record Producer properties]
✑ [Record Producer scripts]

NEW QUESTION 17
Which Application Access configuration field(s) are NOT available if the Can read configuration field is NOT selected?

  • A. All access to this table via web services
  • B. Can create, Can update, and Can delete
  • C. Can read does not affect the availability of other Application Access fields
  • D. Allow configuration

Answer: B

Explanation:
"You must first select read access to grant any other API record operation." https://docs.servicenow.com/bundle/tokyo-application- development/page/build/applications/reference/r_TableApplicationAccessFields.html
The Application Access configuration fields control the access level for an application and its tables. The following Application Access configuration fields are not available if the Can read configuration field is not selected:
✑ Can create. This field determines whether users can create records on the
application tables.
✑ Can update. This field determines whether users can update records on the application tables.
✑ Can delete. This field determines whether users can delete records on the application tables.
These fields are not available because they depend on the Can read field, which determines whether users can view records on the application tables. If users cannot read records, they cannot create, update, or delete them either.
The following Application Access configuration fields are available regardless of the Can read configuration field:
✑ All access to this table via web services. This field determines whether users can access the application tables using web services, such as REST or SOAP.
✑ Allow configuration. This field determines whether users can configure the application tables, such as adding or modifying fields, views, or indexes. References: Application Access, Certified Application Developer (CAD) Learning Path

NEW QUESTION 18
......

100% Valid and Newest Version CAD Questions & Answers shared by Dumps-hub.com, Get Full Dumps HERE: https://www.dumps-hub.com/CAD-dumps.html (New 135 Q&As)