Check Point Certified Multi-Domain Security Management Specialist (CCMS) — Question 7
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 can’t 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?
Answer options
- A. fw ctl kdebug -T -f -m 10 -s 1000000 -o debugfilename
- B. fw ctl debug -T -f -m 10 -s 1000000 -o debugfilename
- C. fw ctl kdebug -T -f -m 10 -s 1000000 > debugfilename
- D. fw ctl kdebug -T -m 10 -s 1000000 -o debugfilename
Correct answer: A
Explanation
The correct answer is A, which includes the '-f' flag that allows the kernel debug to run without stopping when the specified size is reached. Options B and C are incorrect because B uses 'fw ctl debug' instead of 'fw ctl kdebug', and C redirects output incorrectly without the '-o' option. D is also incorrect as it lacks the '-f' flag, which is crucial for the command to function as intended.