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.
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
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
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.
A and D seems correct
https://docs.fortinet.com/document/fortimanager/7.2.0/new-features/761880/jinja2-template-sample-scripts
upvoted 1 times
...
Log in to ExamTopics
Sign in:
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.
Viewable8041
Highly Voted 1 year, 4 months agokinge2
Most Recent 4 months, 1 week agokinge2
4 months, 2 weeks agonode345
10 months, 3 weeks agoac89l
11 months, 4 weeks agoama6
1 year, 4 months agoama6
1 year, 4 months agoDavidrichard
1 year, 4 months ago