ServiceNow CAD Practice Test 15
Question 140
A user guesses the sys_id of a private record even though the module is hidden. If the relevant Distinguish module access from record roles safeguard is omitted, which outcome is the MOST directly associated failure?
- Testing only as admin may mask missing permissions or overly broad access.
- A hidden menu can still leave a table accessible via direct URL or API.
- UI hiding alone leaves alternate access paths unprotected.
- Exposing sensitive implementation files unintentionally may undermine support and integrity.
Explanation
Correct Answer
C:UI hiding alone leaves alternate access paths unprotected. Security checks must protect actual data access regardless of how records are reached. The corrective approach is to test security with direct read attempts and impersonated users.
Incorrect Answers
A:Testing only as admin may mask missing permissions or overly broad access. This failure pattern belongs chiefly to Impersonation for end-user testing; it is not the failure most directly tested in the Distinguish module access from record roles situation. UI hiding alone leaves alternate access paths unprotected.
B:A hidden menu can still leave a table accessible via direct URL or API. This failure pattern belongs chiefly to Application menu role restriction; it is not the failure most directly tested in the Distinguish module access from record roles situation. UI hiding alone leaves alternate access paths unprotected.
D:Exposing sensitive implementation files unintentionally may undermine support and integrity. This failure pattern belongs chiefly to Protected application files and distribution; it is not the failure most directly tested in the Distinguish module access from record roles situation. UI hiding alone leaves alternate access paths unprotected.
Question 141
A scheduled script requires a nonsecret toggle from an application property. An engineer must explain the recommendation for gs.getProperty server configuration. Which underlying principle is the MOST accurate?
- Security metadata and application scope boundaries can constrain what ACLs may be edited.
- GlideSystem can access system property values for server-side configuration.
- gs.hasRole consults effective user role membership in a server-side context.
- Effective group membership should come from server-side identity rather than form text.
Explanation
Correct Answer
B:GlideSystem can access system property values for server-side configuration. Therefore the implementation decision is to read the app-specific property through gs.getProperty with an appropriate default.
Incorrect Answers
A:Putting access-control decisions solely in a user-editable property can create bypasses. Security metadata and application scope boundaries can constrain what ACLs may be edited.
C:Putting access-control decisions solely in a user-editable property can create bypasses. This describes the separate gs.hasRole server authorization mechanism; the present case instead requires gs.getProperty server configuration.
D:Putting access-control decisions solely in a user-editable property can create bypasses. Effective group membership should come from server-side identity rather than form text.
Question 142
A developer assumes scoped-table ownership grants every end user unrestricted access. An engineer must explain the recommendation for Scope boundaries versus ACL authorizations. Which underlying principle is the MOST accurate?
- Application suitability includes access model and user interaction, not only schema.
- Script includes and API access can be constrained across application scopes.
- Scoped apps isolate application artifacts and reduce naming collisions.
- Application scope is an artifact isolation mechanism while ACLs govern record or field access.
Explanation
Correct Answer
D:Application scope is an artifact isolation mechanism while ACLs govern record or field access. Therefore the implementation decision is to apply both application scope restrictions and user-focused table or field ACLs.
Incorrect Answers
A:Confusing a scope prefix with a runtime user role can leak restricted records. Application suitability includes access model and user interaction, not only schema.
B:Confusing a scope prefix with a runtime user role can leak restricted records. Script includes and API access can be constrained across application scopes.
C:Confusing a scope prefix with a runtime user role can leak restricted records. Scoped apps isolate application artifacts and reduce naming collisions.
Question 143
A request form must reveal a justification field only for a certain selection. If the relevant UI policies for required and visible fields safeguard is omitted, which outcome is the MOST directly associated failure?
- A REST update may bypass browser-only checks and store invalid data.
- Using arbitrary client-side logic alone cannot guarantee target record invariants.
- Modifying form layout does not by itself change table dictionary or ACL definitions.
- A UI policy cannot replace ACL enforcement or every server-side data validation.
Explanation
Correct Answer
D:A UI policy cannot replace ACL enforcement or every server-side data validation. UI policies offer declarative client-facing form behavior for mandatory, visible and read-only states. The corrective approach is to use declarative UI policy where adequate and test condition reversals.
Incorrect Answers
A:This failure pattern belongs chiefly to Client-side validation versus authoritative enforcement; it is not the failure most directly tested in the UI policies for required and visible fields situation.
B:Using arbitrary client-side logic alone cannot guarantee target record invariants. This failure pattern belongs chiefly to Producer script for controlled assignment; it is not the failure most directly tested in the UI policies for required and visible fields situation. A UI policy cannot replace ACL enforcement or every server-side data validation.
C:This failure pattern belongs chiefly to Form layout sections and field placement; it is not the failure most directly tested in the UI policies for required and visible fields situation.
Question 144
A second scoped app must read selected records owned by a scheduling application. Which approach BEST meets the requirement while respecting the system constraints?
- Inspect and approve only legitimate cross-scope privilege requests as applicable.
- Apply both application scope restrictions and user-focused table or field ACLs.
- Set every table to unrestricted cross-scope write access for convenience.
- Configure permitted cross-scope table access and ACLs for the actual consumers.
Explanation
Correct Answer
D:Configure permitted cross-scope table access and ACLs for the actual consumers. Application access settings limit what other scopes may do with application tables. Verification should demonstrate that authorized cross-scope reads succeed while disallowed operations fail.
Incorrect Answers
A:Inspect and approve only legitimate cross-scope privilege requests as applicable. This primarily addresses Scope privileges and tracking, not the specific Cross-scope table application access decision. Here, application access settings limit what other scopes may do with application tables.
B:Apply both application scope restrictions and user-focused table or field ACLs. This primarily addresses Scope boundaries versus ACL authorizations, not the specific Cross-scope table application access decision. Here, application access settings limit what other scopes may do with application tables.
C:Set every table to unrestricted cross-scope write access for convenience. This is an unsafe or ineffective shortcut for Cross-scope table application access. Blanket cross-scope writes expose application-owned data to unintended changes.
Question 145
A workflow owner wants a simple form experience without bypassing record authorization. Testing exposes this failure: A public-facing design with no authorization can reveal sensitive request records. Which remediation should be applied FIRST?
- Check the organization subscription and any custom-table entitlements before designing the schema.
- Plan app scope, owners, test instances, dependencies and deployment checkpoints.
- Treat hiding a menu as equivalent to enforcing table security.
- Include UI and ACL validation in an early feasibility prototype.
Explanation
Correct Answer
D:Include UI and ACL validation in an early feasibility prototype. Confirmation requires seeing that authorized testers submit and view records while unauthorized testers are denied.
Incorrect Answers
A:Check the organization subscription and any custom-table entitlements before designing the schema. It addresses Licensing and custom table entitlement, not the diagnosed Experience design and app permissions failure. A public-facing design with no authorization can reveal sensitive request records.
B:Plan app scope, owners, test instances, dependencies and deployment checkpoints. It addresses Scoped app lifecycle planning, not the diagnosed Experience design and app permissions failure. A public-facing design with no authorization can reveal sensitive request records.
C:Treat hiding a menu as equivalent to enforcing table security. This retains the Experience design and app permissions problem. Application suitability includes access model and user interaction, not only schema.
Question 146
An import batch has missing external IDs and malformed reference values. Which approach BEST meets the requirement while respecting the system constraints?
- Apply controlled transform validation such as an onBefore script and audit skipped rows.
- Use Auto Map Matching Fields and manually review unmatched or incorrect mappings.
- Discard error logs and report the number of input rows as proof all were stored.
- Create an appropriate file data source and load rows to an import set staging table.
Explanation
Correct Answer
A:Apply controlled transform validation such as an onBefore script and audit skipped rows. Transform lifecycle checks can reject invalid rows before target insertion. Verification should demonstrate that the final table contains valid records and an exception report tracks rejects.
Incorrect Answers
B:Use Auto Map Matching Fields and manually review unmatched or incorrect mappings. This primarily addresses Auto Map Matching Fields limits, not the specific Import reconciliation and onBefore rejection decision. Here, transform lifecycle checks can reject invalid rows before target insertion.
C:Discard error logs and report the number of input rows as proof all were stored. This is an unsafe or ineffective shortcut for Import reconciliation and onBefore rejection. Accepting every row without reconciliation can corrupt app data or create duplicates.
D:Create an appropriate file data source and load rows to an import set staging table. This primarily addresses CSV file data source and import set, not the specific Import reconciliation and onBefore rejection decision. Here, transform lifecycle checks can reject invalid rows before target insertion.
Question 147
An app receives a reply with a case reference and should append a permitted update. A reviewer proposes this shortcut: Treat a subject line containing an incident number as sufficient authentication for every update. Which principle BEST explains why a different solution is needed?
- Inbound email handlers can map received messages into application behavior.
- Notification rendering supports record-derived context and configured recipients.
- Application properties externalize configurable behavior from code.
- Inbound email processing uses message classification and matching rules.
Explanation
Correct Answer
A:Inbound email handlers can map received messages into application behavior. The appropriate approach is to configure an inbound email action or supported inbound processing with identity and record matching.
Incorrect Answers
B:Notification rendering supports record-derived context and configured recipients. This is about Email recipients and templates, not why the proposed Inbound email action parsing shortcut should be rejected. Trusting any sender and subject can let outsiders alter unrelated records.
C:Application properties externalize configurable behavior from code. This is about Application properties for behavior toggles, not why the proposed Inbound email action parsing shortcut should be rejected. Trusting any sender and subject can let outsiders alter unrelated records.
D:Inbound email processing uses message classification and matching rules. This is about Inbound email creation versus reply, not why the proposed Inbound email action parsing shortcut should be rejected. Trusting any sender and subject can let outsiders alter unrelated records.
Question 148
A second custom app should not insert or delete records in the first app's table. An engineer must explain the recommendation for Table application access and CRUD scope. Which underlying principle is the MOST accurate?
- Table application access determines cross-scope operation possibilities beyond user permissions.
- Feedback methods communicate to the user and are not substitutes for access controls.
- Scope protection restricts application artifact usage across apps.
- Security metadata and application scope boundaries can constrain what ACLs may be edited.
Explanation
Correct Answer
A:Table application access determines cross-scope operation possibilities beyond user permissions. Therefore the implementation decision is to configure allowed cross-scope operations at the target table and separately define ACLs.
Incorrect Answers
B:Making a table accessible from all scopes does not by itself authorize end users. Feedback methods communicate to the user and are not substitutes for access controls.
C:Making a table accessible from all scopes does not by itself authorize end users. This describes the separate Private scope protects internal application files mechanism; the present case instead requires Table application access and CRUD scope.
D:Making a table accessible from all scopes does not by itself authorize end users. Security metadata and application scope boundaries can constrain what ACLs may be edited.
Question 149
A scoped application must send approved purchase-order status to a supplier HTTPS endpoint. A reviewer proposes this shortcut: Treat an HTML form action as a fully configured authenticated outbound REST integration. Which principle BEST explains why a different solution is needed?
- HTTP statuses and safe logs support distinguishing integration errors.
- Integration authentication should be managed separately from code configuration.
- ServiceNow REST messages describe external HTTP operations used by app integrations.
- Import sets separate incoming source data from application target records.
Explanation
Correct Answer
C:ServiceNow REST messages describe external HTTP operations used by app integrations. The appropriate approach is to configure an outbound REST Message with the intended method, endpoint and parameters.
Incorrect Answers
A:HTTP statuses and safe logs support distinguishing integration errors. This is about REST logging and diagnostics, not why the proposed Outbound REST Message configuration shortcut should be rejected. Unchecked URLs and method choices can send confidential data to unintended destinations.
B:Integration authentication should be managed separately from code configuration. This is about REST authentication with stored credentials, not why the proposed Outbound REST Message configuration shortcut should be rejected. Unchecked URLs and method choices can send confidential data to unintended destinations.
D:Import sets separate incoming source data from application target records. This is about CSV file data source and import set, not why the proposed Outbound REST Message configuration shortcut should be rejected. Unchecked URLs and method choices can send confidential data to unintended destinations.
Question 150
An application requires default client-side display logic as the form first loads. Select TWO statements that correctly combine the onLoad client script initialization method with evidence or its governing principle.
- Use an onLoad client script and supported g_form methods for initial presentation.
- Use documented g_form methods suited to the field and client context.
- Use an onSubmit client script to provide feedback and return false when invalid.
- The message or supported field state appears when the form loads.
- Put a form-load requirement solely in an onSubmit handler and expect it before save.
Explanation
Correct Answers
A:Use an onLoad client script and supported g_form methods for initial presentation. This is the intended action for onLoad client script initialization.
D:The message or supported field state appears when the form loads. This is directly observable validation of the onLoad client script initialization result.
Incorrect Answers
B:Use documented g_form methods suited to the field and client context. This serves the different g_form API for form fields objective, not the selected onLoad client script initialization plan. onLoad scripts execute during form initialization, distinct from onChange or submit events.
C:Use an onSubmit client script to provide feedback and return false when invalid. This serves the different onSubmit client script validation objective, not the selected onLoad client script initialization plan. onLoad scripts execute during form initialization, distinct from onChange or submit events.
E:Put a form-load requirement solely in an onSubmit handler and expect it before save. This is not part of a safe or effective onLoad client script initialization design. Triggering initialization on every field change can create redundant behavior.