Courseiva

CCNA Application development using ServiceNow Studio Questions

58 questions · Application development using ServiceNow Studio · All types, answers revealed

1
Multi-Selecthard

A developer is creating an application in ServiceNow Studio and needs to ensure that all new records created in a custom table are automatically assigned a number. Which THREE methods can be used to achieve this? (Choose three.)

Select 3 answers
A.Use a default value on the number field.
B.Use a flow with a create record action that sets the number.
C.Use a database view to generate numbers.
D.Use a client script to set the number on load.
E.Use a business rule with a script.
AnswersA, B, E

A default value, such as a function, can generate a number automatically.

Why this answer

Options A, B, and E are correct. A default value on the number field will automatically assign a number to new records. A flow with a create record action can set the number during record creation.

A business rule with a script can also assign a number on insert. Option C (database view) is incorrect because database views do not generate numbers; they are virtual tables that display data. Option D (client script) is unreliable as it runs client-side and can be bypassed, so it is not suitable for ensuring automatic numbering.

2
MCQeasy

A developer needs to create a custom application that tracks employee training completions. The application must allow managers to view a list of their direct reports' training records. Which ServiceNow Studio feature should be used to define the relationship between the Manager and Employee tables?

A.Create a Reference field on the Employee table pointing to the sys_user table.
B.Write a Business Rule to populate a manager field.
C.Configure an Access Control Rule (ACL) to filter records.
D.Use the GlideRecord API to join the tables in a script.
AnswerA

Correct: Reference fields define relationships between tables.

Why this answer

A Reference field on the Employee table pointing to the sys_user table establishes a direct database relationship between the employee record and their manager record. This allows the platform to automatically resolve the manager's user record and enables out-of-the-box features like dot-walking and related list displays in ServiceNow Studio.

Exam trap

The trap here is that candidates confuse runtime data manipulation (Business Rules, GlideRecord) with schema definition (Reference fields), or confuse security controls (ACLs) with data relationships, leading them to select options that address behavior rather than structure.

How to eliminate wrong answers

Option B is wrong because a Business Rule is procedural logic that runs on database operations (insert/update/delete) and does not define a persistent table relationship; it would only populate a field after the relationship structure already exists. Option C is wrong because an Access Control Rule (ACL) controls read/write permissions on records, not the structural relationship between tables. Option D is wrong because GlideRecord API is used for server-side scripting to query and manipulate data at runtime, not for defining static table relationships in the application schema.

3
MCQeasy

A developer is working on an application in Studio and needs to create a new table that extends a base table. Which step is essential?

A.Import the table from an update set.
B.Use the 'Create Application File' wizard and select 'Table'.
C.Use the Database Views module.
D.Define the table schema manually via script.
AnswerB

This is the standard method in Studio for creating tables.

Why this answer

In Studio, the recommended way to create a new table is using the 'Create Application File' wizard and selecting 'Table'. Options A and D are not Studio-specific methods, and C is not a standard creation approach.

4
Multi-Selectmedium

Which TWO statements are true about using ServiceNow Studio for application development?

Select 2 answers
A.Studio provides a guided interface to create application files such as tables, business rules, and client scripts.
B.Studio requires a separate HI (High-Impact) instance to develop applications.
C.When creating a new application in Studio, a new scope is automatically generated without user input.
D.Studio can only be used by users with the admin role.
E.Studio allows integration with source control systems like Git for version management.
AnswersA, E

Studio is designed to streamline creation of application artifacts.

Why this answer

ServiceNow Studio provides a guided, low-code interface that simplifies the creation of application artifacts such as tables, business rules, client scripts, UI policies, and more. It offers wizards and templates to help developers build components without needing to manually write all the underlying XML or JavaScript from scratch, making it ideal for rapid application development within the Now Platform.

Exam trap

The trap here is that candidates often assume Studio requires admin privileges or a special instance type, but in reality, Studio is designed for all application developers and works on any standard instance, and the scope creation process always requires user confirmation.

5
MCQhard

A developer has created a custom application and wants to ensure that all changes are captured in an update set for migration. Which practice should be followed?

A.Set the application to 'Published' to automatically create update sets.
B.Use the 'Update Sets' module to capture all changes from the application.
C.Use the 'Export to Update Set' feature in Studio.
D.Manually copy changes to another instance.
AnswerC

This creates a complete update set for the application.

Why this answer

In ServiceNow Studio, the 'Export to Update Set' feature allows developers to capture all changes made to an application and package them into an update set XML for migration. Option A is incorrect because setting an application to 'Published' does not automatically create update sets. Option B is incorrect because the 'Update Sets' module manages existing update sets, not capturing application changes.

Option D is incorrect because manually copying changes is error-prone and not a practice for migration.

6
MCQhard

A developer is building a flow in Flow Designer as part of a scoped application. The flow needs to trigger when a record is created in a specific table. Which trigger should be used?

A.'Record Created' trigger with a condition
B.'Event' trigger
C.'Application Record Created' trigger
D.'Scheduled' trigger
AnswerA

Correct trigger.

Why this answer

The 'Record Created' trigger fires when a new record is created in a specified table, which matches the requirement. Option B is incorrect because an 'Event' trigger requires a custom event to be published, not a record creation. Option C is incorrect because 'Application Record Created' is not a standard trigger in Flow Designer; the correct trigger for record creation is 'Record Created'.

Option D is incorrect because 'Scheduled' triggers are time-based and are not triggered by record creation.

7
MCQhard

A developer is building a custom application in ServiceNow Studio for IT asset management. The application includes a table 'Asset' with fields: asset_tag (string), serial_number (string), purchase_date (date), cost (currency), and status (choice: In Use, In Stock, Retired). The developer needs to create a business rule that automatically sets the status to 'Retired' when the cost is zero and the purchase_date is older than 5 years. The business rule should run before the record is saved to the database and should not prevent the save if conditions are not met. The developer writes the following business rule in Studio: Table: Asset, When: Before, Order: 100, Condition: current.cost == 0 && current.purchase_date < gs.yearsAgoStart(5). The script is: current.status = 'Retired'; However, the status is not being updated as expected. What is the most likely issue?

A.Replace gs.yearsAgoStart(5) with gs.yearsAgoEnd(5) to get the end of the year 5 years ago.
B.Change the table from 'Asset' to 'Asset [new]' as the business rule may be on the wrong table.
C.Increase the order of the business rule to 200 to ensure it runs after other rules.
D.Replace gs.yearsAgoStart(5) with gs.yearsAgo(5) to get the exact date 5 years ago.
AnswerD

gs.yearsAgo(5) returns the date exactly 5 years before the current date, which correctly implements 'older than 5 years'.

Why this answer

The issue is that `gs.yearsAgoStart(5)` returns the start of the year (January 1st) five years ago, not the exact date five years ago. This means a record with a purchase_date that is, for example, 5 years and 1 month old might still be after that start-of-year date and thus not match the condition. The correct method is `gs.yearsAgo(5)`, which returns the exact date and time five years ago, ensuring the comparison works as intended for any purchase_date older than 5 years.

Exam trap

The trap here is that candidates confuse `gs.yearsAgoStart()` and `gs.yearsAgoEnd()` with `gs.yearsAgo()`, not realizing that the 'Start' and 'End' variants are for fiscal or calendar year boundaries, not for exact date arithmetic.

How to eliminate wrong answers

Option A is wrong because `gs.yearsAgoEnd(5)` returns the end of the year (December 31st) five years ago, which would be even less restrictive than `gs.yearsAgoStart`, making the condition even less likely to match records that are exactly 5+ years old. Option B is wrong because the table name 'Asset' is correct; the business rule is defined on the 'Asset' table, and there is no indication the table is misnamed or that a '[new]' suffix is needed—Studio uses the actual table name. Option C is wrong because increasing the order does not fix the logic error; order only affects the sequence of execution among multiple business rules, but the condition itself is incorrect due to the wrong date function.

8
MCQmedium

A developer is building a custom application in ServiceNow Studio. The application requires a table that stores incident-like records but with additional custom fields. The developer wants to leverage existing functionality such as assignment rules, escalation, and SLA tracking. Which approach should the developer take?

A.Extend the Incident table and add custom fields to the extended table.
B.Clone the Incident table and rename it, then modify the clone.
C.Create a new table from scratch and manually add all necessary fields and business rules.
D.Use the Configuration Management Database (CMDB) to store the records.
AnswerA

Extending the Incident table inherits all existing features like assignment rules, escalation, and SLA tracking.

Why this answer

Extending the Incident table (Option A) is correct because it allows the developer to inherit all existing Incident functionality—such as assignment rules, escalation, and SLA tracking—while adding custom fields. In ServiceNow, table extension creates a child table that inherits all business rules, ACLs, and workflows from the parent, ensuring the custom application leverages the full Incident lifecycle without reimplementation.

Exam trap

The trap here is that candidates may think cloning or creating from scratch gives more control, but ServiceNow's extension model is the only way to inherit core functionality without manual rework, and the exam tests understanding that extension preserves parent-child relationships and system updates.

How to eliminate wrong answers

Option B is wrong because cloning the Incident table creates a separate, independent table that does not inherit future updates or patches to the Incident table, leading to maintenance overhead and potential divergence from core functionality. Option C is wrong because creating a table from scratch requires manually recreating all business rules, assignment rules, escalation logic, and SLA definitions, which is inefficient and error-prone, defeating the purpose of leveraging existing functionality. Option D is wrong because the CMDB is designed for configuration items (CIs) and their relationships, not for operational incident-like records; storing such records in the CMDB violates its data model and would not support assignment rules, escalation, or SLA tracking.

9
Multi-Selecteasy

Which TWO application file types can be exported as XML from Studio?

Select 2 answers
A.Business Rules
B.Reports
C.System Properties
D.UI Policies
E.Homepages
AnswersA, D

Correct. Business Rules are exportable application files.

Why this answer

Options A and D are correct because Business Rules and UI Policies are standard application files that can be exported as XML from Studio. Option B (Reports) is wrong because Reports are not application files; they are stored separately. Option C (System Properties) is wrong as they are configuration items, not exported via Studio.

Option E (Homepages) is wrong because Homepages are not application files and cannot be exported as XML from Studio.

10
MCQhard

A developer is creating a business rule that runs before a query to modify the query condition. Which event should be specified?

A.'before insert'
B.'after query'
C.'display'
D.'before query'
AnswerD

Correct event for modifying query.

Why this answer

The correct event to modify query conditions before a query runs is 'before query'. This event fires before the database query is executed, allowing the developer to modify the query condition. Option A ('before insert') is for record insertion, not queries.

Option B ('after query') fires after the query, so it is too late to modify conditions. Option C ('display') is related to form rendering, not queries.

11
MCQmedium

Refer to the exhibit. The above JSON represents an application manifest generated by Studio. What does the dependency on 'global' with version '>=3.0.0' indicate?

A.The application requires an update set from global scope.
B.The application must be installed on an instance with ServiceNow version 3.0.0 or later.
C.The application depends on another application with scope 'global' that must be at least version 3.0.0.
D.The application's global update set must be at version 3.0.0.
AnswerB

'global' scope with a version constraint indicates the minimum platform version.

Why this answer

In ServiceNow application manifests, a dependency on 'global' refers to the platform version (ServiceNow release). It means the application requires the instance to be at least version 3.0.0. Option A confuses update sets, C misinterprets scope, and D is incorrect.

12
Multi-Selectmedium

A developer is using ServiceNow Studio to deploy a custom application to a production instance. Which THREE actions are recommended best practices for deployment?

Select 3 answers
A.Use update sets to move the application to production.
B.Publish the application to the ServiceNow Store for deployment.
C.Test the application thoroughly in a sub-production instance before deployment.
D.Export the application as a scoped application archive (.snc) file.
E.Ensure all application dependencies are included in the export.
AnswersC, D, E

Testing in a non-production environment is critical.

Why this answer

Testing in a sub-production instance (e.g., development or test instance) is a fundamental best practice to validate application functionality, identify defects, and ensure stability before deploying to production. ServiceNow Studio integrates with update sets and scoped applications, but thorough testing in an isolated environment prevents disruptions to live services and data.

Exam trap

The trap here is that candidates may confuse update sets (which are suitable for platform customizations but not for scoped applications) with the recommended deployment method for Studio-created applications, or mistakenly think the ServiceNow Store is a valid internal deployment target.

13
MCQeasy

A developer wants to use ServiceNow Studio to create a client script that runs when a form loads and sets a field value based on the current user's department. Which type of client script should be used?

A.onLoad client script
B.onChange client script
C.onSubmit client script
D.onCellEdit client script
AnswerA

onLoad runs when the form is opened.

Why this answer

An onLoad client script runs automatically when a form is opened, making it the correct choice for setting a field value based on the current user's department at the time the form loads. This script type executes in the browser after the form data is retrieved but before the user interacts with the form, allowing immediate field population.

Exam trap

The trap here is that candidates may confuse onLoad with onChange, thinking a field change event is needed to set a value, but the requirement explicitly states 'when a form loads', which directly maps to the onLoad client script type.

How to eliminate wrong answers

Option B is wrong because an onChange client script triggers only when a specific field value changes, not when the form initially loads, so it cannot set the field value on form open. Option C is wrong because an onSubmit client script runs when the form is submitted, which is too late for setting a value on load. Option D is wrong because an onCellEdit client script is used in list or grid views for inline cell editing, not for form load events.

14
Multi-Selectmedium

Which THREE of the following are components that can be created directly within ServiceNow Studio?

Select 3 answers
A.Business Rule
B.Report
C.ACL
D.UI Macro
E.Flow
AnswersA, C, D

Created in Studio.

Why this answer

Options A, C, and D are correct: Business Rules, ACLs, and UI Macros can be created directly within ServiceNow Studio. Reports are created in the Reports module, and Flows are created in Flow Designer.

15
MCQhard

A developer encounters this error when running a business rule in a scoped application. The table 'x_myapp_incident' was created in the application scope and has records in it. What is the most likely cause?

A.The ACLs on the table restrict access for the script's user.
B.The business rule is trying to access a table in a different scope without using the 'global.' prefix.
C.The application was installed via an update set and the table was not included.
D.The table was removed from the application scope after creation.
AnswerD

If the table is removed from the scope, it becomes inaccessible.

Why this answer

When a table is removed from an application scope after creation, the table still exists in the instance but is no longer associated with the application. Business rules running in the scoped application cannot access tables that are not part of the application's scope, causing an error. This is because scoped applications enforce strict table visibility rules, and only tables explicitly included in the application scope are accessible.

Exam trap

ServiceNow often tests the distinction between a table not existing at all versus a table existing but being out of scope, leading candidates to mistakenly choose options about update sets or ACLs instead of recognizing the scope removal scenario.

How to eliminate wrong answers

Option A is wrong because ACLs control record-level access (read/write/delete), not the ability to reference a table in a script; a missing table error is a compile-time or runtime scope visibility issue, not an ACL denial. Option B is wrong because the table 'x_myapp_incident' already has the application's scope prefix, so it is not in a different scope; the error is about the table being removed from the current scope, not about missing a 'global.' prefix. Option C is wrong because if the application was installed via an update set and the table was not included, the table would simply not exist in the instance; the error message indicates the table exists (it has records) but is not accessible from the scoped application.

16
MCQmedium

A developer is creating a custom application in ServiceNow Studio and wants to ensure that the application can be easily installed in other instances without conflicts. Which approach should the developer follow?

A.Develop the application in global scope and manually copy components to target instances.
B.Use the 'Application' module in the navigator to create a new application without scope.
C.Create the application with a unique scope prefix in Studio and export as a scoped application.
D.Create the application in the global scope and use update sets for distribution.
AnswerC

Scoped applications provide isolation and easy distribution.

Why this answer

Creating an application with a unique scope prefix in ServiceNow Studio ensures that all application artifacts (tables, scripts, UI elements) are isolated within that scope, preventing naming conflicts with other applications. Exporting as a scoped application allows the application to be installed in other instances via the ServiceNow Store or manual import, preserving its scope isolation and dependencies.

Exam trap

The trap here is that candidates may think update sets (Option D) are a valid distribution method for custom applications, but update sets are designed for configuration changes in global scope and lack the isolation and dependency management that scoped applications provide.

How to eliminate wrong answers

Option A is wrong because developing in global scope and manually copying components to target instances bypasses the scope isolation mechanism, leading to potential naming conflicts and missing dependencies, and is not a supported distribution method. Option B is wrong because the 'Application' module in the navigator does not allow creating an application without a scope; all applications in ServiceNow must have a scope, and creating one without a scope is not possible. Option D is wrong because creating the application in global scope and using update sets for distribution does not provide scope isolation, and update sets can cause conflicts when applied to instances with existing customizations, unlike scoped applications which are self-contained.

17
Multi-Selecthard

A developer is creating a scoped application and needs to reference a global table (e.g., 'sys_user') from a business rule. Which TWO statements are true regarding cross-scope access?

Select 2 answers
A.Scoped applications can create records in global tables via GlideRecord without restrictions.
B.Scoped applications can call global script includes by default.
C.To write to a global table, the application must be granted the 'global' scope or have appropriate ACLs.
D.Scoped applications can update global tables without any additional configuration.
E.Scoped applications can read global tables using the 'global.' prefix.
AnswersC, E

Writing requires explicit permission.

Why this answer

Scoped applications operate within an access control framework that restricts direct writes to global tables. To write to a global table like 'sys_user', the application must either be granted the 'global' scope (which removes scoping restrictions) or have appropriate ACLs that explicitly allow the write operation. Without these, a scoped application's GlideRecord write will fail due to cross-scope access controls enforced by the ServiceNow platform.

Exam trap

ServiceNow often tests the misconception that scoped applications can freely read and write global tables with just the 'global.' prefix, but the trap is that the prefix only grants read access—writes always require additional ACLs or global scope assignment.

18
Multi-Selectmedium

Which TWO of the following are valid methods to create a new application scope in ServiceNow Studio?

Select 2 answers
A.Convert a global table to scoped.
B.Import an application from an update set.
C.Use the Application Creation Wizard.
D.Click 'Create Application' in the Studio dashboard.
E.Clone an existing application.
AnswersD, E

Primary method.

Why this answer

The valid methods to create a new application scope in ServiceNow Studio are clicking 'Create Application' in the Studio dashboard (D) and cloning an existing application (E). Options A, B, and C are not valid: converting a global table to scoped does not create an application scope; importing from an update set is for updating existing applications, not creating new ones; the Application Creation Wizard is not a method within Studio.

19
MCQeasy

Refer to the exhibit. What does this script do?

A.Does nothing because get returns false.
B.Updates the state of incident INC001234 to 2.
C.Creates a new incident.
D.Deletes the incident.
AnswerB

The script uses get() to fetch the record, setValue to change state, and update() to save.

Why this answer

The script retrieves the incident with number 'INC001234' using `get('number', 'INC001234')`, which returns a GlideRecord object. The `get` method returns true if the record exists and loads it into memory. Setting `state` to 2 (which corresponds to 'In Progress' or a similar value) modifies the record, and `update()` commits the change to the database.

Option A is incorrect because `get` returns true if the record is found, so it does do something. Option C would require using `insert()` after setting values, but not `get`. Option D would require `deleteRecord()`, not `update()`.

20
MCQeasy

A company needs to create a new application in ServiceNow Studio. What is the correct first step?

A.Navigate to System Applications > Studio and click 'Create Application'.
B.Open Studio from the left navigation menu, then click 'Create Application'.
C.Use the Application Navigator to create a new application.
D.Go to Application Files > New and select 'Application'.
AnswerB

Correct first step in Studio.

Why this answer

The correct first step because ServiceNow Studio is accessed from the left navigation menu, and then clicking 'Create Application' starts the application creation wizard. Option A is incorrect because navigating to System Applications > Studio is not the standard path; Studio is available directly. Option C is incorrect because the Application Navigator is used for navigating existing applications, not creating new ones.

Option D is incorrect because Application Files > New is for creating individual files within an application, not the application itself.

21
MCQmedium

A developer is working on a new application and wants to ensure all changes are tracked for deployment. The developer creates a new application in Studio and makes modifications. When the developer tries to create an update set, the application changes are not captured. The developer checks the application properties and sees the 'Update Set' field is set to 'Default'. The developer is in a scoped application. What is a possible reason?

A.The application is marked as 'Not in an update set'.
B.The application's scope is set to 'Global'.
C.The application is in a different phase.
D.The developer has not set the 'Update Set' field on the application.
AnswerD

Correct. The developer has not changed the 'Update Set' field from 'Default' to a specific update set, so changes are captured in the default update set rather than the new one.

Why this answer

The application's 'Update Set' field is set to 'Default', which means changes are captured in the session's default update set. However, since the developer is creating a new update set, the changes are not automatically captured in the new update set. The developer must explicitly set the application's 'Update Set' field to the newly created update set to capture changes there.

Option D is correct because the developer has not set this field to a specific update set, so changes continue to go to 'Default'. Options A, B, and C are incorrect: A is false because the field shows 'Default', not 'Not in an update set'; B is false because the application is scoped; C is false because phase does not affect update set capture.

22
MCQmedium

A company uses a scoped application to manage IT equipment. The application has a client script that calls a GlideRecord query on a large table. Recently, the script started showing 'Script exceeded maximum execution time' errors. The developer checks the Studio debugger and sees the query runs on the entire table without filters. The developer needs to fix this issue. The environment is production, and downtime must be minimized. Which course of action should the developer take?

A.Move the query to a Business Rule and use a client-callable API.
B.Increase the script execution timeout in system properties.
C.Use GlideAggregate with multiple queries.
D.Add an index on the table.
AnswerA

Correct. Offloading to server-side solves the timeout and improves performance.

Why this answer

Moving the query to a Business Rule and using a client-callable API (like GlideAjax) offloads the heavy processing to the server side, avoiding client-side timeouts. Option B is incorrect because increasing the script execution timeout only delays the issue and does not fix the root cause of the query running without filters. Option C is incorrect because GlideAggregate is used for aggregation functions like count, sum, etc., not for retrieving records; the problem is an unfiltered query, not aggregation.

Option D is incorrect because adding an index helps with performance for filtered queries, but if the query has no filters, an index does not help as it still needs to scan the entire table.

23
Multi-Selecthard

A developer is experiencing an issue where a client script is not executing in a scoped application. Which TWO of the following could be causing the issue?

Select 2 answers
A.The script has a syntax error.
B.The script is in the global scope but the application is scoped.
C.The user does not have the 'client_script_admin' role.
D.The script's 'Condition' is set to 'true'.
E.The script is using a global variable.
AnswersA, B

Will prevent execution.

Why this answer

Options A and B are correct. A syntax error (A) prevents the client script from executing. If the script is defined in the global scope but the application is scoped (B), the script may not be accessible due to ServiceNow scoping rules, causing it to not execute.

Option C is incorrect because the 'client_script_admin' role is not required for client scripts to run; roles affect administrative access to script records, not execution. Option D is incorrect because setting the condition to 'true' would cause the script to always execute, not prevent it. Option E is incorrect because using a global variable in a client script is allowed and does not prevent execution.

24
MCQhard

A large enterprise has multiple scoped applications that share common code. The developer created a shared application as a dependency. However, when updating the shared application, some dependent applications break. The developer needs to manage updates to the shared application without causing disruptions. The environment is under change control and requires approval for any deployment. Which approach is the best practice?

A.Use Semantic Versioning and test before update.
B.Create a separate update set for each dependent application.
C.Use update sets to track changes to the shared application.
D.Avoid shared dependencies and duplicate code in each application.
AnswerA

Correct. Semantic Versioning helps manage breaking changes.

Why this answer

Semantic Versioning allows developers to communicate the nature of changes (major, minor, patch) and test the shared application before updating dependencies, minimizing disruptions. Option B is wrong because creating separate update sets for each dependent application does not address version compatibility or testing. Option C is wrong because using update sets to track changes alone does not manage version compatibility or prevent breaks.

Option D is wrong because avoiding shared dependencies leads to code duplication and maintenance overhead, which is not a best practice.

25
MCQhard

A developer is designing a UI Policy that should run client-side but references a complex server-side calculation. Which approach is best?

A.Create a Business Rule and call it from UI Policy.
B.Use a client script with GlideAjax.
C.Use a UI Macro.
D.Use a UI Policy condition string.
AnswerB

Correct. GlideAjax enables server-side calls from client scripts.

Why this answer

The correct approach is to use a client script with GlideAjax (Option B) because UI Policies run client-side and cannot directly perform complex server-side calculations. GlideAjax allows asynchronous calls to a server-side script include, enabling the client script to retrieve the result of a complex server-side calculation without a page refresh. Option A is incorrect because Business Rules run server-side and cannot be called directly from a UI Policy; they are triggered by database operations.

Option C is incorrect because UI Macros are used for reusable UI components, not for server-side logic. Option D is incorrect because UI Policy condition strings are limited to simple client-side expressions and cannot execute complex server-side calculations.

26
MCQmedium

A developer builds an application in Studio and wants to ensure all changes are captured in an update set. What is true?

A.The developer needs to set the 'Update Set' field on each record to 'Default Update Set'.
B.Studio automatically creates an update set for the application scope when the application is created.
C.Update sets are not used for scoped applications; only for global scope.
D.The developer must manually create a new update set and assign it to the application scope.
AnswerB

Correct behavior.

Why this answer

Studio automatically creates an update set for the application scope when the application is created. Option A is incorrect because the developer does not need to manually set the 'Update Set' field on each record; Studio automatically associates changes with the scope's update set. Option C is incorrect because update sets are used for scoped applications; each application scope has its own update set.

Option D is incorrect because Studio automatically creates and assigns the update set; manual creation is not required.

27
MCQhard

A developer is troubleshooting a client script that hides a field on a form when a condition is met, but it is not working. The script is attached to the 'g_form' object in Studio. What is the most likely reason?

A.The client script is set to run on the 'Load' event instead of 'Change'.
B.The script is using a deprecated API.
C.The script is not running due to a missing 'Run As' role.
D.The field is not part of the application scope.
AnswerA

Correct. The script is attached to the Load event, so it only runs once when the form loads and does not re-evaluate when the condition changes. Changing the event to Change will fix it.

Why this answer

The most likely reason because client scripts that need to react to a condition change must be set to run on 'Change' event rather than 'Load'. If the script runs only on 'Load', it executes once when the form loads and will not re-run when the condition changes, so the field remains visible. Option B is incorrect because the API for hiding fields (e.g., g_form.setVisible) is not deprecated.

Option C is incorrect because client scripts do not have a 'Run As' role; that applies to server-side scripts. Option D is incorrect because client scripts can access any field present on the form regardless of the field's scope.

28
MCQmedium

A developer needs to share a custom table from a scoped application with another application. What is the best practice in Studio?

A.Set the table's 'Accessible from' field to include the other application scope.
B.Export the table definition as XML and import into the other application.
C.Create a cross-scope privilege.
D.Use a web service to expose the table data.
AnswerC

Standard method.

Why this answer

Cross-scope privileges are the standard way to share tables between scoped applications in ServiceNow. Option A is incorrect because there is no 'Accessible from' field on tables. Option B is incorrect because exporting/importing XML is a one-time transfer, not a real-time sharing method.

Option D is incorrect because web services are not the best practice for table sharing; cross-scope privileges provide simpler and more integrated access.

29
MCQmedium

A large enterprise has developed a custom scoped application in ServiceNow Studio to manage employee onboarding. The application includes multiple business rules, client scripts, and a custom table. Recently, after a clone from production to a sub-production instance, the application fails to upgrade properly. The developer notices that the application version in the sub-prod instance shows an older version than the source, and many application files appear to be missing. The developer suspects the issue is related to how the application was packaged or the upgrade process. What should the developer do to resolve this issue?

A.Run the 'Application File Synchronization' job to refresh the application files from the source.
B.Use the Studio 'Compare Application' feature to identify missing files and manually copy them over.
C.Check the update set that was used to move the application; ensure all application artifacts are included and re-apply it.
D.Delete the application from the sub-prod instance and re-import the application source from the production instance's export.
AnswerD

Correct: Exporting and importing the entire application as XML ensures all files and metadata are preserved.

Why this answer

When a clone from production to sub-production results in an older application version and missing files, the most reliable fix is to delete the broken application and re-import a fresh export from the source instance. Cloning can corrupt scoped application metadata or leave orphaned records, and re-importing ensures the entire application payload—including all business rules, client scripts, and table definitions—is restored from a known-good source. This bypasses any incremental update set issues or synchronization failures that may have occurred during the clone.

Exam trap

The trap here is that candidates assume update sets or synchronization jobs can fix scoped application issues, but ServiceNow treats scoped applications as atomic units that require full re-import after a clone to avoid version drift and missing artifacts.

How to eliminate wrong answers

Option A is wrong because the 'Application File Synchronization' job is designed to sync file attachments (e.g., images, scripts) within an instance, not to restore missing application artifacts after a clone; it cannot fix version mismatches or missing table definitions. Option B is wrong because the 'Compare Application' feature only highlights differences between instances but does not provide a mechanism to copy files; manually copying files is error-prone and does not address the underlying version corruption. Option C is wrong because update sets are not used to move scoped applications; scoped applications are exported and imported as a single XML or via the App Repository, and re-applying an update set would not restore the full application structure or correct versioning issues.

30
MCQeasy

A developer is creating a Scheduled Job in Studio that needs to run every hour. Which type of trigger should be selected?

A.Date
B.Run once
C.Interval
D.Daily
AnswerC

Interval triggers can be set to repeat every hour.

Why this answer

(Interval) is correct because an Interval trigger allows you to specify a repeat interval, such as every 60 minutes, which meets the requirement to run every hour. Option A (Date) runs once at a specific date/time. Option B (Run once) runs a single time.

Option D (Daily) runs once per day.

31
MCQmedium

A developer notices that the business rule does not set the assignment group as expected when a new record is created with state 0. What is the most likely issue?

A.The script has a syntax error.
B.The assignment_group value is not a valid sys_id of a group.
C.The business rule runs after the record is saved, so updates are ignored.
D.The business rule condition is incorrect.
AnswerB

The hardcoded sys_id might not correspond to an existing group.

Why this answer

The most likely issue is that the assignment_group value provided in the script is not a valid sys_id of an existing group. In ServiceNow, the assignment_group field is a reference field to the sys_user_group table, and it must contain a valid sys_id. If the sys_id is invalid or does not exist, the field will not be set, and the business rule will appear to have no effect.

Exam trap

ServiceNow often tests the misconception that any string value can be assigned to a reference field, but in ServiceNow, reference fields require a valid sys_id or a display value that matches an existing record.

How to eliminate wrong answers

Option A is wrong because a syntax error would typically cause the business rule to fail entirely, often generating an error message in the system log, rather than silently not setting the assignment group. Option C is wrong because business rules can run before or after the record is saved; if the business rule runs after save, updates to the record are still applied as long as the script uses the current.update() method or modifies the record directly. Option D is wrong because an incorrect condition would prevent the business rule from running at all, but the developer notes the rule runs (state is set to 0) yet the assignment group is not set, indicating the condition is likely correct.

32
MCQmedium

After importing an update set from another instance, a scoped application shows multiple conflicts in Studio. What is the best first step to resolve?

A.Delete the application and re-import.
B.Review each conflict and choose the correct version.
C.Discard all local changes.
D.Accept all remote changes.
AnswerB

Correct. Proper conflict resolution requires manual review.

Why this answer

Reviewing each conflict and choosing the correct version allows the developer to selectively merge changes, preserving important modifications while discarding unwanted ones. Option A is wrong because deleting and re-importing disregards the resolution of conflicts and may lose customizations. Option C is wrong because discarding all local changes removes any work done locally without consideration.

Option D is wrong because accepting all remote changes may overwrite intentional local customizations.

Exam trap

The trap here is to think that the simplest or most drastic action (like discarding all changes or re-importing) is the best first step, but the correct approach is to methodically review and resolve each conflict.

33
MCQmedium

When building a custom application using ServiceNow Studio, which of the following is NOT a recommended practice for version control?

A.Create a new application version for each major release.
B.Track changes using update sets.
C.Use application scope to isolate changes.
D.Directly edit system tables outside of the application scope.
AnswerD

This can lead to unintended side effects and is not controlled by the application versioning.

Why this answer

Directly editing system tables outside of the application scope bypasses version control and can cause conflicts, making it not a recommended practice. Options A, B, and C are all recommended practices for version control in ServiceNow Studio.

34
MCQeasy

Which of the following is a benefit of using ServiceNow Studio for application development?

A.It allows development directly in the production instance.
B.It requires no version control.
C.It automatically deploys applications to all instances.
D.It provides a guided interface to create application components.
AnswerD

Core benefit.

Why this answer

Studio provides a guided interface for creating application components. Option A is incorrect because developing in production is not recommended. Option B is incorrect as development does not automatically deploy to all instances.

Option C is incorrect because Studio supports version control.

35
Matchingmedium

Match each ServiceNow scripting API to its function.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Database operations (CRUD)

Aggregate queries (sum, count, etc.)

System-level methods (user, session, etc.)

Asynchronous server calls from client

Client-side form manipulation

Why these pairings

The correct matches are: GlideRecord for CRUD operations, GlideSystem for system properties/IDs, and GlideAggregate for aggregate calculations. Common confusions involve swapping the functions of GlideAggregate, GlideDateTime, and GlideUser.

36
MCQmedium

When creating a business rule in Studio, a developer wants the rule to run only when the state field changes from 'New' to 'Work in Progress'. Which condition should be used?

A.current.state.changesFrom('New')
B.current.state == 'New' && previous.state == 'Work in Progress'
C.current.state.changesTo('Work in Progress')
D.current.state.changes()
AnswerC

This correctly fires only when state changes to 'Work in Progress'.

Why this answer

ChangesTo('Work in Progress') triggers when the field changes to that specific value. Option A triggers on any change, B triggers when changing from a value, and D checks current and previous values incorrectly.

37
MCQhard

A developer needs to implement a server-side validation that prevents update to a record if a related record's status is 'Closed'. Where should this logic be placed?

A.ACL
B.Client script
C.UI policy
D.Business rule
AnswerD

Business rules execute on the server and can abort transactions based on conditions.

Why this answer

A business rule runs server-side when a record is updated and can enforce the validation before the update occurs. Client scripts and UI policies are client-side and can be bypassed. ACLs are for access control, not validation.

38
MCQhard

Refer to the exhibit. A developer created this Script Include for use in a Service Portal widget. When calling the processor from a client script, the developer passes no 'sysparm_name' parameter. What will be the result?

A.The script will return an empty array.
B.The script will execute the processor's constructor only.
C.The script will throw an error because the method is not allowed.
D.The script will run the getData method by default.
AnswerB

Correct: without sysparm_name, only the constructor runs; no method is executed.

Why this answer

When a Script Include is invoked from a Service Portal widget via a processor, the processor's constructor runs automatically. If no 'sysparm_name' parameter is passed, the processor does not know which method to call, so only the constructor executes. The constructor typically initializes properties but does not return data, resulting in no output.

Exam trap

The trap here is that candidates assume a default method (like getData) runs when no method is specified, but ServiceNow's processor architecture requires an explicit 'sysparm_name' to invoke any method beyond the constructor.

How to eliminate wrong answers

Option A is wrong because an empty array is not returned; the constructor runs and returns nothing unless explicitly coded to return an array. Option C is wrong because no error is thrown; the processor simply does not call any method beyond the constructor. Option D is wrong because the getData method is not called by default; it only runs if the 'sysparm_name' parameter matches its name.

39
MCQeasy

A developer needs to add a new table to an existing scoped application in ServiceNow Studio. What is the correct sequence of steps?

A.Open Studio, select the application, click 'Create Application File', choose 'Table', and define the table.
B.Navigate to 'Tables' module, create a new table, and then assign it to the application.
C.Open Studio, select the application, navigate to 'System Definition' > 'Tables' and create the table.
D.Open Studio, go to 'Application Files', click 'New', select 'Table' and configure.
AnswerA

This is the standard method to add a table to a scoped application in Studio.

Why this answer

In ServiceNow Studio, the proper workflow to add a new table to an existing scoped application is to open Studio, select the application, click 'Create Application File', choose 'Table', and then define the table. This ensures the table is created within the application scope, maintaining proper application isolation and metadata association.

Exam trap

The trap here is that candidates may confuse the global 'Tables' module or 'System Definition' > 'Tables' path with the Studio-specific workflow, not realizing that scoped application tables must be created within Studio to maintain proper application context and metadata association.

How to eliminate wrong answers

Option B is wrong because navigating to the 'Tables' module directly creates a table in the global scope, not within the scoped application, which breaks application isolation and may cause conflicts. Option C is wrong because 'System Definition' > 'Tables' is a global navigation path that does not respect the application scope, and Studio does not use that path for scoped table creation. Option D is wrong because 'Application Files' in Studio is used to view existing application files, not to create new tables; the correct entry point is 'Create Application File'.

40
MCQmedium

A developer is building a custom application that requires a scheduled job to run every hour and check for overdue tasks. In ServiceNow Studio, what is the best way to implement this?

A.Set up a REST API endpoint that external cron jobs call every hour.
B.Create a Business Rule that runs on 'after' insert and update to check for overdue tasks.
C.Use Flow Designer to create a scheduled flow that runs every hour.
D.Create a Scheduled Job in Studio that runs every hour and executes a script to check overdue tasks.
AnswerD

Scheduled Jobs are designed for periodic execution.

Why this answer

ServiceNow Studio provides a native 'Scheduled Jobs' module that allows developers to create and manage recurring server-side scripts directly within the IDE. This approach leverages the platform's job scheduler, which runs on the node's clock and integrates with the glide system, ensuring reliable hourly execution without external dependencies or performance overhead from transactional triggers.

Exam trap

The trap here is that candidates often confuse Business Rules (which are event-driven) with Scheduled Jobs (which are time-driven), assuming any automation logic can be placed in a Business Rule, but the question explicitly requires a time-based schedule, making only a Scheduled Job appropriate.

How to eliminate wrong answers

Option A is wrong because using an external cron job to call a REST API endpoint introduces unnecessary network latency, security overhead (authentication, firewall rules), and dependency on an external system, whereas ServiceNow has a built-in scheduler that runs server-side without external calls. Option B is wrong because a Business Rule runs only on database insert or update operations, not on a time-based schedule, so it cannot check for overdue tasks every hour unless a record is modified, which is not guaranteed. Option C is wrong because Flow Designer scheduled flows are designed for low-code automation but are less efficient for pure script execution; they incur additional overhead from flow engine processing and are not the best practice for simple script-based checks, whereas a Scheduled Job executes a script directly with minimal overhead.

41
MCQhard

A developer is debugging a Business Rule that runs on 'before' but not showing expected behavior. In Studio, which tool can show the execution order and triggered scripts?

A.Scripts Background
B.Update Set
C.Debugger
D.Flow Designer
AnswerC

Correct. Studio's Debugger shows script execution in context.

Why this answer

The Debugger in Studio allows stepping through scripts and viewing execution order, making it ideal for debugging a Business Rule that runs on 'before' but is not showing expected behavior. Option A is wrong; Scripts Background is for running ad-hoc server-side scripts, not for debugging execution order. Option B is wrong; Update Set tracks changes to configuration items, not script execution.

Option D is wrong; Flow Designer is for creating and managing flows, not for debugging script execution order.

42
MCQhard

A developer is troubleshooting a business rule in a scoped application that is not triggering. The rule is set to run 'before' query, with condition 'current.state == 1'. The table has read ACLs that restrict access. What is the most likely reason the business rule is not executing?

A.The condition 'current.state == 1' is incorrect syntax.
B.Another business rule with higher order is preventing execution.
C.The user does not have read access to the records, so the query does not execute the rule.
D.The business rule is scoped and cannot access the table.
AnswerC

Before query rules run only if the user can access the records.

Why this answer

Business rules that run 'before query' execute when a query is made against the table. If the user lacks read access due to ACL restrictions, the query itself is not permitted, so the business rule never triggers. This is because the platform's security layer evaluates ACLs before executing business rules, preventing the rule from running when the user cannot read the records.

Exam trap

ServiceNow often tests the misconception that business rules always execute regardless of security, when in fact ACLs are evaluated first and can prevent the rule from firing entirely.

How to eliminate wrong answers

Option A is wrong because 'current.state == 1' is valid syntax for comparing a field value in a business rule condition; the double equals is correct for equality checks. Option B is wrong because business rules with higher order only affect the execution sequence when multiple rules run on the same event, but they cannot prevent a rule from executing entirely—order determines sequence, not whether a rule runs. Option D is wrong because scoped applications can access tables within their scope and even global tables if properly configured; the scope does not inherently block access to the table.

43
Multi-Selectmedium

A developer is building an application in ServiceNow Studio. Which three of the following are correct practices when using Studio? (Choose three.)

Select 3 answers
A.Utilize the Studio Debugger to test business rules and script includes.
B.Always create application files using the UI instead of importing XML files.
C.Use the Application Explorer to view all application artifacts.
D.Set the application version number manually in the application properties.
E.Avoid using update sets for scoped applications because they are automatically managed.
AnswersA, C, E

Correct: Debugger allows stepping through server-side scripts.

Why this answer

The Studio Debugger allows developers to set breakpoints and step through business rules and script includes in real time, enabling precise testing of server-side logic within the scoped application context. This is essential for validating script behavior without deploying to a separate test instance.

Exam trap

The trap here is that candidates may think manually setting the version number is harmless or necessary for release management, but ServiceNow's automatic versioning is tied to the application's publish lifecycle and update set tracking, making manual edits a source of synchronization errors.

44
MCQmedium

A developer wants to add a new field to a table that is part of a scoped application. What is the correct method in Studio?

A.In Studio, right-click the table and select 'Add Field'.
B.Create a new field in the application's schema.
C.Use the Application Builder to add a table extension.
D.Navigate to System Definition > Tables and add the field.
AnswerB

Standard method in Studio.

Why this answer

In a scoped application, the proper method to add a new field is to create it in the application's schema within Studio. Option A is incorrect because right-clicking a table does not provide an 'Add Field' option. Option C is incorrect because Application Builder is used for building applications, not adding fields directly.

Option D is incorrect because System Definition > Tables is for global tables, not scoped application tables.

45
Drag & Dropmedium

Drag and drop the steps to create an ACL (Access Control List) in ServiceNow into the correct order.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

The sequence: navigate to ACLs, create new, define type/operation/name, set condition, and submit.

46
MCQeasy

A ServiceNow developer is creating a new scoped application in Studio to manage IT asset lifecycle. They want to ensure the application is easily identifiable and follows best practices. What should the developer set for the application's name and scope fields?

A.Name: 'IT Asset Lifecycle', Scope: 'x_snc_it_asset_lifecycle'
B.Name: 'ITAM', Scope: 'global'
C.Name: 'Asset Management', Scope: 'x_'
D.Name: 'IT Asset Management', Scope: 'x_snc_itam'
AnswerD

Correct: follows best practices with unique prefix and descriptive name.

Why this answer

Scoped applications in ServiceNow must have a unique scope starting with 'x_' followed by a prefix (often the company acronym, e.g., 'snc') and a meaningful name. The name 'IT Asset Management' is descriptive and follows best practices, while the scope 'x_snc_itam' is properly formatted with the company prefix and a concise identifier, ensuring uniqueness and easy identification in the instance.

Exam trap

The trap here is that candidates often choose a scope that is too long or improperly formatted (like 'x_snc_it_asset_lifecycle') thinking it must match the application name exactly, or they mistakenly believe 'global' can be used for scoped apps, failing to recognize that scoped apps require a unique 'x_' scope.

How to eliminate wrong answers

Option A is wrong because the scope 'x_snc_it_asset_lifecycle' is too long and contains underscores that may cause readability issues; ServiceNow best practices recommend keeping scope names concise (e.g., using an acronym like 'itam') while the name can be descriptive. Option B is wrong because the scope 'global' is reserved for global applications and cannot be used for a scoped application; scoped applications require a custom scope starting with 'x_'. Option C is wrong because the scope 'x_' is incomplete and invalid—it must include a company prefix and a meaningful identifier (e.g., 'x_snc_itam'); a bare 'x_' does not provide uniqueness and will cause conflicts.

47
MCQhard

Refer to the exhibit. What is the primary issue with this script if it is intended to update all incidents in state 'New' (state=1) to priority 2?

A.The script will not update any records because of a syntax error in setValue.
B.The script will update only the first record because next() is used incorrectly.
C.The script will cause an infinite loop.
D.The script will update records but may cause performance issues.
AnswerC

Updating the same record while iterating over it can trigger conditions that requery the record, leading to an infinite loop.

Why this answer

The primary issue is that calling gr.update() inside the while loop on the same GlideRecord object causes an infinite loop. When a business rule or trigger runs on update and re-queries the same set of records, gr.next() may keep returning true as newly updated records might still satisfy the query condition. Option A is incorrect because setValue syntax is correct.

Option B is incorrect as next() iterates correctly. Option D is a possible secondary effect but not the primary issue.

48
MCQeasy

In ServiceNow Studio, which role is required to create a new scoped application?

A.A global scope update set
B.No special role; any user can create applications
C.Application Creator role
D.Admin role
AnswerD

Admin role is required.

Why this answer

Only users with the admin role can create scoped applications in ServiceNow Studio. Option A is incorrect because a global scope update set is not a role; it is a type of update set. Option B is incorrect because not all users have the ability to create applications; it requires the admin role.

Option C is incorrect because the Application Creator role does not exist as a standard role; the admin role is required.

49
MCQeasy

In ServiceNow Studio, when developing a flow that requires a decision based on a record's category, which component should be used?

A.Action
B.Flow Logic
C.Trigger
D.Condition
AnswerD

Conditions evaluate expressions and allow branching based on the category.

Why this answer

A Condition component is used to evaluate criteria and branch the flow. Action performs operations, Trigger initiates the flow, and Flow Logic is not a component.

50
Multi-Selecteasy

In ServiceNow Studio, which TWO elements can be created directly from the 'Create Application File' wizard? (Choose two.)

Select 2 answers
A.Flow
B.System Property
C.Update Set
D.Table
E.Business Rule
AnswersD, E

Tables are a common application file created in Studio.

Why this answer

The correct answers are D (Table) and E (Business Rule). In ServiceNow Studio, the 'Create Application File' wizard allows creation of various application files such as Tables, Business Rules, Client Scripts, etc. Update Sets (C) are not created as application files; they are containers for changes.

System Properties (B) are created via the sys_properties module. Flows (A) are created in Flow Designer, not directly from the 'Create Application File' wizard. Therefore, only Tables and Business Rules are among the options that can be created directly via that wizard.

51
MCQmedium

A developer is building a scoped application in Studio that needs to access global records. Which application property should be enabled?

A.Allow access to this application from all scopes.
B.Allow access to all scoped applications.
C.Allow read/write access to tables in global scope.
D.Export table data.
AnswerC

Correct. This enables access to global tables.

Why this answer

Enabling 'Allow read/write access to tables in global scope' allows a scoped application to access global records. Option A is incorrect as it controls access from other scopes, not access to global tables. Option B is incorrect because it allows the application to be accessed by other scoped applications, not to access global tables.

Option D is for exporting table data, not for granting access to global tables.

52
Multi-Selectmedium

A developer is troubleshooting an issue where a business rule is not firing. Which TWO steps should the developer take to diagnose the problem? (Choose two.)

Select 2 answers
A.Check the business rule order.
B.Ensure the business rule has a condition.
C.Run the business rule from the context menu.
D.Verify that the business rule is active.
E.Check if the table is locked.
AnswersB, D

If the condition evaluates to false, the rule does not run.

Why this answer

Options B and D are correct. To diagnose why a business rule is not firing, the developer should first verify that the business rule is active (D) and ensure it has a condition that evaluates to true (B). Checking the order (A) is only relevant when multiple business rules conflict, not a primary diagnostic step.

Business rules cannot be run manually (C is incorrect), and table locking (E) is not related to business rule execution.

53
MCQeasy

A developer needs to expose a custom table's data via REST API in ServiceNow Studio. Which approach should they use?

A.Configure a REST API from the system Web Services menu.
B.Create a Scripted REST API in Studio.
C.Generate an API from the Application Menu.
D.Use the table API directly without any configuration.
AnswerB

Correct. Studio provides a template for Scripted REST APIs.

Why this answer

The correct approach is to create a Scripted REST API in Studio (Option B). Studio provides a dedicated module for building custom REST APIs that can expose table data. Option A is incorrect because the system Web Services menu is not part of Studio and is used for configuring base REST APIs, not custom ones.

Option C is wrong because generating an API from the Application Menu is not a standard Studio feature. Option D is incorrect because the table API requires additional configuration (ACLs) and is not directly accessible without setting up an endpoint.

54
Multi-Selecthard

Which THREE considerations are important when designing a scoped application for a customer?

Select 3 answers
A.Minimize number of update sets.
B.Avoid modifying global tables directly.
C.Scope application name uniquely.
D.Use global Business Rules for performance.
E.Include only necessary features.
AnswersB, C, E

Correct. Modifying global tables can cause conflicts with other applications.

Why this answer

When designing a scoped application in ServiceNow, it is crucial to avoid modifying global tables directly (B) to prevent unintended side effects and maintain upgradeability. The application name must be uniquely scoped (C) to prevent conflicts with other applications. Including only necessary features (E) reduces complexity and improves performance.

Option A is incorrect because minimizing update sets is not a design consideration; update sets are for deployment management. Option D is incorrect because using global Business Rules contradicts the purpose of scoping and can cause cross-scope issues.

55
MCQmedium

A developer wants to create a new UI action that appears on the form only when the record is in a specific state. Which property should be configured?

A.Script condition
B.Condition field
C.Form context menu
D.Insert field
AnswerA

This allows a script to check the current state and return true/false.

Why this answer

The 'Script condition' property allows writing a script to determine visibility based on the record's state, such as checking if the state field equals a particular value. Option B, the 'Condition field', is used for simple condition comparisons but cannot evaluate state without additional scripting. Options C and D are unrelated to visibility logic.

56
Multi-Selectmedium

Which TWO actions can be performed directly from ServiceNow Studio?

Select 2 answers
A.Configure email notifications.
B.Run a scheduled job.
C.Configure form layout.
D.Create a new table.
E.Define a workflow.
AnswersC, D

Correct. Form layout can be edited directly in Studio.

Why this answer

Options C and D are correct because ServiceNow Studio provides functionality to create new tables and configure form layouts. Option A is incorrect because configuring email notifications is done in the System Notifications module, not in Studio. Option B is incorrect because running scheduled jobs is managed in the Scheduled Jobs module.

Option E is incorrect because defining workflows is done in the Workflow Editor, not in Studio.

57
MCQeasy

In ServiceNow Studio, which file type is automatically generated when creating a new application?

A.update.xml
B.readme.md
C.manifest.xml
D.app.xml
AnswerC

Correct. Manifest.xml defines application metadata.

Why this answer

ServiceNow Studio automatically generates a manifest.xml file for each new application. This file contains metadata about the application. Option A is incorrect because update.xml files are used for update sets, not automatically generated for applications.

Option B is incorrect; readme.md is an optional file that can be added manually. Option D is incorrect; app.xml is not a standard file generated by Studio.

58
MCQhard

A developer needs to debug an issue where a client script is not triggering when a field changes. What is the most efficient first step in troubleshooting within Studio?

A.Review the syslog for error messages.
B.Open the client script in Studio and use the 'Debug' button.
C.Check the ACLs on the table.
D.Add a gs.log() statement to the server-side code.
AnswerB

This allows running the script in debug mode to see if it fires and track variables.

Why this answer

Studio includes a debug feature for client scripts that allows step-by-step execution and inspection. Option A is indirect, C is not relevant to client script execution, and D is server-side.

Ready to test yourself?

Try a timed practice session using only Application development using ServiceNow Studio questions.