CAD | The Secret Of ServiceNow CAD Prep

We provide real CAD exam questions and answers braindumps in two formats. Download PDF & Practice Tests. Pass ServiceNow CAD Exam quickly & easily. The CAD PDF type is available for reading and printing. You can print more and practice many times. With the help of our ServiceNow CAD dumps pdf and vce product and material, you can easily pass the CAD exam.

Free CAD Demo Online For ServiceNow Certifitcation:

NEW QUESTION 1
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’)
  • B. gs.hasRole(‘admin’)
  • C. g_form.hasRole(‘admin’)
  • D. gs.hasRoleExactly(‘admin’)

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

NEW QUESTION 2
What are the ways to designate data tables when Guided Application Creator (GAC)?
Choose 3 answers

  • A. Upload an existing PDF
  • B. Create a new table on the platform
  • C. Use an existing table on the platform
  • D. Upload an existing spreadsheet
  • E. Upload an existing word processing document.
  • F. Use a freeform database

Answer: ABD

Explanation:
The Guided Application Creator (GAC) is a tool that helps you create applications on the ServiceNow platform by guiding you through the steps of defining the data model, user interface, and logic. When using the GAC, you can designate data tables in three ways:
✑ Upload an existing PDF: You can upload a PDF file that contains the table schema and sample data. The GAC will parse the PDF and create the table and fields based on the file content.
✑ Create a new table on the platform: You can create a new table on the platform by specifying the table name, label, and description. You can also add fields, indexes, and relationships to the table using the GAC.
✑ Upload an existing spreadsheet: You can upload a spreadsheet file that contains the table schema and sample data. The GAC will parse the spreadsheet and create the table and fields based on the file content.
The other options are not valid ways to designate data tables when using the GAC. You cannot upload an existing word processing document or use a freeform database. You can use an existing table on the platform, but you cannot designate it as a data table. You can only use it as a reference table for lookup fields.
References:
✑ Guided Application Creator
✑ Create a table from a PDF or spreadsheet
✑ Create a table from scratch

NEW QUESTION 3
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>";
  • B. Create an application property to store the URL
  • C. Write a script in the Record Producer's Script field: producer.redirect = "<URL>";
  • D. Configure the page in the Module that opens the Record Producer Ul

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

NEW QUESTION 4
Which one of the following is NOT true for Modules?

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

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

NEW QUESTION 5
Which one of the following is true?

  • A. A UI Policy’s Actions execute before the UI Policy’s Scripts
  • B. The execution order for a UI Policy’s Scripts and Actions is determined at runtime
  • C. A UI Policy’s Scripts execute before the UI Policy’s Actions
  • D. A UI Policy’s Actions and Scripts execute at the same time

Answer: A

Explanation:
Created UI policy on incident form, action set's cmdb_ci field as mandatory and script as not. result, field was not mandatory.
A UI Policy’s Actions execute before the UI Policy’s Scripts. Actions are predefined operations that can be applied to fields or sections, such as making them mandatory, read- only, visible, or setting a default value. Scripts are custom JavaScript code that can be used to perform more complex logic or validations. Actions are executed first, and then Scripts are executed if the UI Policy conditions are met. References: [ServiceNow Docs - UI policy actions], [ServiceNow Docs - UI policy scripts]

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

  • A. Update
  • B. Delete
  • C. Create
  • D. Query

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]

NEW QUESTION 7
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
  • B. Any Business Rule can read, write, delete, and update from the table
  • C. Only artifacts in the table’s application can read from the table
  • D. All application scopes can read from the table

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]

NEW QUESTION 8
The task table is an example of which of the following? Choose 2 answers

  • A. Legacy class
  • B. Child class
  • C. Base class
  • D. Parent class

Answer: CD

Explanation:
"A table that extends another table is called a child class, and the table it extends is the parent class" - this is about halfway down in this link below: https://docs.servicenow.com/en-US/bundle/tokyo-platform-administration/page/administer/table-administration/concept/table-extension-and- classes.html

NEW QUESTION 9
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
  • B. Self-Service users can access the module even though they do not have roles
  • C. Admin is given access to the module even if Access Controls would ordinarily prevent access
  • D. Users with access to the application menu can see the module even if they don’t have the module role

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
Reference: https://hi.service-now.com/kb_view.do?sysparm_article=KB0716421

NEW QUESTION 10
What plugin enables the Guided Application Creator?

  • A. com.glide.sn-guided-app-creator
  • B. com.glide.service_creator
  • C. com.glide.snc.apps_creator
  • D. com.snc.apps_creator_template

Answer: A

Explanation:
"Guided Application Creator is enabled via the Guided Application Creator (com.glide.sn- guided-app-creator) plugin, which is active by default in the Now Platform." Located under "Activation Information" section at this URL:
https://docs.servicenow.com/en-US/bundle/tokyo-application-development/page/build/guided-app-creator/concept/guided-app-creator.html

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

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

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]

NEW QUESTION 12
Which of the following is an available feature in Studio? Choose 2 answers

  • A. Push to external source control
  • B. Search branch
  • C. Merge branches
  • D. Push to update set

Answer: BC

Explanation:
Search branch and merge branches are available features in Studio. Search branch allows you to search for a specific branch name or ID in your Git repository. Merge branches allows you to merge changes from one branch to another, resolving any conflicts that may arise. Push to external source control and push to update set are not available features in Studio. Push to external source control is a feature of Source Control Integration, which is a separate application from Studio. Push to update set is a feature of Update Set Previewer, which is also a separate application from Studio.
Reference: Studio, Source Control Integration, Update Set Previewer

NEW QUESTION 13
Which method call returns true only if the currently logged in user has the catalog_admin role and in no other case?

  • A. g_user.hasRole(‘catalog_admin’)
  • B. g_user.hasRoleExactly(‘catalog_admin’)
  • C. g_user.hasRoleOnly(‘catalog_admin’)
  • D. g_user.hasRoleFromList(‘catalog_admin’)

Answer: B

Explanation:
The method call that returns true only if the currently logged in user has the catalog_admin role and in no other case is g_user.hasRoleExactly(‘catalog_admin’). This method checks if the user has exactly one role, and returns true if it matches the argument. The other methods return true if the user has one or more roles, or if the user has any role from a list of arguments. References: [ServiceNow Docs - GlideUser API], [ServiceNow Community - Difference between hasRole() and hasRoleExactly()]
Reference: https://community.servicenow.com/community? id=community_QUESTION
NO:&sys_id=dff705e6db7757c0d58ea345ca96196b

NEW QUESTION 14
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
  • B. The Protection policy option can only be enabled by a user with the admin role
  • C. The Protection Policy is applied only if the glide.app.apply_protection system property value is true
  • D. The Protection Policy is applied only if the application is downloaded from the ServiceNow App Store

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

NEW QUESTION 15
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
  • B. The new table inherits the functionality built into the parent table
  • C. The new table inherits all of the fields from the parent table
  • D. You must script and configure all required behaviors

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

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

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

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
Reference: https://docs.servicenow.com/bundle/orlando-application- development/page/integrate/outbound- rest/reference/r_RESTMessageElements.html

NEW QUESTION 17
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. Define Data Source, Select Transform Map, Run Transform
  • D. Select Import Set, 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 18
......

Recommend!! Get the Full CAD dumps in VCE and PDF From Surepassexam, Welcome to Download: https://www.surepassexam.com/CAD-exam-dumps.html (New 135 Q&As Version)