exam questions

Exam 202-450 All Questions

View all questions & answers for the 202-450 exam

Exam 202-450 topic 1 question 76 discussion

Actual exam question from LPI's 202-450
Question #: 76
Topic #: 1
[All 202-450 Questions]

Which of the following are logging directives in Apache HTTPD? (Choose two.)

  • A. TransferLog
  • B. CustomLog
  • C. ErrorLog
  • D. ServerLog
  • E. VHostLog
Show Suggested Answer Hide Answer
Suggested Answer: AB 🗳️
Reference: http://httpd.apache.org/docs/current/mod/mod_log_config.html

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
hobokabobo
Highly Voted 3 years, 8 months ago
Actually TransferLog, ErrorLog and CustomLog exists. I would go for ErrorLog and CustomLog as they feel more commonly used to me.
upvoted 14 times
...
Adonist
Highly Voted 3 years, 7 months ago
I think A and B are correct. According to the documentation of the module mod_log_config there's 3 directives: TransferLog, CustomLog and LogFormat. Even though ErrorLog is one of the main options for logs, not sure if that would be the right one. If the question has 2 options, I'd go for A and B. If there's 3 I'd add ErrorLog all right. http://httpd.apache.org/docs/current/mod/mod_log_config.html
upvoted 8 times
...
Amjadqzz1
Most Recent 8 months, 3 weeks ago
Selected Answer: AC
Chatgpt: The logging directives in Apache HTTPD are: A. TransferLog C. ErrorLog Therefore, the correct options are A and C. Explanation: TransferLog: This directive is used to specify the log file for recording the access logs. It defines the file where the details of incoming requests and server responses are logged. ErrorLog: This directive is used to specify the log file for recording the error logs. It defines the file where Apache HTTPD records errors and warnings encountered during server operation. The options B, D, and E (CustomLog, ServerLog, and VHostLog) are not valid logging directives in Apache HTTPD.
upvoted 2 times
...
mira_
1 year, 5 months ago
Selected Answer: BC
Qouting hobokabobo: Actually TransferLog, ErrorLog and CustomLog exists. I would go for ErrorLog and CustomLog as they feel more commonly used to me.
upvoted 1 times
...
jorge_pas
2 years, 4 months ago
B and C are correct. https://httpd.apache.org/docs/2.4/logs.html
upvoted 2 times
...
exco
2 years, 6 months ago
B and C are correct, because in the exam there is no TransferLog option to chose, only ErrorLog and CustomLog
upvoted 6 times
...
saod
2 years, 9 months ago
# Journal personnalisé avec alias de format LogFormat "%h %l %u %t \"%r\" %>s %b" common CustomLog "logs/access_log" common # Journal personnalisé avec chaîne de format explicite CustomLog "logs/access_log" "%h %l %u %t \"%r\" %>s %b"
upvoted 1 times
...
glorofarz
3 years, 7 months ago
i think the question is malformed and should say, Choose three
upvoted 1 times
exco
2 years, 6 months ago
No, in the real exam there is no TransferLog option as answer
upvoted 3 times
...
...
Admingui
3 years, 7 months ago
cat /etc/apache2/sites_available/000-default.conf ist custom log and error log
upvoted 5 times
tcaseit
3 years, 3 months ago
Even in the whole Apache conf directory Transfer doesn't seem to appear by default but Error and Custom do. egrep -r 'TransferLog|CustomLog|ErrorLog' /etc/apache2/*
upvoted 2 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