ServiceNow CAD Practice Test 8
Question 70
A Business Rule should conditionally permit a sensitive action by an operator. Which practical correction or implementation decision is MOST directly appropriate?
- Enforce sensitive conditions server-side and verify ACLs separately.
- Use the effective server identity and validate access permissions.
- Emit accurate messages after validating the operation and its outcome.
- Read an editable client field named role and treat it as equivalent to gs.hasRole.
Explanation
Correct Answer
A:Enforce sensitive conditions server-side and verify ACLs separately. The intended behavior can be checked because role-positive and role-negative tests produce the expected server-side branch.
Incorrect Answers
B:Use the effective server identity and validate access permissions. This could help gs.getUserID for current identity, but it does not resolve the gs.hasRole server authorization case. gs.hasRole consults effective user role membership in a server-side context.
C:Emit accurate messages after validating the operation and its outcome. This could help gs.addInfoMessage user feedback, but it does not resolve the gs.hasRole server authorization case. gs.hasRole consults effective user role membership in a server-side context.
D:Read an editable client field named role and treat it as equivalent to gs.hasRole. This would not correct the gs.hasRole server authorization workflow. Browser-only role detection is not reliable authorization for server mutations.
Question 71
Users want frequently used modules organized in a stable navigation order. Which practical correction or implementation decision is MOST directly appropriate?
- Test the intended filter along with server-enforced record access.
- Delete historical business records merely to remove an obsolete navigator link.
- Pair role-limited navigation with table and field ACL checks.
- Disable or reorder the module and confirm user navigation.
Explanation
Correct Answer
D:Disable or reorder the module and confirm user navigation. The intended behavior can be checked because navigation displays active modules in the expected sequence.
Incorrect Answers
A:Test the intended filter along with server-enforced record access. This could help Filtered module navigation, but it does not resolve the Active state and module ordering case. Application menu metadata controls presentation of navigation entries.
B:Delete historical business records merely to remove an obsolete navigator link. This would not correct the Active state and module ordering workflow. Deleting tables to hide obsolete modules can destroy unrelated data.
C:Pair role-limited navigation with table and field ACL checks. This could help Module and menu role visibility, but it does not resolve the Active state and module ordering case. Application menu metadata controls presentation of navigation entries.
Question 72
A flow must avoid duplicate external transactions when an HTTP call is retried. Select TWO statements that correctly combine the REST timeout and retry safety method with evidence or its governing principle.
- Repeated tests do not create duplicate external records for the same business operation.
- Use supported sn_ws.RESTMessageV2 server-side APIs and validate response status and payload.
- Retry a potentially successful write unlimited times whenever the client times out.
- Apply bounded timeout and retry handling with an idempotency strategy for writes.
- Validate HTTP method, content type, required JSON fields and endpoint contract.
Explanation
Correct Answers
A:Repeated tests do not create duplicate external records for the same business operation. This is directly observable validation of the REST timeout and retry safety result.
D:Apply bounded timeout and retry handling with an idempotency strategy for writes. This is the intended action for REST timeout and retry safety.
Incorrect Answers
B:Use supported sn_ws.RESTMessageV2 server-side APIs and validate response status and payload. This serves the different RESTMessageV2 execution and response objective, not the selected REST timeout and retry safety plan. Network failure does not prove a remote write was never committed.
C:Retry a potentially successful write unlimited times whenever the client times out. This is not part of a safe or effective REST timeout and retry safety design. Retrying a non-idempotent POST without a key can create duplicate requests.
E:Validate HTTP method, content type, required JSON fields and endpoint contract. This serves the different REST endpoint and payload validation objective, not the selected REST timeout and retry safety plan. Network failure does not prove a remote write was never committed.
Question 73
An application requires default client-side display logic as the form first loads. Which practical correction or implementation decision is MOST directly appropriate?
- Put a form-load requirement solely in an onSubmit handler and expect it before save.
- Guard relevant changes and test newValue and isLoading.
- Put initial form behavior in onLoad and avoid unnecessary server calls.
- Use supported g_form calls and test the targeted UI type.
Explanation
Correct Answer
C:Put initial form behavior in onLoad and avoid unnecessary server calls. The intended behavior can be checked because the message or supported field state appears when the form loads.
Incorrect Answers
A:Put a form-load requirement solely in an onSubmit handler and expect it before save. This would not correct the onLoad client script initialization workflow. Triggering initialization on every field change can create redundant behavior.
B:Guard relevant changes and test newValue and isLoading. This could help onChange client script guards, but it does not resolve the onLoad client script initialization case. onLoad scripts execute during form initialization, distinct from onChange or submit events.
D:Use supported g_form calls and test the targeted UI type. This could help g_form API for form fields, but it does not resolve the onLoad client script initialization case. onLoad scripts execute during form initialization, distinct from onChange or submit events.
Question 74
An application property stores an interval as text but a timer expects a number. Testing exposes this failure: Treating nonempty false text as truthy can enable a feature unintentionally. Which remediation should be applied FIRST?
- Assume all string property values automatically become correctly typed booleans or numbers.
- Define a well-named application property with documented type, default and governance.
- Use a unique, namespaced app property naming convention.
- Validate value type and bounds with tests for invalid settings.
Explanation
Correct Answer
D:Validate value type and bounds with tests for invalid settings. Confirmation requires seeing that the false string disables the flag and numeric values obey documented bounds.
Incorrect Answers
A:Assume all string property values automatically become correctly typed booleans or numbers. This retains the Parse property types explicitly problem. Property APIs may return strings and require explicit type interpretation.
B:Define a well-named application property with documented type, default and governance. It addresses Application properties for behavior toggles, not the diagnosed Parse property types explicitly failure. Treating nonempty false text as truthy can enable a feature unintentionally.
C:Use a unique, namespaced app property naming convention. It addresses Property naming in scoped applications, not the diagnosed Parse property types explicitly failure. Treating nonempty false text as truthy can enable a feature unintentionally.
Question 75
Two contributors make overlapping edits and ask ServiceNow Studio to merge arbitrary Git branches automatically. After the recommended Branch and merge limitations in platform integration change is implemented, which observation MOST directly verifies that it works?
- The approved branch contains reviewed resolution and ServiceNow imports the intended revision.
- The remote repository history includes the intended files and commit ID.
- The target instance installs the reviewed app version and dependencies successfully.
- Instance metadata reflects approved source revisions without overwriting unrelated work.
Explanation
Correct Answer
A:The approved branch contains reviewed resolution and ServiceNow imports the intended revision. This directly tests whether the Branch and merge limitations in platform integration goal was met. Native integration capabilities vary and not all Git merge operations are supported inside Studio.
Incorrect Answers
B:The remote repository history includes the intended files and commit ID. This is evidence about Commit application changes to Git, not direct proof of the required Branch and merge limitations in platform integration behavior. The relevant check is that the approved branch contains reviewed resolution and ServiceNow imports the intended revision.
C:The target instance installs the reviewed app version and dependencies successfully. This is evidence about Application repository release distribution, not direct proof of the required Branch and merge limitations in platform integration behavior. The relevant check is that the approved branch contains reviewed resolution and ServiceNow imports the intended revision.
D:Instance metadata reflects approved source revisions without overwriting unrelated work. This is evidence about Retrieve upstream source changes, not direct proof of the required Branch and merge limitations in platform integration behavior. The relevant check is that the approved branch contains reviewed resolution and ServiceNow imports the intended revision.
Question 76
A reviewer needs an auditable record of approved application dependencies. An engineer must explain the recommendation for Runtime cross-scope access tracking. Which underlying principle is the MOST accurate?
- Cross-scope privilege records track and govern permitted interactions.
- Security metadata and application scope boundaries can constrain what ACLs may be edited.
- Scope protection restricts application artifact usage across apps.
- ACL scripts enable contextual authorization when roles and conditions are insufficient.
Explanation
Correct Answer
A:Cross-scope privilege records track and govern permitted interactions. Therefore the implementation decision is to review cross-scope access tracking and approve the specific required privilege if justified.
Incorrect Answers
B:Security metadata and application scope boundaries can constrain what ACLs may be edited. This describes the separate Scope context and security rule ownership mechanism; the present case instead requires Runtime cross-scope access tracking. Approving every denied operation creates unsafe transitive privileges.
C:Scope protection restricts application artifact usage across apps. This describes the separate Private scope protects internal application files mechanism; the present case instead requires Runtime cross-scope access tracking. Approving every denied operation creates unsafe transitive privileges.
D:ACL scripts enable contextual authorization when roles and conditions are insufficient. This describes the separate Scripted ACL conditional check mechanism; the present case instead requires Runtime cross-scope access tracking. Approving every denied operation creates unsafe transitive privileges.
Question 77
A notification must reference the case number in its body. An engineer must explain the recommendation for Email recipients and templates. Which underlying principle is the MOST accurate?
- Inbound email handlers can map received messages into application behavior.
- Property APIs may return strings and require explicit type interpretation.
- Email troubleshooting distinguishes notification selection from actual delivery status.
- Notification rendering supports record-derived context and configured recipients.
Explanation
Correct Answer
D:Notification rendering supports record-derived context and configured recipients. Therefore the implementation decision is to configure recipients and template variables from permitted record fields.
Incorrect Answers
A:Hardcoded recipient strings can route sensitive records to the wrong person. Inbound email handlers can map received messages into application behavior.
B:Hardcoded recipient strings can route sensitive records to the wrong person. This describes the separate Parse property types explicitly mechanism; the present case instead requires Email recipients and templates.
C:Hardcoded recipient strings can route sensitive records to the wrong person. This describes the separate Email delivery troubleshooting mechanism; the present case instead requires Email recipients and templates.
Question 78
A legitimate requester is unexpectedly denied access to a field despite holding the expected role. If the relevant Access Control Debug and denial analysis safeguard is omitted, which outcome is the MOST directly associated failure?
- Displaying a success message before verifying the write can conceal failure.
- An overly broad read rule can expose sensitive records outside the intended app.
- Blindly making all ACLs public can mask the real rule conflict.
- A read role alone should not imply unrestricted mutation of records.
Explanation
Correct Answer
C:Blindly making all ACLs public can mask the real rule conflict. Debugging ACL evaluation is more reliable than guessing from form visibility. The corrective approach is to investigate ACL decisions and apply the smallest permission fix.
Incorrect Answers
A:Displaying a success message before verifying the write can conceal failure. This failure pattern belongs chiefly to gs.addInfoMessage user feedback; it is not the failure most directly tested in the Access Control Debug and denial analysis situation. Blindly making all ACLs public can mask the real rule conflict.
B:An overly broad read rule can expose sensitive records outside the intended app. This failure pattern belongs chiefly to Table read access control; it is not the failure most directly tested in the Access Control Debug and denial analysis situation. Blindly making all ACLs public can mask the real rule conflict.
D:A read role alone should not imply unrestricted mutation of records. This failure pattern belongs chiefly to Table write operation ACL; it is not the failure most directly tested in the Access Control Debug and denial analysis situation. Blindly making all ACLs public can mask the real rule conflict.
Question 79
A committed state change should trigger appropriate follow-on work. Select TWO statements that correctly combine the After Business Rule related records method with evidence or its governing principle.
- Encapsulate shared server logic in a scoped Script Include and call it from eligible contexts.
- Call current.update repeatedly inside an after rule without controlling recursion.
- Use an after Business Rule for post-save related actions, avoiding recursion.
- A dependent record is created only after the relevant source operation.
- Use a before Business Rule in the proper table and operation to validate or adjust current.
Explanation
Correct Answers
C:Use an after Business Rule for post-save related actions, avoiding recursion. This is the intended action for After Business Rule related records.
D:A dependent record is created only after the relevant source operation. This is directly observable validation of the After Business Rule related records result.
Incorrect Answers
A:Encapsulate shared server logic in a scoped Script Include and call it from eligible contexts. This serves the different Script Include utility reuse objective, not the selected After Business Rule related records plan. After rules run after database operations and can react to persisted changes.
B:Call current.update repeatedly inside an after rule without controlling recursion. This is not part of a safe or effective After Business Rule related records design. Using an inappropriate before-rule dependency on a not-yet-saved sys_id can fail.
E:Use a before Business Rule in the proper table and operation to validate or adjust current. This serves the different Before Business Rule validation objective, not the selected After Business Rule related records plan. After rules run after database operations and can react to persisted changes.
Question 80
A request should offer only active technicians in its assignment reference selector. After the recommended Reference qualifier for valid selections change is implemented, which observation MOST directly verifies that it works?
- Lookup choices match expected filter conditions for the test records.
- Historical values remain retrievable to authorized users outside the simplified view.
- Invalid entries fail on both form submission and non-form write paths.
- The field persists and is queryable across records and lists.
Explanation
Correct Answer
A:Lookup choices match expected filter conditions for the test records. This directly tests whether the Reference qualifier for valid selections goal was met. Reference qualifiers constrain selectable reference candidates, not core database permissions.
Incorrect Answers
B: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 Reference qualifier for valid selections behavior. The relevant check is that lookup choices match expected filter conditions for the test records.
C:Invalid entries fail on both form submission and non-form write paths. This is evidence about Client-side validation versus authoritative enforcement, not direct proof of the required Reference qualifier for valid selections behavior. The relevant check is that lookup choices match expected filter conditions for the test records.
D: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 Reference qualifier for valid selections behavior. The relevant check is that lookup choices match expected filter conditions for the test records.