Dear readers, these Apachi Webserver Multiple choice Questions have been designed specially to get you acquainted with the nature of questions you may encounter during your Job interview for the subject of Apachi Webserver. As per my experience good interviewers hardly plan to ask any particular question during your Job interview, normally questions start with some basic concept of the subject and later they continue based on further discussion and what you answer:
1) What does the following set of Directives do? AddType application/x-httpd-php3 .php3. | Apachi Webserver Mcqs
a) Adds all files with the extension .php3 to the MIME Type application/x-httpd-php3.
b) Creates a new user defined type that can be used subsequently in variable declarations.
c) Makes it easier to load new definitions into the configuration files.
d) Installed the php3 software onto the system.
Ans: A
a) Makes Apache perform 2 forward name lookups from different DNS servers to confirm the host name prior to logging.
b) Performs a host name lookup in the double file prior to logging the result.
c) Performs both a reverse name lookup and then a forward name lookup on that result, prior to logging the result.
d) Sets the hostname to double for all host names logged.
Ans: C
a) True
b) False
a) Starts Apache in verbose mode with maximum logging.
b) Has no impact on Apache and has been discontinued as of Apache 1.2.6.
c) Displays the version of Apache and the build date and exits.
d) Disables virtual hosting for the specified virtual host name(s).
Ans: C
a) It provides a basic file directory searching capability for Apache to resolve spelling mismatches.
b) It provides trailing slash "/" redirects and serving diectory index files.
c) It allows remote synchoronizaiton for tools such as Microsoft Frontpage.
d) It has been discontunued as of Apache 1.2 and is no longer used.
Ans: B
a) Only installing the mon_usertrack.
b) Installing mod_cookies.
c) Installing mon_usertrack and setting the Directive cookietracking on.
d) Only setting the Directive cookietracking on.
Ans: C
a) FancyIndexing
b) IconHeight
c) NameWidth
d) FoldersFirst
Ans: D
a) mod_proxy
b) mod_ssl
c) mod_usertrack
d) mod_alias
Ans: A
a) Sets the internal IPC buffer settings to the specified amount.
b) Sets the number of 4k buffers in Windows for optimal disk buffering.
c) Sets the TCP buffer size to the specified amount.
d) Allows the default SMB TCP delay to be overridden.
Ans: C
a) Handles IMAP e-mail protocols for Apache.
b) Performs image map handling.
c) Allows for shared inter-module memory protocols.
d) There is no mod_imap Module which is available for Apache.
Ans: B
A. C:\Inetsrv\wwwroot
B. C:\Program Files\Apache Software Foundation\
C. C:\Program Files\Apache Software Foundation\Apache2.2\www
D. C:\Program Files\Apache Software Foundation\Apache2.2\htdocs (Answer)
E. C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\www
Ans: D
A. C:\Program Files\Apache Software Foundation\Apache2.2\conf
B. C:\Program Files\Apache Software Foundation\Apache2.2\conft\extra
C. C:\OpenSSL\conf
D. C:\Program Files\Apache Software Foundation\Apache2.2\configuration
Ans: A
A. .con
B. .conf
C. .txt
D. .configuration
E. .xml
Ans: B
A. SSLv2
B. AES-SHA 56 bit
C. SSLv1
D. All of the above
Ans: D
A. SSLCertificateFile
B. SSLCACertificateFile
C. SSLCertificateChainFile
D. SSLCACertificatePath
Ans: C
A. One
B. Two
C. Three
D. None
Ans: A
A. C:\Program Files\Apache Software Foundation\Apache2.2\log
B. C:\Program Files\Apache Software Foundation\Apache2.2\htdocs
C. C:\Program Files\Apache Software Foundation\Apache2.2\conf
D. C:\Program Files\Apache Software Foundation\Apache2.2\logs
Ans: D
A. /deck/log/httpd
B. /var/log/httpd
C. /drive/log/httpd
D. /location/log/httpd
Ans: B
A. rpm -qa |grep | version http|
B. rpm –qa |grep httpd
C. rpm -qa |check http | version
D. rpm -qa |grep http | version
Ans: B
A. can’t be determined
B. Yes, by default
C. yes,using mod_proxy module.
D. No
Ans: C
A. http - port 80 only
B. Both http - port 80 and https - port 443
C. https - port 443 only
D. none of these
Ans: B
A. Change the DocumentRoot in httpd.server file.
B. change the DocumentRoot n httpd.admin file.
C. change the DocumentRoot in httpd.root file.
D. change the DocumentRoot in httpd.conf file.
Ans: D
A. apachectl -k exit /etc/init.d/apache2 exit (Linux)
B. apachectl -k run /etcfiit.d/apache2 stop (Linux)
C. apachectl -k interact /etc/init.d/apache2 stop (Linux)
D. apachectl -k stop /etc/init.d/apache2 stop(Linux)
Ans: D
A. can be customised by writing ‘modules’ using the Apache module API
B. is a powerful flexible, HTTP/1.1 compliant web server
C. All of these
D. implements the latest protocols, including KTTP/1.1 (RFC2616)
Ans: C
A. Can’t be determined
B. Only allow will be performed.
C. Deny always takes precedence over allow
D. Allow always takes precedence over deny.
Ans: C
A. apachectl -k restart /etc/init.d/apache2 system
B. apachectl –k restart /etc/init.d/apache2 restart
C. apachectl -k run /etc/init.d/apache2 restartsystem
D. apachectl -k perform /etc/init.d/apache2 restart
Ans: B
A. it creates a new user
B. None of these
C. asks to specify a password for that user
D. Both it creates a new user and asks to specify a password for that user
Ans: D
A. None of these
B. Lockfile /var/run/apache-lock
C. SetFile/var/run/apache-access
D. CreateFile /var/run/apache-startup
Ans: B