Skip to content

Apache HTTP Server MCQ Questions

0
Answered
0
Correct
0%
Accuracy
Q1 Easy

Which of the following commands will you use to compile and install the Apache Server on Unix or Unix-like systems?

Q2 Easy

Which utility comes with the Apache for creating and updating user authentication files?

Q3 Easy

Which of the following levels are available in the SSLVerifyClient directive?

Q4 Easy

Which of the following commands will you use to check the configuration files before starting the Apache server?

Q5 Easy

Which of the following commands will you use on a RedHat Linux system to install the Apache-2.0.4-i386.rpm package?

Q6 Easy

Which of the following commands will you use to run the Apache as a service on a Windows NT based machine?

Q7 Easy

Which are the two types of user authentication options available in the AuthType directive?

Q8 Easy

Which of the following directives tells the Apache to parse files for the SSI directives if they have the execute bit set?

Q9 Easy

Which user can use port numbers less than 1024 in unix/linux if they want to use other than the default port number 80?

Q10 Easy

Which command is used to check the version of the Apache server installed (using an rpm package) on a RedHat Linux system?

Q11 Easy

State whether true or false:<Location> sections are processed after <Directory> sections and .htaccess files are read after <Files> sections.

Q12 Easy

Which of the following options are available for the LogLevel directive in the Apache?

Q13 Easy

Which protocols are available in the SSLProtocol directive?

Q14 Easy

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?

Q15 Easy

Which of the following directives sets how deeply mod_ssl should verify before deciding that the clients do not have a valid certificate?

Q16 Easy

What is the default Apache access for <Directory />?

Q17 Easy

Which of the following is the correct method to set a DocumentRoot directive for '/usr/web' folder in the Apache?

Q18 Easy

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.

Q19 Easy

In which of the following sections can we use the AllowOverride directive?

Q20 Easy

Which of the following commands will you use to stop an Apache service via command line on a Windows NT based machine?

Q21 Easy

Which of the following directives is used to set the maximum length of the queue of pending connections?

Q22 Easy

Which of the following configurations will prevent the proxy server from being used to access the google.com website?

Q23 Easy

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?

Q24 Easy

How will you uninstall the 'myapache' service (the name that you gave to the Apache service earlier) on a Windows NT based machine?

Q25 Easy

If no port number is specified in the ServerName directive, which port number will the server use?

Q26 Easy

Which of the following commands will you use to run the Apache in the debug mode?

Q27 Easy

What is the default https port number?

Q28 Easy

Which of the following directives can we not use in the <Files> and the <FilesMatch> sections?

Q29 Easy

Which of the following directives allows the configuration of a trailing footer line under server generated documents like FTP directory listing etc.?

Q30 Easy

In a Windows operating system, if the Apache is installed from a precompiled executable, what will be the extension of the module files?

Q31 Easy

What is the default value of backlog in the ListenBackLog directive?

Q32 Easy

Which of the following is the default option for the LogLevel directive in the Apache config file?

Q33 Easy

Which of the following directives sets the authorization realm for a directory for HTTP authentication?

Q34 Easy

What does the depth of 1 mean in the SSLVerifyDepth directive?

Q35 Easy

On which of the following platforms can Apache be installed?

Q36 Easy

Which of the following commands will you use to remove the Apache -2.0.4-i386.rpm package from a RedHat Linux system?

Q37 Easy

Which of the following commands will you use to check whether any Apache rpm package is installed on your RedHat Linux system or not?

Q38 Easy

Which of the following directives sets the contact address that the server includes in any error messages it returns to the client?

Q39 Easy

What is the default filename in the AccessFileName directive in the Apache config file?

Q40 Easy

Which of the following log format strings denotes 'Remote Host'?

Q41 Easy

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?

Q42 Easy

Which of the following commands will you use to start the Apache server (installed through an rpm package) on a RedHat Linux system?

Q43 Easy

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

Report a mistake

What's wrong?