exam questions

Exam NSE8_812 All Questions

View all questions & answers for the NSE8_812 exam

Exam NSE8_812 topic 1 question 6 discussion

Actual exam question from Fortinet's NSE8_812
Question #: 6
Topic #: 1
[All NSE8_812 Questions]

Refer to the exhibit.

FortiManager is configured with the Jinja Script under CLI Templates shown in the exhibit.
Which two statements correctly describe the expected behavior when running this template? (Choose two.)

  • A. The Jinja template will automatically map the interface with “WAN” role on the managed FortiGate
  • B. The template will work if you change the variable format to $(WAN).
  • C. The template will work if you change the variable format to {{ WAN }}.
  • D. The administrator must first manually map the interface for each device with a meta field
  • E. The template will fail because this configuration can only be applied with a CLI or TCL script.
Show Suggested Answer Hide Answer
Suggested Answer: CD 🗳️

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
Viewable8041
Highly Voted 1 year, 4 months ago
Selected Answer: CD
Has to be C and D. A is not correct, as the mapping is only done by variables and meta fields, not by Interface roles B is not a jinja syntax C could be but jinja should also understand the variable without spaces, so this is my best guess D is correct E is wrong
upvoted 8 times
...
kinge2
Most Recent 4 months, 1 week ago
Selected Answer: DE
DE correct
upvoted 1 times
...
kinge2
4 months, 2 weeks ago
Selected Answer: DE
DE is the better answer
upvoted 1 times
...
node345
10 months, 3 weeks ago
Selected Answer: CD
C and D are correct.
upvoted 1 times
...
ac89l
11 months, 4 weeks ago
Selected Answer: DE
I will go with DE This script cannot be used as jinja https://docs.fortinet.com/document/fortimanager/7.2.0/new-features/761880/jinja2-template-sample-scripts
upvoted 1 times
...
ama6
1 year, 4 months ago
still going with D and E
upvoted 1 times
...
ama6
1 year, 4 months ago
D and E are correct D. The administrator must first manually map the interface for each device with a meta field. The Jinja template in the exhibit is expecting a meta field called WAN to be set on the managed FortiGate. This meta field will specify which interface on the FortiGate should be assigned the "WAN" role. If the meta field is not set, then the template will fail. E. The template will fail because this configuration can only be applied with a CLI or TCL script. The Jinja template in the exhibit is trying to configure the interface role on the managed FortiGate. This type of configuration can only be applied with a CLI or TCL script. The Jinja template will fail because it is not a valid CLI or TCL script.
upvoted 2 times
...
Davidrichard
1 year, 4 months ago
Selected Answer: AD
A and D seems correct https://docs.fortinet.com/document/fortimanager/7.2.0/new-features/761880/jinja2-template-sample-scripts
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