Home
81.
Which command installs the software packages that are needed to configure an Apache web server?
  • A.
    yum install httpd
  • B.
    yum install web-server
  • C.
    yum install apache
  • D.
    yum install apache2
  • Answer & Explanation
  • Report
Answer : [A]
Explanation :
The httpd package contains the core components of the Apache web server. It can be installed using yum install httpd .
Report
Name Email  
82.
What is the name of the main Apache configuration file?
  • A.
    /etc/httpd/conf/httpd.conf
  • B.
    /etc/httpd/httpd.conf
  • C.
    /etc/apache2/apache.conf
  • D.
    /etc/httpd/default-server.conf
  • Answer & Explanation
  • Report
Answer : [B]
Explanation : The default Apache configuration file is in /etc/httpd/conf/ httpd.conf.
Report
Name Email  
83.
Which parameter in the Apache configuration file is used to specify where Apache will serve its documents from?
  • A.
    ServerRoot
  • B.
    ServerDocuments
  • C.
    DocumentRoot
  • D.
    DocumentIndex
  • Answer & Explanation
  • Report
Answer : [C]
Explanation :
The DocumentRoot parameter specifies where the Apache web server will look for its contents.
Report
Name Email  
84.
Which parameter in the main Apache configuration file defines the location where the Apache process looks for its configuration files?
  • A.
    ServerRoot
  • B.
    ServerDocuments
  • C.
    DocumentRoot
  • D.
    DocumentIndex
  • Answer & Explanation
  • Report
Answer : [A]
Explanation :
The ServerRoot parameter defines where Apache will look for its configuration files. All file references in the httpd.conf configuration file are relative to this directory.
Report
Name Email  
85.
Which directory contains the main Apache configuration file?
  • A.
    /etc/httpd
  • B.
    /etc/htttpd/conf
  • C.
    /etc/httpd/conf.d
  • D.
    /etc/httpd/conf.modules.d
  • Answer & Explanation
  • Report
Answer : [B]
Explanation :
The /etc/http/conf directory contains the main Apache configuration file httpd.conf.
Report
Name Email