Be able to authenticate PAN-OS API calls with an API key in the X-PAN-Token header, enable HTTPS management for scripted backups, configure External Dynamic Lists, and supply init-cfg.txt during VM-Series bootstrap so the firewall registers with Panorama.
Start practicing
Integration And Automation — choose a session length
Free · No account required
Domain overview
This domain covers programmatic and event-driven control of Palo Alto Networks NGFW and Panorama: PAN-OS XML/REST APIs, API-key authentication, scheduled config backups, external dynamic lists, and cloud bootstrap for VM-Series. Questions are scenario-based, asking you to pick the correct header, service, file, or feature to make automation succeed.
Exam objectives
PAN-OS XML API authentication using the X-PAN-Token HTTP header with an API key
Enabling the HTTPS management-interface service so scripts can download configuration backups
External Dynamic Lists (EDLs) refreshing IP and URL objects from external feeds
VM-Series AWS bootstrap using the mandatory init-cfg.txt file for Panorama registration
Sending the API key in an Authorization or Cookie header instead of the required X-PAN-Token header, causing authentication failure.
Assuming SSH or HTTP is sufficient for scripted config downloads; the HTTPS management service must be enabled.
Forgetting that EDL objects require the firewall to reach the feed URL and that refresh intervals and certificate validation matter.
Click any question to see the full explanation and answer options, or start a focused practice session above.
You are configuring an Auto-Scaling Group in AWS with the VM-Series. During the bootstrap process, which file is mandatory to ensure the firewall registers with Panorama successfully?
2An administrator is using Terraform to manage Palo Alto Networks security policies. Which provider resource is used to create a security rule?
3You are troubleshooting a REST API integration where Python scripts are failing to retrieve device information. The API returns a '403 Forbidden' error. What is the most likely cause?
4Which feature allows an NGFW to dynamically update security objects based on an external feed such as an IP list or URL list?
5An administrator wants to trigger a script automatically when a security policy is matched. Which feature can be used to send a notification to an external web server?
6In a cloud-init deployment, which directory must the bootstrap package be placed for the VM-Series firewall to automatically detect and process it during the first boot?
7If a Python script interacting with the XML API experiences '503 Service Unavailable', what is the most likely reason?
8When using the Panorama XML API for a batch operation, what is the purpose of the 'type=config' parameter?
9You need to automate the retrieval of URL filtering logs from the firewall. Which API endpoint type is used to execute a 'show' command?
10What is the primary benefit of using Panorama templates for automation?
11When automating log forwarding to an external SIEM, what is the best practice regarding the management plane load?
12Which CLI command displays the API key if already generated for an admin?
13You are configuring an External Dynamic List (EDL) on the firewall. What is the required format for the list file?
14You are troubleshooting a REST API integration issue where the firewall returns '400 Bad Request'. What should you check first?
15Which tool in the Palo Alto Networks ecosystem is designed specifically for automated orchestration of security workflows?
16When using the Panorama API to push a configuration, what is the 'xpath' parameter used for?
17Which file type is required for an External Dynamic List (EDL) to function correctly?
18What is the purpose of the 'Pan-OS-Python' library's 'refresh_from_candidate' method?
19In an AWS Lambda function automating firewall changes, why should you use the 'pan-os-python' library with 'xapi' directly rather than the higher-level classes?
20When managing multiple firewalls through Panorama, what is the best way to ensure an automation script performs the same action on all devices in a device group?
21What is the default port for the Panorama XML API?
22An administrator is using the 'pan-os-python' library to automate address object creation. The script succeeds, but objects do not appear in the GUI. What is missing?
23An administrator needs to quickly identify if an API call was successful from the firewall side. Which log should be reviewed?
24Which TWO actions are required to successfully integrate a new External Dynamic List (EDL)?
25In a complex automation environment, how can you ensure the integrity of the firewall configuration across multiple automated runs?
26Which THREE configuration items are required in the 'init-cfg.txt' file for a VM-Series firewall to join a Panorama server?
27Which TWO types of files can be included in a bootstrap package?
28Which TWO methods can be used to update the security policy on a Palo Alto Networks NGFW programmatically?
29Which THREE data sources can an NGFW use to dynamically populate address objects?
30Which THREE actions should be performed during a standard automation failure troubleshooting process?
31Which TWO protocols are commonly used for log forwarding to SIEMs?
32You are automating firewall policy updates using the XML API. You have successfully authenticated and retrieved an API key. When attempting to perform an 'edit' operation on a security policy, the API returns an 'Invalid Object' error, even though the object exists in the GUI. What is the most likely cause?
33When utilizing the Panorama plugin for AWS, what is the primary benefit of the 'S3 bucket' integration for log ingestion?
34An administrator wants to use a script to back up firewall configurations daily. Which management interface service must be enabled to allow the script to download the config file?
35Which Palo Alto Networks tool provides a programmatic interface to automate firewall configuration and operational tasks via Python?
36A security engineer is writing a Python script to automate the creation of a security rule on a Palo Alto Networks NGFW using the PAN-OS XML API. The script must ensure that the rule is placed in the correct position in the rulebase and that the configuration is committed. Which sequence of API calls should the script perform?
37An engineer is writing a Python script using the pan-os-python library to update an address group on a PA-VM firewall. The script must ensure that the change is only staged and not committed until a separate approval process completes. Which method should be used to push the modified configuration to the firewall's candidate configuration?
38A security engineer needs to retrieve the current running configuration from a Palo Alto Networks firewall using the XML API. The engineer wants to ensure the response is in a structured format that can be easily parsed by a Python script. Which API request type should be used?
39A security engineer is automating the deployment of security policies using Panorama and the PAN-OS XML API. The engineer must ensure that the API calls are properly authenticated and that the changes are committed to the managed firewalls. Which TWO steps are required to successfully push the configuration to the managed devices? (Choose two.)
40A security team wants Panorama to automatically push a new security policy rule to all managed firewalls as soon as a change is saved in a specific device group. Which Panorama feature should they configure to accomplish this?
41A security engineer is using the PAN-OS XML API to update the description of an existing address object named 'WebServer' in the 'Shared' location. The API request is sent with the correct API key and the following XPath: /config/shared/address/entry[@name='WebServer']. The server responds with a '403 Forbidden' error. What is the most likely cause?
42A security automation team is integrating a Palo Alto Networks NGFW with a third-party orchestration platform. The platform requires the firewall to send logs to an external syslog server for correlation. The team must configure the firewall to forward traffic logs to the syslog server. Which two configuration elements are required on the firewall to forward traffic logs to an external syslog server? (Choose two.)
43An automation script uses the PAN-OS XML API to modify a security rule. After a successful edit request, the script immediately calls the commit endpoint, but the firewall commits an older version of the rule than the script intended. The script does not use a candidate configuration lock. What is the most likely cause?
44An engineer is integrating a Palo Alto Networks NGFW with a CI/CD pipeline to automate policy updates. The pipeline uses the XML API and must ensure that changes are validated before committing. Which two actions are required to achieve this? (Choose two.)
45A security engineer is writing a Python script to automate the creation of address objects on a Next-Generation Firewall using the PAN-OS XML API. The script must authenticate using an API key. Which HTTP header should be used to pass the API key in the request?
46A security engineer needs to retrieve the current running configuration from a Palo Alto Networks firewall using the XML API. Which API request type should be used?
47A company uses a SOAR platform to enrich and block indicators of compromise. The SOAR playbook must add malicious IP addresses to an External Dynamic List (EDL) hosted on an internal web server that the firewall already consumes. Which action should the playbook take?
48A security automation script uses the XML API to retrieve logs from a Palo Alto Networks firewall. The script needs to filter logs for a specific source IP and time range. Which API request correctly retrieves the filtered logs?
49A security engineer needs to programmatically create a new address object in a Palo Alto Networks NGFW using the XML API. The engineer authenticates with an API key and sends a POST request to /api/?type=config&action=set&xpath=/config/devices/entry/vsys/entry[@name='vsys1']/address&element=<entry name='WebServer'><ip-netmask>10.1.1.5/32</ip-netmask></entry>. The API returns a success response. However, the address object does not appear in the candidate configuration when checked via the web interface. What is the most likely cause?
50An administrator is using the PAN-OS REST API to retrieve the list of all security rules in the 'Shared' policy. Which HTTP method and endpoint should be used?
51A security automation team is using the PAN-OS XML API to programmatically create and commit a new security policy rule. The script authenticates with an API key and sends an XML document to the /api/ endpoint. The rule is created but does not appear in the running configuration. Which TWO actions must the script perform to make the rule active? (Choose two.)
52A cloud automation team is deploying VM-Series firewalls in AWS using Terraform. They need to bootstrap the firewalls with a Panorama server configuration. The team wants to ensure the firewalls automatically connect to Panorama upon deployment. Which file must be included in the bootstrap package to specify the Panorama server IP address and auth key?
53An engineer is automating a Next-Generation Firewall to dynamically register IP addresses from a custom cloud inventory system. The solution must update a Dynamic Address Group (DAG) using the XML API. After authenticating, the engineer sends a request to the /api/?type=user-id&action=set endpoint with an XML payload containing <entry ip="10.1.1.5" persistent="0"/> inside a <register> tag. The API responds with success, but the address does not appear in the DAG. What is the most likely cause?
54A security team is integrating a Next-Generation Firewall with an orchestration platform using the XML API. The platform needs to retrieve the current running configuration of a specific security policy rule named 'Allow-Web'. Which API request should the engineer use?
55An automation engineer is deploying a new firewall using a bootstrapping process. The engineer needs to ensure that the firewall automatically registers with Panorama and receives its license and configuration after the initial boot. Which component must be included in the bootstrap package to enable automatic registration with Panorama?
56A security automation team uses the PAN-OS XML API to programmatically create a new security policy rule. The script authenticates with an API key and sends a POST request to the firewall. The API returns a success status, but the rule does not appear in the web interface. What is the most likely reason?
57An automation engineer is using the PAN-OS XML API to modify an existing security policy rule. The script retrieves the current rule configuration, changes the action from 'allow' to 'deny', and sends the updated XML back to the firewall. However, the API returns an error indicating that the rule already exists. What is the most likely cause?
58An administrator needs to automate the process of updating a dynamic address group based on external threat intelligence. Which PAN-OS feature allows the firewall to automatically update the group members from an external HTTP source?
Be able to authenticate PAN-OS API calls with an API key in the X-PAN-Token header, enable HTTPS management for scripted backups, configure External Dynamic Lists, and supply init-cfg.txt during VM-Series bootstrap so the firewall registers with Panorama.
The Courseiva NGFW-Engineer question bank contains 58 questions in the Integration And Automation domain. Click any question to see the full explanation and answer breakdown.
Start with a 10-question focused session to identify your baseline accuracy in this domain. Read every explanation — even for questions you answer correctly — to understand the reasoning. Once you score consistently above 80%, move to a 20–30 question session to confirm depth before moving to the next domain.
Yes — the session launcher on this page draws questions exclusively from the Integration And Automation domain. Choose 10, 20, 30, or 50 questions for a focused session, or click individual questions to review them one by one.
Save your results, see per-domain analytics, and get readiness scores — free, for every certification.
Sign Up FreeFree forever · Every certification included