ExamGecko
Home Home / ServiceNow / CAD

ServiceNow CAD Practice Test - Questions Answers, Page 4

Question list
Search
Search

Identify the incorrect statement about Delegated Development in ServiceNow.

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

Explanation:

Administrators can grant non-admin users the ability to develop global applications. Delegated Development is for the scoped applications only

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]

One of the uses of the ServiceNow REST API Explorer is:

A.
Practice using REST to interact with public data providers
A.
Practice using REST to interact with public data providers
Answers
B.
Find resources on the web for learning about REST
B.
Find resources on the web for learning about REST
Answers
C.
Convert SOAP Message functions to REST methods
C.
Convert SOAP Message functions to REST methods
Answers
D.
Create sample code for sending REST requests to ServiceNow
D.
Create sample code for sending REST requests to ServiceNow
Answers
Suggested 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]

Which one of the following is true regarding Application Scope?

A.
All applications are automatically part of the Global scope
A.
All applications are automatically part of the Global scope
Answers
B.
Applications downloaded from 3rd party ServiceNow application developers cannot have naming conflicts
B.
Applications downloaded from 3rd party ServiceNow application developers cannot have naming conflicts
Answers
C.
Any developer can edit any application
C.
Any developer can edit any application
Answers
D.
Developers can choose the prefix for a scope's namespace
D.
Developers can choose the prefix for a scope's namespace
Answers
Suggested answer: B

Explanation:

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

The correct statement regarding Application Scope is that applications downloaded from 3rd party ServiceNow application developers cannot have naming conflicts. Application Scope is a feature that identifies and isolates applications and their related artifacts from other applications. Each scoped application has a unique namespace identifier that consists of a prefix and a scope name. This prevents cross-application name collisions and ensures that only authorized scripts can access or modify data in a scoped application. References: [Product Documentation | ServiceNow], [How To Create a Scoped App in ServiceNow - YouTube]

Which one of the following is the baseline behavior of a table in a privately-scoped application?

A.
The table and its data are not accessible using web services
A.
The table and its data are not accessible using web services
Answers
B.
Any Business Rule can read, write, delete, and update from the table
B.
Any Business Rule can read, write, delete, and update from the table
Answers
C.
Only artifacts in the table's application can read from the table
C.
Only artifacts in the table's application can read from the table
Answers
D.
All application scopes can read from the table
D.
All application scopes can read from the table
Answers
Suggested answer: D

Explanation:

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

The baseline behavior of a table in a privately-scoped application is that all application scopes can read from the table. A privately-scoped application is an application that restricts write access to its tables and resources to scripts within the same scope. However, read access is allowed by default for all scopes, unless the administrator explicitly denies it using an Access Control rule. This allows for data sharing between different applications while maintaining data integrity and security. References: [Product Documentation | ServiceNow], [Advantages of Scoped Applications in ServiceNow]

Which one of the following is NOT a purpose of application scoping?

A.
Provide a relationship between application artifacts
A.
Provide a relationship between application artifacts
Answers
B.
Provide a way of tracking the user who developed an application
B.
Provide a way of tracking the user who developed an application
Answers
C.
Provide a namespace (prefix and scope name) to prevent cross application name collisions
C.
Provide a namespace (prefix and scope name) to prevent cross application name collisions
Answers
D.
Provide controls for how scripts from another scope can alter tables in a scoped application
D.
Provide controls for how scripts from another scope can alter tables in a scoped application
Answers
Suggested answer: B

Explanation:

The purpose of application scoping is NOT to provide a way of tracking the user who developed an application. Application scoping does not store or display information about the user who created or modified an application or its artifacts. The purpose of application scoping is to provide a relationship between application artifacts, provide a namespace to prevent cross-application name collisions, and provide controls for how scripts from another scope can alter tables in a scoped application. References: [Product Documentation | ServiceNow], [Advantages of Scoped Applications in ServiceNow]

It is best practice to define the business requirements and the process(es) an application will manage as part of the application development plan. What are some of the considerations to document as part of the business process?

A.
Business problem, data input/output, users/stakeholders, and process steps
A.
Business problem, data input/output, users/stakeholders, and process steps
Answers
B.
Business problem, data input/output, project schedule, and process steps
B.
Business problem, data input/output, project schedule, and process steps
Answers
C.
Business problem, data input/output, users/stakeholders, and database capacity
C.
Business problem, data input/output, users/stakeholders, and database capacity
Answers
D.
Business problem, users/stakeholders, available licenses, and database capacity
D.
Business problem, users/stakeholders, available licenses, and database capacity
Answers
Suggested answer: A

Explanation:

It is best practice to define the business requirements and the process(es) an application will manage as part of the application development plan. The following are some of the considerations to document as part of the business process:

Business problem. This is the description of the problem or opportunity that the application is intended to address or exploit. It should include the background, context, scope, and objectives of the problem or opportunity.

Data input/output. This is the specification of the data that the application will need to collect, store, manipulate, and display. It should include the data sources, formats, validations, transformations, and integrations of the data.

Users/stakeholders. This is the identification of the users and stakeholders who will be involved in or affected by the application. It should include the roles, responsibilities, expectations, and needs of the users and stakeholders.

Process steps. This is the definition of the steps and activities that the application will perform or support. It should include the inputs, outputs, triggers, conditions, and outcomes of each step or activity.

The following are not some of the considerations to document as part of the business process:

Project schedule. This is the estimation of the time and resources required to complete the application development project. It should include the milestones, deliverables, dependencies, and risks of the project. This is not part of the business process, but part of the project management plan.

Database capacity. This is the measurement of the amount of data that the application will generate and store in the database. It should include the data volume, growth rate, retention policy, and backup strategy of the data. This is not part of the business process, but part of the technical design and architecture of the application.

Available licenses. This is the number and type of licenses that the application will consume or require from the ServiceNow platform. It should include the license model, cost, and allocation of the licenses. This is not part of the business process, but part of the financial and legal aspects of the application.References:Application Development Process, Business Process Analysis

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
A.
The parent table's Access Controls are evaluated when determining access to the new table's records and fields
Answers
B.
The new table inherits the functionality built into the parent table
B.
The new table inherits the functionality built into the parent table
Answers
C.
The new table inherits all of the fields from the parent table
C.
The new table inherits all of the fields from the parent table
Answers
D.
You must script and configure all required behaviors
D.
You must script and configure all required behaviors
Answers
Suggested 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

Which of the following CANNOT be debugged using the Field Watcher?

A.
Business Rules
A.
Business Rules
Answers
B.
Script Includes
B.
Script Includes
Answers
C.
Client Scripts
C.
Client Scripts
Answers
D.
Access Controls
D.
Access Controls
Answers
Suggested answer: D

Explanation:


Which objects can be used in Inbound Action scripts?

A.
current and previous
A.
current and previous
Answers
B.
current and email
B.
current and email
Answers
C.
current and event
C.
current and event
Answers
D.
current and producer
D.
current and producer
Answers
Suggested 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]

Which one of the following is part of the client-side scripting API?

A.
workflow.scratchpad
A.
workflow.scratchpad
Answers
B.
GlideUser object (g_user)
B.
GlideUser object (g_user)
Answers
C.
current and previous objects
C.
current and previous objects
Answers
D.
GlideSystem object (gs)
D.
GlideSystem object (gs)
Answers
Suggested answer: B

Explanation:

https://developer.servicenow.com/dev.do#!/reference/api/rome/client

The GlideUser object (g_user) is part of the client-side scripting API that provides information about the current user and the user's preferences. It can be used in Client Scripts and UI Policies to customize the user interface based on the user's role, language, time zone, etc. The workflow.scratchpad object is only available in Workflow scripts, which are used to automate processes on the platform. The current and previous objects are only available in server-side scripts, such as Business Rules and Script Includes. The GlideSystem object (gs) is also a server-side object that provides methods for logging, debugging, date and time calculations, etc.

References:

[GlideUser object (g_user)]

[Workflow scripts]

[Business Rules]

Script Includes

[GlideSystem object (gs)]

Total 199 questions
Go to page: of 20