Checkpoint certification · Exam 156-587

156-587 Mock Exam

Check Point Certified Troubleshooting Expert - R81.20 CCTE

Find out if you're ready for 156-587. Take the free timed mock exam and get your score in minutes, or study the free 156-587 questions below with answers and explanations.

9 questions · 15 minutes · free, no sign-up

Free 156-587 questions

1–9 of 9 free
Question 1 Choose 1
During firewall kernel debug with fw ctl zdebug you received less information that expected. You noticed that a lot of messages were lost since the time the debug was started. What should you do to resolve this issue?
Show answerHide answer

Correct answer: A Increase debug buffer Use fw ctl debug -buf 32768

Explanation

Explanation
The issue described is a classic symptom of the kernel's debug buffer being too small for the volume of traffic being debugged.

1. Understanding the Problem: fw ctl zdebug and the Ring Buffer
fw ctl zdebug is a command that prints a massive amount of real-time, kernel-level packet processing information to the console.

This debug output is not written directly to a file initially. It is first written to a fixed-size, circular memory buffer (a "ring buffer") in the kernel.

When you run fw ctl zdebug, the command is essentially "dumping" the current contents of this memory buffer to your screen.

The Problem:
If the firewall is processing a very high volume of traffic, the debug messages can be generated faster than you can read them. The ring buffer is circular, meaning when it fills up, the oldest messages are overwritten by new ones. This results in the "lost messages" you observed.

2. Why Increasing the Buffer is the Solution
The solution is to make this in-memory buffer larger before starting the debug session. A larger buffer can hold more messages, giving you more time to capture the output before old data is overwritten.

The command to do this is fw ctl debug -buf .

The default buffer size is often 8,192 KB (8 MB).

fw ctl debug -buf 32768 increases the buffer size to 32,768 KB (32 MB), which is four times the default size. This provides a much larger window to capture debug data during high-traffic scenarios.

The correct sequence of commands is:
fw ctl debug -buf 32768 (Increase the buffer size)

fw ctl zdebug > /var/log/debug_output.txt (Start the debug and redirect to a file)

3. Analysis of the Incorrect Options

B. Redirect debug output to file; Use fw ctl debug -o /debug.elg
Why it is incorrect: The -o flag is used with fw ctl zdebug, not with fw ctl debug. The command fw ctl debug -o is invalid and will not work. Furthermore, simply redirecting output without increasing the buffer does not solve the core problem of messages being lost before they are displayed and redirected.

C. Redirect debug output to file; Use fw ctl zdebug -o /debug.elg
Why it is incorrect: This command is syntactically wrong. The -o flag is an option for the fw ctl debug command to set the output file for the buffer. You do not use it with zdebug itself. The standard way to redirect zdebug output is by using the shell redirection operator >. More importantly, this does not address the root cause of the buffer overflowing.

D. Increase debug buffer; Use fw ctl zdebug -buf 32768
Why it is incorrect: This is a critical syntax error. The -buf modifier is an argument for the fw ctl debug command, which is used to configure the debug settings. The fw ctl zdebug command is used to print the debug buffer. You cannot change the buffer size with zdebug. Using -buf with zdebug will result in an error.

Summary and Best Practice:
The correct procedure to prevent losing kernel debug messages is:

Configure the buffer size using the configuration command: fw ctl debug -buf

Start the debug with the print command and immediately redirect to a file: fw ctl zdebug > /var/log/my_debug.log

Reproduce the issue.

Stop the debug with fw ctl debug 0.

Always remember to reset the buffer to its default size after your troubleshooting to conserve memory: fw ctl debug -buf 0

Reference: Check Point CLI Reference Guide and SK (SecureKnowledge) articles on using kernel debug commands, which explicitly describe the use of the -buf modifier with fw ctl debug to resolve issues with lost debug messages.
Question 2 Choose 1
You need to run a kernel debug over a longer period of time as the problem occurs only once or twice a week. Therefore you need to add a timestamp to the kernel debug and write the output to a file but you cant afford to fill up all the remaining disk space and you only have 10 GB free for saving the debugs What is the correct syntax for this?
Show answerHide answer

Correct answer: A A fw ctl kdebug -T -f -m 10 -s 1000000 -o debugfilename

Explanation

Explanation
This scenario requires a debug that is both long-running and resource-conscious. The correct command must meet all the requirements: timestamps, file output, and strict disk space management.

Let's break down the requirements and how the command's flags address them:

Kernel Debug: The command must start kernel-level packet debugging.

Timestamp: -T adds a timestamp to every debug line, which is crucial for correlating events over a long period.

Write to File: -o debugfilename tells the kernel to write the debug output directly to the specified file.

Prevent Filling Disk (10 GB limit): This is the most critical part. The command uses two flags together to achieve this:

-m 10: This sets the maximum number of files to 10.

-s 1000000:This sets the maximum size for each file to 1,000,000 bytes (approximately 1 MB).

How the disk space control works:
When the command runs, it will write to debugfilename. Once that file reaches 1 MB, it will be closed and renamed (e.g., to debugfilename.0), and a new debugfilename will be created. It will keep doing this, creating up to 10 files of 1 MB each. After the 10th file is full, it will wrap around and overwrite the oldest one. This ensures the total disk space used for the debug logs will never exceed 10 files * 1 MB/file = 10 MB, which is well within your 10 GB free space limit. The -f flag is also important here, as it tells the debug to continue writing to the file even when the console is disconnected, which is essential for a long-running debug.

Analysis of the Incorrect Options

B. fw ctl debug -T -f -m 10 -s 1000000 -o debugfilename

Why it is incorrect:
The command fw ctl debug is used to configure debug flags and settings, but it is fw ctl kdebug (or the older fw ctl zdebug) that is used to actually start the continuous kernel debug stream with these advanced file control options. The -m and -s flags are not valid for the basic debug command in this context.

C. fw ctl kdebug -T -f -m 10 -s 1000000 > debugfilename

Why it is incorrect:
Using the shell redirection > is problematic for a long-running debug. If your SSH session disconnects, the debug will stop. More importantly, the -m and -s flags require the internal file writing mechanism of kdebug (-o flag) to function. You cannot use them with shell redirection. The file rotation and size limiting would not work, and the debug would run until it filled the entire disk.

D. fw ctl kdebug -T -m 10 -s 1000000 -o debugfilename

Why it is incorrect:
This is very close, but it is missing the -f flag. The -f (follow) flag is crucial for a long-running debug. Without it, the debug might stop if the terminal session ends or if the process controlling it is interrupted. For a debug that needs to run for days, you must use -f to ensure it continues running in the background.

Reference:
Check Point CLI Reference Guide and SK articles on long-term debugging, which specifically recommend the kdebug -T -f -m -s -o syntax for continuous logging with resource management.
Question 3 Choose 1
URL Filtering is an essential part of Web Security in the Gateway. For the Security Gateway to perform a URL lookup when a client makes a URL request, where is the sync-request forwarded from if a sync-request is required?
Show answerHide answer

Correct answer: C URLF Kernel Client

Explanation

Explanation:
In the context of the Check Point 156-587 exam, which focuses on Threat Prevention and advanced troubleshooting on Check Point Security Gateways, URL Filtering is a key component of web security. It allows the Security Gateway to categorize and control access to URLs based on predefined policies. When a client makes a URL request, the Security Gateway may need to perform a sync-request (synchronous request) to an external or internal service to classify the URL, especially if the URL is not cached locally. The question asks where this sync-request is forwarded from when required. Let’s analyze each option to determine the correct component.

Option A: RAD User Space
This is the correct answer. The RAD (Resource Advisor Daemon) is a user-space process (rad) on the Check Point Security Gateway responsible for handling URL Filtering and Application Control lookups. When a URL request requires a sync-request (e.g., for an uncategorized or uncached URL), the RAD User Space process initiates the request to an external service, such as Check Point’s cloud-based URL Filtering service or a local categorization database, to retrieve the URL’s category. The RAD process operates in User Mode and manages communication between the firewall kernel and external classification services, making it the component that forwards sync-requests.

Option B: URLF Online Service
This is incorrect. The URLF Online Service refers to Check Point’s cloud-based URL Filtering service, which provides real-time categorization for URLs. While the sync-request may be sent to this service, the question asks where the request is forwarded from on the Security Gateway. The URLF Online Service is an external endpoint, not a component on the Gateway itself, so it cannot be the source of the sync-request.

Option C: URLF Kernel Client
This is incorrect. There is no specific component called the URLF Kernel Client in Check Point’s architecture. The firewall kernel (running in Kernel Mode) interacts with the RAD process for URL Filtering, but the kernel itself does not initiate sync-requests. Instead, the kernel forwards URL lookup requests to the RAD process in User Space, which handles external communication. This option appears to be a distractor.

Option D: RAD Kernel Space
This is incorrect. The RAD (Resource Advisor Daemon) operates in User Space, not Kernel Space. While the firewall kernel processes packets and performs initial rulebase matching, it does not handle sync-requests for URL categorization. The kernel forwards URL-related requests to the RAD process in User Space, which then manages the sync-request to external services or local databases.

References:

Check Point R81.20 Application Control and URL Filtering Administration Guide:
Details the architecture of URL Filtering, noting that the RAD daemon (rad) in User Space manages URL lookups and communication with external categorization services.

Check Point Technical Training (156-587 Context):
The exam emphasizes understanding the components involved in Threat Prevention blades, including URL Filtering, and the role of User Space processes like RAD in handling external requests.
Question 4 Choose 1
Which of the following commands can be used to see the list of processes monitored by the Watch Dog process?
Show answerHide answer

Correct answer: C cpwd_admin list

Explanation

Explanation:
In the context of the Check Point 156-587 exam, which focuses on advanced troubleshooting and Threat Prevention on Check Point Security Gateways, the WatchDog process (cpwd, or Check Point WatchDog) is responsible for monitoring and managing critical Check Point processes (e.g., cpd, vpnd, fwm) to ensure they are running and restart them if they fail. The question asks for the command to list the processes monitored by the WatchDog. Let’s analyze each option to determine the correct command.

Option A: cpstat fw -f watchdog
This is incorrect. The cpstat fw command displays firewall statistics, and the -f flag specifies a specific table (e.g., policy, conn). There is no watchdog table for cpstat fw. This command is unrelated to listing processes monitored by the WatchDog (cpwd) and will not provide the desired output.

Option B: fw ctl get str watchdog
This is incorrect. The fw ctl get command is used to retrieve kernel variables or parameters from the Check Point firewall kernel. The str option is not valid, and watchdog is not a kernel parameter accessible via fw ctl get. This command does not interact with the WatchDog process (cpwd) or list monitored processes.

Option C: cpwd_admin list
This is the correct answer. The cpwd_admin list command is the standard way to display the list of processes monitored by the Check Point WatchDog (cpwd). It provides details about each process, including its name, PID, status (e.g., running or stopped), and restart count. This command directly queries the WatchDog daemon to show all processes under its supervision, such as cpd (Check Point Daemon), vpnd (VPN Daemon), and fwm (Firewall Management).

Option D: ps -ef | grep watchd
This is incorrect. The ps -ef | grep watchd command lists processes matching the string watchd, but there is no process named watchd in Check Point’s architecture. The WatchDog process is called cpwd (Check Point WatchDog). Running ps -ef | grep cpwd would show the cpwd process itself, but it would not list the processes monitored by cpwd. This command is too generic and does not provide the specific information requested.

References:

Check Point R81.20 CLI Reference Guide:
Documents the cpwd_admin utility, including the list option to display WatchDog-monitored processes.

Check Point Technical Training (156-587 Context):
The exam emphasizes troubleshooting tools like cpwd_admin for monitoring and managing Check Point processes, critical for diagnosing issues with daemons like cpd or vpnd.
Question 5 Choose 1
You were asked by security team to debug Mobile Access VPN. What processes will you debug?
Show answerHide answer

Correct answer: A HTTPD and CPVND

Explanation

Explanation
Mobile Access (also known as Clientless VPN or SecureClient) provides users with browser-based, secure access to internal web applications and resources without requiring a full, traditional VPN client (like Remote Access VPN). Its architecture involves different processes than a standard site-to-site or remote access VPN.

1. Breakdown of the Correct Processes

HTTPD:
This is the web server process (Apache) running on the Security Gateway. It is responsible for serving the Mobile Access portal page to users. When a user connects, they point their browser to the Gateway's IP/URL, and the httpd process delivers the login page and the web application portal. Debugging httpd is crucial for troubleshooting issues with the initial connection, portal loading, authentication, and the presentation of web applications.

CPVND (Check Point VPN Daemon):
This is the specific daemon that handles the Mobile Access VPN tunnel itself. It manages the secure, encapsulated connection for the clientless session, transporting the web traffic from the user's browser to the internal resources and back. Debugging cpvnd is essential for troubleshooting issues with the tunnel establishment, data flow, and SSL/TLS negotiations specific to the Mobile Access service.

2. Analysis of the Other Options

B. IKED
Why it is incorrect: The iked daemon is responsible for IKE negotiations for IPsec-based VPNs. This is used for site-to-site VPNs and the older IPsec-based Remote Access VPN (SecuRemote). Mobile Access is primarily a SSL/TLS-based solution and does not use the IKE protocol for its tunnel establishment. Therefore, iked is not involved.

C. VPND and IKED

Why it is incorrect:

VPND:
The vpnd daemon is the core VPN daemon for traditional Remote Access VPN (using the Endpoint Security Client) and for some aspects of site-to-site VPN. While it plays a role in the overall VPN subsystem, the specific tunneling for the Mobile Access service is handled by the more specialized cpvnd process. Debugging vpnd would be more relevant for full-tunnel client connections, not the clientless web portal.

IKED:
As explained above, iked is not used for Mobile Access.

D. SNX daemon
Why it is incorrect: "SNX" is a legacy term from a different vendor technology (Juniper Networks) for their clientless SSL VPN solution. Check Point's implementation is called Mobile Access, and its corresponding daemon is cpvnd, not an "SNX daemon." This term does not apply to the Check Point environment.

Reference:
Check Point SecureKnowledge articles and administration guides for Mobile Access (R80.x) explicitly detail the roles of the httpd and cpvnd processes in providing the Clientless VPN service and are the recommended processes to debug for this technology.
Question 6 Choose 1
What is NOT a benefit of the ‘fw ctl zdebug’ command?
Show answerHide answer

Correct answer: C Cannot be used to debug additional modules

Question 7 Choose 1
For identity Awareness what is the PDP process?
Show answerHide answer

Correct answer: A Identity server

Question 8 Choose 1
You modified kernel parameters and after rebooting the gateway, a lot of production traffic gets dropped and the gateway acts strangely What should you do"?
Show answerHide answer

Correct answer: B Restore fwkem.conf from backup and reboot the gateway

Question 9 Choose 1
When viewing data for CPMI objects in the Postgres database, what table column should be selected to query for the object instance?
Show answerHide answer

Correct answer: A CpmiHostCkp

That's the last free question

You've seen the free 30% (9 of 30 questions). Full access unlocks every question and full-length 156-587 mock exams (65 questions, 105 minutes), a different mock on every attempt.

Unlock full mock exam
Full mock exam

Sit the 156-587 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real 156-587 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full 156-587 mock exam
  • 65questions per mock
  • 105 mintime limit
  • 30questions in the bank
  • Newmock on every attempt