NGFW-Engineer · domain
Integration And Automation
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.
Focused practice
Practice Integration And Automation questions
Scored sessions drawing only from this domain — pick a length below.
Start 20-question practice test →What this domain covers
What to know about Integration And Automation
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.
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
Watch out for
Common Integration And Automation exam traps
- ▸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.
Question index
All Integration And Automation questions (58)
Click any question to see the full explanation, or start a practice session above.
You 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?
Hard2Which tool in the Palo Alto Networks ecosystem is designed specifically for automated orchestration of security workflows?
Medium3An 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?
Easy4In a complex automation environment, how can you ensure the integrity of the firewall configuration across multiple automated runs?
Hard5A 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?
Hard6Which TWO actions are required to successfully integrate a new External Dynamic List (EDL)?
Medium7You are troubleshooting a REST API integration issue where the firewall returns '400 Bad Request'. What should you check first?
Hard8When using the Panorama XML API for a batch operation, what is the purpose of the 'type=config' parameter?
Medium9Which THREE actions should be performed during a standard automation failure troubleshooting process?
Hard10When 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?
Medium11A 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.)
Hard12Which THREE data sources can an NGFW use to dynamically populate address objects?
Hard13An 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?
Medium14A 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?
Easy15An 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?
Medium16An 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?
Medium17An 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?
Medium18An 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.)
Medium19A 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?
Easy20You 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?
Hard21A 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?
Hard22Which TWO types of files can be included in a bootstrap package?
Medium23When automating log forwarding to an external SIEM, what is the best practice regarding the management plane load?
Hard24A 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?
Medium25An 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?
Easy26A 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?
Hard27An administrator needs to quickly identify if an API call was successful from the firewall side. Which log should be reviewed?
Easy28Which feature allows an NGFW to dynamically update security objects based on an external feed such as an IP list or URL list?
Medium29An 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?
Medium30An administrator is using Terraform to manage Palo Alto Networks security policies. Which provider resource is used to create a security rule?
Medium31In 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?
Hard32When utilizing the Panorama plugin for AWS, what is the primary benefit of the 'S3 bucket' integration for log ingestion?
Medium33You 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?
Hard34What is the default port for the Panorama XML API?
Easy35Which file type is required for an External Dynamic List (EDL) to function correctly?
Easy36An 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?
Hard37Which Palo Alto Networks tool provides a programmatic interface to automate firewall configuration and operational tasks via Python?
Easy38An 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?
Hard39A 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?
Medium40A 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?
Hard41A 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?
Medium42A 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?
Medium43A 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.)
Hard44A 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.)
Hard45A 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?
Easy46Which TWO methods can be used to update the security policy on a Palo Alto Networks NGFW programmatically?
Medium47When using the Panorama API to push a configuration, what is the 'xpath' parameter used for?
Hard48You are configuring an External Dynamic List (EDL) on the firewall. What is the required format for the list file?
Medium49Which TWO protocols are commonly used for log forwarding to SIEMs?
Medium50You need to automate the retrieval of URL filtering logs from the firewall. Which API endpoint type is used to execute a 'show' command?
Medium51If a Python script interacting with the XML API experiences '503 Service Unavailable', what is the most likely reason?
Hard52In 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?
Hard53An 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?
Hard54Which THREE configuration items are required in the 'init-cfg.txt' file for a VM-Series firewall to join a Panorama server?
Hard55Which CLI command displays the API key if already generated for an admin?
Easy56A 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?
Easy57What is the primary benefit of using Panorama templates for automation?
Easy58What is the purpose of the 'Pan-OS-Python' library's 'refresh_from_candidate' method?
MediumOther domains
All NGFW-Engineer exam domains
Frequently asked questions
- What does the Integration And Automation domain cover on the NGFW-Engineer exam?
- 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.
- How many questions are in this domain?
- This page lists all 58 Integration And Automation questions in the NGFW-Engineer question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
- What is the best way to practise this domain?
- Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
- Can I practise only Integration And Automation questions?
- Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.