A recently installed application writes log data to /opt/app/log/info.log. If Filebeat is already installed and set up for communication with a remote Logstash, what has to be done in order to submit the log data of the new application to Logstash?
Suggested Answer: E
Get Premium 701-100 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
14 comments · newest first
JA
Jannette
11 months ago
A symbolic link to /dev/filebeat? That sounds weird, is that even a thing?
NA
Nakisha
12 months ago
Option A seems like a good choice too, but C is simpler.
VI
Viola
12 months ago
Wait, why would you use a cron job for this? Sounds unnecessary.
PU
Pura
12 months ago
Totally agree, option C is the way to go!
MA
Marnie
1 year ago
Just add the log file to the Filebeat config and restart it.
LE
Leslie
1 year ago
I don't recall needing to set up a cron job for Filebeat. It seems like we should just update the Filebeat config and restart it.
MA
Mammie
1 year ago
Adding an input channel directly to Logstash sounds familiar, but I feel like that’s not the right approach for this scenario.
AR
Arlyne
1 year ago
I remember a practice question where we had to configure Filebeat to read a new log file. I think it was about modifying the prospector settings.
HA
Hayley
1 year ago
I think we need to add the log file to the Filebeat configuration, but I'm not sure if it's the path option or something else.
LE
Leonardo
1 year ago
Whoa, this is a lot of information to take in. I better take my time and really analyze each part of the question carefully. Rushing through this could lead me to the wrong answer, so I'll be sure to read everything thoroughly.
TR
Trinidad
1 year ago
Hmm, I'm not too sure about this one. I'll have to think it through carefully.
KI
Kimi
1 year ago
This question seems straightforward, I think I know the answer but I'll double-check my notes just to be sure.
QU
Quinn
1 year ago
This is a tricky one, but I think the answer is C. Using a 'SSH Username with private key' credential scoped to 'Agents' should give us the security we need without exposing the key to regular users. I'll make sure to set that up properly.
NA
Naomi
1 year ago
That question about finding the right combination seems similar to the practice questions we did on interest rate derivatives. I think selling a floor and buying a cap makes sense.