Check Point Certified Security Expert (CCSE) R81 — Question 104
What API command below creates a new host object with the name "My Host" and IP address of "192.168.0.10"?
Answer options
- A. set host name "My Host" ip-address "192.168.0.10"
- B. new host name "My Host" ip-address "192.168.0.10"
- C. create host name "My Host" ip-address "192.168.0.10"
- D. mgmt_cli -madd host name "My Host" ip-address "192.168.0.10"
Correct answer: D
Explanation
The correct answer is D because 'mgmt_cli' is the command-line interface used for managing host objects, and the '-madd' option is specifically for adding new hosts. Options A, B, and C do not use the correct command syntax or structure for creating a host object in this context.