ExamGecko
Home Home / ServiceNow / CAD

ServiceNow CAD Practice Test - Questions Answers, Page 12

Question list
Search
Search

Which one of the following database operations cannot be controlled with Application Access?

A.
Update
A.
Update
Answers
B.
Delete
B.
Delete
Answers
C.
Create
C.
Create
Answers
D.
Query
D.
Query
Answers
Suggested answer: D

Explanation:

Application Access is a feature that allows you to control the access level of other application scopes to your application's data tables. You can use Application Access to control the following database operations:

Create: This operation allows the user to create new records on the table. You can enable or disable this operation by selecting or clearing the Can create option.

Delete: This operation allows the user to delete existing records on the table. You can enable or disable this operation by selecting or clearing the Can delete option.

Read: This operation allows the user to view the records on the table. You can enable or disable this operation by selecting or clearing the Can read option.

Write: This operation allows the user to modify the records on the table. You can enable or disable this operation by selecting or clearing the Can write option.

The one database operation that cannot be controlled with Application Access is Query. Query is not an operation, but a method of the GlideRecord class that is used to retrieve records from the database on the server-side. Query is not part of the Application Access rules, but it is affected by the Access Controls and the user's roles.

References:

Application Access

[GlideRecord methods]

Identify characteristic(s) of a Record Producer.

Choose 3 answers

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

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]

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

A.
gs.print()
A.
gs.print()
Answers
B.
gs.log()
B.
gs.log()
Answers
C.
gs.debuglog()
C.
gs.debuglog()
Answers
D.
gs.info()
D.
gs.info()
Answers
Suggested answer: D

Explanation:

The server-side API debug log method available for scoped applications is gs.info(). This method logs informational messages that describe the progress of the application. Older methods such as gs.print() and gs.log() are not available in scoped applications. The gs.debuglog() method does not exist. The gs.info(), gs.warn(), gs.error(), and gs.debug() methods work in both scoped applications and global, and are therefore more versatile going forward in future versions.

Reference:Debugging best practices

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?

A.
Write an after Business Rule script for the Record Producer's table: window.redirect = '<URL>';
A.
Write an after Business Rule script for the Record Producer's table: window.redirect = '<URL>';
Answers
B.
Create an application property to store the URL
B.
Create an application property to store the URL
Answers
C.
Write a script in the Record Producer's Script field: producer.redirect = '<URL>';
C.
Write a script in the Record Producer's Script field: producer.redirect = '<URL>';
Answers
D.
Configure the page in the Module that opens the Record Producer Ul
D.
Configure the page in the Module that opens the Record Producer Ul
Answers
Suggested answer: C

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

Tables that extend a table do what?

A.
Sometimes inherit the parent's fields
A.
Sometimes inherit the parent's fields
Answers
B.
Automatically update the application scope
B.
Automatically update the application scope
Answers
C.
Do not inherit the parent's fields
C.
Do not inherit the parent's fields
Answers
D.
Inherit the parent's fields
D.
Inherit the parent's fields
Answers
Suggested answer: D

Explanation:

Tables that extend a table inherit the parent's fields. Extending a table means creating a child table that shares the same columns and business logic as the parent table. For example, the Incident table extends the Task table, which means that all fields defined on the Task table are also available on the Incident table. Extending a table allows for reusing existing fields and behaviors without duplicating them on multiple tables.

Reference:Table extension and classes

Which actions can a Business Rule take without scripting?

A.
Set field values and query the database
A.
Set field values and query the database
Answers
B.
Set field values and generate an event
B.
Set field values and generate an event
Answers
C.
Set field values and write to the system log
C.
Set field values and write to the system log
Answers
D.
Set field values and add message
D.
Set field values and add message
Answers
Suggested answer: B

Explanation:

A Business Rule can take actions such as setting field values and generating an event without scripting. A Business Rule is a server-side script that runs when a record is displayed, inserted, updated, deleted, or queried. A Business Rule can use filter conditions, role conditions, and actions to define when and how it should run. Actions are predefined operations that can be performed on a record, such as setting field values, generating an event, adding a message, or writing to the system log. These actions do not require scripting and can be selected from a drop-down list.

Reference:Use business rules and client scripts to control field values

What are Application Files in a ServiceNow application?

A.
An XML export of an application's table records
A.
An XML export of an application's table records
Answers
B.
ServiceNow artifacts comprising an application
B.
ServiceNow artifacts comprising an application
Answers
C.
XML exports of an application's Update Set
C.
XML exports of an application's Update Set
Answers
D.
CSV files containing data imported into an application
D.
CSV files containing data imported into an application
Answers
Suggested answer: B

Explanation:

Application Files are ServiceNow artifacts comprising an application. An application is a group of files and data that work together to provide a service or functionality. An application file is a specific type of file that belongs to an application, such as a table, a script, a form, a business rule, a UI action, etc. Application files define the structure, logic, and interface of the application. An XML export of an application's table records, XML exports of an application's Update Set, and CSV files containing data imported into an application are not examples of application files, as they are data formats that can be used to transfer or store information related to an application, but not the application itself.

Reference:Application Files

What is the ServiceNow store?

A.
The source for ServiceNow Community created developer content
A.
The source for ServiceNow Community created developer content
Answers
B.
Marketplace for free and paid certified ServiceNow applications and integrations
B.
Marketplace for free and paid certified ServiceNow applications and integrations
Answers
C.
Downloadable content ServiceNow script archive
C.
Downloadable content ServiceNow script archive
Answers
D.
Alternate name for the ServiceNow Developer Share site
D.
Alternate name for the ServiceNow Developer Share site
Answers
Suggested answer: B

Explanation:

The ServiceNow Store is a marketplace for free and paid certified ServiceNow applications and integrations. The ServiceNow Store provides customers with access to Now Certified enterprise workflow apps from partners that complement and extend ServiceNow products and solutions. Customers can browse, try, buy, and deploy apps and integrations that suit their needs and enhance their ServiceNow experience. The ServiceNow Store is not the source for ServiceNow Community created developer content, as that is available on the Developer Portal or the Share site. The ServiceNow Store is not a downloadable content ServiceNow script archive, as that is available on the Script Library or the Script Repository. The ServiceNow Store is not an alternate name for the ServiceNow Developer Share site, as that is a separate site where developers can share applications, code snippets, UI pages, etc.

Reference:ServiceNow Store

Which one of the following is NOT true for Modules?

A.
Access to Modules is controlled with roles
A.
Access to Modules is controlled with roles
Answers
B.
Modules open content pages
B.
Modules open content pages
Answers
C.
Every Module must be associated with a table
C.
Every Module must be associated with a table
Answers
D.
Every Module must be part of an Application Menu
D.
Every Module must be part of an Application Menu
Answers
Suggested answer: C

Explanation:

The statement that is not true for Modules is that every Module must be associated with a table. A Module is the functionality within an Application Menu that opens a content page in the content frame or a separate tab or window. A Module can be associated with a table, a list, a form, a report, a script, or any other type of page. For example, the Open Module under the Incident Application Menu opens a list of incident records from the Incident table, while the Overview Module under the Performance Analytics Application Menu opens a dashboard page with various charts and widgets. The other statements are true for Modules. Access to Modules is controlled with roles, as each Module can have one or more roles specified in its definition that determine who can see and access it. Modules open content pages, as they are links to different types of pages that provide information and functionality to users. Every Module must be part of an Application Menu, as they are the second-level navigation options for Applications.

Reference:Modules

Why create Applications in ServiceNow?

A) To replace outdated inadequate custom business applications and processes

B) To extend service delivery and management to all enterprise departments

C) To allow users full access to all ServiceNow tables, records and fields

D) To extend the value of ServiceNow

A.
a b and c
A.
a b and c
Answers
B.
a b c and d
B.
a b c and d
Answers
C.
b c and d
C.
b c and d
Answers
D.
a b and d
D.
a b and d
Answers
Suggested answer: D
Total 199 questions
Go to page: of 20