Saturday, January 2, 2016

Apache Server Test (2.0 Family) answers of 2016.

Find Complete and recently updated Correct Question and answers of Apache Server Test ( of Upwork. All Answers updated regularly with new questions. Upwork Apache Server Test ( answers of 2016.



Question:* Which of the following levels are available in the SSLVerifyClient directive?

Answer: • none

Answer: • optional

Answer: • require

Answer: • optional_no_ca

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

Answer: • Basic

Answer: • Digest

Question:* Which protocols are available in the SSLProtocol directive?

Answer: • SSLv3

Answer: • TLSv1

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

Answer: • apachectl -t

Answer: • apachectl configtest

Question:* 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?

Answer: • service httpd reload

Question:* Which of the following directives can we use for redirecting the log information to be received by a program on its standard input?

Answer: • CustomLog

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

Answer: • SSLVerifyDepth

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

Answer: • <Proxy http://google.com/*> Order allow, deny Allow from all </Proxy>

Question:* On which of the following platforms can Apache be installed?

Answer: • All of the above

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

Answer: • rpm –ivh apache-2.0.4-i386.rpm

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

Answer: • httpd -X

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

Answer: • httpd.exe –k stop

Question:* 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.

Answer: • True

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

Answer: • %h

Question:* 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?

Answer: • Include /usr/local/apache2/conf/*.conf

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

Answer: • Options +Includes

Question:* What is the default value of backlog in the ListenBackLog directive?

Answer: • 511

Question:* Which of the following is true regarding the DSO list in the config file in Apache v1.3.X?

Answer: • The DSO list can be in any order

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

Answer: • service apache start

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

Answer: • httpd.exe –k install

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

Answer: • .so

Question:* 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

Answer: • True

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

Answer: • All of the above

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

Answer: • Allow from All

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

Answer: • httpd.exe –k uninstall –n "myapache"

Question:* 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?

Answer: • Require valid-user Order allow,deny Allow from 172.16 Satisfy Any

Question:* 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?

Answer: • mod_userdir

Question:* In a Windows operating system, which of the following commands will you use to shutdown the Apache gracefully?

Answer: • httpd.exe –k shutdown

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

Answer: • rpm –e apache-2.0.4-i386.rpm

Question:* What does the depth of 1 mean in the SSLVerifyDepth directive?

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.

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

Answer: • <Directory> section

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

Answer: • Neither of the above

Question:* How will you enable the ServerTokens directive only on one of the Virtual Hosts present on your Apache server?

Answer: • ServerTokens directive cannot be enabled only on one of the Virtual Hosts.

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

Answer: • htpasswd

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

Answer: • ServerAdmin

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

Answer: • MaxClients

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

Answer: • DocumentRoot /usr/web

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

Answer: • root

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

Answer: • None of the above

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

Answer: • .htaccess

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

Answer: • make install

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

Answer: • httpd -v

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

Answer: • Port 80

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

Answer: • ServerSignature

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

Answer: • AuthName

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

Answer: • True

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

Answer: • None of the above

Question:* What is the default https port number?

Answer: • 443

Question:* Which of the following is true regarding the 'apachectl –k restart' command?

Answer: • It will kill all the parent and the children processes immediately and then restart them.



No comments:

Post a Comment