Which of the following commands displays the output of the foo command on the screen and also writes it to a file called /tmp/foodata?
Suggested Answer: D
Get Premium 101-500 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
11 comments · newest first
JI
Jina
11 months ago
Is it really that simple? I feel like there's more to it.
AL
Alease
11 months ago
I thought it was C at first, but D is definitely better.
RU
Ruth
12 months ago
Wait, why would you use cp in option B? That doesn't make sense.
HA
Hassie
12 months ago
Totally agree, D is the command you need.
GI
Gianna
12 months ago
Option D is the right one!
AD
Adrianna
1 year ago
I think 'foo | tee /tmp/foodata' is the one that does both, but I’m a bit confused about the syntax.
MI
Minna
1 year ago
I feel like 'foo > /tmp/foodata' just writes to the file and doesn’t show it on the screen, right?
CO
Colette
1 year ago
I remember practicing with similar questions, and I’m not sure if 'cp' is the right command here.
BR
Brendan
1 year ago
I think the command needs to both display the output and write it to a file, so I’m leaning towards something with 'tee'.
MA
Maurine
1 year ago
This seems like a pretty straightforward question. I think the key is to focus on the role of the Release Train Engineer during the final plan review.
BR
Brittani
1 year ago
Hmm, this looks like it's testing our understanding of Falco and container monitoring. I'll need to make sure I have a good grasp of the Falco tool and how to use it to detect process behavior in a container.