Since "users" is not mandatory, and all the other elements are set, the policy will be created.
Tested in lab:
Local-FG # config firewall policy
Local-FG (policy) # edit 2
new entry '2' added
Local-FG (2) # set srcintf a
Local-FG (2) # set dstintf b
Local-FG (2) # set srcaddr all
Local-FG (2) # set dstaddr all
Local-FG (2) # set action accept
Local-FG (2) # set schedule always
Local-FG (2) # set service ALL
Local-FG (2) # set users student
entry not found in datasource
value parse error before 'student'
Command fail. Return code -3
Local-FG (2) # set nat enable
Local-FG (2) # next
Local-FG (policy) # end
Local-FG # show firewall policy
config firewall policy
edit 2
set uuid 00879f84-bf81-51ee-3191-7623414c44a4
set srcintf "a"
set dstintf "b"
set srcaddr "all"
set dstaddr "all"
set action accept
set schedule "always"
set service "ALL"
set nat enable
D. Policy ID 2 is installed without the remote user student.
Tested this in my LAB with a Script on Fortigate through FortiManager.
User/Student fails to be created, but the Firewall policy is created fine.
A. Policy ID 2 will not be installed.
The reason for this conclusion is that the 'set users student' command failed with the error message "entry not found in datasource" and a return code of -3. This indicates that the user 'student' could not be found in the specified datasource, and as a result, the configuration for Policy ID 2 is likely to be incomplete or not installed.
Since "users" is not mandatory, and all the other elements are set, the policy will be created. After the command "set users student" fails, we're still in the policy id 2 configuration as shown in the prompt: (2). And, after "next", there is no error message, so the policy id 2 was saved. The correct answer is D
If a defined value on the new policy doesn’t exist (in this case the user student, due to issues with the LDAP configuration), then the Fortimanager won’t install the policy.
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.
raydel92
Highly Voted 5Â months, 2Â weeks agosarary70
Most Recent 3Â months, 1Â week agoAgentSmith
4Â months, 2Â weeks agoTommy_S
4Â months, 2Â weeks agochomskyHonk
5Â months, 1Â week agoGeniusA
5Â months, 2Â weeks agoSatekhi
5Â months, 3Â weeks agoSatekhi
4Â months, 3Â weeks agoDatBroNZ
5Â months, 4Â weeks ago