LPIC-2 Exam 202 (Linux Engineer) — Question 82
Which option within a Nginx server configuration section defines the file system path from which the content of the server is retrieved?
Answer options
- A. location
- B. htdocs
- C. DocumentRoot
- D. root
- E. base_dir
Correct answer: D
Explanation
The correct answer is 'root' as it defines the base file system path for serving content in an Nginx configuration. The 'location' directive specifies how requests are processed, while 'htdocs' and 'DocumentRoot' are not standard Nginx terms, and 'base_dir' is not recognized in this context.