ServiceNow CAD Practice Test 27
Question 260
A developer needs to expose a utility safely to authorized caller scopes. Which practical correction or implementation decision is MOST directly appropriate?
- Design cross-scope permissions and user ACLs separately.
- Verify the application picker and scope prefix before creating files.
- Expose documented limited interfaces and test cross-scope invocation.
- Mark every script include publicly callable regardless of caller authorization.
Explanation
Correct Answer
C:Expose documented limited interfaces and test cross-scope invocation. The intended behavior can be checked because only permitted application callers can execute the supported utility.
Incorrect Answers
A:Design cross-scope permissions and user ACLs separately. This could help Scope boundaries versus ACL authorizations, but it does not resolve the Restricted cross-scope scripting case. Script includes and API access can be constrained across application scopes.
B:Verify the application picker and scope prefix before creating files. This could help Application scope namespace, but it does not resolve the Restricted cross-scope scripting case. Script includes and API access can be constrained across application scopes.
D:Mark every script include publicly callable regardless of caller authorization. This would not correct the Restricted cross-scope scripting workflow. Private script utilities cannot simply be called from any unrelated scope.
Question 261
A team defines request_user and request_manager responsibilities for a scoped app. After the recommended Application role assignment model change is implemented, which observation MOST directly verifies that it works?
- The form displays understandable feedback without exposing restricted data.
- Role inspection demonstrates only expected included rights.
- Role membership matches job duties and subsequent ACL conditions enforce the distinction.
- Finance-role users see the relevant menu while others cannot access its protected records.
Explanation
Correct Answer
C:Role membership matches job duties and subsequent ACL conditions enforce the distinction. This directly tests whether the Application role assignment model goal was met. Role-based authorization connects user responsibilities to access rules.
Incorrect Answers
A:The form displays understandable feedback without exposing restricted data. This is evidence about gs.addInfoMessage user feedback, not direct proof of the required Application role assignment model behavior. The relevant check is that role membership matches job duties and subsequent ACL conditions enforce the distinction.
B:Role inspection demonstrates only expected included rights. This is evidence about Role inclusion and effective access, not direct proof of the required Application role assignment model behavior. The relevant check is that role membership matches job duties and subsequent ACL conditions enforce the distinction.
D:Finance-role users see the relevant menu while others cannot access its protected records. This is evidence about Application menu role restriction, not direct proof of the required Application role assignment model behavior. The relevant check is that role membership matches job duties and subsequent ACL conditions enforce the distinction.
Question 262
An analytics team proposes a custom app for low-latency scientific simulations. An engineer must explain the recommendation for Avoid using platform as high-performance compute engine. Which underlying principle is the MOST accurate?
- Reusing platform capabilities reduces duplicate schemas and unnecessary maintenance.
- ServiceNow application development suits record-centered business workflows with governed access.
- Application access settings limit what other scopes may do with application tables.
- A workflow platform is not a substitute for specialized large-scale numerical computing.
Explanation
Correct Answer
D:A workflow platform is not a substitute for specialized large-scale numerical computing. Therefore the implementation decision is to keep heavy specialized computation in an appropriate external compute service and integrate results.
Incorrect Answers
A:Executing massive compute loops inside business-rule transactions can degrade instance responsiveness. Reusing platform capabilities reduces duplicate schemas and unnecessary maintenance.
B:Executing massive compute loops inside business-rule transactions can degrade instance responsiveness. This describes the separate Workflow fit for scoped applications mechanism; the present case instead requires Avoid using platform as high-performance compute engine.
C:Executing massive compute loops inside business-rule transactions can degrade instance responsiveness. This describes the separate Cross-scope table application access mechanism; the present case instead requires Avoid using platform as high-performance compute engine.
Question 263
A form must show a result computed from a scoped server utility. If the relevant GlideAjax asynchronous client-server pattern safeguard is omitted, which outcome is the MOST directly associated failure?
- Triggering initialization on every field change can create redundant behavior.
- Synchronous wait calls or unbounded client record queries can harm performance or fail in some UIs.
- Arbitrary DOM selectors can break after platform interface upgrades.
- Relying on a hidden producer alone cannot block direct API record creation.
Explanation
Correct Answer
B:Synchronous wait calls or unbounded client record queries can harm performance or fail in some UIs. GlideAjax enables supported asynchronous calls from client logic to server Script Includes. The corrective approach is to design a scoped server endpoint with asynchronous client callbacks.
Incorrect Answers
A:Triggering initialization on every field change can create redundant behavior. This failure pattern belongs chiefly to onLoad client script initialization; it is not the failure most directly tested in the GlideAjax asynchronous client-server pattern situation. Synchronous wait calls or unbounded client record queries can harm performance or fail in some UIs.
C:Arbitrary DOM selectors can break after platform interface upgrades. This failure pattern belongs chiefly to g_form API for form fields; it is not the failure most directly tested in the GlideAjax asynchronous client-server pattern situation. Synchronous wait calls or unbounded client record queries can harm performance or fail in some UIs.
D:This failure pattern belongs chiefly to Record producer access and audience; it is not the failure most directly tested in the GlideAjax asynchronous client-server pattern situation.
Question 264
A test notification appears to trigger but recipients do not receive mail. Which approach BEST meets the requirement while respecting the system constraints?
- Queue an appropriate event or use supported notifications rather than duplicating email code.
- Inspect notification conditions, outbound email records and delivery status using authorized tools.
- Configure inbound action matching to distinguish new and reply cases and test reference correlation.
- Declare email delivered solely because an event was queued successfully.
Explanation
Correct Answer
B:Inspect notification conditions, outbound email records and delivery status using authorized tools. Email troubleshooting distinguishes notification selection from actual delivery status. Verification should demonstrate that the email log shows generation, recipients and any failure reason.
Incorrect Answers
A:Queue an appropriate event or use supported notifications rather than duplicating email code. This primarily addresses Event-driven email versus synchronous code, not the specific Email delivery troubleshooting decision. Here, email troubleshooting distinguishes notification selection from actual delivery status.
C:Configure inbound action matching to distinguish new and reply cases and test reference correlation. This primarily addresses Inbound email creation versus reply, not the specific Email delivery troubleshooting decision. Here, email troubleshooting distinguishes notification selection from actual delivery status.
D:Declare email delivered solely because an event was queued successfully. This is an unsafe or ineffective shortcut for Email delivery troubleshooting. A successful trigger record does not guarantee the message was delivered.
Question 265
Users want frequently used modules organized in a stable navigation order. Testing exposes this failure: Deleting tables to hide obsolete modules can destroy unrelated data. Which remediation should be applied FIRST?
- Delete historical business records merely to remove an obsolete navigator link.
- Disable or reorder the module and confirm user navigation.
- Configure a module that opens the appropriate new-record form.
- Apply appropriate menu and module role restrictions and independently enforce data ACLs.
Explanation
Correct Answer
B:Disable or reorder the module and confirm user navigation. Confirmation requires seeing that navigation displays active modules in the expected sequence.
Incorrect Answers
A:Delete historical business records merely to remove an obsolete navigator link. This retains the Active state and module ordering problem. Application menu metadata controls presentation of navigation entries.
C:Configure a module that opens the appropriate new-record form. It addresses New-record module entry point, not the diagnosed Active state and module ordering failure. Deleting tables to hide obsolete modules can destroy unrelated data.
D:Apply appropriate menu and module role restrictions and independently enforce data ACLs. It addresses Module and menu role visibility, not the diagnosed Active state and module ordering failure. Deleting tables to hide obsolete modules can destroy unrelated data.
Question 266
An operations owner needs a safe recovery plan for a failed app update. An engineer must explain the recommendation for Post-install validation and rollback. Which underlying principle is the MOST accurate?
- Installation success alone does not validate full business behavior.
- Delegated Development supports controlled non-admin development for eligible privately scoped applications.
- Application Repository supports sharing and controlled installation of application versions.
- App installation requires compatible dependencies and platform conditions.
Explanation
Correct Answer
A:Installation success alone does not validate full business behavior. Therefore the implementation decision is to smoke-test records, roles, flows and integrations and retain supported recovery steps.
Incorrect Answers
B:Delegated Development supports controlled non-admin development for eligible privately scoped applications. This describes the separate Delegated Development for privately scoped apps mechanism; the present case instead requires Post-install validation and rollback. Users may see broken forms or permissions after an incomplete release test.
C:Application Repository supports sharing and controlled installation of application versions. This describes the separate Application repository release distribution mechanism; the present case instead requires Post-install validation and rollback. Users may see broken forms or permissions after an incomplete release test.
D:App installation requires compatible dependencies and platform conditions. This describes the separate App installation dependencies mechanism; the present case instead requires Post-install validation and rollback. Users may see broken forms or permissions after an incomplete release test.
Question 267
A code contributor can edit approved app files but cannot see the source control menu. Which approach BEST meets the requirement while respecting the system constraints?
- Use reviewed source changes, tests and an approval process for delegated contributions.
- Assign only required delegated file-type permissions for the application.
- Grant the specific delegated Source Control permission when permitted by policy.
- Replace source-control permission reviews by granting global admin to every contributor.
Explanation
Correct Answer
C:Grant the specific delegated Source Control permission when permitted by policy. Source control rights may be assigned separately from general delegated editing. Verification should demonstrate that the authorized developer sees source control commands only for the intended app.
Incorrect Answers
A:Use reviewed source changes, tests and an approval process for delegated contributions. This primarily addresses Code review and scoped contribution workflow, not the specific Delegated source-control authorization decision. Here, source control rights may be assigned separately from general delegated editing.
B:Assign only required delegated file-type permissions for the application. This primarily addresses File-type-specific delegated permissions, not the specific Delegated source-control authorization decision. Here, source control rights may be assigned separately from general delegated editing.
D:Replace source-control permission reviews by granting global admin to every contributor. This is an unsafe or ineffective shortcut for Delegated source-control authorization. File-edit permission alone need not imply permission to change repository links.
Question 268
A support form should offer controlled status values appropriate for its category. After the recommended Choice definitions and dependent choices change is implemented, which observation MOST directly verifies that it works?
- The field persists and is queryable across records and lists.
- The form offers valid choices and stored values match automation checks.
- The new record has the intended initial values after submission.
- Historical values remain retrievable to authorized users outside the simplified view.
Explanation
Correct Answer
B:The form offers valid choices and stored values match automation checks. This directly tests whether the Choice definitions and dependent choices goal was met. Choice lists centralize permitted presentation values and mapped internal values.
Incorrect Answers
A:The field persists and is queryable across records and lists. This is evidence about Add fields from the table dictionary, not direct proof of the required Choice definitions and dependent choices behavior. The relevant check is that the form offers valid choices and stored values match automation checks.
C:The new record has the intended initial values after submission. This is evidence about Producer script for controlled assignment, not direct proof of the required Choice definitions and dependent choices behavior. The relevant check is that the form offers valid choices and stored values match automation checks.
D:Historical values remain retrievable to authorized users outside the simplified view. This is evidence about Remove fields from view without deleting data, not direct proof of the required Choice definitions and dependent choices behavior. The relevant check is that the form offers valid choices and stored values match automation checks.
Question 269
A code contributor can edit approved app files but cannot see the source control menu. A reviewer proposes this shortcut: Replace source-control permission reviews by granting global admin to every contributor. Which principle BEST explains why a different solution is needed?
- Source control rights may be assigned separately from general delegated editing.
- ServiceNow source control integration manages application metadata versions through repository operations.
- Delegation does not eliminate the need for review and test evidence.
- Delegated Development supports controlled non-admin development for eligible privately scoped applications.
Explanation
Correct Answer
A:Source control rights may be assigned separately from general delegated editing. The appropriate approach is to grant the specific delegated Source Control permission when permitted by policy.
Incorrect Answers
B:ServiceNow source control integration manages application metadata versions through repository operations. This is about Link app to Git repository in Studio, not why the proposed Delegated source-control authorization shortcut should be rejected. File-edit permission alone need not imply permission to change repository links.
C:Delegation does not eliminate the need for review and test evidence. This is about Code review and scoped contribution workflow, not why the proposed Delegated source-control authorization shortcut should be rejected. File-edit permission alone need not imply permission to change repository links.
D:Delegated Development supports controlled non-admin development for eligible privately scoped applications. This is about Delegated Development for privately scoped apps, not why the proposed Delegated source-control authorization shortcut should be rejected. File-edit permission alone need not imply permission to change repository links.
Question 270
A user opens a case form and should see a contextual introductory message. After the recommended onLoad client script initialization change is implemented, which observation MOST directly verifies that it works?
- The created record contains the correct requester and asset references.
- The script responds to deliberate field changes without duplicate startup actions.
- Invalid desktop submissions are blocked and users receive actionable guidance.
- The message or supported field state appears when the form loads.
Explanation
Correct Answer
D:The message or supported field state appears when the form loads. This directly tests whether the onLoad client script initialization goal was met. onLoad scripts execute during form initialization, distinct from onChange or submit events.
Incorrect Answers
A:The created record contains the correct requester and asset references. This is evidence about Producer variable mapping, not direct proof of the required onLoad client script initialization behavior. The relevant check is that the message or supported field state appears when the form loads.
B:The script responds to deliberate field changes without duplicate startup actions. This is evidence about onChange client script guards, not direct proof of the required onLoad client script initialization behavior. The relevant check is that the message or supported field state appears when the form loads.
C:Invalid desktop submissions are blocked and users receive actionable guidance. This is evidence about onSubmit client script validation, not direct proof of the required onLoad client script initialization behavior. The relevant check is that the message or supported field state appears when the form loads.