{"id":15617,"date":"2026-09-18T06:09:54","date_gmt":"2026-09-18T06:09:54","guid":{"rendered":"https:\/\/www.examlabs.com\/certification\/?p=15617"},"modified":"2026-09-18T06:09:54","modified_gmt":"2026-09-18T06:09:54","slug":"servicenow-cad-practice-test-questions-and-exam-dumps-part5-q81-100","status":"publish","type":"post","link":"https:\/\/www.examlabs.com\/certification\/servicenow-cad-practice-test-questions-and-exam-dumps-part5-q81-100\/","title":{"rendered":"ServiceNow CAD Practice Test Questions and Exam Dumps Part5 Q81-100"},"content":{"rendered":"<h1><\/h1>\n<h2><b>View Full <\/b><a href=\"https:\/\/www.examlabs.com\/cad-exam-dumps\"><b>ServiceNow CAD Exam Dumps<\/b><\/a><b> and Practice Test Dumps.<\/b><\/h2>\n<p>&nbsp;<\/p>\n<h3><b>Question 81<\/b><\/h3>\n<p><b>Which ServiceNow feature allows developers to define a reusable set of fields and behaviors that can be inherited by child tables?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Application Menu<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Table Extension<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">UI Action<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Transform Map<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/b><\/p>\n<h3><b>Explanation<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Table extension allows a child table to inherit fields, relationships, and functionality from a parent table. This supports reuse and reduces the need to duplicate common fields across multiple tables. A classic example is task-based tables inheriting common attributes from the Task table. Application Menus organize navigation, UI Actions provide interactive buttons or links, and Transform Maps process imported data. Developers should carefully choose the parent table because inheritance affects the structure and behavior of the child table. Proper use of table extension can make an application more consistent and easier to maintain while taking advantage of existing ServiceNow functionality.<\/span><\/p>\n<h3><b>Question 82<\/b><\/h3>\n<p><b>Which API is commonly used to retrieve a record&#8217;s display value from a reference field?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">getValue()<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">getDisplayValue()<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">getReferenceValue()<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">getFieldValue()<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/b><\/p>\n<h3><b>Explanation<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">getDisplayValue()<\/span><span style=\"font-weight: 400;\"> method is commonly used to retrieve the human-readable display value of a field or referenced record. Reference fields internally store a unique identifier, such as a sys_id, but users generally see a display value such as a user&#8217;s name or a department name. Developers can use <\/span><span style=\"font-weight: 400;\">getValue()<\/span><span style=\"font-weight: 400;\"> when they need the underlying stored value and <\/span><span style=\"font-weight: 400;\">getDisplayValue()<\/span><span style=\"font-weight: 400;\"> when they need the value presented to users. Understanding the difference is important when building scripts, notifications, integrations, and user-facing messages. Using the correct method prevents confusion between internal identifiers and human-readable record information.<\/span><\/p>\n<h3><b>Question 83<\/b><\/h3>\n<p><b>Which feature is used to define server-side logic that runs when a database operation meets specified conditions?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Business Rule<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">UI Policy<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Client Script<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Form Section<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<h3><b>Explanation<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">A Business Rule defines server-side logic that can execute when a record is inserted, updated, deleted, or accessed depending on its configuration. Developers can specify conditions and execution timing such as Before, After, Async, or Display. Business Rules are useful for enforcing business logic, setting values, creating related records, and performing server-side processing. Client Scripts and UI Policies primarily control behavior in the browser, while Form Sections organize fields visually on a form. Business Rules should be designed carefully to avoid unnecessary processing, recursion, or performance problems, particularly when they operate on frequently updated tables.<\/span><\/p>\n<h3><b>Question 84<\/b><\/h3>\n<p><b>What does the <\/b><b>query()<\/b><b> method do when used with GlideRecord?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Creates a new table<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Executes the configured database query<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Deletes the current record<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Updates all matching records<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/b><\/p>\n<h3><b>Explanation<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">query()<\/span><span style=\"font-weight: 400;\"> method executes a GlideRecord query using the conditions previously defined with methods such as <\/span><span style=\"font-weight: 400;\">addQuery()<\/span><span style=\"font-weight: 400;\">. After the query executes, developers commonly use <\/span><span style=\"font-weight: 400;\">next()<\/span><span style=\"font-weight: 400;\"> to move through the returned records. For example, a script may create a GlideRecord object, add a condition for active records, call <\/span><span style=\"font-weight: 400;\">query()<\/span><span style=\"font-weight: 400;\">, and then process each result. The query method does not create tables, delete records, or update records. Those operations use different APIs. Understanding the normal GlideRecord sequence\u2014create the object, add conditions, query, iterate, and then perform required operations\u2014is fundamental to server-side ServiceNow development.<\/span><\/p>\n<h3><b>Question 85<\/b><\/h3>\n<p><b>Which feature allows a developer to create a custom REST-based integration from ServiceNow?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">REST Message<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">UI Policy<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Data Policy<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Dictionary Override<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<h3><b>Explanation<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">A REST Message can be configured to communicate with external systems through REST APIs. Developers can define endpoints, HTTP methods, authentication details, headers, query parameters, and request bodies. Server-side scripts can then use APIs such as RESTMessageV2 to send requests and process responses. This allows ServiceNow applications to exchange information with external services. UI Policies control form behavior, Data Policies enforce data requirements, and Dictionary Overrides adjust inherited field configuration. When implementing integrations, developers should also consider authentication, error handling, timeout behavior, response validation, and appropriate security practices to ensure reliable communication.<\/span><\/p>\n<h3><b>Question 86<\/b><\/h3>\n<p><b>Which HTTP method is commonly used to retrieve information from a REST API?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">POST<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">DELETE<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">GET<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">PATCH<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3<\/b><\/p>\n<h3><b>Explanation<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">The HTTP GET method is commonly used to retrieve information from a REST API without intending to modify the resource. In ServiceNow integrations, a REST Message can use GET to request information from an external endpoint. POST is generally associated with creating or submitting data, PATCH is commonly used for partial updates, and DELETE is used to remove a resource. Actual API behavior depends on the design of the external service, so developers should follow the API&#8217;s documented contract. Understanding HTTP methods is important when configuring REST integrations and determining how ServiceNow should interact with external systems.<\/span><\/p>\n<h3><b>Question 87<\/b><\/h3>\n<p><b>Which ServiceNow API is commonly used to make outbound REST calls from server-side scripts?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">RESTMessageV2<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">GlideREST<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">RESTClientScript<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">GlideHTTP<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<h3><b>Explanation<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">RESTMessageV2 is a commonly used server-side API for sending outbound REST requests from ServiceNow. Developers can create a RESTMessageV2 object, configure the endpoint or use a predefined REST Message record, set parameters or headers, execute the request, and process the returned response. This API supports integration scenarios where ServiceNow needs to communicate with external applications. Developers should handle authentication securely and include suitable error handling when working with external systems. The other listed names are not the standard API used for making outbound REST requests in ServiceNow server-side scripting.<\/span><\/p>\n<h3><b>Question 88<\/b><\/h3>\n<p><b>Which component controls the fields and layout presented to users when viewing or editing a record?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Transform Map<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Form Layout<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Script Include<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Scheduled Job<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/b><\/p>\n<h3><b>Explanation<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Form Layout is used to control which fields are displayed on a form and how they are arranged. Developers or administrators can add, remove, and organize fields and related elements to create a useful user experience. Form configuration can also involve form sections and views when different users need different presentations. Transform Maps are used during data imports, Script Includes contain reusable server-side logic, and Scheduled Jobs execute code at defined times. Form Layout does not itself provide security; access to fields and records must be controlled through mechanisms such as ACLs. Good form design helps users enter and review information efficiently.<\/span><\/p>\n<h3><b>Question 89<\/b><\/h3>\n<p><b>Which ServiceNow feature is used to define different presentations of the same form for different purposes?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Views<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Import Sets<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Events<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Script Actions<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<h3><b>Explanation<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Views allow different versions of a form or list layout to be presented for different contexts. A developer can configure a view to display particular fields and arrangements without changing the underlying table or record structure. This is useful when different user groups or application processes need different information displayed. Import Sets stage incoming data, Events trigger event-driven processing, and Script Actions execute server-side logic in response to events. Views should be designed carefully so that users receive the information relevant to their tasks without unnecessarily duplicating application configuration. They affect presentation rather than fundamentally changing the underlying data model.<\/span><\/p>\n<h3><b>Question 90<\/b><\/h3>\n<p><b>Which mechanism can be used to prevent unauthorized users from reading a particular field?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Client Script<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">ACL<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">UI Action<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Form Layout<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/b><\/p>\n<h3><b>Explanation<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">An Access Control List rule can restrict read access to a specific field based on roles, conditions, or scripts. Field-level ACLs are important when sensitive information should not be visible to users who lack appropriate permissions. Simply removing a field from a form or hiding it through a Client Script does not provide equivalent server-side security. UI Actions provide user interface controls, while Form Layout determines which fields are presented in a particular form configuration. Developers should design field-level security carefully and test it with appropriate user roles to ensure unauthorized users cannot access protected information through alternative interfaces or APIs.<\/span><\/p>\n<h3><b>Question 91<\/b><\/h3>\n<p><b>Which API can be used to check whether the current user has a particular role in a server-side script?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">gs.hasRole()<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">gs.checkRole()<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">current.hasRole()<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">user.isRole()<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<h3><b>Explanation<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">gs.hasRole()<\/span><span style=\"font-weight: 400;\"> method can be used in server-side scripts to determine whether the current user has a specified role. This can be useful when application logic needs to behave differently based on a user&#8217;s role. However, role checks inside scripts should not replace properly configured ACLs when the requirement is access control. ACLs provide the platform&#8217;s security enforcement mechanism for protected resources. GlideSystem is represented by the <\/span><span style=\"font-weight: 400;\">gs<\/span><span style=\"font-weight: 400;\"> object and provides many useful functions related to the current session and platform. Developers should use role checks appropriately and avoid implementing redundant security logic unnecessarily.<\/span><\/p>\n<h3><b>Question 92<\/b><\/h3>\n<p><b>Which ServiceNow component stores reusable client-side JavaScript that can be triggered by changes to a form?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Business Rule<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Client Script<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Script Action<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Scheduled Script Execution<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/b><\/p>\n<h3><b>Explanation<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Client Scripts contain JavaScript that runs in the user&#8217;s browser and can respond to form events such as loading a form, changing a field, or submitting a form. They are useful for dynamic user-interface behavior, such as changing field properties or validating information before submission. Business Rules and Script Actions execute server-side, while Scheduled Script Executions run according to a configured schedule. Client Scripts should not be relied upon as the only security mechanism because client-side code can potentially be bypassed. Important data protection and validation requirements should also be enforced through appropriate server-side controls.<\/span><\/p>\n<h3><b>Question 93<\/b><\/h3>\n<p><b>Which Business Rule timing is generally appropriate when related records should be created after the current record has been saved?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Before<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Display<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">After<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Client<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3<\/b><\/p>\n<h3><b>Explanation<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">An After Business Rule is commonly used when logic should execute after the current record has been saved and the database operation has occurred. This can be useful for creating or updating related records based on the newly committed state of the current record. Before Business Rules are better suited for modifying the current record before it is saved, while Display Business Rules prepare information for the client. There is no standard &#8220;Client&#8221; Business Rule timing because Business Rules are server-side components. Developers should consider transaction behavior and performance when creating related records from Business Rules.<\/span><\/p>\n<h3><b>Question 94<\/b><\/h3>\n<p><b>What is the purpose of an application scope&#8217;s cross-scope privilege?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">To control whether one application scope can access resources in another scope<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">To automatically create database indexes<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">To determine email recipients<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">To control form colors<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<h3><b>Explanation<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Cross-scope privileges help control interactions between different ServiceNow application scopes. A scoped application may need to access a resource belonging to another application scope, and the platform can require appropriate authorization for that interaction. This helps preserve application boundaries and reduces unintended access between applications. Cross-scope behavior is particularly important when developing reusable scoped applications or integrations between applications. Cross-scope privileges are unrelated to email recipients, database indexing, or visual form styling. Developers should understand scope boundaries when designing application dependencies because incorrectly configured cross-scope access can cause runtime errors or unintended application coupling.<\/span><\/p>\n<h3><b>Question 95<\/b><\/h3>\n<p><b>Which feature can be used to define a reusable server-side class with methods and properties?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Script Include<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">UI Policy<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Form View<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Notification<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<h3><b>Explanation<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">A Script Include can contain reusable server-side functions and classes with methods and properties. This makes Script Includes an important component for object-oriented or modular application development in ServiceNow. Developers can create a class that encapsulates business logic and then instantiate or call it from other server-side components. This approach helps separate reusable logic from individual triggers such as Business Rules. UI Policies manage form behavior, Form Views affect presentation, and Notifications communicate information to users. Well-designed Script Includes can reduce duplication, improve maintainability, and provide a consistent interface for application functionality.<\/span><\/p>\n<h3><b>Question 96<\/b><\/h3>\n<p><b>Which configuration determines the order in which certain application components such as Business Rules execute when multiple rules are applicable?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Order value<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Priority field<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Sequence number<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Sort order<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<h3><b>Explanation<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Business Rules include an Order value that helps determine the sequence in which applicable Business Rules execute. When multiple Business Rules apply to the same table and transaction, their execution order can affect the resulting behavior. Developers should avoid unnecessary dependencies between Business Rules because tightly coupled execution sequences can make applications difficult to maintain. The Order value provides a way to control execution sequence when necessary. Other platform components may use different ordering mechanisms, but Business Rules specifically use the Order field. Understanding execution order is particularly important when multiple rules modify the same fields or trigger related processing.<\/span><\/p>\n<h3><b>Question 97<\/b><\/h3>\n<p><b>Which feature is primarily used to test ServiceNow applications by simulating user interactions and validating expected results?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Automated Test Framework<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Import Set<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Data Policy<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Application Menu<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<h3><b>Explanation<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">The Automated Test Framework, or ATF, provides tools for testing ServiceNow applications and platform functionality through automated test steps. Tests can simulate actions such as opening records, setting field values, submitting forms, and validating results. Automated testing helps developers identify regressions after application changes and provides repeatable validation compared with performing the same checks manually. Import Sets are used for staging imported data, Data Policies enforce data requirements, and Application Menus organize navigation. Properly designed automated tests can improve development confidence and make application maintenance more efficient, especially when changes affect multiple parts of a system.<\/span><\/p>\n<h3><b>Question 98<\/b><\/h3>\n<p><b>Which field type is generally used when a record needs to reference another record in ServiceNow?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">String<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Reference<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Integer<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">True\/False<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/b><\/p>\n<h3><b>Explanation<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">A Reference field is used when one record needs to point to a record in another table. Internally, the field stores the unique identifier of the referenced record while presenting its display value to users. For example, an application could have a reference field that points to a user, department, location, or configuration item. Reference fields support relationships between application records and allow developers to retrieve information from referenced records. String fields store text, Integer fields store numeric values, and True\/False fields represent Boolean values. Reference fields are fundamental to relational application design in ServiceNow.<\/span><\/p>\n<h3><b>Question 99<\/b><\/h3>\n<p><b>Which mechanism is commonly used to store a configurable value that administrators may change without editing a script?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">System Property<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Client Script<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">UI Action<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Transform Script<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<h3><b>Explanation<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">System Properties provide a convenient way to store configurable values separately from application source code. Developers can retrieve these values in server-side scripts using GlideSystem methods such as <\/span><span style=\"font-weight: 400;\">gs.getProperty()<\/span><span style=\"font-weight: 400;\">. This allows administrators to adjust configuration without requiring developers to modify the script itself. Examples include configurable thresholds, feature switches, integration settings, or other application-specific values. Client Scripts control browser-side behavior, UI Actions provide interactive controls, and Transform Scripts are used during data transformation. Separating configuration from code generally makes applications easier to maintain across development, testing, and production environments.<\/span><\/p>\n<h3><b>Question 100<\/b><\/h3>\n<p><b>Which approach is generally recommended when writing a GlideRecord query?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Retrieve every record and filter it in JavaScript<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Use specific query conditions to retrieve only required records<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Run the same query repeatedly inside nested loops<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Avoid using indexed fields<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/b><\/p>\n<h3><b>Explanation<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Using specific query conditions helps ensure that GlideRecord retrieves only the records required by the application. This can reduce database workload, memory usage, and processing time. Developers should construct queries carefully, use appropriate indexed fields where beneficial, and avoid unnecessary database operations inside loops. Retrieving every record and filtering the results afterward is generally inefficient because unnecessary records have already been retrieved. Repeating identical queries inside nested loops can also cause significant performance problems. Efficient database access is an important part of ServiceNow development, particularly for Business Rules, scheduled scripts, integrations, and applications operating on large tables.<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>View Full ServiceNow CAD Exam Dumps and Practice Test Dumps. &nbsp; Question 81 Which ServiceNow feature allows developers to define a reusable set of fields and behaviors that can be inherited by child tables? Application Menu Table Extension UI Action Transform Map Correct Answer: 2 Explanation Table extension allows a child table to inherit fields, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1648,1647],"tags":[],"_links":{"self":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/15617"}],"collection":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/comments?post=15617"}],"version-history":[{"count":1,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/15617\/revisions"}],"predecessor-version":[{"id":15649,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/15617\/revisions\/15649"}],"wp:attachment":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/media?parent=15617"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/categories?post=15617"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/tags?post=15617"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}