exam questions

Exam 156-315.80 All Questions

View all questions & answers for the 156-315.80 exam

Exam 156-315.80 topic 1 question 119 discussion

Actual exam question from Checkpoint's 156-315.80
Question #: 119
Topic #: 1
[All 156-315.80 Questions]

Using mgmt_cli, what is the correct syntax to import a host object called Server_1 from the CLI?

  • A. mgmt_cli add-host ג€Server_1ג€ ip_address ג€10.15.123.10ג€ --format txt
  • B. mgmt_cli add host name ג€Server_1ג€ ip-address ג€10.15.123.10ג€ --format json
  • C. mgmt_cli add object-host ג€Server_1ג€ ip-address ג€10.15.123.10ג€ --format json
  • D. mgmt._cli add object ג€Server-1ג€ ip-address ג€10.15.123.10ג€ --format json
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Example:
mgmt_cli add host name "New Host 1" ip-address "192.0.2.1" --format json
ג€¢ "--format json" is optional. By default the output is presented in plain text.
Reference:
https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/add-host~v1.1%20

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
ThereIsNoSpoon
1 year ago
Given answer is correct, check the manual for API - https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/add-host~v1.1%20
upvoted 3 times
...
den246
1 year, 3 months ago
there is no accurate answer, Answer A is almost right except the "-" between the add and host words, but the format is txt from ccse R80.10 guide page 305
upvoted 1 times
Hernan_Mella
4 months, 3 weeks ago
the txt format is the default , so you don't need to add the --txt string
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago