Correct Answer:
./configure
make
make install
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Which of the following commands will you use to stop an Apache service via command line on a Windows NT based machine?
Correct Answer:
httpd.exe –k stop
httpd.exe –k shutdown
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Which of the following directives can we not use in the <Files> and the <FilesMatch> sections?
Correct Answer:
The Options directive
The AllowOverride directive
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Which of the following directives will you use to include only all .conf files present in the '/usr/local/apache2/conf' directory where '/usr/local/apache2' is your ServerRoot directory?
Correct Answer:
Include conf/*.conf
Note: This Question is unanswered, help us to find answer for this one
In which of the following sections can we use the AllowOverride directive?
Correct Answer:
<Directory> section
Note: This Question is unanswered, help us to find answer for this one
Which of the following configurations will prevent the proxy server from being used to access the google.com website?
Correct Answer:
<Proxy http://google.com/*> Order allow, deny Deny from all </Proxy>
Note: This Question is unanswered, help us to find answer for this one
Which of the following is true regarding the 'apachectl –k restart' command?
Correct Answer:
It will kill all the children processes immediately but not the parent process and then restart new children processes.
Note: This Question is unanswered, help us to find answer for this one
What is the default https port number?
Correct Answer:
443
Note: This Question is unanswered, help us to find answer for this one
Which of the following commands will you use to check whether any Apache rpm package is installed on your RedHat Linux system or not?
Correct Answer:
rpm –q apache
Note: This Question is unanswered, help us to find answer for this one
State whether true or false:
<Location> sections are processed after <Directory> sections
and .htaccess files are read after <Files> sections.
Correct Answer:
True
Note: This Question is unanswered, help us to find answer for this one
Which of the following directives sets the authorization realm for a directory for HTTP authentication?
Correct Answer:
AuthName
Note: This Question is unanswered, help us to find answer for this one
Which of the following directives allows the configuration of a trailing footer line under server generated documents like FTP directory listing etc.?
Correct Answer:
ServerSignature
Note: This Question is unanswered, help us to find answer for this one
If no port number is specified in the ServerName directive, which port number will the server use?
Correct Answer:
It will use a port from the incoming request.
Note: This Question is unanswered, help us to find answer for this one
Which command is used to check the version of the Apache server installed (using an rpm package) on a RedHat Linux system?
Correct Answer:
httpd -v
Note: This Question is unanswered, help us to find answer for this one
What is the default filename in the AccessFileName directive in the Apache config file?
Correct Answer:
.htaccess
Note: This Question is unanswered, help us to find answer for this one
Which of the following is the default option for the LogLevel directive in the Apache config file?
Correct Answer:
None of the above
Note: This Question is unanswered, help us to find answer for this one
Which user can use port numbers less than 1024 in unix/linux if they want to use other than the default port number 80?
Correct Answer:
root
Note: This Question is unanswered, help us to find answer for this one
Which of the following is the correct method to set a DocumentRoot directive for '/usr/web' folder in the Apache?
Correct Answer:
DocumentRoot /usr/web
Note: This Question is unanswered, help us to find answer for this one
Which of the following directives sets the contact address that the server includes in any error messages it returns to the client?
Correct Answer:
ServerAdmin
Note: This Question is unanswered, help us to find answer for this one
How will you enable the ServerTokens directive only on one of the Virtual Hosts present on your Apache server?
Correct Answer:
ServerTokens directive cannot be enabled only on one of the Virtual Hosts.
Note: This Question is unanswered, help us to find answer for this one
What does the depth of 1 mean in the SSLVerifyDepth directive?
Correct Answer:
The client certificate can be signed by the client himself/herself or has to be signed by a CA who is personally known to the server.
Note: This Question is unanswered, help us to find answer for this one
Which of the following commands will you use to remove the Apache -2.0.4-i386.rpm package from a RedHat Linux system?
Correct Answer:
rpm –e apache-2.0.4-i386.rpm
Note: This Question is unanswered, help us to find answer for this one
In a Windows operating system, which of the following commands will you use to shutdown the Apache gracefully?
Correct Answer:
httpd.exe –k shutdown
Note: This Question is unanswered, help us to find answer for this one
Which of the following will you use if you
want users on your network (172.16.0.0) to have unrestricted access to a
portion of your website but users outside your network to provide a
password to access the same portion of your website?
Correct Answer:
Require valid-user
Order allow,deny
Allow from 172.16
Satisfy Any
Note: This Question is unanswered, help us to find answer for this one
How will you uninstall the 'myapache' service (the name that you gave to the Apache service earlier) on a Windows NT based machine?
Correct Answer:
httpd.exe –k uninstall –n "myapache"
Note: This Question is unanswered, help us to find answer for this one
What is the default Apache access for <Directory />?
Correct Answer:
Allow from All
Note: This Question is unanswered, help us to find answer for this one
Which of the following options are available for the LogLevel directive in the Apache?
Correct Answer:
All of the above
Note: This Question is unanswered, help us to find answer for this one
State whether true or false:
IPv6 addresses must be surrounded in square brackets in the Listen directive e.g.
Listen [2001:db8::a00:20ff:fea7:ccea]:80
Correct Answer:
True
Note: This Question is unanswered, help us to find answer for this one
In a Windows operating system, if the Apache is installed from a precompiled executable, what will be the extension of the module files?
Correct Answer:
.so
Note: This Question is unanswered, help us to find answer for this one
Which of the following commands will you use to run the Apache as a service on a Windows NT based machine?
Correct Answer:
httpd.exe –k install
Note: This Question is unanswered, help us to find answer for this one
Which of the following commands will you use to start the Apache server (installed through an rpm package) on a RedHat Linux system?
Correct Answer:
service httpd start
Note: This Question is unanswered, help us to find answer for this one
Which of the following is true regarding the DSO list in the config file in Apache v1.3.X?
Correct Answer:
The DSO list must be in correct order
Note: This Question is unanswered, help us to find answer for this one
What is the default value of backlog in the ListenBackLog directive?
Correct Answer:
511
Note: This Question is unanswered, help us to find answer for this one
Which of the following directives tells the Apache to parse files for the SSI directives if they have the execute bit set?
Correct Answer:
XBitHack on
Note: This Question is unanswered, help us to find answer for this one
Which of the following log format strings denotes 'Remote Host'?
Correct Answer:
%h
Note: This Question is unanswered, help us to find answer for this one
State whether true or false:
The BufferedLogs directive causes the mod_log_config to store several
log entries in memory and write them together to the disk, rather than
writing them after each request.
Correct Answer:
True
Note: This Question is unanswered, help us to find answer for this one
Which of the following commands will you use to run the Apache in the debug mode?
Correct Answer:
httpd -X
Note: This Question is unanswered, help us to find answer for this one
Which of the following commands will you use on a RedHat Linux system to install the Apache-2.0.4-i386.rpm package?
Correct Answer:
rpm –ivh apache-2.0.4-i386.rpm
Note: This Question is unanswered, help us to find answer for this one
On which of the following platforms can Apache be installed?
Correct Answer:
All of the above
Note: This Question is unanswered, help us to find answer for this one
Which of the following directives sets how deeply mod_ssl should verify before deciding that the clients do not have a valid certificate?
Correct Answer:
SSLVerifyDepth
Note: This Question is unanswered, help us to find answer for this one
Which of the following directives can we use for redirecting the log information to be received by a program on its standard input?
Correct Answer:
CustomLog
Note: This Question is unanswered, help us to find answer for this one
Which of the following modules allows the creation of web space for every user by using the public_html directory created in every user's home directory?
Correct Answer:
mod_userdir
Note: This Question is unanswered, help us to find answer for this one
Which of the following directives is used to set the maximum length of the queue of pending connections?
Correct Answer:
ListenBackLog
Note: This Question is unanswered, help us to find answer for this one
Which utility comes with the Apache for creating and updating user authentication files?
Correct Answer:
htpasswd
Note: This Question is unanswered, help us to find answer for this one
Which of the following commands will you use to apply the changes made in the httpd.conf file without restarting the Apache server (installed through an rpm package) on a RedHat Linux system?
Correct Answer:
service httpd reload
Note: This Question is unanswered, help us to find answer for this one
Which of the following commands will you use to check the configuration files before starting the Apache server?
Correct Answer:
apachectl -t
apachectl configtest
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Which protocols are available in the SSLProtocol directive?
Correct Answer:
SSLv2
SSLv3
TLSv1
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Which are the two types of user authentication options available in the AuthType directive?
Correct Answer:
Basic
Digest
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Which of the following levels are available in the SSLVerifyClient directive?
Correct Answer:
none
optional
require
optional_no_ca
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Apache Server MCQs | Topic-wise