Question 24 of 32 from exam 300-735-SAUTO: Automating and Programming Cisco Security Solutions

Question 24 of 32 from exam 300-735-SAUTO: Automating and Programming Cisco Security Solutions

Question

If the goal is to create an access policy with the default action of blocking traffic, using Cisco Firepower Management Center REST APIs, which snippet is used? A.

— BEI PATH:
/api/fmc_config/v1/domain/<domain_uuid>/object/accesspolicies

— METHOD:
POST

- INPUT JSON:

"type": "AccessPolicy",
"name": "AccessPolicy-test-1",
"defaultAction": {

"action": "BLOCK"

B.

— API PATH:
/api/fmc_config/v1/domain/<domain_uuid>/object/securityzones

— METHOD:
POST

-— INPUT JSON:

"AccessPolicy",
: "AccessPolicy-test-1",
"defaultAction": {

"action": "BLOCK"

C.

— SPI PARAS
/api/fmc_config/v1/domain/<domain_uuid>/object/accesspolicies

— METHOD:
PUT

-— INPUT JSON:

"type": "AccessPolicy",
"name": "AccessPolicy-test-1",
"defaultAction": {

"action": "BLOCK"

D.

—~ APT PATH:
/api/fmc_config/v1/domain/<domain_uuid>/object/accesspolicies

— METHOD:
POST

-— INPUT JSON:
"AccessPolicy",

"AccessPolicy-test-1",
": "FASTPATH"

Explanations

D.