ServiceNow CAD Practice Test 78
Question 770
A project app must permit reading while limiting edits to authorized groups. Which practical correction or implementation decision is MOST directly appropriate?
- Investigate ACL decisions and apply the smallest permission fix.
- Put a read ACL on a table and assume it automatically enforces a manager-only write policy.
- Define an operation-specific write policy and test record updates.
- Validate scripted ACL behavior for direct record and API requests.
Explanation
Correct Answer
C:Define an operation-specific write policy and test record updates. The intended behavior can be checked because unauthorized write attempts are rejected while permissible reads still succeed.
Incorrect Answers
A:Investigate ACL decisions and apply the smallest permission fix. This could help Access Control Debug and denial analysis, but it does not resolve the Table write operation ACL case. Read and write authorizations are separate operations that may have different rules.
B:Put a read ACL on a table and assume it automatically enforces a manager-only write policy. This would not correct the Table write operation ACL workflow. A read role alone should not imply unrestricted mutation of records.
D:Validate scripted ACL behavior for direct record and API requests. This could help Scripted ACL conditional check, but it does not resolve the Table write operation ACL case. Read and write authorizations are separate operations that may have different rules.
Question 771
A team wants to publish a scoped custom application to other company instances. If the relevant Application repository release distribution safeguard is omitted, which outcome is the MOST directly associated failure?
- Installing without a dependency plan can leave missing tables or APIs.
- Users may see broken forms or permissions after an incomplete release test.
- Assuming Studio can perform every Git conflict merge can risk source loss.
- Copying only one script file is not equivalent to installing the packaged application.
Explanation
Correct Answer
D:Copying only one script file is not equivalent to installing the packaged application. Application Repository supports sharing and controlled installation of application versions. The corrective approach is to publish and test an approved version with installation validation.
Incorrect Answers
A:Installing without a dependency plan can leave missing tables or APIs. This failure pattern belongs chiefly to App installation dependencies; it is not the failure most directly tested in the Application repository release distribution situation. Copying only one script file is not equivalent to installing the packaged application.
B:Users may see broken forms or permissions after an incomplete release test. This failure pattern belongs chiefly to Post-install validation and rollback; it is not the failure most directly tested in the Application repository release distribution situation. Copying only one script file is not equivalent to installing the packaged application.
C:This failure pattern belongs chiefly to Branch and merge limitations in platform integration; it is not the failure most directly tested in the Application repository release distribution situation.
Question 772
An integration requires a credential and a separate nonsecret timeout parameter. After the recommended Properties are not a secret vault change is implemented, which observation MOST directly verifies that it works?
- Tests show only permitted principals can access credentials while timeout remains configurable.
- Test messages are generated only for eligible record transitions.
- The false string disables the flag and numeric values obey documented bounds.
- Reviewed before-and-after values and execution evidence match an approved change.
Explanation
Correct Answer
A:Tests show only permitted principals can access credentials while timeout remains configurable. This directly tests whether the Properties are not a secret vault goal was met. Ordinary configuration properties should not be assumed suitable for protected secrets.
Incorrect Answers
B:Test messages are generated only for eligible record transitions. This is evidence about Email notification trigger and condition, not direct proof of the required Properties are not a secret vault behavior. The relevant check is that tests show only permitted principals can access credentials while timeout remains configurable.
C:The false string disables the flag and numeric values obey documented bounds. This is evidence about Parse property types explicitly, not direct proof of the required Properties are not a secret vault behavior. The relevant check is that tests show only permitted principals can access credentials while timeout remains configurable.
D:Reviewed before-and-after values and execution evidence match an approved change. This is evidence about Property change governance, not direct proof of the required Properties are not a secret vault behavior. The relevant check is that tests show only permitted principals can access credentials while timeout remains configurable.
Question 773
A workflow owner wants a simple form experience without bypassing record authorization. An engineer must explain the recommendation for Experience design and app permissions. Which underlying principle is the MOST accurate?
- Application suitability includes access model and user interaction, not only schema.
- Application fit also includes operational ownership and promotion practices.
- A workflow platform is not a substitute for specialized large-scale numerical computing.
- Application menus organize navigation entries rather than storing business data.
Explanation
Correct Answer
A:Application suitability includes access model and user interaction, not only schema. Therefore the implementation decision is to define personas, authenticated roles, record permissions and suitable interface components.
Incorrect Answers
B:A public-facing design with no authorization can reveal sensitive request records. This describes the separate Scoped app lifecycle planning mechanism; the present case instead requires Experience design and app permissions.
C:A public-facing design with no authorization can reveal sensitive request records. A workflow platform is not a substitute for specialized large-scale numerical computing.
D:A public-facing design with no authorization can reveal sensitive request records. Application menus organize navigation entries rather than storing business data.
Question 774
A team approval can run only when the caller belongs to the assigned support group. Which approach BEST meets the requirement while respecting the system constraints?
- Read gs.getUserID in server-side script where the effective user identity is required.
- Give access because the client posts a string naming the required group.
- Use a documented server-side GlideSystem role check such as gs.hasRole with the intended role.
- Check membership using an appropriate server-side GlideUser method such as gs.getUser().isMemberOf.
Explanation
Correct Answer
D:Check membership using an appropriate server-side GlideUser method such as gs.getUser().isMemberOf. Effective group membership should come from server-side identity rather than form text. Verification should demonstrate that positive and negative membership tests reflect the caller's assigned group relationships.
Incorrect Answers
A:Read gs.getUserID in server-side script where the effective user identity is required. This primarily addresses gs.getUserID for current identity, not the specific gs.getUser().isMemberOf group membership decision. Here, effective group membership should come from server-side identity rather than form text.
B:Give access because the client posts a string naming the required group. This is an unsafe or ineffective shortcut for gs.getUser().isMemberOf group membership. Treating a free-form group name as membership proof bypasses authorization.
C:Use a documented server-side GlideSystem role check such as gs.hasRole with the intended role. This primarily addresses gs.hasRole server authorization, not the specific gs.getUser().isMemberOf group membership decision. Here, effective group membership should come from server-side identity rather than form text.
Question 775
A scoped integration attempts an operation on a protected object in another 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.
- Treat all denied cross-scope calls as bugs to fix by globally turning off protection.
- Build in the intended private application scope and use its generated namespace.
Explanation
Correct Answer
A:Inspect and approve only legitimate cross-scope privilege requests as applicable. Runtime cross-scope controls provide a review boundary separate from data ACLs. Verification should demonstrate that the intended dependency works with a recorded allowed cross-scope policy.
Incorrect Answers
B:Apply both application scope restrictions and user-focused table or field ACLs. This primarily addresses Scope boundaries versus ACL authorizations, not the specific Scope privileges and tracking decision. Here, runtime cross-scope controls provide a review boundary separate from data ACLs.
C:Treat all denied cross-scope calls as bugs to fix by globally turning off protection. This is an unsafe or ineffective shortcut for Scope privileges and tracking. Approving all cross-scope privileges removes a layer of application isolation.
D:Build in the intended private application scope and use its generated namespace. This primarily addresses Application scope namespace, not the specific Scope privileges and tracking decision. Here, runtime cross-scope controls provide a review boundary separate from data ACLs.
Question 776
A developer thinks only visible navigation can expose the table. An engineer must explain the recommendation for Distinguish module access from record roles. Which underlying principle is the MOST accurate?
- Security checks must protect actual data access regardless of how records are reached.
- gs.hasRole consults effective user role membership in a server-side context.
- Administrator testing alone cannot demonstrate ordinary-user ACL behavior.
- Role-based authorization connects user responsibilities to access rules.
Explanation
Correct Answer
A:Security checks must protect actual data access regardless of how records are reached. Therefore the implementation decision is to enforce required table and field ACLs on records in addition to menu controls.
Incorrect Answers
B:Gs.hasRole consults effective user role membership in a server-side context. This describes the separate gs.hasRole server authorization mechanism; the present case instead requires Distinguish module access from record roles. UI hiding alone leaves alternate access paths unprotected.
C:Administrator testing alone cannot demonstrate ordinary-user ACL behavior. This describes the separate Impersonation for end-user testing mechanism; the present case instead requires Distinguish module access from record roles. UI hiding alone leaves alternate access paths unprotected.
D:Role-based authorization connects user responsibilities to access rules. This describes the separate Application role assignment model mechanism; the present case instead requires Distinguish module access from record roles. UI hiding alone leaves alternate access paths unprotected.
Question 777
A supplier API requires an OAuth token or approved authentication rather than anonymous requests. If the relevant REST authentication with stored credentials safeguard is omitted, which outcome is the MOST directly associated failure?
- Sending malformed JSON or wrong verbs produces rejected or incorrect requests.
- Blind text conversion can silently assign invalid status or reference values.
- Retrying a non-idempotent POST without a key can create duplicate requests.
- Hard-coded keys in shared scripts expose secrets and complicate rotation.
Explanation
Correct Answer
D:Hard-coded keys in shared scripts expose secrets and complicate rotation. Integration authentication should be managed separately from code configuration. The corrective approach is to configure approved authentication and test expiry or rotation behavior.
Incorrect Answers
A:Sending malformed JSON or wrong verbs produces rejected or incorrect requests. This failure pattern belongs chiefly to REST endpoint and payload validation; it is not the failure most directly tested in the REST authentication with stored credentials situation. Hard-coded keys in shared scripts expose secrets and complicate rotation.
B:Blind text conversion can silently assign invalid status or reference values. This failure pattern belongs chiefly to Transform scripts for calculated mappings; it is not the failure most directly tested in the REST authentication with stored credentials situation. Hard-coded keys in shared scripts expose secrets and complicate rotation.
C:Retrying a non-idempotent POST without a key can create duplicate requests. This failure pattern belongs chiefly to REST timeout and retry safety; it is not the failure most directly tested in the REST authentication with stored credentials situation. Hard-coded keys in shared scripts expose secrets and complicate rotation.
Question 778
A server-side utility must check whether the caller holds an approved business role. If the relevant gs.hasRole server authorization safeguard is omitted, which outcome is the MOST directly associated failure?
- Browser-only role detection is not reliable authorization for server mutations.
- Putting access-control decisions solely in a user-editable property can create bypasses.
- A client-provided name can be forged or ambiguous.
- Unexamined role inheritance can grant a broad permission unexpectedly.
Explanation
Correct Answer
A:Browser-only role detection is not reliable authorization for server mutations. gs.hasRole consults effective user role membership in a server-side context. The corrective approach is to enforce sensitive conditions server-side and verify ACLs separately.
Incorrect Answers
B:Putting access-control decisions solely in a user-editable property can create bypasses. This failure pattern belongs chiefly to gs.getProperty server configuration; it is not the failure most directly tested in the gs.hasRole server authorization situation. Browser-only role detection is not reliable authorization for server mutations.
C:A client-provided name can be forged or ambiguous. This failure pattern belongs chiefly to gs.getUserID for current identity; it is not the failure most directly tested in the gs.hasRole server authorization situation. Browser-only role detection is not reliable authorization for server mutations.
D:Unexamined role inheritance can grant a broad permission unexpectedly. This failure pattern belongs chiefly to Role inclusion and effective access; it is not the failure most directly tested in the gs.hasRole server authorization situation. Browser-only role detection is not reliable authorization for server mutations.
Question 779
A support form should offer controlled status values appropriate for its category. Which approach BEST meets the requirement while respecting the system constraints?
- Configure a suitable reference qualifier for the target reference field.
- Expect arbitrary new free text to become an approved choice automatically.
- Define the appropriate dictionary or server validation requirement and test all write paths.
- Define stable choice values and applicable dependent-choice configuration.
Explanation
Correct Answer
D:Define stable choice values and applicable dependent-choice configuration. Choice lists centralize permitted presentation values and mapped internal values. Verification should demonstrate that the form offers valid choices and stored values match automation checks.
Incorrect Answers
A:Configure a suitable reference qualifier for the target reference field. This primarily addresses Reference qualifier for valid selections, not the specific Choice definitions and dependent choices decision. Here, choice lists centralize permitted presentation values and mapped internal values.
B:Expect arbitrary new free text to become an approved choice automatically. This is an unsafe or ineffective shortcut for Choice definitions and dependent choices. Creating choice labels without consistent internal semantics can break filters and rules.
C:Define the appropriate dictionary or server validation requirement and test all write paths. This primarily addresses Mandatory field storage versus form rendering, not the specific Choice definitions and dependent choices decision. Here, choice lists centralize permitted presentation values and mapped internal values.
Question 780
An employee should see only app records permitted to a defined case-reader role. A reviewer proposes this shortcut: Replace table read ACLs with a hidden form field and consider it secure. Which principle BEST explains why a different solution is needed?
- User access can depend on assigned roles and configured role relationships.
- ACL role, condition and script gates are evaluated to determine permitted operations.
- ACLs gate operations on table data rather than merely changing navigation.
- Table ACLs and field ACLs can both affect whether sensitive data is revealed.
Explanation
Correct Answer
C:The appropriate approach is to create a correctly scoped table-level read ACL with an appropriate role or condition.
Incorrect Answers
A:User access can depend on assigned roles and configured role relationships. This is about Role inclusion and effective access, not why the proposed Table read access control shortcut should be rejected. An overly broad read rule can expose sensitive records outside the intended app.
B:ACL role, condition and script gates are evaluated to determine permitted operations. This is about Access control condition versus role, not why the proposed Table read access control shortcut should be rejected. An overly broad read rule can expose sensitive records outside the intended app.
D:Table ACLs and field ACLs can both affect whether sensitive data is revealed. This is about Field-level ACL for sensitive data, not why the proposed Table read access control shortcut should be rejected. An overly broad read rule can expose sensitive records outside the intended app.