ServiceNow CAD Practice Test 66
Question 650
Field technicians should see only assigned open work in one navigator entry. Which approach BEST meets the requirement while respecting the system constraints?
- Assume a module filter grants permission to records otherwise blocked by ACLs.
- Adjust module active state and order settings in an approved application menu.
- Configure a list module with a tested filter appropriate to the user scenario.
- Create or configure an application menu with the intended modules.
Explanation
Correct Answer
C:Configure a list module with a tested filter appropriate to the user scenario. Module filters select record subsets but do not replace authorization. Verification should demonstrate that navigation opens a list restricted by the expected filter and ACLs.
Incorrect Answers
A:Assume a module filter grants permission to records otherwise blocked by ACLs. This is an unsafe or ineffective shortcut for Filtered module navigation. A shared unfiltered list can confuse task routing and expose excessive metadata.
B:Adjust module active state and order settings in an approved application menu. This primarily addresses Active state and module ordering, not the specific Filtered module navigation decision. Here, module filters select record subsets but do not replace authorization.
D:Create or configure an application menu with the intended modules. This primarily addresses Application menu navigation, not the specific Filtered module navigation decision. Here, module filters select record subsets but do not replace authorization.
Question 651
A client script must set a field's displayed state and value based on a supported event. Which approach BEST meets the requirement while respecting the system constraints?
- Change field values by rewriting platform-generated DOM IDs instead of using g_form.
- Use documented g_form methods suited to the field and client context.
- Use an accessible client-callable Script Include with asynchronous GlideAjax and validated input.
- Use an onLoad client script and supported g_form methods for initial presentation.
Explanation
Correct Answer
B:Use documented g_form methods suited to the field and client context. g_form is the supported client form API in suitable ServiceNow experiences. Verification should demonstrate that the form changes the intended field state and remains compatible with supported UI.
Incorrect Answers
A:Change field values by rewriting platform-generated DOM IDs instead of using g_form. This is an unsafe or ineffective shortcut for g_form API for form fields. Arbitrary DOM selectors can break after platform interface upgrades.
C:Use an accessible client-callable Script Include with asynchronous GlideAjax and validated input. This primarily addresses GlideAjax asynchronous client-server pattern, not the specific g_form API for form fields decision. Here, g_form is the supported client form API in suitable ServiceNow experiences.
D:Use an onLoad client script and supported g_form methods for initial presentation. This primarily addresses onLoad client script initialization, not the specific g_form API for form fields decision. Here, g_form is the supported client form API in suitable ServiceNow experiences.
Question 652
A flow emits a named event and the listener needs context without a database-wide scan. Which practical correction or implementation decision is MOST directly appropriate?
- Test schedule and timezone assumptions with representative dates.
- Put administrator credentials in an event parameter and assume the queue is a private secret store.
- Define and test one reusable utility with correct scoped access.
- Limit event parameter content and verify listener behavior.
Explanation
Correct Answer
D:Limit event parameter content and verify listener behavior. The intended behavior can be checked because a test notification uses only authorized event context.
Incorrect Answers
A:Test schedule and timezone assumptions with representative dates. This could help Scheduled Script Execution timing, but it does not resolve the Event parameters for notifications case. Event parameters can carry contextual data between the event producer and consumer.
B:Put administrator credentials in an event parameter and assume the queue is a private secret store. This would not correct the Event parameters for notifications workflow. Passing secrets or unvalidated user-supplied addresses in event parameters can disclose data.
C:Define and test one reusable utility with correct scoped access. This could help Utility Script Include for scheduled jobs, but it does not resolve the Event parameters for notifications case. Event parameters can carry contextual data between the event producer and consumer.
Question 653
A team approval can run only when the caller belongs to the assigned support group. After the recommended gs.getUser().isMemberOf group membership change is implemented, which observation MOST directly verifies that it works?
- Positive and negative membership tests reflect the caller's assigned group relationships.
- The form displays understandable feedback without exposing restricted data.
- Authorized caller contexts invoke the API while unrelated contexts fail.
- Behavior follows the documented property after a controlled update.
Explanation
Correct Answer
A:Positive and negative membership tests reflect the caller's assigned group relationships. This directly tests whether the gs.getUser().isMemberOf group membership goal was met. Effective group membership should come from server-side identity rather than form text.
Incorrect Answers
B:The form displays understandable feedback without exposing restricted data. This is evidence about gs.addInfoMessage user feedback, not direct proof of the required gs.getUser().isMemberOf group membership behavior. The relevant check is that positive and negative membership tests reflect the caller's assigned group relationships.
C:Authorized caller contexts invoke the API while unrelated contexts fail. This is evidence about Script Include accessible from scope setting, not direct proof of the required gs.getUser().isMemberOf group membership behavior. The relevant check is that positive and negative membership tests reflect the caller's assigned group relationships.
D:Behavior follows the documented property after a controlled update. This is evidence about gs.getProperty server configuration, not direct proof of the required gs.getUser().isMemberOf group membership behavior. The relevant check is that positive and negative membership tests reflect the caller's assigned group relationships.
Question 654
An app is installed where an optional feature property is absent. Testing exposes this failure: Omitting default handling may lead to invalid comparisons or unintended behavior. Which remediation should be applied FIRST?
- Provide sensible fallback and validate the expected property type.
- Put property changes under authorized change management and test expected effects.
- Store sensitive credentials in a supported secure credential mechanism and use properties for nonsecret settings.
- Treat an absent property as a reliable Boolean true for every feature.
Explanation
Correct Answer
A:Provide sensible fallback and validate the expected property type. Confirmation requires seeing that the job behaves predictably both when the property exists and when it is absent.
Incorrect Answers
B:Put property changes under authorized change management and test expected effects. It addresses Property change governance, not the diagnosed gs.getProperty with fallback failure. Omitting default handling may lead to invalid comparisons or unintended behavior.
C:Store sensitive credentials in a supported secure credential mechanism and use properties for nonsecret settings. It addresses Properties are not a secret vault, not the diagnosed gs.getProperty with fallback failure. Omitting default handling may lead to invalid comparisons or unintended behavior.
D:Treat an absent property as a reliable Boolean true for every feature. This retains the gs.getProperty with fallback problem. Server-side property access can supply configuration with optional default values.
Question 655
A team needs priority or state choices that are meaningful and consistent in scripts. Testing exposes this failure: Creating choice labels without consistent internal semantics can break filters and rules. Which remediation should be applied FIRST?
- Configure and test choice conditions including fallback behavior.
- Define the appropriate dictionary or server validation requirement and test all write paths.
- Expect arbitrary new free text to become an approved choice automatically.
- Define a new correctly typed table field and expose it on the required form.
Explanation
Correct Answer
A:Configure and test choice conditions including fallback behavior. Confirmation requires seeing that the form offers valid choices and stored values match automation checks.
Incorrect Answers
B:Define the appropriate dictionary or server validation requirement and test all write paths. It addresses Mandatory field storage versus form rendering, not the diagnosed Choice definitions and dependent choices failure. Creating choice labels without consistent internal semantics can break filters and rules.
C:Expect arbitrary new free text to become an approved choice automatically. This retains the Choice definitions and dependent choices problem. Choice lists centralize permitted presentation values and mapped internal values.
D:Define a new correctly typed table field and expose it on the required form. It addresses Add fields from the table dictionary, not the diagnosed Choice definitions and dependent choices failure. Creating choice labels without consistent internal semantics can break filters and rules.
Question 656
A delegated owner wants only selected roles to see administrative modules. Which practical correction or implementation decision is MOST directly appropriate?
- Treat menu hiding as complete protection against direct record queries.
- Test both navigation visibility and record security as different users.
- Validate positive and negative security scenarios with representative identities.
- Audit effective role memberships for sample users before deployment.
Explanation
Correct Answer
B:Test both navigation visibility and record security as different users. The intended behavior can be checked because finance-role users see the relevant menu while others cannot access its protected records.
Incorrect Answers
A:Treat menu hiding as complete protection against direct record queries. This would not correct the Application menu role restriction workflow. A hidden menu can still leave a table accessible via direct URL or API.
C:Validate positive and negative security scenarios with representative identities. This could help Impersonation for end-user testing, but it does not resolve the Application menu role restriction case. Navigation roles control visibility; they do not replace table ACL authorization.
D:Audit effective role memberships for sample users before deployment. This could help Role inclusion and effective access, but it does not resolve the Application menu role restriction case. Navigation roles control visibility; they do not replace table ACL authorization.
Question 657
A developer wants a notification tied to a specified record condition or event. Select TWO statements that correctly combine the Email notification trigger and condition method with evidence or its governing principle.
- Configure recipients and template variables from permitted record fields.
- Configure an email notification with correct table, trigger and conditions.
- Test messages are generated only for eligible record transitions.
- Send the approval email on every record save regardless of approval status.
- Inspect notification conditions, outbound email records and delivery status using authorized tools.
Explanation
Correct Answers
B:Configure an email notification with correct table, trigger and conditions. This is the intended action for Email notification trigger and condition.
C:Test messages are generated only for eligible record transitions. This is directly observable validation of the Email notification trigger and condition result.
Incorrect Answers
A:Configure recipients and template variables from permitted record fields. This serves the different Email recipients and templates objective, not the selected Email notification trigger and condition plan. Notifications select recipients and content based on events or record conditions.
D:Send the approval email on every record save regardless of approval status. This is not part of a safe or effective Email notification trigger and condition design. Too-broad triggers can spam users with messages on every update.
E:Inspect notification conditions, outbound email records and delivery status using authorized tools. This serves the different Email delivery troubleshooting objective, not the selected Email notification trigger and condition plan. Notifications select recipients and content based on events or record conditions.
Question 658
A record may be read only when the assigned user matches the caller. After the recommended Scripted ACL conditional check change is implemented, which observation MOST directly verifies that it works?
- Matching users can read and nonmatching users are rejected in impersonation tests.
- The controlled ACL or metadata change belongs to the intended application and passes review.
- Unauthorized write attempts are rejected while permissible reads still succeed.
- A properly privileged administrator can edit controlled ACLs with a recorded change.
Explanation
Correct Answer
A:Matching users can read and nonmatching users are rejected in impersonation tests. This directly tests whether the Scripted ACL conditional check goal was met. ACL scripts enable contextual authorization when roles and conditions are insufficient.
Incorrect Answers
B:The controlled ACL or metadata change belongs to the intended application and passes review. This is evidence about Scope context and security rule ownership, not direct proof of the required Scripted ACL conditional check behavior. The relevant check is that matching users can read and nonmatching users are rejected in impersonation tests.
C:Unauthorized write attempts are rejected while permissible reads still succeed. This is evidence about Table write operation ACL, not direct proof of the required Scripted ACL conditional check behavior. The relevant check is that matching users can read and nonmatching users are rejected in impersonation tests.
D:A properly privileged administrator can edit controlled ACLs with a recorded change. This is evidence about Elevated security_admin privilege for ACL edits, not direct proof of the required Scripted ACL conditional check behavior. The relevant check is that matching users can read and nonmatching users are rejected in impersonation tests.
Question 659
A supplier API requires an OAuth token or approved authentication rather than anonymous requests. Which approach BEST meets the requirement while respecting the system constraints?
- Put an API secret in a client script because the browser will not display its JavaScript.
- Use supported sn_ws.RESTMessageV2 server-side APIs and validate response status and payload.
- Use supported credential or connection alias mechanisms with least privilege.
- Inspect response codes and sanitized request/response diagnostics in a controlled environment.
Explanation
Correct Answer
C:Use supported credential or connection alias mechanisms with least privilege. Integration authentication should be managed separately from code configuration. Verification should demonstrate that authorized calls succeed and credentials are absent from source code and public logs.
Incorrect Answers
A:Put an API secret in a client script because the browser will not display its JavaScript. This is an unsafe or ineffective shortcut for REST authentication with stored credentials. Hard-coded keys in shared scripts expose secrets and complicate rotation.
B:Use supported sn_ws.RESTMessageV2 server-side APIs and validate response status and payload. This primarily addresses RESTMessageV2 execution and response, not the specific REST authentication with stored credentials decision. Here, integration authentication should be managed separately from code configuration.
D:Inspect response codes and sanitized request/response diagnostics in a controlled environment. This primarily addresses REST logging and diagnostics, not the specific REST authentication with stored credentials decision. Here, integration authentication should be managed separately from code configuration.
Question 660
Field technicians should see only assigned open work in one navigator entry. After the recommended Filtered module navigation change is implemented, which observation MOST directly verifies that it works?
- Navigation displays active modules in the expected sequence.
- Navigation opens a list restricted by the expected filter and ACLs.
- The eligible user reaches a new record form of the correct table.
- A positive and negative role test proves both layers behave as intended.
Explanation
Correct Answer
B:Navigation opens a list restricted by the expected filter and ACLs. This directly tests whether the Filtered module navigation goal was met. Module filters select record subsets but do not replace authorization.
Incorrect Answers
A:Navigation displays active modules in the expected sequence. This is evidence about Active state and module ordering, not direct proof of the required Filtered module navigation behavior. The relevant check is that navigation opens a list restricted by the expected filter and ACLs.
C:The eligible user reaches a new record form of the correct table. This is evidence about New-record module entry point, not direct proof of the required Filtered module navigation behavior. The relevant check is that navigation opens a list restricted by the expected filter and ACLs.
D:A positive and negative role test proves both layers behave as intended. This is evidence about Scope boundaries versus ACL authorizations, not direct proof of the required Filtered module navigation behavior. The relevant check is that navigation opens a list restricted by the expected filter and ACLs.