ServiceNow CAD Certified Application Developer - ServiceNow Training and Certification Exam Practice Test

Page: 1 / 14
Total 254 questions
Question 1

Which one of the following is the correct Link Type to select when creating a module that opens the Record Producer UI for a user rather than the ServiceNow form UI?



Answer : C

Comprehensive and Detailed Step-by-Step

Record Producer Overview:

Record Producers in ServiceNow are a way to create records through a simplified user interface. Instead of displaying a typical form, a Record Producer uses a user-friendly UI tailored for quick and intuitive data entry.

Correct Link Type:

The URL (from Arguments) option is used to direct the user to a specific URL, such as the Record Producer interface. You can configure the URL in the module to point to the Record Producer by providing its unique sys_id or name.

Example URL:

/catalog.do?sys_id=<record_producer_sys_id>

Incorrect Options Explained:

Content Page (Option A): This opens a CMS page and is not used for Record Producers.

Script (from Arguments) (Option B): This runs a custom script but does not link directly to a Record Producer.

HTML (from Arguments) (Option D): This is used for rendering custom HTML, not for linking to a Record Producer.


ServiceNow Developer Documentation on Modules and URL Arguments.

Question 2

Which options are strategies for debugging client-side scripts? (Choose 2 answers)



Answer : A, C

Comprehensive and Detailed Step-by-Step

Client-Side Debugging Context:

Client-side scripts, such as Client Scripts or UI Policies, run in the browser. Debugging these scripts requires tools and methods that interact directly with the client-side environment.

Valid Options for Debugging:

g_form.addInfoMessage():

This method displays an informational message on the form, which is useful for providing immediate feedback to the user or debugging purposes. Example:

g_form.addInfoMessage('This is a test message.');

jslog():

This method logs messages to the browser's JavaScript console, which is an essential tool for debugging client-side scripts. Example:

jslog('Debugging message: Variable X = ' + x);

Incorrect Options Explained:

gs.addErrorMessage() (Option B): This is a server-side method and cannot be used in client-side scripts.

gs.log() (Option D): Similarly, this is a server-side method and is not applicable for debugging client-side scripts.


ServiceNow Developer Documentation on Client Scripts.

Question 3

In a privately-scoped application, which methods are used for logging messages in server-side scripts? (Choose 2 answers)



Answer : A, D

Comprehensive and Detailed Step-by-Step

Understanding Scoped Applications:

Scoped applications in ServiceNow are designed to isolate and protect application-specific code and data. Server-side scripts within scoped applications can use the gs (GlideSystem) object for logging and debugging purposes. However, not all gs methods are appropriate or valid for scoped applications.

Valid Logging Methods in Scoped Applications:

gs.info():

This method logs informational messages to the system log. It is commonly used for general-purpose logging when developers need to track execution flow or display debug data. Example:

gs.info('This is an informational log message.');

gs.error():

This method logs error messages to the system log. It is used to indicate problems or issues encountered during script execution. Example:

gs.error('An error occurred during script execution.');

Incorrect Options Explained:

gs.debug() (Option B): This method is not valid in scoped applications. It is a legacy logging method available in the global scope but restricted in scoped applications.

gs.iog() (Option C): This is a typographical error and not a valid gs method in ServiceNow.

gs.logError() (Option E): This is not a recognized ServiceNow API method. To log errors, gs.error() is used instead.

Best Practices for Logging:

Logging should be meaningful and avoid unnecessary entries to keep logs clean and manageable.

Avoid excessive use of logging in production environments, as it can clutter the system logs and potentially degrade performance.


ServiceNow Developer Documentation on GlideSystem (gs).

SN Pro Tips on debugging and logging practices in scoped applications.

Question 4


Answer : C

Comprehensive and Detailed Step-by-Step

Inherited fields in ServiceNow are fields that are part of a parent table and automatically become part of child tables through inheritance. This structure is foundational in the ServiceNow data model, ensuring that child tables maintain a consistent relationship with their parent tables.

Here's why inherited fields cannot be deleted from a child table:

System Design:

ServiceNow employs a table inheritance model where child tables derive fields and properties from parent tables. Deleting inherited fields from a child table would break the integrity of the data model, as those fields are shared across multiple tables.

Impact on Functionality:

Many inherited fields, such as sys_created_on or sys_updated_by, are integral to the functionality of the platform. Removing them could disrupt workflows, reporting, and auditing capabilities.

Alternative Approach:

If you want to hide or restrict access to inherited fields in a child table, you can use ACLs (Access Control Lists) to prevent users from viewing or modifying these fields. Another option is to use UI Policies or Client Scripts to control their visibility on forms.

Developer Note:

Attempting to delete inherited fields violates ServiceNow's core principles of maintaining a robust and unified data structure. The platform enforces these rules to ensure consistent behavior across all tables in the hierarchy.


ServiceNow Developer Documentation on Table Inheritance.

Best practices outlined on SN Pro Tips regarding scoped application development and table structures.

Question 5

Which tables are available by default in a ServiceNow instance?

Choose 3 answers



Answer : A, C, D


Question 6

If a knowledge base has no access details specified, what users are able to read articles in that knowledge base?



Answer : C


Question 7

ServiceNow contains a resource which provides the following:

* A standard and shared set of service related definitions across ServiceNow products and platform that will enable and support true service level reporting.

* A CMDB framework across our products and platform that will enable and support multiple configuration strategies.

What resource do these statements describe?



Answer : A


Page:    1 / 14   
Total 254 questions