156-521 Exam Questions
254 real 156-521 exam questions with expert-verified answers and explanations. Page 4 of 6.
- Question #151Check Point API Fundamentals
Which jq expression retrieves the UID from the following JSON object: {"uid": "abc123", "name": "host1"}?
jqUID extractionJSON queryfield access - Question #152Check Point API Fundamentals
After adding a host using mgmt_cli --format json, how would you extract only the name field using jq?
jqname fieldmgmt_cliJSON extraction - Question #153Check Point API Fundamentals
Which jq command would list the names of all objects in a response containing a JSON array objects?
jqarray iterationJSON arraysobject names - Question #154Security Management API Operations
What is the benefit of using jq when working with paginated show access-rulebase API results? (Choose two)
jqpaginationaccess-rulebaserulebase filtering - Question #155Check Point API Fundamentals
How do you extract the value of the "ipv4-address" field from a host object response using jq?
jqhyphenated fieldsipv4-addressfield extraction - Question #156Check Point API Fundamentals
You need to extract multiple fields (name and uid) from each object in the JSON array. Which command is correct?
jqmultiple fieldsobject constructionJSON query - Question #157Check Point API Fundamentals
Which of the following are valid ways to use jq to manipulate Management API JSON output? (Choose two)
jqshell variablesJSON manipulationrule actions - Question #158Check Point API Fundamentals
Which jq expression would you use to get all objects with the type "host" from a JSON response?
jqselect filterobject typeJSON filtering - Question #159Security Management API Operations
What is the correct jq syntax to retrieve all access rules where action is "Drop"?
jqselect filteraccess rulesrule actions - Question #160Use Cases and Best Practices for Automation
How can jq improve the portability of automation scripts using the Management API? (Choose two)
jqscript portabilitystructured extractionautomation - Question #161Check Point API Fundamentals
Which of the following allows jq to extract all names of access-layer rules from nested JSON data?
jqJSON parsingnested arraysrulebase filtering - Question #162Check Point API Fundamentals
Which command would you use to pretty-print the JSON output for easier manual reading?
jqpretty-printJSON formatting - Question #163Check Point API Fundamentals
What does jq '.[0]' do when used on an array of JSON objects?
jqarray indexingJSON arrays - Question #164Use Cases and Best Practices for Automation
What is a best practice when combining mgmt_cli --format json and jq in production scripts?
mgmt_clijqJSON filteringproduction scripting - Question #165Check Point API Fundamentals
Before using Postman to access the Check Point Management API, what must be enabled on the Management Server?
Management APIAPI accessManagement Server configuration - Question #166Check Point API Fundamentals
Which port does Postman use to communicate with the Check Point Management API by default?
Management APIport 19009PostmanAPI endpoint - Question #167Check Point API Fundamentals
Which authentication method is required in Postman to initiate a session with the Management API?
API authenticationPostmanlogin requestsession initiation - Question #168Security Management API Operations
To use Postman effectively with Check Point Web APIs, what must be done on the SmartConsole? (Choose two)
SmartConsoleAPI accessclient IP whitelistManagement Server - Question #169Check Point API Fundamentals
What is the expected content-type header for Check Point API calls in Postman?
content-type headerapplication/jsonAPI headersPostman - Question #170Check Point API Fundamentals
Which Postman component stores the session token after login for use in subsequent API calls?
Postmansession tokenenvironment variablesAPI workflow - Question #171Check Point API Fundamentals
What is the correct way to send the session token in future requests after login?
X-chkp-sidsession tokenAPI headersauthentication - Question #172Security Management API Operations
What should an admin do if the Management API login request fails with a 403 error in Postman? (Choose two)
API troubleshooting403 errorAPI accessclient IP whitelist - Question #173Check Point API Fundamentals
Which two actions must be taken before using Postman to call Gaia API endpoints? (Choose two)
Gaia APIAPI configurationHTTPSgateway setup - Question #174Check Point API Fundamentals
Which of the following are valid URLs to send a login request to the Management API using Postman? (Choose two)
API endpointslogin URLport 443port 19009 - Question #175Check Point API Fundamentals
If your Postman request receives a Content-Type: text/html response instead of JSON, what is the likely issue?
API troubleshootingcontent-typeincorrect endpointerror diagnosis - Question #176Check Point API Fundamentals
Which Postman feature allows you to build a collection of Management API requests for reuse?
Postmancollectionsrequest managementAPI testing - Question #177Check Point API Fundamentals
Why should an administrator use HTTPS instead of HTTP with Postman when calling Check Point APIs?
HTTPSsecure transmissionAPI securitytransport encryption - Question #178Use Cases and Best Practices for Automation
What is the recommended method in Postman to chain multiple API requests using a shared session token?
session tokenenvironment variablesX-chkp-sidAPI workflow automation - Question #179Security Management API Operations
What information must be included in the body of a Management API login request in Postman? (Choose two)
login requestcredentialsusernamepassword - Question #180Check Point API Fundamentals
What is the first step when using Postman to interact with the Check Point Management API?
PostmanloginAPI workflowManagement API - Question #181Check Point API Fundamentals
Which HTTP method is used in Postman to initiate a login session with Check Point Management API?
HTTP methodsAPI loginPostmanREST API - Question #182Check Point API Fundamentals
After receiving the session token from /login, how should it be used in Postman?
session tokenX-chkp-sidPostman headersauthentication - Question #183Check Point API Fundamentals
Which two components are required in the Postman login request to Check Point Management API? (Choose two)
login requestAPI credentialsJSON bodyPostman - Question #184Check Point API Fundamentals
Which HTTP headers should be included in every Check Point API request sent from Postman after login? (Choose two)
HTTP headersContent-TypeX-chkp-sidPostman - Question #185Security Management API Operations
How does Postman store and reuse session tokens across multiple requests in a workflow?
session tokenenvironment variablesPostman workflowtest scripts - Question #186Security Management API Operations
What should be added in Postman's "Tests" tab after a login request to capture the session token?
Postman test scriptssession capturepm.environment.setsid - Question #187Security Management API Operations
After login, how can the session token be passed to future requests in Postman?
session token reusePostman variablesX-chkp-sidheaders - Question #188Check Point API Fundamentals
Which Postman feature allows you to group multiple related Check Point API calls?
Postman collectionsAPI workfloworganizationgrouping requests - Question #189Security Management API Operations
What is the purpose of the /publish endpoint in a Postman-based workflow with Management API?
publish endpointconfiguration changesAPI workflowcommit - Question #190Use Cases and Best Practices for Automation
Which of the following is a best practice when using Postman with the Management API? (Choose two)
best practicesHTTPSsession managementAPI security - Question #191Security Management API Operations
What action should be taken if you receive a 401 error in Postman when calling /add-host?
401 errortroubleshootingX-chkp-sidauthentication - Question #192Security Management API Operations
In a Postman collection, which two operations should bookend your API workflow? (Choose two)
API workflowloginlogoutPostman collection - Question #193Check Point API Fundamentals
If Postman receives HTML instead of JSON when hitting /login, what is the likely cause?
troubleshootingHTML responsePOST methodlogin - Question #194Security Management API Operations
What must be done in SmartConsole to ensure a Postman client can reach the API? (Choose two)
SmartConsoleAPI accessallowed clientsconfiguration - Question #195Security Management API Operations
You want to retrieve a list of host objects using Postman. Which of the following is the correct setup?
show-hostsPOST methodPostman setupobject retrieval - Question #196Security Management API Operations
You've received a session token from /login. How do you use it in a Postman collection?
session tokenenvironment variablesPostman collectiontoken reuse - Question #197Security Management API Operations
Which Postman feature is best used to automatically store the session token from the login response?
Tests tabtoken storagePostman automationsession capture - Question #198Security Management API Operations
When sending a request to add a host, which two elements are required in the body? (Choose two)
add-hostrequest bodyname fieldipv4-address - Question #199Security Management API Operations
You want to automate login and token reuse in Postman. Which steps are required? (Choose two)
Postman automationtoken reusetest scriptenvironment variables - Question #200Security Management API Operations
You've created a Postman collection with login, object creation, and logout. In what order should these run?
workflow orderloginlogoutPostman collection