nerdexam
Cisco

350-701 · Question #413

Refer to the exhibit. What is the function of the Python script code snippet for the Cisco ASA REST API?

The correct answer is A. adds a global rule into policies. The Python script code snippet for the Cisco ASA REST API is designed to add a new global access rule to the firewall's policy configuration.

Submitted by klara.se· Mar 30, 2026Security Operations and Orchestration

Question

Refer to the exhibit. What is the function of the Python script code snippet for the Cisco ASA REST API?

Exhibit

350-701 question #413 exhibit

Options

  • Aadds a global rule into policies
  • Bchanges the hostname of the Cisco ASA
  • Cdeletes a global rule from policies
  • Dobtains the saved configuration of the Cisco ASA firewall

How the community answered

(33 responses)
  • A
    82% (27)
  • B
    6% (2)
  • C
    9% (3)
  • D
    3% (1)

Why each option

The Python script code snippet for the Cisco ASA REST API is designed to add a new global access rule to the firewall's policy configuration.

Aadds a global rule into policiesCorrect

The Python script likely sends an HTTP POST request to a Cisco ASA REST API endpoint specifically designated for managing access policies. A POST request, when directed to a resource collection such as a list of global rules, is typically used to create and implement a new configuration object, thereby adding a new global access rule to the firewall's policy set.

Bchanges the hostname of the Cisco ASA

Changing the hostname would typically involve a PUT or PATCH request to a system-level configuration endpoint, not a policy-specific one.

Cdeletes a global rule from policies

Deleting a rule would involve an HTTP DELETE request targeting a specific rule's resource URL.

Dobtains the saved configuration of the Cisco ASA firewall

Obtaining configuration would involve an HTTP GET request to retrieve data, not to modify or add configuration.

Concept tested: Cisco ASA REST API policy management

Source: https://developer.cisco.com/docs/asa/#!firepower-device-manager-rest-api/firepower-device-manager-rest-api-overview

Topics

#Cisco ASA REST API#Python scripting#firewall policy#API automation

Community Discussion

No community discussion yet for this question.

Full 350-701 Practice