Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
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 355 discussion

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

You plan to automate creating new objects using new R80 Management API. You decide to use GAIA CLI for this task.
What is the first step to run management API commands on GAIA's shell?

  • A. mgmt_admin@teabag > id.txt
  • B. mgmt_login
  • C. login user admin password teabag
  • D. mgmt_cli login user ג€adminג€ password ג€teabagג€ > id.txt
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
thehill
1 year, 10 months ago
it should be D https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/login~v1.9%20
upvoted 1 times
...
Amathai1803
2 years, 8 months ago
Had this question today in exam. selected B
upvoted 1 times
...
jm31
2 years, 9 months ago
Answer is B! It mentioned via GAIA's cli not on mgmt_cli tool. In Gaia's shell, type mgmt login or mgmt login user myname Ref: https://sc1.checkpoint.com/documents/latest/APIs/#introduction~v1.8%20
upvoted 4 times
...
lordlich
2 years, 9 months ago
B is correct
upvoted 1 times
...
Kiki123
2 years, 10 months ago
Correct Answer B
upvoted 1 times
...
CC_prep1
3 years, 2 months ago
A is correct but with a typo. The correct way to do this is without the underscore (_) mgmt login
upvoted 2 times
babochnik
2 years, 4 months ago
for mgmt_cli tool: mgmt_cli login for Gaia cli: mgmt login for Web services: POST https://<mgmt-server>:<port>/web_api/login https://sc1.checkpoint.com/documents/latest/APIs/#cli/login~v1.6.1%20
upvoted 1 times
...
...
Prathamesh2589
3 years, 3 months ago
D is correct
upvoted 1 times
...
utrapepega
3 years, 5 months ago
wrong, answer is D CCSE: The mgmt_cli tool can be run on any Linux or Windows machine. A Linux version of the command line tool is included in all R80.10 Gaia installations. The executable mgmt_cli is included in the R80.10 SmartConsole installation. The mgmt_cli.exe does not require a GUI installation. It can be copied to run on most Windows-based computers. The following API script example uses the mgmt_cli tool to log in and create a new host: mgmt_cli login user “AdminUser1” password “teabag” > id.txt mgmt_cli add host name “New_Host_1” ip-address “1.1.1.1 -s id.txt mgmt_cli publish -s id.txt mgmt_cli logout -s id.txt
upvoted 2 times
CC_prep1
3 years, 2 months ago
This will only apply in a script where you store the session id for the succeeding commands. However on clish, you will need to start with "mgmt login" first.
upvoted 4 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 ...