Limited-Time Offer: Enjoy 50% Savings! Ends in 00h 00m 00s Coupon code: 50OFF
Skip to content

Free ServiceNow Certified Application Developer - ServiceNow Training and Certification CAD Exam Questions

Page: 1 / 19 Total 285 questions

Want more questions? Get Premium Access.

Question 1

Which ServiceNow utility provides a modern interactive graphical interface to visualize configuration items and their relationships?

Correct Answer: C. Dependency View

Question 2

There is a basic strategy when creating a Utils Script Include. Identify the step that does not belong.

Correct Answer: A. Identify the table
Explanation:

The step that does not belong when creating a Utils Script Include is identifying the table. A Script Include is a server-side script that can contain one or more classes or functions that can be reused by other scripts. It does not depend on a specific table, but can access any table through GlideRecord or other APIs. The other steps are part of creating a Script Include class and its prototype object. Reference: [ServiceNow Docs - Script Includes], [ServiceNow Docs - GlideRecord API]


Question 3

Which method call returns true only if the currently logged in user has the catalog_admin role and in no other case?

Correct Answer: B. g_user.hasRoleExactly('catalog_admin')
Explanation:

The method call that returns true only if the currently logged in user has the catalog_admin role and in no other case is g_user.hasRoleExactly('catalog_admin'). This method checks if the user has exactly one role, and returns true if it matches the argument. The other methods return true if the user has one or more roles, or if the user has any role from a list of arguments. Reference: [ServiceNow Docs - GlideUser API], [ServiceNow Community - Difference between hasRole() and hasRoleExactly()]


Question 4

Application developers can specify which ServiceNow page a user sees after submitting a new record using the Record Producer Ul. How is the page specified?

Correct Answer: B. Create an application property to store the URL
Explanation:

Application developers can specify which ServiceNow page a user sees after submitting a new record using the Record Producer UI by writing a script in the Record Producer's Script field: producer.redirect = ''<URL>'';. This script sets the redirect property of the producer object to the URL of the desired page. For example, producer.redirect = ''home.do''; will redirect the user to the homepage after submitting the record. The other options are not valid ways to specify the redirect page for a Record Producer. Reference:Populate record producer data and redirect users


Question 5

What section on the Notes tab, shows the history of the work documented on the record?

Correct Answer: B. Activity Stream

Question 6

Here is the Business Rule script template:

This type of JavaScript function is known as:

Correct Answer: D. Self-invoking
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. Reference: [W3Schools - JavaScript Function Definitions], [MDN Web Docs - Immediately-invoked function expressions]


Question 7

Which database operations can be controlled with Access Control?

Choose 2 answers

Correct Answer: B. Create; C. Update
Explanation:

In ServiceNow, Access Controls (ACLs) are used to manage permissions for various database operations on tables and their records. The primary operations that can be controlled include:

Create:

Description: Permission to insert new records into a table.

Control: ACLs can be defined to allow or deny users the ability to create records based on roles, conditions, or scripts.

Update:

Description: Permission to modify existing records in a table.

Control: ACLs can restrict who can update records, ensuring that only authorized users can make changes.

Other Operations:

Read: Controls the ability to view records in a table.

Delete: Manages the permission to remove records from a table.

Incorrect Options:

Execute: Not a standard database operation controlled by ACLs in ServiceNow.

Query: While querying is part of the read operation, ACLs specifically control the read access rather than the query process itself.


Question 8

What is the Endpoint when configuring a REST Message?

Correct Answer: A. The URI of the data to be accessed, queried, or modified
Explanation:

In ServiceNow, when configuring a REST Message, the Endpoint specifies the URI (Uniform Resource Identifier) where the REST request is sent. This URI points to the resource on the external system that the REST message will interact with, whether it's to retrieve, update, create, or delete data.

Key Points:

Endpoint Definition: The Endpoint is a complete URL that includes the protocol (e.g., HTTP or HTTPS), the domain or IP address of the external server, and the specific path to the resource. For example: https://api.example.com/v1/resources.

Dynamic Endpoints: ServiceNow allows the use of variables within the Endpoint URL, enabling dynamic substitution at runtime. This is useful when the exact resource path or parameters need to be determined during execution.

Configuration in ServiceNow:

Navigate to 'System Web Services' > 'Outbound' > 'REST Message.'

Create a new REST Message or select an existing one.

In the REST Message record, define the Endpoint URL in the 'Endpoint' field.

Example Scenario:

If you are integrating ServiceNow with an external ticketing system to retrieve incident data, the Endpoint might be something like https://api.ticketingsystem.com/incidents/{incident_id}, where {incident_id} is a placeholder that gets replaced with the actual incident ID at runtime.


Question 9

Which roles grant access to source control repository operations such as importing applications from source control, or linking an application to source control? (Choose two.)

Correct Answer: A. source_control; C. admin
Explanation:

The following roles grant access to source control repository operations such as importing applications from source control, or linking an application to source control:

source_control. This is a role that allows users to perform basic source control operations, such as importing an application from a source control repository, updating an application from a source control repository, or committing changes to a source control repository.

admin. This is a role that grants full access to all the features and functions of the ServiceNow platform, including source control operations. Users with this role can also perform advanced source control operations, such as creating or deleting source control repositories, configuring source control properties, or resolving conflicts.

The following roles do not grant access to source control repository operations:

source_control_admin. This is not a valid role in ServiceNow. There is no separate role for source control administration, as this function is included in the admin role.

git_admin. This is not a valid role in ServiceNow. Git is a specific type of source control system that ServiceNow supports, but there is no role dedicated to Git administration.Reference:Source Control, Source Control Roles


Question 10

What are some of the benefits of extending an existing table such as the Task table when creating a new application?

a)You can repurpose existing fields by simply changing the label.

b)Use existing fields with no modifications.

c)Existing logic from the parent table will be automatically applied to the new table.

d)All of the parent table records are copied to the new table.

Correct Answer: D. a, b, and c
Explanation:

Extending an existing table such as the Task table when creating a new application has several benefits, such as:

You can repurpose existing fields by simply changing the label. For example, you can change the Short description field to Summary or Title for your new table.

You can use existing fields with no modifications. For example, you can use the Assigned to, Priority, and State fields for your new table without changing anything.

Existing logic from the parent table will be automatically applied to the new table. For example, you can inherit the Business Rules, Client Scripts, and UI Policies from the Task table for your new table.

The only option that is not true is d) All of the parent table records are copied to the new table. Extending a table does not copy any records from the parent table to the new table. It only creates a new table that inherits the fields and logic from the parent table.


[Extend a table]

[Task table]

Question 11

When a custom table is created, which access control rules are automatically created?

Choose 4 answers

Correct Answer: B. read; D. create; E. delete; F. write

Question 12

How does ServiceNow match inbound email to an existing record? (Choose 2 answers)

Correct Answer: C. Watermark; D. Subject line with record number
Explanation:

Inbound email matching uses Watermarks and Subject lines (with record numbers like INC0010001) to associate emails with existing records.

From Email Handling Docs:

''ServiceNow uses Watermark IDs and subject lines containing record numbers to find the corresponding task or record when processing inbound email.''


Question 13

What occurs when an existing table is extended in ServiceNow?

Correct Answer: A. The new table inherits the functionality built into the parent table
Explanation:

In ServiceNow, extending a table means creating a new table (child class) that inherits properties from an existing table (parent class). This inheritance includes fields, business logic, and other configurations, allowing for efficient reuse and customization.

Key Points:

Field Inheritance: The child table inherits all fields from the parent table. For example, if you extend the Task table, your new table will include fields like 'short_description' and 'priority.'

Business Logic Inheritance: The child table also inherits business rules, client scripts, and other logic defined on the parent table, ensuring consistent behavior across related tables.

Access Controls: Access controls are not ignored; instead, the child table inherits the parent table's access controls. However, you can define additional access controls specific to the child table as needed.

Customization: While the child table inherits many properties, you can add new fields, scripts, and behaviors to tailor it to specific requirements without affecting the parent table.


Question 14

In a Business Rule, which one of the following returns the sys_id of the currently logged in user?

Correct Answer: D. gs.getUserID()
Explanation:

https://docs.servicenow.com/bundle/tokyo-application-development/page/app-store/dev_portal/API_reference/glideSystemScoped/concept/c_GlideSystemScopedAPI.html


Question 15

Which server-side API debug log method is available for scoped applications?

Correct Answer: C. gs.info()
Explanation:

In ServiceNow, the gs object provides a range of methods for logging messages on the server side. However, the availability of these methods can vary depending on whether the application is global or scoped.

gs.info(): This method is available in scoped applications and is used to log informational messages to the system log. It provides a way to record general information during script execution.

Options A (gs.log()), B (gs.print()), and D (gs.debugLog()) are not available in scoped applications. These methods are either restricted to global applications or do not exist in the ServiceNow API.

For more detailed information, refer to the official ServiceNow documentation on server-side scripting: