exam questions

Exam 701-100 All Questions

View all questions & answers for the 701-100 exam

Exam 701-100 topic 1 question 40 discussion

Actual exam question from LPI's 701-100
Question #: 40
Topic #: 1
[All 701-100 Questions]

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?

  • A. Add an additional input channel with the option source => "/opt/app/log/info.log" to the Logstash configuration.
  • B. Configure logrotate to execute filebeat ""I /opt/app/log/info.log 0 after each rotation of /opt/app/log/info.log.
  • C. Add the log file to the path option within the log prospector in the Filebeat configuration and restart Filebeat.
  • D. Add a new cron job that invokes filebeat ""i /opt/app/log/info.log periodically.
  • E. Replace /opt/app/log/info.log by a symbolic link to /dev/filebeat and restart the new application.
Show Suggested Answer Hide Answer
Suggested Answer: E 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
hmagroun
Highly Voted 1 year, 11 months ago
The correct answer is C see: https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-configuration.html
upvoted 10 times
...
Blob21
Most Recent 8 months, 3 weeks ago
https://www.elastic.co/guide/en/beats/filebeat/6.8/filebeat-configuration.html C is correct
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago