Free CAD Exam Braindumps (page: 8)

Page 8 of 70

In a Business Rule, which one of the following returns true if the currently logged in user has the admin role?

  1. g_form.hasRoleExactly(`admin')
  2. gs.hasRole(`admin')
  3. g_form.hasRole(`admin')
  4. gs.hasRoleExactly(`admin')

Answer(s): 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.


Reference:

Business Rules, GlideSystem, GlideForm



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

The application:

  1. Needs workflow to manage processes
  2. Requires "as-is" use of low-level programming libraries
  3. Requires reporting capabilities
  4. Uses forms extensively to interact with data

Answer(s): 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



Identify the incorrect statement about Delegated Development in ServiceNow.

  1. Administrators can grant non-admin users the ability to develop global applications.
  2. Administrators can specify which application file types the developer can access.
  3. Administrators can grant the developer access to script fields.
  4. Administrators can grant the developer access to security records.

Answer(s): A

Explanation:

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


Reference:

https://docs.servicenow.com/bundle/orlando-application- development/page/build/applications/ concept/c_DelegatedDevelopment.html 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.

[Advantages of Scoped Applications in ServiceNow], [Product Documentation | ServiceNow]



What is the REST API Explorer used to do?

  1. Practice using REST to interact with public data providers
  2. Find resources on the web for learning about REST
  3. Convert SOAP Message functions to REST methods
  4. Create sample code for sending REST requests to ServiceNow

Answer(s): 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.


Reference:

[Use the REST API Explorer - Product Documentation: Tokyo - ServiceNow], [Introduction to Scripted REST APIs - ServiceNow Developers]


https://developer.servicenow.com/dev.do#!/learn/courses/newyork/ app_store_learnv2_rest_newyork_rest_integrations/
app_store_learnv2_rest_newyork_inbound_rest_integrations/ app_store_learnv2_rest_newyork_introduction_to_the_rest_api_explorer



Page 8 of 70



Post your Comments and Discuss ServiceNow® CAD exam with other Community members:

sandy commented on December 27, 2024
good content
Anonymous
upvote

Sumeet G Hongekar commented on December 21, 2024
I am eger to write cad exaam
UNITED STATES
upvote

Jeff commented on November 25, 2024
Wrote the exam and completed it in 15 minutes and pass with flying colours. One question was on what happens to a list when a new field is added to a table.
CANADA
upvote

sam commented on November 22, 2024
practice for cad
RESERVED
upvote

Prathamesh Chandrakant Shembade commented on November 08, 2024
I am eger to write cad exaam
EUROPEAN UNION
upvote

Prathamesh Chandrakant Shembade commented on November 08, 2024
practice for cad
UNITED STATES
upvote

Sumitra commented on November 03, 2024
I am eager to write CAD exam
Anonymous
upvote

Bannor commented on October 11, 2024
This exam is valid and legit. I purchased the full version last week and managed to pass. There are 2 or 3 wrong answers which I reported to the admin and they fixed it right away.
CANADA
upvote

Marko commented on October 11, 2024
Been using this website for a while now. I am a big fun as it has helped me pass 3 exams so far. I hope they can keep the site live.
EUROPEAN UNION
upvote

Jeff commented on October 01, 2024
Question 11 is Form Choice (Answer D) - explanation is examining the answer
CANADA
upvote

Sravani commented on September 01, 2024
Gud practice
UNITED STATES
upvote

vikas commented on August 29, 2024
Very useful
Anonymous
upvote

Bimal commented on July 15, 2024
I am returning user of this site. They provide accurate and useful study guides and give a good discount.
INDIA
upvote

Pooja commented on July 04, 2024
Very useful
Anonymous
upvote

Samantha commented on May 03, 2024
Managed to pass this exam. The exam is extremely hard. So you need to study these questions and memorize all of them in order to pass.
UNITED STATES
upvote

Revanthi commented on January 12, 2024
Good content
Anonymous
upvote

Ghazel commented on December 10, 2023
I would prefer get some discussion between members behind every question
FRANCE
upvote

M Somasekhar commented on December 09, 2023
good material
Anonymous
upvote

a concerned tester commented on October 13, 2023
Question 8 is wrong. weight value of zero is alwayse sent
UNITED STATES
upvote

Stag9 commented on July 20, 2023
Surely, have been helpful! an add on layer of confidence before exam.
UNITED STATES
upvote

Spivery commented on March 14, 2023
I did not have much time to study, but this exam dump made it possible for me to pass. I will buy again.
GERMANY
upvote

GIOVANNY commented on March 14, 2023
I memorized the questions from this exam dumps,and it helped me easily pass my exam with flying color.
UNITED STATES
upvote

Elio commented on September 15, 2021
I wrote and passed my exam! I got an 84% and thank you for your exam dumps questions. Could not have done it without this braindumps.
UNITED KINGDOM
upvote