PCEP Data Types, Variables, Basic I/O and Operators • Set 8
PCEP Data Types, Variables, Basic I/O and Operators Practice Test 8 — 15 questions with explanations. Free, no signup.
A Python program loads this JSON and accesses the first rule's action. Which expression gives the string "permit"?
Refer to the exhibit.
JSON policy file:
{
"name": "access-policy",
"rules": [
{"action": "permit", "src": "10.0.0.0/24", "dst": "0.0.0.0/0", "protocol": "tcp"},
{"action": "deny", "src": "0.0.0.0/0", "dst": "10.0.0.0/24", "protocol": "tcp"}
]
}