Docsity

Certified Application Developer Practice Exam, Exams of Technology

Toggle sidebar
bg1
Certified Application Developer Practice
Exam
**Question 1.** Which table type allows you to add fields that are inherited by all tables
extending it?
A) Base Table
B) Extension Table
C) Custom Table
D) Parent Table
Answer: A
Explanation: A Base Table is the root of a table hierarchy; fields defined on it are inherited by all
child tables.
**Question 2.** In a field definition, which property ensures the field can only contain values
from a predefined list?
A) Mandatory
B) Choice
C) Reference
D) Unique
Answer: B
Explanation: The Choice property presents a static list of allowed values, restricting input to
those options.
**Question 3.** What is the primary purpose of a schema map in ServiceNow?
A) To define UI policies
B) To visualize table relationships
C) To schedule jobs
D) To configure email notifications
Answer: B
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b

Partial preview of the text

Download Certified Application Developer Practice Exam and more Exams Technology in PDF only on Docsity!

Exam

Question 1. Which table type allows you to add fields that are inherited by all tables extending it? A) Base Table B) Extension Table C) Custom Table D) Parent Table Answer: A Explanation: A Base Table is the root of a table hierarchy; fields defined on it are inherited by all child tables. Question 2. In a field definition, which property ensures the field can only contain values from a predefined list? A) Mandatory B) Choice C) Reference D) Unique Answer: B Explanation: The Choice property presents a static list of allowed values, restricting input to those options. Question 3. What is the primary purpose of a schema map in ServiceNow? A) To define UI policies B) To visualize table relationships C) To schedule jobs D) To configure email notifications Answer: B

Exam

Explanation: A schema map graphically displays one‑to‑many, many‑to‑many, and reference relationships between tables. Question 4. Which ACL condition restricts a user from deleting records in the Incident table? A) operation == delete B) role == admin C) table == incident D) condition == true Answer: A Explanation: ACL scripts can check the operation variable; setting it to “delete” limits delete actions. Question 5. When importing data, what does the “coalesce” field do? A) Merges duplicate rows into one record B) Prevents duplicate records by matching on a key field C) Converts all text to uppercase D) Encrypts the imported data Answer: B Explanation: Coalesce tells the import set to update an existing record when the specified field matches, avoiding duplicates. Question 6. Which UI action type appears as a context‑menu option on a list? A) Form button B) List button C) Context menu

Exam

C) Form Widget D) Report Widget Answer: B Explanation: The List Widget renders a table list with pagination and filtering on a portal page. Question 10. When should you use a Business Rule set to “Display” mode? A) To modify data before it is saved B) To run after the record is inserted C) To affect the UI after the record is queried D) To schedule a nightly job Answer: C Explanation: Display Business Rules fire after a record is retrieved from the database and before it is rendered on the form. Question 11. Which Business Rule timing runs asynchronously, after the current transaction completes? A) Before B) After C) Async D) Display Answer: C Explanation: Async Business Rules execute in a separate thread after the original transaction, preventing delays for the user. Question 12. What is the main advantage of using a Script Include over inline script code? A) Faster execution time

Exam

B) Ability to be called from both client and server scripts C) Automatic UI rendering D) No need for ACLs Answer: B Explanation: Script Includes encapsulate reusable functions that can be invoked from client scripts (via GlideAjax) and server scripts. Question 13. Which GlideRecord method retrieves a single record by its Sys ID? A) get() B) query() C) next() D) find() Answer: A Explanation: GlideRecord.get('sys_id') returns the record matching that Sys ID or null if not found. Question 14. In Flow Designer, what is a “Trigger”? A) A UI Policy condition B) An event that starts the flow execution C) A script include method D) A scheduled job definition Answer: B Explanation: Triggers define when a flow should run, such as record changes, webhooks, or scheduled times.

Exam

Explanation: GET requests are used to read data without side effects, while POST, PUT, DELETE modify data. Question 18. When creating an outbound REST message, which option defines the format of the request body? A) HTTP Method B) Endpoint URL C) Authentication Type D) Request Payload Answer: D Explanation: The Request Payload contains the JSON or XML payload sent to the external service. Question 19. Which IntegrationHub spoke provides native connectivity to Microsoft Teams? A) Slack Spoke B) Teams Spoke C) Outlook Spoke D) Chatwork Spoke Answer: B Explanation: The Microsoft Teams spoke includes actions for posting messages, creating channels, etc. Question 20. What is an Event in ServiceNow used for? A) To schedule a job B) To trigger notifications or scripts when a condition occurs C) To define a UI policy

Exam

D) To create a new table Answer: B Explanation: Events are fired by scripts or Business Rules and can be consumed by Notification or Event Management. Question 21. Which scope type isolates an application’s data and scripts from other applications? A) Global Scope B) Application Scope C) System Scope D) User Scope Answer: B Explanation: Application Scope creates a sandbox that prevents naming collisions and unauthorized cross‑app access. Question 22. What does an Update Set capture? A) All data records in a table B) Configuration changes such as UI policies, scripts, and tables C) User passwords D) System logs Answer: B Explanation: Update Sets record customizations made in an instance, enabling migration to another environment. Question 23. Which Git operation is used to bring changes from a remote repository into your local branch?

Exam

Explanation: The Application Repository enables developers to share and install apps across multiple ServiceNow instances with version tracking. Question 26. What is the primary purpose of the Automated Test Framework (ATF)? A) To generate code documentation B) To execute functional tests automatically after upgrades or changes C) To monitor server performance D) To enforce ACLs Answer: B Explanation: ATF allows creation of repeatable test cases that validate application behavior without manual effort. Question 27. Which debugging tool shows the order of script execution and variable values in real time? A) Script Debugger B) Session Log C) System Log D) Performance Analytics Answer: A Explanation: The Script Debugger provides step‑by‑step execution, breakpoints, and variable inspection. Question 28. What error is thrown when a GlideRecord query returns no records and you attempt to access a field? A) TypeError B) ReferenceError

Exam

C) NullPointerException (in ServiceNow terms, “Cannot read property”) D) SyntaxError Answer: C Explanation: Accessing a field on a null GlideRecord results in a runtime error because the record does not exist. Question 29. Which field type automatically creates a drop‑down list populated from another table? A) String B) Choice C) Reference D) Boolean Answer: C Explanation: Reference fields point to records in another table and render as a drop‑down of those records. Question 30. In a many‑to‑many relationship, which table stores the association between two primary tables? A) Junction Table (or link table) B) Parent Table C) Child Table D) Extension Table Answer: A Explanation: A junction (or link) table contains two reference fields that map records from each side of the relationship.

Exam

Explanation: Async rules run after the database transaction, ideal for non‑critical tasks like notifications. Question 34. Which Flow Designer action would you select to send an email notification? A) Send Email B) Notify User C) Email Action D) Email Notification Answer: A Explanation: The “Send Email” action lets you specify recipients, subject, and body within a flow. Question 35. What does the “Transform Map” field “Run script” allow you to do? A) Execute a server‑side script for each record during import B) Schedule a nightly import job C) Create a UI policy for the import set table D) Generate a PDF report of imported data Answer: A Explanation: “Run script” on a Transform Map runs the specified script for each source row, enabling custom data manipulation. Question 36. Which of the following is true about a “Reference qualifier” on a reference field? A) It determines the field’s mandatory status B) It filters the list of records shown in the drop‑down C) It changes the field type to a choice list

Exam

D) It sets the field’s default value Answer: B Explanation: A reference qualifier is a condition (script or simple) that limits which records appear in the reference picker. Question 37. In Service Portal, what is the purpose of a “Widget Instance”? A) To store user session data B) To define a reusable UI component with its own client and server scripts C) To manage ACLs for portal pages D) To schedule background jobs for the portal Answer: B Explanation: A widget instance represents a specific use of a widget on a page, allowing configuration and execution of its scripts. Question 38. Which method of GlideRecord is used to retrieve the next record in a result set? A) getNext() B) fetch() C) next() D) iterate() Answer: C Explanation: After query(), calling next() moves the cursor to the next record. Question 39. What is the effect of setting the “Active” field to false on a Business Rule? A) The rule will be deleted B) The rule will not execute until re‑activated

Exam

A) Slack Post Message B) Slack Send Notification C) Slack Create Channel D) Slack Upload File Answer: A Explanation: The “Slack Post Message” action sends a text message to a specified Slack channel. Question 43. What is the purpose of the “Event Queue” in ServiceNow? A) To store user sessions B) To hold events awaiting processing by the notification engine C) To manage scheduled jobs D) To archive old records Answer: B Explanation: The Event Queue temporarily stores events until the platform processes them, triggering notifications or scripts. Question 44. In a scoped application, which role is required to install the application from the Application Repository? A) admin B) app_repo_user C) workspace_user D) app_manager Answer: D Explanation: The app_manager role grants permission to install, update, and uninstall applications from the repository.

Exam

Question 45. Which ATF test step verifies that a field is read‑only on a form? A) Verify Field Value B) Verify Field Read‑only C) Verify UI Action Exists D) Verify Form Layout Answer: B Explanation: “Verify Field Read‑only” checks the read‑only attribute of a specified field during a test. Question 46. What does the “gs.getUserID()” method return? A) The user’s name B) The user’s role list C) The sys_id of the currently logged‑in user D) The user’s email address Answer: C Explanation: gs.getUserID() returns the sys_id of the active session’s user. Question 47. Which of the following is a valid way to make a field mandatory on the server side? A) UI Policy B) Client Script C) Business Rule with setMandatory(true) D) Data Policy Answer: C Explanation: Server‑side scripts, such as Business Rules, can call current.setMandatory('field_name', true) to enforce mandatory status.

Exam

Explanation: Dictionary Overrides allow a child table to redefine attributes (e.g., default value) without affecting the parent. Question 51. Which of the following is true about “Import Set Tables”? A) They store permanent data accessible by end users B) They are temporary staging tables used during data import C) They cannot have Business Rules attached D) They automatically sync with external databases in real time Answer: B Explanation: Import Set Tables act as a holding area for raw data before transformation into target tables. Question 52. In a UI Action script, what does g_form.save() do? A) Submits the form without validation B) Saves the current record and reloads the form C) Closes the form window D) Deletes the current record Answer: B Explanation: g_form.save() triggers form submission, performing server‑side validation and persisting changes. Question 53. Which of the following best describes a “Data Policy”? A) Enforces field visibility on the client side B) Applies server‑side data validation regardless of UI policies or Business Rules C) Generates reports on data quality D) Controls user access to tables

Exam

Answer: B Explanation: Data Policies run on the server and enforce mandatory/readonly constraints even when data is manipulated via APIs. Question 54. When should you use a “Reference Integrity” rule? A) To automatically delete child records when a parent is removed B) To enforce one‑to‑many relationships at the database level C) To create a UI policy for reference fields D) To schedule nightly data cleanup Answer: B Explanation: Reference Integrity rules ensure referential consistency (e.g., preventing orphaned child records) in the database. Question 55. Which property of a UI Action determines whether it appears on a form, list, or both? A) Order B) Form button vs. List button selection C) Client vs. Server checkbox D) Condition script Answer: B Explanation: The UI Action type (Form button, List button, or both) dictates where the action is displayed. Question 56. In ServiceNow, what does the “sys_created_on” field represent? A) The date and time the record was last updated B) The date and time the record was initially created