156-521 Exam Questions
254 real 156-521 exam questions with expert-verified answers and explanations. Page 4 of 6.
- Question #151
Which jq expression retrieves the UID from the following JSON object: {"uid": "abc123", "name": "host1"}?
- Question #152
After adding a host using mgmt_cli --format json, how would you extract only the name field using jq?
- Question #153
Which jq command would list the names of all objects in a response containing a JSON array objects?
- Question #154
What is the benefit of using jq when working with paginated show access-rulebase API results? (Choose two)
- Question #155
How do you extract the value of the "ipv4-address" field from a host object response using jq?
- Question #156
You need to extract multiple fields (name and uid) from each object in the JSON array. Which command is correct?
- Question #157
Which of the following are valid ways to use jq to manipulate Management API JSON output? (Choose two)
- Question #158
Which jq expression would you use to get all objects with the type "host" from a JSON response?
- Question #159
What is the correct jq syntax to retrieve all access rules where action is "Drop"?
- Question #160
How can jq improve the portability of automation scripts using the Management API? (Choose two)
- Question #161
Which of the following allows jq to extract all names of access-layer rules from nested JSON data?
- Question #162
Which command would you use to pretty-print the JSON output for easier manual reading?
- Question #163
What does jq '.[0]' do when used on an array of JSON objects?
- Question #164
What is a best practice when combining mgmt_cli --format json and jq in production scripts?
- Question #165
Before using Postman to access the Check Point Management API, what must be enabled on the Management Server?
- Question #166
Which port does Postman use to communicate with the Check Point Management API by default?
- Question #167
Which authentication method is required in Postman to initiate a session with the Management API?
- Question #168
To use Postman effectively with Check Point Web APIs, what must be done on the SmartConsole? (Choose two)
- Question #169
What is the expected content-type header for Check Point API calls in Postman?
- Question #170
Which Postman component stores the session token after login for use in subsequent API calls?
- Question #171
What is the correct way to send the session token in future requests after login?
- Question #172
What should an admin do if the Management API login request fails with a 403 error in Postman? (Choose two)
- Question #173
Which two actions must be taken before using Postman to call Gaia API endpoints? (Choose two)
- Question #174
Which of the following are valid URLs to send a login request to the Management API using Postman? (Choose two)
- Question #175
If your Postman request receives a Content-Type: text/html response instead of JSON, what is the likely issue?
- Question #176
Which Postman feature allows you to build a collection of Management API requests for reuse?
- Question #177
Why should an administrator use HTTPS instead of HTTP with Postman when calling Check Point APIs?
- Question #178
What is the recommended method in Postman to chain multiple API requests using a shared session token?
- Question #179
What information must be included in the body of a Management API login request in Postman? (Choose two)
- Question #180
What is the first step when using Postman to interact with the Check Point Management API?
- Question #181
Which HTTP method is used in Postman to initiate a login session with Check Point Management API?
- Question #182
After receiving the session token from /login, how should it be used in Postman?
- Question #183
Which two components are required in the Postman login request to Check Point Management API? (Choose two)
- Question #184
Which HTTP headers should be included in every Check Point API request sent from Postman after login? (Choose two)
- Question #185
How does Postman store and reuse session tokens across multiple requests in a workflow?
- Question #186
What should be added in Postman's "Tests" tab after a login request to capture the session token?
- Question #187
After login, how can the session token be passed to future requests in Postman?
- Question #188
Which Postman feature allows you to group multiple related Check Point API calls?
- Question #189
What is the purpose of the /publish endpoint in a Postman-based workflow with Management API?
- Question #190
Which of the following is a best practice when using Postman with the Management API? (Choose two)
- Question #191
What action should be taken if you receive a 401 error in Postman when calling /add-host?
- Question #192
In a Postman collection, which two operations should bookend your API workflow? (Choose two)
- Question #193
If Postman receives HTML instead of JSON when hitting /login, what is the likely cause?
- Question #194
What must be done in SmartConsole to ensure a Postman client can reach the API? (Choose two)
- Question #195
You want to retrieve a list of host objects using Postman. Which of the following is the correct setup?
- Question #196
You've received a session token from /login. How do you use it in a Postman collection?
- Question #197
Which Postman feature is best used to automatically store the session token from the login response?
- Question #198
When sending a request to add a host, which two elements are required in the body? (Choose two)
- Question #199
You want to automate login and token reuse in Postman. Which steps are required? (Choose two)
- Question #200
You've created a Postman collection with login, object creation, and logout. In what order should these run?