Check Point Certified Security Expert (CCSE) R81 — Question 143
What is the correct Syntax for adding an access-rule via R80 API?
Answer options
- A. add access-rule layer "Network" action "Allow"
- B. add access-rule layer "Network" position 1 name "Rule 1" service.1 "SMTP" service.2 "http"
- C. add access-ruleand follow the wizard
- D. add rule position 1 name "Rule 1" policy-package "Standard" add service "http"
Correct answer: B
Explanation
Option B is correct because it includes the necessary parameters such as layer, position, name, and services required to define an access rule in the R80 API. Other options either lack essential components or contain incorrect syntax, making them invalid for adding an access rule.