Apache/Tomcat/Apache Web server Multiple Choice Questions Sample Test,Sample questions

Question:
 What does the following set of Directives do? AddType application/x-httpd-php3 .php3.

1.Adds all files with the extension .php3 to the MIME Type application/x-httpd-php3.

2.Creates a new user-defined type that can be used subsequently in variable declarations.

3.Makes it easier to load new definitions into the configuration files.

4.Installed the php3 software onto the system.

Posted Date:-2022-04-22 05:01:15


Question:
 What’s the location of log files for Apache server?

1./deck/log/httpd

2./deck/log/httpd

3./var/log/httpd

4. /location/log/httpd

Posted Date:-2022-04-22 05:25:58


Question:
Apache server works on which ports?

1.http – port 80 only

2.Both http – port 80 and https – port 443

3. https – port 443 only

4.None of These

Posted Date:-2022-04-22 05:31:42


Question:
By default, where are the HTML files located for the default site on a Windows Apache server?

1.C: Inetsrvwwwroot

2.C: Program FilesApache Software Foundation

3.C: Program FilesApache Software FoundationApache2.2www

4.C: Program FilesApache Software FoundationApache2.2htdocs

Posted Date:-2022-04-22 05:14:49


Question:
Does Apache act as a Proxy server?

1. can’t be determined

2.Yes, by default

3.yes, using the mod_proxy module.

4.no

Posted Date:-2022-04-22 05:30:39


Question:
How do you change the default web root?

1.Change the DocumentRoot in httpd.server file.

2.change the DocumentRoot n httpd.admin file.

3.change the DocumentRoot in httpd.root file.

4.change the DocumentRoot in httpd.conf file.

Posted Date:-2022-04-22 05:32:59


Question:
If a certificate is issued off of the DigiCert High Assurance CA-3 certificate, how many Intermediate certificate files (.crts. will need to be specified in the Apache configuration file?

1.One

2.Two

3.Three

4.None

Posted Date:-2022-04-22 05:21:20


Question:
If you specify both deny from all and allow from all, what will be the default action of Apache?

1.Can’t be determined

2.Only allow will be performed.

3.Deny always takes precedence over allow

4.Allow always takes precedence over deny.

Posted Date:-2022-04-22 05:56:48


Question:
To cause the Web server to work around the NFS locking limitations, include a line such as the following in your server configuration files:

1. None of these

2. Lockfile /var/run/apache-lock

3.SetFile/var/run/apache-access

4.CreateFile /var/run/apache-startup

Posted Date:-2022-04-22 05:59:20


Question:
What action(s. must be done to enable cookies within Apache?

1.Only installing the mon_usertrack.

2. Installing mod_cookies.

3.Installing mon_usertrack and setting the Directive cookie-tracking on.

4.Only setting the Directive cookie-tracking on.

Posted Date:-2022-04-22 05:08:42


Question:
What does the -v option do during startup?

1.Starts Apache in verbose mode with maximum logging.

2.Has no impact on Apache and has been discontinued as of Apache 1.2.6.

3.Displays the version of Apache and the build date and exits.

4.Disables virtual hosting for the specified virtual hostname(s…

Posted Date:-2022-04-22 05:05:08


Question:
What does the HostNameLookups double do?

1.Makes Apache perform 2 forward name lookups from different DNS servers to confirm the hostname prior to logging.

2.Performs a hostname lookup in the double-file prior to logging the result.

3.Performs both a reverse name lookup and then a forward name lookup on that result, prior to logging the result.

4.Sets the hostname to double for all hostnames logged.

Posted Date:-2022-04-22 05:03:52


Question:
What does the mod_dir Module provide?

1.It provides a basic file directory searching capability for Apache to resolve spelling mismatches.

2.It provides trailing slash “/” redirects and serving directory index files.

3.It allows remote synchronization for tools such as Microsoft Frontpage.

4.It has been discontinued as of Apache 1.2 and is no longer used.

Posted Date:-2022-04-22 05:06:13


Question:
What does the SendBufferSize Directive do?

1.Sets the internal IPC buffer settings to the specified amount.

2.Sets the number of 4k buffers in Windows for optimal disk buffering.

3.Sets the TCP buffer size to the specified amount.

4.Allows the default SMB TCP delay to be overridden.

Posted Date:-2022-04-22 05:11:33


Question:
What is the default extension for Apache configuration files?

1..con

2..conf

3..txt

4..configuration

Posted Date:-2022-04-22 05:18:14


Question:
What is the function of the mod_imap Module?

1.Handles IMAP e-mail protocols for Apache.

2.Performs image map handling.

3.Allows for shared inter-module memory protocols.

4.There is no mod_imap Module which is available for Apache.

Posted Date:-2022-04-22 05:13:28


Question:
What is the recommended directive to load the Intermediate certificate(s.?

1.SSLCertificateFile

2.SSLCACertificateFile

3.SSLCertificateChainFile

4.SSLCACertificatePath

Posted Date:-2022-04-22 05:20:25


Question:
What Module is CacheSize used with?

1.mod_proxy

2.mod_ssl

3.mod_usertrack

4.mod_alias

Posted Date:-2022-04-22 05:10:20


Question:
What option in the IndexOptions Directive is only available after Apache 1.3.10?

1.FancyIndexing

2.IconHeight

3.NameWidth

4.FoldersFirst

Posted Date:-2022-04-22 05:09:22


Question:
What’s the Comamnd to check the version of Apache server?

1.rpm -qa |grep | version http|

2. rpm –qa |grep httpd

3.rpm -qa |check http | version

4.rpm -qa |grep http | version

Posted Date:-2022-04-22 05:27:28


Question:
What’s the command to Restart Apache?

1.apachectl -k restart /etc/init.d/apache2 system

2.apachectl –k restart /etc/init.d/apache2 restart

3.apachectl -k run /etc/init.d/apache2 restart system

4. apachectl -k perform /etc/init.d/apache2 restart

Posted Date:-2022-04-22 05:57:51


Question:
What’s the command to stop Apache?

1. apachectl -k exit /etc/init.d/apache2 exit

2.apachectl -k run /etcfiit.d/apache2 stop

3.apachectl -k interact /etc/init.d/apache2 stop

4.apachectl -k stop /etc/init.d/apache2 stop

Posted Date:-2022-04-22 05:34:47


Question:
Where are the Apache log files located by default?

1.C: Program FilesApache Software FoundationApache2.2log

2.C:Program FilesApache Software FoundationApache2.2htdocs

3.C: Program FilesApache Software FoundationApache2.2conf

4.C: Program FilesApache Software FoundationApache2.2logs

Posted Date:-2022-04-22 05:22:46


Question:
Where is the default location for the main Apache configuration file (httpd.conf? on Windows?

1.C: Program FilesApache Software FoundationApache2.2conf

2.C:Program FilesApache Software FoundationApache2.2conftextra

3.C:OpenSSLconf

4.C: Program FilesApache Software FoundationApache2.2configuration

Posted Date:-2022-04-22 05:16:41


Question:
Which of the following is not a valid protocol for PCI compliance?

1.SSLv2

2.AES-SHA 56 bit

3.SSLv1

4.All of the above

Posted Date:-2022-04-22 05:19:27


More MCQS

  1. Apache Web server Multiple Choice Questions
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!