156-115.80 · Question #145
What is the correct syntax for firewall monitor to output to standard out?
The correct answer is C. fw monitor. Explanation/Reference:
Question
What is the correct syntax for firewall monitor to output to standard out?
Options
- Afw mon
- Bfw monitor > std_out
- Cfw monitor
- Dfw monitor -out
How the community answered
(27 responses)- A7% (2)
- B4% (1)
- C85% (23)
- D4% (1)
Explanation
Explanation/Reference:
Topics
Community Discussion
3The answer is C, "fw monitor," because that command on its own already sends output to standard out by default, so no extra flag or redirection is needed. Once you see that, the other options fall apart quickly, since option B would actually write to a file named std_out rather than your terminal, and the other two simply are not valid syntax for this tool.
C is correct, fw monitor alone sends output to stdout by default, and on my 156-115.80 sitting I almost second-guessed myself on this one because option B looks reasonable if you have ever piped anything in bash, but the command does not need redirection to hit stdout. The trap is that the exam writers know you will overthink it and reach for syntax that does not exist in the fw monitor man page.
C is your winner, full stop. Think of it this way: "fw monitor" is the BARE MINIMUM, and bare minimum means it dumps straight to your screen, which IS standard out. The moment you see extra flags like "-out" or redirection symbols in the options, your brain should scream DISTRACTOR because Check Point did not design fw monitor with a "-out" flag at all, that thing simply does not exist. Option B is tempting if you are thinking like a Linux shell person, but the "greater than" redirect sends output to a file named std_out, not to the terminal, so it actually works against you here. Lock in C, picture a bare "fw monitor" command standing alone with nowhere to hide except your screen, and you will never blank on this one again.