156-521 Sample Questions & Answers
Management API commands take up the largest portion, alongside Gaia API operations, the infrastructure needed to prepare for API work, automation and orchestration fundamentals, API best practices, parsing JSON with jq, and calling the web API from Postman.
Launch the full 156-521 simulator →Showing 10 of 20 free samples.
- Question 1Intermediate
Check Point API Infrastructure · API Infrastructure Components
A Check Point administrator notices that the Management API is unresponsive. Upon investigation, they determine the API server process is down. Which command should be used to verify the current status of the API server process?
Show answer & explanation
Correct answer: B
The
api statuscommand provides a specific status report for the API server, including whether it is started, initializing, or stopped.cpwd_admin listshows all watchdog processes butapi statusis the dedicated tool for API health. - Question 2Intermediate
Check Point API Infrastructure · Environment Preparation
To prevent unauthorized API access from unknown sources, an administrator wants to restrict API connections to a specific subnet. Which command or configuration step achieves this on the Security Management Server?
Show answer & explanation
Correct answer: C
The API access setting has no address list. It allows the server only, all IP addresses, or Trusted Clients. So define the subnet as a Trusted Client and choose the GUI-clients value. Then publish and run api restart.
- Question 3Advanced
Check Point API Infrastructure · Security best practices
An automation engineer is writing a Python script to communicate with the Management API. To ensure the script is not vulnerable to Man-in-the-Middle (MITM) attacks during the initial connection, what validation step must be performed?
Show answer & explanation
Correct answer: A
The client compares the server certificate's fingerprint with a trusted value that it saved. A mismatch can mean a man-in-the-middle attack, so the script should not connect. Turning off validation removes this protection.
- Question 4Advanced
Check Point API Infrastructure · Environment Preparation
You are troubleshooting a production Management Server where API commands are failing with 'Out of Memory' errors due to heavy automation load. Which configuration change is recommended to resolve this?
Show answer & explanation
Correct answer: C
The Management API runs in Java, so heavy load can use up its maximum heap. Raise that heap limit, ideally with Check Point Support, so it can handle more requests. Restarting the firewall module does not change API memory.
- Question 5Intermediate
Check Point API Infrastructure · API architecture
Which system component acts as the intermediary between the API client (such as a Python script) and the Check Point Management database (PostgreSQL/SOLR)?
Show answer & explanation
Correct answer: A
CPM is the main process of the Security Management Server. The API server hands each request to CPM. CPM reads and writes the management database, so the API cannot work while CPM is down.
- Question 6Beginner
Check Point API Infrastructure · Environment Preparation
An administrator needs to restart the API server to apply a configuration change without rebooting the entire Management Server. Which command should be used?
Show answer & explanation
Correct answer: D
The
api restartcommand specifically restarts the API server subsystem. This is faster and less disruptive than restarting all Check Point services withcpstop/cpstart. - Question 7Intermediate
Check Point API Infrastructure · Environment Preparation
A DevOps engineer is configuring a new Management Server and needs to ensure that the API server automatically starts upon system boot. Which command validates this configuration?
Show answer & explanation
Correct answer: D
The
api statuscommand output includes a line indicating 'Automatic Start: Enabled' (or Disabled). This confirms whether the API service is configured to launch on boot. - Question 8Beginner
Management API · Object and Policy Automation
When using
mgmt_clito add a new host object, which parameter is mandatory to successfully create the object?Show answer & explanation
Correct answer: B
Every add-host call needs a unique name. It also needs an IP address, in ip-address, ipv4-address or ipv6-address. Color, comments and tags are optional.
- Question 9Intermediate
Management API · Management API Workflow and Tools
A developer is writing a script to add 100 rules to a policy package. After the script runs, the changes are visible in the session but not to other administrators. What step was missed?
Show answer & explanation
Correct answer: C
In Check Point's management model, changes made during a session are private until they are 'published'. The
publishcommand commits the changes to the database, making them visible to others and ready for installation. - Question 10Intermediate
Management API · Object and Policy Automation
You need to add a new access rule to the 'Network' layer of the 'Standard' policy package. Which command syntax is correct?
Show answer & explanation
Correct answer: B
Access rules belong to a layer. So add access-rule needs the layer name and a position, such as top. It has no policy field. Neither add rule nor create rule is an API command.
Ready for the real thing?
The full 156-521 simulator has every exam-style question, timed mode, and instant scoring.