Palo Alto Networks OA 2025 | Firewall Rule Resolution Engine
Question · Posted Jun 2026
Problem 1 - Enterprise Packet Filter Rule Engine Problem Statement You are implementing a rule evaluation engine for a Next-Generation Firewall (NGFW). You are given: An integer array packets, where each value represents a network port. A 2D integer array firewallRules. Each firewall rule is represented as: firewallRules[i] = [startPort, endPort, securityAction] securityAction = 1 → ALLOW securityAction = 0 → DENY Rules are evaluated sequentially in the order they appear. If multiple rules cover the same port, the later ...
The full answer & interview discussion are available to premium members.
Log in Create a free account