nerdexam
CompTIA

XK0-001 · Question #124

An application is created that is called through the Web server. However, upon restarting the Web server, it is discovered that the application is not writing its errors to the Web error log…

The correct answer is C. Change the permissions and ownerships of the application to match the user:group of the Web. See the full explanation below for the reasoning.

Question

An application is created that is called through the Web server. However, upon restarting the Web server, it is discovered that the application is not writing its errors to the Web error log properly. Which of the following methods would resolve the problem?

Options

  • AChange the application to write its error logs into the /root directory.
  • BChange the Web server user to 'root' so that applications run within it will run as root.
  • CChange the permissions and ownerships of the application to match the user:group of the Web
  • DThe application does not have sufficient rights to write to the directory specified, so the suid bit on

How the community answered

(39 responses)
  • A
    13% (5)
  • B
    8% (3)
  • C
    77% (30)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full XK0-001 Practice