Thursday, December 17, 2015

Apache test answers of 2016.

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



Question:* Apache is?

Answer: • Web Server Software

Question:* Which directive provides mapping from a URI to a directory - usually a directory outside of your DocumentRoot?

Answer: • Alias

Question:* mod_rewrite provides a way to modify incoming URL requests, dynamically, based on which of the following criteria?

Answer: • regular expression rules

Question:* Of the following, which is the most effective tool to mitigate Denial of Service attacks?

Answer: • a firewall

Question:* What can be done to make a server with AuthType Basic more secure?

Answer: • Include the mod_ssl module

Question:* What does the Trace method do?

Answer: • An HTTP request method that returns a diagnostic trace of actions it takes

Question:* Who is the default user that has permission to the ServerRoot Directories?

Answer: • The root user

Question:* The AllowOverride directive works only in which of the following sections?

Answer: • <Directory>

Question:* What is MIME?

Answer: • A web standard used to to determine the type of a file from its extension

Question:* Which of the following is true about the Apache HTTP Server?

Answer: • All of these

Question:* Why is it important to set up a proxy?

Answer: • Better performance/improved security

Question:* The Apache binary under Unix is called:

Answer: • httpd

Question:* True or False? The files and directories underneath the DocumentRoot make up the basic document tree which will be visible from the web.

Answer: • True

Question:* With SSI, it is possible to configure output format of which of the following?

Answer: • All of the above

Question:* What character(s) in a configuration file is used to indicate a comment?

Answer: • "#"

Question:* The DocumentRoot directive is set in which of the following configuration files?

Answer: • httpd.conf

Question:* The Apache HTTP Server ("httpd") is a project of which of the following groups:

Answer: • The Apache Software Foundation.

Question:* Which of the following is considered the main Apache configuration file?

Answer: • httpd.conf

Question:* True or false: Apache can only be run on Windows.

Answer: • False

Question:* What does TCP/IP stand for?

Answer: • Transmission Control Protocol/Internet Protocol

Question:* What is a good reason to log user activity?

Answer: • All of these

Question:* If you are in a hosting situation where you only have .htaccess files to work with, you may need use which of the following modules?

Answer: • mod_rewrite

Question:* What does the directive <VirtualHost> do?

Answer: • All of these

Question:* What purpose does the mod_status module serve?

Answer: • It allows the server to display a web page containing statistics about the web server's current state, including worker processes and active connections.

Question:* The function of AllowOverride directive is

Answer: • Tells Apache to process or not the .htaccess file and what kind of directives are allowed in it

Question:* A beta test site should:

Answer: • Be separate and identical to the real site

Question:* Which should always be used as the path separator in Apache httpd configuration files, even for Windows?

Answer: • "/"

Question:* Which of the following must be true for the "Require local" directive to allows access to the server?

Answer: • The client address matches 127.0.0.0/8.

Question:* The authorization providers implemented by mod_authz_host serve what purpose?

Answer: • They control access to particular parts of the server based on the client hostname or IP address.

Question:* Why can't Apache logs be rotated by moving or deleting existing logs while the server is running?

Answer: • The Apache httpd will continue writing to the old log file as long as it holds the file open. Therefore, the files cannot be deleted or moved.

Question:* What does the DirectoryIndex command do?

Answer: • Specifies a list of resources to look for when the client requests an index of the directory name

Question:* What directive must be used to set the order of the Allow and Deny commands?

Answer: • Order

Question:* Which of the following are characteristics of IP-based Virtual Hosting?

Answer: • Any of these

Question:* Which of the following is not a freeware database manager?

Answer: • DJANGO

Question:* Which of the following is a module compiled separately from the Apache httpd binary and can be loaded on-demand?

Answer: • DSO

Question:* You can tell Apache to parse any file with a particular file extension, such as .shtml, with the following directives: AddType text/html .shtml AddOutputFilter INCLUDES .shtml. What is the disadvantage to this approach?

Answer: • if you wanted to add SSI directives to an existing page, you would have to change the name of that page, and all links to that page, in order to give it a .shtml extension

Question:* Which of the follow directives cannot be overridden in a .htaccess file?

Answer: • LogFormat

Question:* The directive RewriteLog does what?

Answer: • Sends logging to the specified Filename

Question:* Which of the following is not a result of using .htaccess files?

Answer: • Users can make configuration changes and to access directories for which they wouldn't normally have access, provided the directory is not owned by ''root''.

Question:* Which of the following is an effect of using DSO's?

Answer: • It increases the server startup time.

Question:* The UserDir directive:

Answer: • Specifies a directory underneath the user's home directory where web files are located

Question:* What is the drawback for using the <IfModule> directive?

Answer: • it can suppress useful error messages about missing modules.

Question:* What character may be used as the last character on a line in a configuration file to indicate that the directive continues onto the next line?

Answer: • "\"

Question:* What is the result of Options +Includes?

Answer: • It tells Apache that you want to permit files to be parsed for SSI directives

Question:* What security risk arises when users have write access to directories where Apache writes its logs?

Answer: • Someone can gain access to the uid that the server is started as, which is normally root.

Question:* The directive Alias can be used for:

Answer: • Rationalizing directories spread throughout the system/the storage of documents in other directories

Question:* What is the result of using the directive: XBitHack ON ?

Answer: • XBitHack tells Apache to parse files for SSI directives if they have the execute bit set

Question:* Why is it significant that the SetEnv directive runs late during request processing?

Answer: • Because directives such as SetEnvIf and RewriteCond will not see the variables set with SetEnv

Question:* Which of the following is true regarding Apache server and te <VirtualHost> directive?

Answer: • None of these

Question:* Which of the following is not an essential subdirectory of a web site?

Answer: • cgi-bin

Question:* Httpd is a modular server. By default, a base set of modules is included in the server at:

Answer: • Compile time

Question:* Which apache directive contains the less server response header details?

Answer: • ServerTokens Prod

Question:* <Directory />AllowOverride None</Directory> has what effect on the server

Answer: • It prevents the use of .htaccess files in all directories apart from those specifically enabled.

Question:* Which of the following is not a sufficient solution to limit the security risks of Server Side Includes (SSI)?

Answer: • Ensure that all SSI files are SSL enabled.

Question:* Given the following directive "<IfDefine ClosedForNow> ", which of the following is true?

Answer: • The httpd server may have been started with httpd -DClosedForNow.

Question:* What is an environment variable that is a part of Apache SSL?

Answer: • HTTPS_CIPHER

Question:* Which of the following is not a built-in handler in the standard distribution?

Answer: • filter-info

Question:* What protocol is used to avoid revealing a password?

Answer: • Challenge/Handshake Protocol

Question:* Which of the following situations would prevent an HTTP response from being cached by the httpd server?

Answer: • The response includes a "Vary:" header containing the match-all "*"

Question:* Which of the following describes how the mod_cache_disk module ensures that multiple URLS do not collide with one another?

Answer: • It creates a 22 character hash of the URL being requested and which is turned into a filename prefix to store the data.

Question:* What character(s) in a configuration file is used to indicate a comment?

Answer: • "#"

Question:* Which should always be used as the path separator in Apache httpd configuration files, even for Windows?

Answer: • "/"

Question:* What character may be used as the last character on a line in a configuration file to indicate that the directive continues onto the next line?

Answer: • "\"



No comments:

HTML5 Upwork (oDesk) TEST ANSWERS 2022

HTML5 Upwork (oDesk) TEST ANSWERS 2022 Question: Which of the following is the best method to detect HTML5 Canvas support in web br...

Disqus for upwork test answers