Latest Dec-2024 CAD Dumps PDF And Certification Training [Q89-Q104]

Share

Latest Dec-2024 CAD Dumps PDF And Certification Training

Check your preparation for ServiceNow CAD On-Demand Exam


ServiceNow is a cloud-based platform that provides various IT services to organizations across the world. The platform offers a wide range of features that enable businesses to manage their IT operations, including IT service management, IT operations management, and IT business management. ServiceNow has become an essential tool for businesses that want to streamline their IT operations and improve productivity. ServiceNow CAD (Certified Application Developer) Certification Exam is designed to test an individual's knowledge and expertise in developing applications on the ServiceNow platform.

 

NEW QUESTION # 89
Access Control debug information identifies whether each element of an Access Control granted or denied access. The elements appear in the debug information in the order of evaluation. In which order are the elements of an Access Control evaluated?

  • A. Conditions, Script, Roles
  • B. Script, Conditions, Roles
  • C. Roles, Conditions, Script
  • D. Conditions, Roles, Script

Answer: C

Explanation:
"The sequence is ROLES first, then condition, then script." - Chuck Tomasi says so at this link: https://www.servicenow.com/community/grc-forum/order-of-execution-of-an-acl/m-p/1311962/highlight/true#M6538


NEW QUESTION # 90
Which one of the following is NOT a method used for logging messages in a server-side script for a privately- scoped application?

  • A. gs.log()
  • B. gs.error()
  • C. gs.debug()
  • D. gs.warn()

Answer: A

Explanation:
Explanation/Reference: https://community.servicenow.com/community?
id=community_question&sys_id=bd71cb29db98dbc01dcaf3231f9619c6


NEW QUESTION # 91
When evaluating Access Controls, ServiceNow searches and evaluates:

  • A. From the most generic match to the most specific match
  • B. From the most specific match to the most generic match
  • C. Only for matches on the current table
  • D. Only for matches on the current field

Answer: B

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 incidenttable, 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_se


NEW QUESTION # 92
Which method is used to retrieve Application Property values in a script?

  • A. g_form.getAppProperty()
  • B. gs.getAppProperty()
  • C. g_form.getProperty()
  • D. gs.getProperty()

Answer: D

Explanation:
https://developer.servicenow.com/dev.do#!/learn/learning-plans/tokyo/new_to_servicenow/app_store_learnv2_a


NEW QUESTION # 93
Which of the following is true for the Application Picker and Application Scope?

  • A. Selecting application from the Application Picker does not set the Application Scope.
  • B. Global is a reserved application which does not appear in the Application Picker
  • C. Selecting an application from the Application Picker sets the Application Scope
  • D. Selecting Global in the Application Picker sets the Application Scope to incident

Answer: C

Explanation:
"Application developers must select an application as their current scope context."https://docs.servicenow.com/bundle/tokyo-application-development/page/build/applications/task/t_Sele


NEW QUESTION # 94
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 c and d
  • B. a b and d
  • C. b c and d
  • D. a b and c

Answer: B

Explanation:
Creating applications in ServiceNow can help businesses replace outdated, inadequate, custom business applications and processes, extend service delivery and management to all enterprise departments, and extend the value of ServiceNow by leveraging its platform capabilities and integrations1234.
References = 1: What are Application Services? - ServiceNow 2: What is Application Development? - ServiceNow 3: Custom Applications in ServiceNow - The Cloud People 4: Build Custom Apps in ServiceNow
- eBook - ServiceNow


NEW QUESTION # 95
Which of the following steps can be used to import new data into ServiceNow from a spreadsheet?

  • A. Select Data Source, Schedule Transform
  • B. Load Data, Create Transform Map, Run Transform Most Voted
  • C. Select Import Set, Select Transform Map, Run Transform
  • D. Define Data Source, Select Transform Map, Run Transform

Answer: B

Explanation:
The steps to import new data into ServiceNow from a spreadsheet are: Load Data, Create Transform Map, Run Transform. Load Data is the process of uploading the spreadsheet file and creating an Import Set table that contains the data to be imported. Create Transform Map is the process of defining how the fields from the Import Set table map to the fields of the target table in ServiceNow. Run Transform is the process of executing the Transform Map and copying the data from the Import Set table to the target table. Reference: Import sets, Transform maps


NEW QUESTION # 96
Which of the following methods are useful in Access Control scripts?

  • A. gs.hasRole() and current.isNewRecord()
  • B. g_user.hasRole() and current.isNew()
  • C. g_user.hasRole() and current.isNewRecord()
  • D. gs.hasRole() and current.isNew()

Answer: A

Explanation:
Access Control scripts are server-side scripts that run when an Access Control rule is evaluated. They can use the gs and current objects to access the GlideSystem and GlideRecord methods, respectively. Some of the useful methods in Access Control scripts are:
gs.hasRole() - This method checks if the current user has a specified role. It returns true if the user has the role, and false otherwise. For example, gs.hasRole('admin') will return true if the user is an administrator, and false otherwise.
current.isNewRecord() - This method checks if the current record is a new record that has not been inserted into the database yet. It returns true if the record is new, and false otherwise. For example, current.isNewRecord() will return true if the record is being created, and false if the record is being updated or deleted.
The methods g_user.hasRole() and current.isNew() are not part of the server-side scripting API. They are part of the client-side scripting API, which is used in Client Scripts and UI Policies. They cannot be used in Access Control scripts.
Reference:
[Access Control scripts]
[GlideSystem methods]
[GlideRecord methods]


NEW QUESTION # 97
How must Application Access be configured to prevent all other private application scopes from creating configuration records on an application's data tables?

  • A. Set the Accessible from field value to This application scope only and de-select the Allow access to this table via web services option
  • B. Set the Accessible from field value to All application scopes and de-select the Can create option
  • C. Set the Accessible from field value to This application scope only
  • D. You must create Access Controls to prevent all other application scopes from creating configuration records on an application's data tables rather than using Application Access

Answer: D

Explanation:
Explanation/Reference: https://docs.servicenow.com/bundle/orlando-application-development/page/build/applications/ concept/c_ExampleGrantingAccessToConfigRecs.html


NEW QUESTION # 98
Which one of the following objects CANNOT be used in a Script Action script?

  • A. event
  • B. previous
  • C. GlideRecord
  • D. current

Answer: B

Explanation:
https://docs.servicenow.com/bundle/tokyo-platform-administration/page/administer/platform-events/reference/r_


NEW QUESTION # 99
When configuring a REST Message, the Endpoint is:

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

Answer: A

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 dat
a. 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. Reference: REST Messages, Scripted REST APIs


NEW QUESTION # 100
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 database capacity
  • B. Business problem, data input/output, project schedule, and process steps
  • C. Business problem, users/stakeholders, available licenses, and database capacity
  • D. Business problem, data input/output, users/stakeholders, and process steps

Answer: D

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


NEW QUESTION # 101
The source control operation used to store local changes on an instance for later application is called a(n)
<blank>.

  • A. Tag
  • B. Update set
  • C. Branch
  • D. Stash

Answer: C

Explanation:
The source control operation used to store local changes on an instance for later application is called a stash. A stash is a temporary storage area for uncommitted changes that are not ready to be pushed to a remote repository. Developers can use stashes to save their work in progress without committing it to the local repository or discarding it. Stashes can be applied later to restore the changes to the working directory, or dropped if they are no longer needed. References: [ServiceNow Docs - Stash local changes], [ServiceNow Docs - Source control]


NEW QUESTION # 102
Which one of the following is true for this script fragment?
g_user.hasRole(,x_my_app_user');

  • A. The method returns true if the currently logged in user has the x_my_app_user role or the admin role
  • B. The method returns false only if the currently logged in user has the x_my_app_user role
  • C. There is no g_user.hasRole() method
  • D. The method returns true only if the currently logged in user has the x_my_app_user role

Answer: A

Explanation:
The statement that is true for this script fragment is that the method returns true if the currently logged in user has the x_my_app_user role or the admin role. The g_user.hasRole() method is a client-side method that checks whether the current user has a specified role or set of roles. If no role is specified, it returns true if the user has any role. If one or more roles are specified, it returns true if the user has any one of the specified roles. However, this method always returns true if the user has the admin role, regardless of the role parameter.
Therefore, in this case, the method returns true if the user has either the x_my_app_user role or the admin role.
Reference: User Object Cheat Sheet, Checking user permissions


NEW QUESTION # 103
A scoped application containing Flow Designer content dedicated to a particular application is called a(n):

  • A. Spoke
  • B. Flow
  • C. Bundle
  • D. Action

Answer: A

Explanation:
https://docs.servicenow.com/bundle/paris-servicenow-platform/page/administer/flow-designer/concept/spokes.html A spoke is a scoped application containing Flow Designer content dedicated to a particular application or record type. Flow Designer provides a set of core actions to automate Now Platform® processes. You can add application-specific core actions by activating the associated spoke.


NEW QUESTION # 104
......

Valid CAD Dumps for Helping Passing ServiceNow Exam: https://actualtests.vceprep.com/CAD-latest-vce-prep.html