How will you enable the ServerTokens directive only on one of the Virtual Hosts present on your Apache server?
ServerTokens All 20.0%
ServerTokens Full 20.0%
ServerTokens Vhost 0.0%
ServerTokens directive cannot be enabled only on one of the Virtual Hosts. 60.0%
How will you uninstall the 'myapache' service (the name that you gave to the Apache service earlier) on a Windows NT based machine?
httpd.exe –u uninstall –k "myapache" 0.0%
httpd.exe –k uninstall –u "myapache" 0.0%
httpd.exe –n uninstall –k "myapache" 0.0%
httpd.exe –k uninstall –n "myapache" 100.0%
If no port number is specified in the ServerName directive, which port number will the server use?
Port 80 100.0%
Port 8080 0.0%
It will use the Random port. 0.0%
It will use a port from the incoming request. 0.0%
In a Windows operating system, if the Apache is installed from a precompiled executable, what will be the extension of the module files?
.dll 0.0%
.so 100.0%
.mod 0.0%
None of the above 0.0%
In a Windows operating system, which of the following commands will you use to shutdown the Apache gracefully?
httpd.exe –g shutdown 0.0%
httpd.exe –k kill 0.0%
httpd.exe –k shutdown 100.0%
None of the above 0.0%
In which of the following sections can we use the AllowOverride directive?
<Location> section 0.0%
<Directory> section 100.0%
<Files> section 0.0%
<DirectoryMatch> section 0.0%
Any of the above 0.0%
On which of the following platforms can Apache be installed?
RedHat Enterprise Linux 0.0%
Solaris 0.0%
Windows 0.0%
Mac OS X 0.0%
SCO 0.0%
HPUX 0.0%
All of the above 100.0%
State whether true or false: <Location> sections are processed after <Directory> sections and .htaccess files are read after <Files> sections.
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
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 re...
What does the depth of 1 mean in the SSLVerifyDepth directive?
Only self signed client certificates are accepted. 0.0%
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. 100.0%
The client certificate has to be signed by a CA who is personally known to the server. 0.0%
None of the above 0.0%
What is the default Apache access for <Directory />?
Allow from All 100.0%
Deny from All 0.0%
None of the above 0.0%
What is the default filename in the AccessFileName directive in the Apache config file?
.acl 0.0%
.htaccess 100.0%
.htpasswd 0.0%
All of the above 0.0%
What is the default https port number?
8080 0.0%
8000 0.0%
443 100.0%
563 0.0%
What is the default value of backlog in the ListenBackLog directive?
255 0.0%
256 0.0%
511 100.0%
512 0.0%
Which are the two types of user authentication options available in the AuthType directive?
Basic 50.0%
MD5 0.0%
Digest 50.0%
Encrypt 0.0%
Which command is used to check the version of the Apache server installed (using an rpm package) on a RedHat Linux system?
apache -v 0.0%
http -v 0.0%
httpd -v 100.0%
None of the above 0.0%
Which of the following commands will you use on a RedHat Linux system to install the Apache-2.0.4-i386.rpm package?
rpm –q apache-2.0.4-i386.rpm 0.0%
rpm –e apache-2.0.4-i386.rpm 0.0%
rpm –ivh apache-2.0.4-i386.rpm 100.0%
None of the above 0.0%
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?
service apache apply 0.0%
service httpd apply 0.0%
service httpd reload 100.0%
service apache reload 0.0%
Which of the following commands will you use to check the configuration files before starting the Apache server?
apachectl -t 50.0%
apachectl configtest 50.0%
apachectl -testconfig 0.0%
None of the above 0.0%
Which of the following commands will you use to check whether any Apache rpm package is installed on your RedHat Linux system or not?
rpm –q apache 33.0%
rpm –e apache 0.0%
rpm –ivh apache 0.0%
None of the above 66.0%
Which of the following commands will you use to compile and install the Apache Server on Unix or Unix-like systems?
./configure 0.0%
make 33.0%
make install 66.0%
None of the above 0.0%
Which of the following commands will you use to remove the Apache -2.0.4-i386.rpm package from a RedHat Linux system?
rpm –q apache-2.0.4-i386.rpm 0.0%
rpm –e apache-2.0.4-i386.rpm 100.0%
rpm –ivh apache-2.0.4-i386.rpm 0.0%
None of the above 0.0%
Which of the following commands will you use to run the Apache as a service on a Windows NT based machine?
httpd.exe –n install 0.0%
httpd.exe –k install 100.0%
httpd.exe –s install 0.0%
httpd.exe –i install 0.0%
Which of the following commands will you use to run the Apache in the debug mode?
httpd -d 0.0%
httpd -X 100.0%
httpd debug 0.0%
Which of the following commands will you use to start the Apache server (installed through an rpm package) on a RedHat Linux system?
start apache service 0.0%
start httpd service 0.0%
service apache start 66.0%
service httpd start 33.0%
Which of the following commands will you use to stop an Apache service via command line on a Windows NT based machine?
httpd.exe –k stop 100.0%
httpd.exe –k exit 0.0%
httpd.exe –k shutdown 0.0%
httpd.exe –s halt 0.0%
Which of the following configurations will prevent the proxy server from being used to access the google.com website?
<Proxy http://google.com/*> Order deny, allow Deny from all </Proxy> 0.0%
<Proxy http://google.com/*> Order allow, deny Allow from all </Proxy> 100.0%
<Proxy http://google.com/*> Order allow, deny Deny from all </Proxy> 0.0%
None of the above 0.0%
Which of the following directives allows the configuration of a trailing footer line under server generated documents like FTP directory listing etc.?
ServerSignature 100.0%
ServerTokens 0.0%
ServerFooter 0.0%
ServerDirectoryFooter 0.0%
Which of the following directives can we not use in the <Files> and the <FilesMatch> sections?
The Options directive 0.0%
The AllowOverride directive 0.0%
Neither of the above 100.0%
Which of the following directives can we use for redirecting the log information to be received by a program on its standard input?
BufferedLog 0.0%
CustomLog 100.0%
LogFormat 0.0%
CookieLog 0.0%
Which of the following directives is used to set the maximum length of the queue of pending connections?
MaxClients 66.0%
ListenBackLog 33.0%
MaxConnections 0.0%
None of the above 0.0%
Which of the following directives sets how deeply mod_ssl should verify before deciding that the clients do not have a valid certificate?
SSLRequireSSL 0.0%
SSLVerifyClient 0.0%
SSLClientDepth 0.0%
SSLVerifyDepth 100.0%
Which of the following directives sets the authorization realm for a directory for HTTP authentication?
AuthType 0.0%
AuthName 100.0%
AuthUserFile 0.0%
AuthRealm 0.0%
Which of the following directives sets the contact address that the server includes in any error messages it returns to the client?
ServerContact 0.0%
ServerAddress 0.0%
ServerHost 0.0%
ServerAdmin 100.0%
Which of the following directives tells the Apache to parse files for the SSI directives if they have the execute bit set?
Options +Includes 100.0%
XBitHack on 0.0%
SSI on 0.0%
ExecuteBit on 0.0%
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?
Include /usr/local/apache2/conf/*.* 25.0%
Include /usr/local/apache2/conf/*.conf 50.0%
Include /conf/*.conf 0.0%
Include conf/*.conf 25.0%
Which of the following is the correct method to set a DocumentRoot directive for '/usr/web' folder in the Apache?
DocumentRoot /usr/web/ 0.0%
DocumentRoot = /usr/web/ 0.0%
DocumentRoot "/usr/web/" 0.0%
DocumentRoot /usr/web 100.0%
Which of the following is the default option for the LogLevel directive in the Apache config file?
alert 0.0%
debug 0.0%
info 0.0%
error 0.0%
None of the above 100.0%
Which of the following is true regarding the 'apachectl –k restart' command?
It will kill all the parent and the children processes immediately and then restart them. 50.0%
It will kill all the children processes immediately but not the parent process and then restart new children processes. 50.0%
It will wait for the children processes to exit after their current requests and then restart both the parent and the children processes. 0.0%
It will read the config file again. 0.0%
Which of the following is true regarding the DSO list in the config file in Apache v1.3.X?
The DSO list must be in correct order 0.0%
The DSO list can be in any order 100.0%
The DSO list is not supported in Apache v1.3.X 0.0%
None of the above 0.0%
Which of the following levels are available in the SSLVerifyClient directive?
none 25.0%
optional 25.0%
require 25.0%
optional_no_ca 25.0%
Which of the following log format strings denotes 'Remote Host'?
%R 0.0%
%U 0.0%
%H 0.0%
%h 100.0%
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?
mod_user 33.0%
mod_public 0.0%
mod_userdir 66.0%
mod_vhost 0.0%
Which of the following options are available for the LogLevel directive in the Apache?
alert 0.0%
debug 0.0%
info 0.0%
error 0.0%
All of the above 100.0%
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 a...
Require valid-user Order allow,deny Allow from 172.16 Satisfy All 0.0%
Require valid-user Order allow,deny Allow from 172.16 Satisfy Any 100.0%
Require valid-user Order allow,deny Allow from All Satisfy Any 0.0%
Require valid-user Order allow,deny Deny from All Satisfy All 0.0%
Which protocols are available in the SSLProtocol directive?
SSLv2 0.0%
SSLv3 50.0%
TLSv1 50.0%
None of the above 0.0%
Which user can use port numbers less than 1024 in unix/linux if they want to use other than the default port number 80?
root 50.0%
apache 0.0%
normal user 0.0%
All of the above 50.0%
Which utility comes with the Apache for creating and updating user authentication files?
htaccess 0.0%
htpasswd 100.0%
passwd 0.0%
None of the above 0.0%