ServiceNow CIS-Discovery Practice Test - Questions Answers
Related questions
Question 1
Which of the following best describes the relationship between the Tomcat [cmdb_ci_app_server_tomcat] table and the Application Server [cdmb_ci_app_server] table? (Choose two.)
Tomcat does not extend the Application Server table
Tomcat table extends the Application Server table
Tomcat table is a child of the Application Server table
Tomcat table is a parent of the Application Server table
Explanation:
To create a custom horizontal pattern to discover an operating system that is not discovered by the base installation patterns, the following steps are necessary1:
Select a CI Type: This defines the type of configuration item (CI) that the pattern will discover and create or update in the CMDB. For an operating system, the CI Type should beOperating Systemor a subtype of it.
Select Infrastructure Pattern Type: This defines the type of pattern that will be used to discover the CI. For an operating system, the Infrastructure Pattern Type should beOperating Systemor a subtype of it.
Define the pattern logic: This consists of adding operations, variables, and conditions to the pattern to specify how the discovery process will identify and classify the operating system. For example, the pattern can use probes and sensors to query the target device for information such as name, version, vendor, etc.
Test and publish the pattern: This involves verifying that the pattern works as expected and does not cause any errors or conflicts with other patterns. Once the pattern is tested, it can be published and activated for discovery.
The mid.discovery.max_pattern_payload_size property defines the maximum overall size for the returned payload that comes from patterns. This property is set on the MID Server and applies to all patterns that run on that MID Server. If the payload size exceeds this limit, the pattern execution fails and an error message is logged in the ECC queue.The default value of this property is 10 MB1.
Question 2
In a discovery pattern, which types are available with CI Attributes in the Pattern Designer? (Choose two.)
Global CI types
Main pattern CI type
Related CI types
All CI types
Explanation:
In a discovery pattern, CI Attributes are the fields that store the information about the configuration items (CIs) that are discovered by the pattern. The Pattern Designer is a graphical interface that allows users to create and edit patterns using drag-and-drop operations. In the Pattern Designer, there are two types of CI Attributes that are available: Main pattern CI type and Related CI types. The Main pattern CI type is the CI type that the pattern is designed to discover, such as Windows Server, Linux Server, or Database. The Related CI types are the CI types that are related to the main CI type, such as IP Address, Network Adapter, or Software Installation.Users can select the CI Attributes from these types to populate the CMDB tables with the data collected by the pattern123.
Patterns and horizontal discovery - Product Documentation: Tokyo - Now Support Portal
Pattern Designer - Product Documentation: Vancouver - ServiceNow
Discovery pattern designer - ServiceNow IT Operations Management [Book]
Question 3
Which of the choices have a higher chance of leading to lost data during CI reclassification? (Choose two.)
Switching
Identifying
Downgrading
Upgrading
Explanation:
CI reclassification is the process of changing the class of a CI in the CMDB based on the discovery data. It can be done manually or automatically, depending on the configuration settings. CI reclassification can result in data loss if the new class has fewer or different attributes than the original class, and the existing attribute values are not preserved or mapped to the new class. This can happen when a CI is switched to a different class hierarchy, such as from a Linux Server to a Windows Server, or when a CI is downgraded to a less specific class, such as from a Database to a Software Instance. Therefore, switching and downgrading have a higher chance of leading to lost data during CI reclassification.
CI reclassification
Reclassify CIs
Configure automatic CI reclassification
Question 4
Which of the below choices are kinds of variables used in discovery patterns? (Choose three.)
CI attributes
Prefix
Temporary
Fixed
Global
Explanation:
Variables are used in discovery patterns to store and manipulate data that is collected or calculated during the discovery process.There are three kinds of variables used in discovery patterns12:
CI attributes: These are variables that correspond to the attributes of the configuration item (CI) type that the pattern is discovering. For example, name, serial_number, manufacturer, etc. CI attributes are used to populate the CI record in the CMDB with the information gathered by the pattern.
Temporary: These are variables that are created and used within the pattern, but are not stored in the CMDB. For example, $result, $output, $user_var, etc. Temporary variables are used to store and manipulate data such as the output of a command, the value of a parameter, or the result of a calculation.
Global: These are variables that are defined in the global scope and can be accessed by any pattern. For example, $mid, $target, $ip_address, etc. Global variables are used to store and access data that is common to all patterns, such as the MID Server, the target device, or the IP address.
1: ServiceNow Discovery Documentation, Pattern Variables section
2: ServiceNow Discovery Overview, page 11
Question 5
CI identifiers can be viewed under which of the following?
Discovery Dashboard
CI Class Manager
Process Handlers
Processes and Classification
CI record
Explanation:
CI identifiers can be viewed under the CI record1.A CI identifier is a set of attributes that uniquely identify a CI of a specific class2.CI identifiers are used by the identification and reconciliation engine (IRE) to match incoming data with existing CIs in the CMDB3.CI identifiers can be viewed and edited in the CI record by clicking the Identification Information related link1.
1:View and edit CI identifiers
2:Create or edit a CI identification rule
3:Identification rules
Question 6
Which of the below choices are benefits of Tracked Configuration Files? (Choose two.)
Content version comparison
Files tracked as CIs
Unwanted files removed from target
No credentials needed
Explanation:
Tracked configuration files are files that contain settings and parameters of certain applications or devices that Discovery can find and add to the CMDB. Some of the benefits of tracked configuration files are:
Content version comparison: You can compare the content of different versions of the same configuration file and see the changes that occurred over time. This can help you troubleshoot issues, audit changes, and restore previous configurations if needed.
Files tracked as CIs: You can view the configuration files as configuration items (CIs) in the CMDB and see their relationships with other CIs, such as the applications or devices they belong to. This can help you understand the dependencies and impact of the configuration files on your IT environment.
Question 7
Which choice best describes a Functionality Definition?
Defines what CI identifiers to use.
Defines the IP addresses to discover.
Defines what Behavior to use from a Discovery Schedule.
Defines what protocols to detect from within a Behavior.
Explanation:
A Functionality Definition is a configuration record that defines what protocols to detect from within a Behavior. A Behavior is a set of Functionality Definitions that Discovery uses to identify and explore a device or application.A Functionality Definition specifies the order, type, and parameters of the probes that Discovery launches to gather information about a device or application12.
Functionality Definition
Behavior
Question 8
As a first step in horizontal discovery, which of the following is where the Shazzam probe is placed in a request?
Target
Pattern Log
ECC queue
Discovery Log
Explanation:
The Shazzam probe is placed in the ECC queue as a first step in horizontal discovery.The ECC queue is a table that stores requests and responses for communication between the MID Server and the ServiceNow instance1.The Shazzam probe is a script that performs port scanning on a target host to determine what protocols are available and what classifiers to trigger2.The Shazzam probe is sent from the ServiceNow instance to the MID Server, which executes it on the target host and returns the results to the ECC queue3.
1: ECC queue - Product Documentation: San Diego - ServiceNow
2: Shazzam probe, port probes, and protocols - Product Documentation: San Diego - ServiceNow
3: Discovery Phase Shazzam - Support and Troubleshooting - ServiceNow
er: D
Question 9
Refer to the exhibit.
Based on this image, which of the following statements are true? (Choose three.)
Attributes from two tables populate a table with the same name as a ServiceNow CMDB table.
This operation is more than likely a part of a step on a pattern set to Application Pattern Type.
If a value is unmatched, it is still merged into the Target Table.
For this operation to run, there must be some data in the process.executablePath variable.
This is a horizontal pattern of type 'infrastructure.'
Explanation:
A is true because the target table $cmdb_ci_web_server is a ServiceNow CMDB table that stores information about web servers1.
B is true because the merge table operation is typically used for application patterns, which are horizontal patterns that discover applications and their dependencies. The condition on the process.executablePath variable suggests that the operation is looking for a specific application (mongoose) running on the web servers.
D is true because the merge table operation requires at least one matching field value between the two source tables1. In this case, the process.executablePath variable is the matching field, and it must contain ''mongoose'' for the operation to run.
1: Merge tables - Product Documentation: San Diego - Now Support Portal
3: Product Documentation | ServiceNow
[4]: Discovery Patterns - Product Documentation: San Diego - Now Support Portal
Question 10
Refer to the exhibit.
Based on the following images, which choice best describes what occurs if Discovery sets the name attribute of a discovered Windows Server CI to 'Windows1' and then Altiris discovery runs detecting 'Windows2' for the name attribute on the same CI?
The name of the CI stays 'Windows1'.
The name of the CI changes to 'Windows2'.
The name of the CI does not populate with either discovery.
The CI is not discovered because Discovery is not listed in either image.
Explanation:
In ServiceNow Discovery, the reconciliation process is governed by precedence rules. These rules determine which data source's information will be retained if there are conflicts when multiple sources discover the same CI. In this case, Altiris has a higher order of precedence (300) compared to ServiceNow (100), as seen in the ''Data Source Precedents'' section of the image. Therefore, if Altiris discovers 'Windows2' for the name attribute on the same CI after ServiceNow sets it to 'Windows1', the name will change to 'Windows2' due to Altiris's higher precedence.
Reconciliation
Data source precedents
Question