ExamGecko
Home Home / ServiceNow / CAD

ServiceNow CAD Practice Test - Questions Answers, Page 3

Question list
Search
Search

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.)

A.
source_control
A.
source_control
Answers
B.
source_control_admin
B.
source_control_admin
Answers
C.
admin
C.
admin
Answers
D.
git_admin
D.
git_admin
Answers
Suggested answer: A, C

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.References:Source Control, Source Control Roles

When configuring the content of an Email Notification, which syntax should be used to reference the properties of an event triggering the Notification?

A.
${event.}
A.
${event.}
Answers
B.
${current.}
B.
${current.}
Answers
C.
${property name>.getDisplayValue()}
C.
${property name>.getDisplayValue()}
Answers
D.
${gs.}
D.
${gs.}
Answers
Suggested answer: A

Explanation:

https://www.servicenow.com/community/it-service-management-forum/email-notification/m-p/695221

When configuring the content of an Email Notification, the following syntax should be used to reference the properties of an event triggering the Notification:

event..ThisisthecorrectsyntaxtoaccessthepropertiesoftheeventrecordthattriggeredtheEmailNotification,suchasevent.name,event.parm1,orevent.parm2.Forexample,{event.parm1} will display the value of the first parameter of the event.

The following syntaxes are not correct for referencing the properties of an event triggering the Notification:

current..Thisisthesyntaxtoaccessthepropertiesofthecurrentrecordthatisassociatedwiththeevent,suchascurrent.number,current.shortdescription,orcurrent.state.Forexample,{current.short_description} will display the short description of the current record.

${property name>.getDisplayValue()}. This is the syntax to access the display value of a property of the current record, such as current.state.getDisplayValue(), current.assigned_to.getDisplayValue(), or current.category.getDisplayValue(). For example, current.state.getDisplayValue() will display the state of the current record in a human-readable format, such as New, In Progress, or Closed.

${gs.}. This is the syntax to access the properties of the GlideSystem (gs) object, which provides methods for performing system operations, such as gs.now(), gs.getUserID(), or gs.getProperty(). For example, gs.now() will display the current date and time of the system. References: Email Notifications, Email Notification Variables

Which one of the following is true for a Script Include with a Protection Policy value of Protected?

A.
Any user with the protected_edit role can see and edit the Script Include
A.
Any user with the protected_edit role can see and edit the Script Include
Answers
B.
The Protection policy option can only be enabled by a user with the admin role
B.
The Protection policy option can only be enabled by a user with the admin role
Answers
C.
The Protection Policy is applied only if the glide.app.apply_protection system property value is true
C.
The Protection Policy is applied only if the glide.app.apply_protection system property value is true
Answers
D.
The Protection Policy is applied only if the application is downloaded from the ServiceNow App Store
D.
The Protection Policy is applied only if the application is downloaded from the ServiceNow App Store
Answers
Suggested answer: D

Explanation:

https://docs.servicenow.com/bundle/rome-application-development/page/build/applications/concept/c_ScriptProtectionPolicy.html

The following is true for a Script Include with a Protection Policy value of Protected:

The Protection Policy is applied only if the application is downloaded from the ServiceNow App Store. This is true because the Protection Policy is a feature that allows developers to protect their Script Includes from being viewed or modified by other users when they distribute their applications through the ServiceNow App Store. The Protection Policy is only enforced when the application is installed from the App Store, not when it is developed or tested on the instance.

The following are not true for a Script Include with a Protection Policy value of Protected:

Any user with the protected_edit role can see and edit the Script Include. This is false because the protected_edit role is not related to the Protection Policy, but to the Access Control (ACL) rules. The protected_edit role allows users to edit protected fields on a table, such as the script field on the sys_script table, which stores the Business Rules. The Protection Policy does not use roles to control access to the Script Includes, but a cryptographic key that is generated when the application is published to the App Store.

The Protection policy option can only be enabled by a user with the admin role. This is false because the Protection policy option can be enabled by any user who has the application_admin role for the scoped application that contains the Script Include. The application_admin role grants full access to the application development and administration within the scope of the application.

The Protection Policy is applied only if the glide.app.apply_protection system property value is true. This is false because the glide.app.apply_protection system property is not related to the Protection Policy, but to the Application Restricted Caller Access (ARCA) feature. The ARCA feature allows developers to restrict the access to the Script Includes from other applications based on the caller's scope. The glide.app.apply_protection system property determines whether the ARCA feature is enabled or disabled on the instance.References:Script Includes, Protect Script Includes, Application Restricted Caller Access

Which one of the following is true for GlideUser (g_user) methods?

A.
Can be used in Client Scripts and UI Policies only
A.
Can be used in Client Scripts and UI Policies only
Answers
B.
Can be used in Business Rules only
B.
Can be used in Business Rules only
Answers
C.
Can be used in Client Scripts, UI Policies, and UI Actions
C.
Can be used in Client Scripts, UI Policies, and UI Actions
Answers
D.
Can be used in Business Rules, and Scripts Includes
D.
Can be used in Business Rules, and Scripts Includes
Answers
Suggested answer: C

Explanation:

The following is true for GlideUser (g_user) methods:

Can be used in Client Scripts, UI Policies, and UI Actions. This is true because GlideUser (g_user) methods are part of the client-side scripting APIs that provide information about the current user and the user's preferences. Client Scripts, UI Policies, and UI Actions are all types of client-side scripts that run in the web browser and manipulate the user interface.

The following are not true for GlideUser (g_user) methods:

Can be used in Client Scripts and UI Policies only. This is false because GlideUser (g_user) methods can also be used in UI Actions, which are another type of client-side scripts that can be triggered by a user's click on a button, link, or choice.

Can be used in Business Rules only. This is false because GlideUser (g_user) methods cannot be used in Business Rules, which are server-side scripts that run on the ServiceNow platform and manipulate the database. Business Rules use a different API to access the current user information, which is GlideSystem (gs).

Can be used in Business Rules, and Scripts Includes. This is false because GlideUser (g_user) methods cannot be used in Business Rules or Script Includes, which are both server-side scripts. Script Includes are reusable units of code that can be called from any server-side script. Script Includes also use GlideSystem (gs) to access the current user information.References:Client-Side Scripting APIs, GlideUser, Business Rules, Script Includes

When configuring a module, what does the Override application menu roles configuration option do?

A.
Users with the module role but without access to the application menu access the module
A.
Users with the module role but without access to the application menu access the module
Answers
B.
Self-Service users can access the module even though they do not have roles
B.
Self-Service users can access the module even though they do not have roles
Answers
C.
Admin is given access to the module even if Access Controls would ordinarily prevent access
C.
Admin is given access to the module even if Access Controls would ordinarily prevent access
Answers
D.
Users with access to the application menu can see the module even if they don't have the module role
D.
Users with access to the application menu can see the module even if they don't have the module role
Answers
Suggested answer: A

Explanation:

Checkbox tooltip: 'Show this module when the user has the specified roles. Otherwise the user must have the roles specified by both the application menu and the module.'

The following is true for the Override application menu roles configuration option when configuring a module:

Users with the module role but without access to the application menu access the module. This is true because the Override application menu roles option allows users to bypass the application menu role requirement and access the module directly if they have the module role. For example, if a module has the itil role and the Override application menu roles option enabled, and the application menu has the admin role, then a user who has the itil role but not the admin role can still access the module.

The following are not true for the Override application menu roles configuration option when configuring a module:

Self-Service users can access the module even though they do not have roles. This is false because the Override application menu roles option does not grant access to the module to users who do not have any roles. Self-Service users are users who do not have any roles assigned to them and can only access the Self-Service portal and the Knowledge Base. To access the module, users need to have at least the module role.

Admin is given access to the module even if Access Controls would ordinarily prevent access. This is false because the Override application menu roles option does not override the Access Control (ACL) rules that apply to the module. Access Control rules are used to restrict the access to the data and functionality of the ServiceNow platform based on the user's roles and conditions. Admin is a role

Which platform feature can be used to determine the relationships between field in an Import Set table to field in an existing ServiceNow table?

A.
Business Service Management Map
A.
Business Service Management Map
Answers
B.
Data Sources
B.
Data Sources
Answers
C.
Transform Map
C.
Transform Map
Answers
D.
Cl Relationship Builder
D.
Cl Relationship Builder
Answers
Suggested answer: C

Explanation:

A transform map determines the relationships between fields displaying in an Import Set table and fields in an existing ServiceNow table, such as the Incidents or Users table.

The following platform feature can be used to determine the relationships between fields in an Import Set table to fields in an existing ServiceNow table:

Transform Map. This is a feature that defines the mapping between the fields of an Import Set table and the fields of a target table, such as incident, problem, or user. A transform map also specifies the logic and rules for transforming the imported data, such as coalescing, scripting, or applying data policies.

The following platform features are not used to determine the relationships between fields in an Import Set table to fields in an existing ServiceNow table:

Business Service Management Map. This is a feature that provides a graphical representation of the configuration items (CIs) and their relationships in the Configuration Management Database (CMDB). A Business Service Management Map can be used to visualize the impact of incidents, changes, or problems on the CIs and the services they support.

Data Sources. This is a feature that defines the connection and authentication information for an external data source, such as a file, a JDBC database, or a web service. A data source is used to import data from the external source into an Import Set table.

CI Relationship Builder. This is a feature that creates relationships between CIs in the CMDB based on predefined or custom rules. A CI Relationship Builder can be used to populate the CMDB with the dependencies and connections between the CIs.References:Transform Maps, Business Service Management Map, Data Sources, CI Relationship Builder

When configuring a REST Message, the Endpoint is:

A.
The commands to the REST script to stop execution
A.
The commands to the REST script to stop execution
Answers
B.
The URI of the data to be accessed, queried, or modified
B.
The URI of the data to be accessed, queried, or modified
Answers
C.
Information about the format of the returned data
C.
Information about the format of the returned data
Answers
D.
The response from the provider indicating there is no data to send back
D.
The response from the provider indicating there is no data to send back
Answers
Suggested answer: B

Explanation:

When configuring a REST Message, the Endpoint is:

The URI of the data to be accessed, queried, or modified. This is the correct answer because the Endpoint is the part of the REST Message that specifies the location and the resource of the REST provider. The Endpoint is composed of the base URL and the resource path, which can include query parameters or variables. For example, the Endpoint for a REST Message that retrieves the weather information for a city from a web service could be https://api.openweathermap.org/data/2.5/weather?q=London.

The following are not correct definitions of the Endpoint when configuring a REST Message:

The commands to the REST script to stop execution. This is not correct because the commands to the REST script to stop execution are not part of the REST Message, but of the Scripted REST API, which is a feature that allows users to create custom REST endpoints on the ServiceNow platform. The commands to the REST script to stop execution are methods of the RESTAPIResponse object, such as setStatusCode, setError, or complete.

Information about the format of the returned data. This is not correct because the information about the format of the returned data is not part of the Endpoint, but of the HTTP headers or the Accept field of the REST Message. The HTTP headers or the Accept field can be used to specify the content type of the response, such as JSON, XML, or HTML.

The response from the provider indicating there is no data to send back. This is not correct because the response from the provider indicating there is no data to send back is not part of the Endpoint, but of the HTTP status code or the response body of the REST Message. The HTTP status code or the response body can be used to indicate the result of the REST request, such as 200 OK, 404 Not Found, or 500 Internal Server Error.References:REST Messages, Scripted REST APIs

When evaluating Access Controls, ServiceNow searches and evaluates:

A.
Only for matches on the current table
A.
Only for matches on the current table
Answers
B.
Only for matches on the current field
B.
Only for matches on the current field
Answers
C.
From the most specific match to the most generic match
C.
From the most specific match to the most generic match
Answers
D.
From the most generic match to the most specific match
D.
From the most generic match to the most specific match
Answers
Suggested answer: C

Explanation:

When evaluating Access Controls, ServiceNow searches and evaluates:

From the most specific match to the most generic match. This is the correct answer because ServiceNow follows a top-down approach when evaluating Access Control (ACL) rules, which are used to restrict the access to the data and functionality of the ServiceNow platform based on the user's roles and conditions. ServiceNow starts with the most specific match, which is the field-level ACL rule, then moves to the table-level ACL rule, and finally to the global or * ACL rule. ServiceNow grants access if any of the ACL rules evaluates to true, and denies access if all of the ACL rules evaluate to false.

The following are not correct descriptions of how ServiceNow searches and evaluates Access Controls:

Only for matches on the current table. This is not correct because ServiceNow does not only look for matches on the current table, but also on the parent tables and the global or * table. For example, if there is no ACL rule for the incident table, ServiceNow will look for an ACL rule for the task table, which is the parent table of the incident table, and then for the global or * table, which is the parent table of all tables.

Only for matches on the current field. This is not correct because ServiceNow does not only look for matches on the current field, but also on the table that contains the field and the global or * table. For example, if there is no ACL rule for the short_description field on the incident table, ServiceNow will look for an ACL rule for the incident table, and then for the global or * table.

From the most generic match to the most specific match. This is not correct because ServiceNow does not follow a bottom-up approach when evaluating Access Controls, but a top-down approach, as explained above.References:Access Control Rules, ACL Evaluation Order

https://developer.servicenow.com/dev.do#!/learn/learning-plans/paris/new_to_servicenow/app_store_learnv2_securingapps_paris_access_controls_evaluation_order

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')
A.
g_form.hasRoleExactly('admin')
Answers
B.
gs.hasRole('admin')
B.
gs.hasRole('admin')
Answers
C.
g_form.hasRole('admin')
C.
g_form.hasRole('admin')
Answers
D.
gs.hasRoleExactly('admin')
D.
gs.hasRoleExactly('admin')
Answers
Suggested 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

From the list below, identify one reason an application might NOT be a good fit with ServiceNow.

The application:

A.
Needs workflow to manage processes
A.
Needs workflow to manage processes
Answers
B.
Requires ''as-is'' use of low-level programming libraries
B.
Requires ''as-is'' use of low-level programming libraries
Answers
C.
Requires reporting capabilities
C.
Requires reporting capabilities
Answers
D.
Uses forms extensively to interact with data
D.
Uses forms extensively to interact with data
Answers
Suggested answer: B

Explanation:

From the list below, the following is a reason an application might not be a good fit with ServiceNow:

Requires ''as-is'' use of low-level programming libraries. This is the correct answer because ServiceNow is a high-level platform that abstracts away the low-level details of the underlying infrastructure and technology stack. ServiceNow provides a rich set of APIs, tools, and features that allow users to develop applications without coding or with minimal coding. However, ServiceNow does not support the direct

Total 199 questions
Go to page: of 20