Apache Mcqs
Q.1: Which of the following situations would prevent an HTTP response from being cached by the httpd server?g
A. The response has an HTTP status code of 300 or 301.3
B. The response contains an "Authorization:" header and an "s-maxage", "must-revalidate" or "public" option in the "Cache-Control:" header.
C. None of these
D. The response includes a "Vary:" header containing the match-all "*"S
Q.2: Which of the following describes how the mod_cache_disk module ensures that multiple URLS do not collide with one another?z
A. It creates a 22 character hash of the URL being requested and stores the information in memory. If the cache memory passes the limit set in the .htaccess config file, the data is then stored onto disk.
B. It creates a 22 character hash of the URL being requested. It then stores the cached data in a file using the hash as a filename. a filename prefix to store the data.
C. It creates a 22 character hash of the URL being requested and which is turned into a filename prefix to store the data.}
D. None of these
Q.3: Which of the following is not a built-in handler in the standard distribution?N
A. send-as-is
B. type-map
C. filter-info
D. imap-file
Q.4: <Directory />AllowOverride None</Directory> has what effect on the server V
A. It informes the server that .htaccess directives in a given directory will not override directives from httpd.conf.s
B. It prevents the use of .htaccess files in all directories apart from those specifically enabled.`
C. None of these
D. It forces the server to ignore directives specified by the .htaccess files in the given directory. c
Q.5: Which apache directive contains the less server response header details?H
A. ServerSignature Prod
B. ServerSign Major
C. ServerTokens Prod
D. ServerTokens Prod
Q.6: What protocol is used to avoid revealing a password?4
A. HTTPS
B. Authentication Protocol
C. SSL
D. Challenge/Handshake Protocol
Q.7: What is an environment variable that is a part of Apache SSL?=
A. MOD_SSL
B. HTTPS_CIPHER
C. HTTPD
D. HTTPS_CLIENT
Q.8: Given the following directive "<IfDefine ClosedForNow> ", which of the following is true?g
A. The server is has been instructed to temporarily stop accepting requestsH
B. The httpd server may have been started with httpd -DClosedForNow.A
C. None of these
D. The <ClosedForNow> directive has been set in the .htaccess or in a <VirtualHost> segment.e
Q.9: Which of the following is not a sufficient solution to limit the security risks of Server Side Includes (SSI)? o
A. Ensure that all SSI files are SSL enabled.*
B. SSI-enabled files should have a separate extension, such as the conventional .shtmlS
C. Disable the ability to run scripts and programs from SSI pages. To do this replace Includes with IncludesNOEXEC in the Options directive
D. A server administrator can enable suexec )
Q.10: Why is it significant that the SetEnv directive runs late during request processing?T
A. Because directives such as SetEnvIf and RewriteCond will not see the variables set with SetEnv^
B. Because variables set with SetEnv will override variables in the httpd.conf fileP
C. Because variables set with SetEnv will be ignored by all DSO's. E
D. None of these

Related Mcqs

All Subject Mcqs