Check Point Certified Cloud Specialist (CCCS) R82 — Question 12
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 kdebug -T -f -m 10 -s 1000000 > debugfilename
- C. fw ctl kdebug -T -m 10 -s 1000000 -o debugfilename
- D. fw ctl debug -T -f -m 10 -s 1000000 -o debugfilename
Correct answer: A
Explanation
The correct answer, A, includes the necessary flags to enable kernel debugging with a timestamp, specify the maximum size, and direct the output to a file, which is essential to manage disk space effectively. Option B incorrectly uses redirection instead of the '-o' flag to specify the output file, while options C and D omit critical flags or use incorrect commands, making them invalid for the requirements stated.