Palo Alto Networks NGFW Engineer — Question 70
An automation engineer is developing a Python script to standardize SD-WAN deployments across multiple customer tenants in Panorama. A key requirement is to programmatically create path quality profiles to monitor link performance based on latency, jitter, and packet loss.
Which API call is required for this task?
Answer options
- A. XML API command with an xpath of config/devices/entry/vsys/entry/path-quality-profiles on Panorama
- B. XML API command with an xpath of sdwan/path-quality-profiles on a managed firewall
- C. POST request to the SDWanPathQualityProfiles object endpoint via the REST API on Panorama
- D. POST request to the pathMonitoringProfiles object endpoint via the REST API on a managed firewall
Correct answer: C
Explanation
The correct answer is C because the task specifically requires creating path quality profiles using the REST API on Panorama, which is achieved through a POST request to the SDWanPathQualityProfiles object endpoint. Options A and B involve XML API commands that do not fulfill the requirement for a programmatic creation via REST API, and option D refers to a different endpoint that does not pertain to path quality profiles.