Exam CAD All QuestionsBrowse all questions from this exam
Question 124

What are the benefits of storing the majority of an Application’s server-side script logic in a Script Include?

a. This makes execution faster.

b. Only run when called from a script.

c. The script logic can be hidden when the Application is installed from the ServiceNow Store. d. For some changes to application logic there is only one place to make edits.

    Correct Answer: C

    Storing the majority of an Application’s server-side script logic in a Script Include has several benefits. First, it ensures that the script logic can be hidden when the Application is installed from the ServiceNow Store. Secondly, it allows the scripts to run only when called, improving resource management. Lastly, it enables easier management of application logic changes, as there is only one place to make edits. These benefits align with options b, c, and d, making them the correct choice.

Discussion
Bob_LoblawOption: C

Answer is C. Proof is here: https://developer.servicenow.com/dev.do#!/learn/courses/tokyo/app_store_learnv2_scripting_tokyo_scripting_in_servicenow/app_store_learnv2_scripting_tokyo_server_side_scripting/app_store_learnv2_scripting_tokyo_script_includes

doctorF

Agreed on C

fe91db0Option: C

execution performance is not based on script include but rather logic, query and when/where script is running

stophsOption: C

C. b, c, and d

Mike49707Option: C

Answer is C

1fd00cfOption: C

c is correct