exam questions

Exam NSE7_EFW-7.0 All Questions

View all questions & answers for the NSE7_EFW-7.0 exam

Exam NSE7_EFW-7.0 topic 1 question 54 discussion

Actual exam question from Fortinet's NSE7_EFW-7.0
Question #: 54
Topic #: 1
[All NSE7_EFW-7.0 Questions]

Refer to the exhibit, which contains a CLI script configuration on FortiManager.

An administrator configured the CLI script on FortiManager, but the script failed to apply any changes to the managed device after being executed.
What are two reasons why the script did not make any changes to the managed device? (Choose two.)

  • A. Static routes can be added using only TCL scripts.
  • B. The commands that start with the # sign did not run.
  • C. CLI scripts must start with #!.
  • D. Incomplete commands can cause CLI scripts to fail.
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️

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
Bob_Oso
4 months ago
Selected Answer: BD
BD Enterprise_Firewall_7.0_Study_Guide-Online.pdf page 260
upvoted 1 times
...
certifi46
8 months, 1 week ago
Selected Answer: BD
B and D
upvoted 1 times
...
Seph1
10 months ago
Selected Answer: BD
This is CLI script so B and D.
upvoted 2 times
...
dosoriomartins
11 months, 3 weeks ago
Selected Answer: BD
"#!" Needed to start TCL Scripts CLI scripts will ignore commands starting with "#" CLI scripts will fail if commands are not complete ("config router static" vs "conf rout stat")
upvoted 1 times
...
Chris0
11 months, 3 weeks ago
Selected Answer: BD
ref CLI scripts do not include Tool Command Language (Tcl) commands, and the first line of the script is not “#!” as it is for Tcl scripts. https://help.fortinet.com/fmgr/50hlp/56/5-6-1/FortiManager_Admin_Guide/1000_Device%20Manager/2400_Scripts/1000_Script%20samples/0200_CLI%20scripts+.htm
upvoted 1 times
...
LiliRose
11 months, 3 weeks ago
Selected Answer: BD
When Creating CLI scripts, follow these best practices: 1) Use complete FortiOS CLI commands. 2) Comment lines that start with the number sign (#) do not run. 3) Ensure you set the console output to standard.
upvoted 2 times
...
kocalin
12 months ago
Selected Answer: BD
It is CLI script, not TCL. Only TCL script must begin with #! From Study Guide: The best practice when creating CLI script> use complete FortiOS CLI commands.
upvoted 4 times
...
racdab
1 year ago
Selected Answer: BC
this B C
upvoted 1 times
...
racdab
1 year ago
trap C has #!. it is necessary that either #!
upvoted 1 times
...
racdab
1 year ago
trap B has #!. it is necessary that either #!
upvoted 1 times
...
MrMaxe
1 year ago
Selected Answer: BC
first line must be #! and all other # is for comments and are not processed
upvoted 1 times
Beluga123
10 months, 2 weeks ago
first line must be #! in the case of TCL script and this is not a TCL script in the image, C is wrong
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