APACHE TAPESTRY QUIZ DESCRIPTION

How are java web applications packaged?

  •  jar
     

  • war

  • zip

  • both jar and war

Which of the below can be used to debug front end of a web
application?

  • Junit
     

  • Fitnesse

  • Firebug

  • Mockito

What are the benefits of Apache Tapestry?
Benefits of Apache Tapestry are:
a)Adaptive API
b)Fast framework
c) Build-in unversion Control Highly scalable web applications

  • Only A 
     

  • Only B

  • Only C

  • A,B,C

Servlet are used to program which component in a web application?

  • client
     

  • server

  • tomcat

  • applet

What does the -v option do during startup?

  • Starts Apache in verbose mode with maximum logging.
     

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

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

  • Disables virtual hosting for the specified virtual hostname(s…

What are the components of Apache POI?

  • HSLF
     

  • HDGF

  • HPBF

  • All of these

What does the HostNameLookups double do?

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

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

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

  • Sets the hostname to double for all hostnames logged.

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

  • /deck/log/httpd
     

  • /var/log/httpd

  • /drive/log/httpd

  • /location/log/httpd

What does the SendBufferSize Directive do?

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

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

  • Sets the TCP buffer size to the specified amount.

  • Allows the default SMB TCP delay to be overridden.

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

  • SSLCertificateFile
     

  • SSLCACertificateFile

  • SSLCertificateChainFile

  • SSLCACertificatePath

Does Apache act as a Proxy server?

  • can’t be determined
    B. Yes, by default
    C. yes, using the mod_proxy module.
    D. No

  • Yes, by default

  • yes, using the mod_proxy module.

  • No

How can we take input text from user in HTML page?

  • input tag
     

  • inoutBufferedReader tag

  • meta tag

  • scanner tag

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

  • SSLCertificateFile
     

  • SSLCACertificateFile

  • SSLCertificateChainFile

  • SSLCACertificatePath

Where are the Apache log files located by default?

  • C: Program FilesApache Software FoundationApache2.2log

  • C:Program FilesApache Software FoundationApache2.2htdocs

  • C: Program FilesApache Software FoundationApache2.2conf

  • C: Program FilesApache Software FoundationApache2.2logs

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

  • Can’t be determined
     

  • Only allow will be performed.

  • Deny always takes precedence over allow

  • Allow always takes precedence over deny.

What Module is CacheSize used with?

  • mod_proxy
     

  • mod_ssl

  • mod_usertrack

  • mod_alias

What is the default extension for Apache configuration files?

  • .con
     

  • .conf

  • .txt

  • .configuration

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

  •  rpm -qa |grep | version http|
     

  • rpm –qa |grep httpd

  • rpm -qa |check http | version

  • rpm -qa |grep http | version

What type of protocol is HTTP?

  • stateless
     

  • stateful

  • transfer protocol

  • information protocol

Which one method helps to change the background of the slide?

  • getType()
     

  • setSheetName()

  • setBackgroundColor()

  • None

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

  • C: Inetsrvwwwroot
     

  • C: Program FilesApache Software Foundation

  • C: Program FilesApache Software FoundationApache2.2www

  • C: Program FilesApache Software FoundationApache2.2htdocs

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

  • rpm -qa |grep | version http|
     

  • rpm –qa |grep httpd

  • rpm -qa |check http | version

  • rpm -qa |grep http | version

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

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

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

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

  • Installed the php3 software onto the system.

What is the storage capacity of single cookie?

  • 2048 MB
     

  • 2048 bytes

  • 4095 bytes

  • 4095 MB

What’s the command to Restart Apache?

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

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

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

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

What are the important features of Apache POI?

  • Apache POI HSSF and XSSF API provides mechanisms to read, write or modify Excel spreadsheets
     

  • Apache POI also provides SXSSF API that is an extension of XSSF to work with very large excel sheets

  • SXSSF API requires less memory and is suitable when working with very large spreadsheets and heap memory is limited

  • All of the above

Does Apache act as a Proxy server?

  • can’t be determined
     

  • Yes, by default

  • yes, using the mod_proxy module.

  • No

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

  • C: Program FilesApache Software FoundationApache2.2conf
     

  • C:Program FilesApache Software FoundationApache2.2conftextra

  • C:OpenSSLconf

  • C: Program FilesApache Software FoundationApache2.2configuration

What are the significant parameters used in Form
Validation?
Significant parameters used in Form Validation are:

  • Min and Max
     

  • Email and MaxDate

  • MaxLength and MinLength

  • All of the above

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

  • None of these
     

  • Lockfile /var/run/apache-lock

  • SetFile/var/run/apache-access

  • CreateFile /var/run/apache-startup