Check Point Certified Automation Specialist (CCAS) — Question 45
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 debug -T -f -m 10 -s 1000000 -o debugfilename
- B. fw ctl kdebug -T -f -m 10 -s 1000000 > debugfilename
- C. fw ctl kdebug -T -f -m 10 -s 1000000 -o debugfilename
- D. fw ctl kdebug-T -m 10 -s 1000000 -o debugfilename
Correct answer: C
Explanation
The correct answer is C because it uses the proper command 'fw ctl kdebug' with the necessary flags to include a timestamp and output to a specified file, while controlling the size of the debug output. Option A is incorrect as it uses 'fw ctl debug' instead of 'fw ctl kdebug'. Option B incorrectly uses a redirect '>' which does not allow for size management. Option D has a formatting error with 'kdebug-T' lacking a space.