99 Apache Spark Interview Questions for Professionals: A GUIDE TO PREPARE FOR APACHE SPARK INTERVIEW QUESTIONS https://www.amazon.com/dp/B01N29H04T
Full description
Mysql Interview Questions and AnswersFull description
ODI
LTE Interview Questions and AnswersDescription complète
Ios Interview Questions and AnswersFull description
THIS IS A PDF FILE REGARDS THE INTERVIEW QUESTION AND ANSWERS OF INSTRUMENTATION ENGINEERINGDescription complète
Descripción: Liferay Interview Questions and Answers
LTE Interview Questions and Answers
LTE Interview Questions and AnswersFull description
Job interviews are usually the clincher in the job application process. Even the most intelligent candidate can fail if he doesn't know how to handle an interview. The best way to make sure that we...
-
Salesforce Interview Questions and Answers for Clearing the Interview.
Interview Questions
Full description
12/6/13
Apache Ser ver Inter vi ew Questi ons And Answer s for l i nux admi n
Apache Apach e Server Interview Interview Questions Questions And And Answers Answers for lin linu ux admin admin Q: - What What is location of log files for Apache Apache s erv erver er ? /var/log/httpd Q: - What are the types of virtual hosts ? name-based and IP IP-based. -based. Name-based virtual virtual host means that multiple multiple names are running on each IP address address . IP-bas IPbas ed virtual virtual host m eans that a different different IP address ex exis is ts for each websi te served. served. Most Most configurations are nam edbased because it only requires one IP address. Q: - How to restart Apache web server ? service httpd restart Q: - How to check the versio n of Apache se rv rver er ? rpm -qa |grep httpd Q: - What is m eaning of "Lis ten" in httpd.conf httpd.conf file file ? Port number on which to lis ten for nonsecure (http) (http) transfers. Q: - What is Docum entRoot ? it is a location of files which are acces si ble by clients. By default, the the Apache HTTP HTTP se rv rver er in RedHat Enterprise L inux is configured to serve files from the /var/www/html/ directory. Q: - On which port Apache server works ? http - port 80 https htt ps - port 443 Q: - Tell m e nam e of ma in configuration file of Apache Apache s erv erver er ? httpd.conf Q: - On which version of apache you have worked ? httpd-2.2.3 Q: - What do you mean by a valid ServerName directive? The DNS s DNS s ystem is used to as sociate IP IP addresses with domain nam es. The value value of ServerName ServerName is ret returned urned when the server server generates a URL . If If you you are us ing a certain dom ain nam e, you you mu st m ake sure that it is in cluded in your DNS system and wi ll be available to clients visiting your your si te. Q: - W hat is the main difference between cation> and sections? Directory sections refer to to file system obj ects; Location Location s ections refer to elements in the address bar of the Web Web page What is the difference between a restart and a graceful restart of a web server? During a norma l restart, the the server is stopped and then started, causing s ome reques ts to be lost. A graceful restart r aj eshver ma18.bl og spot.i n/2012/11/apache- ser ver - i nter vi ew- q uesti ons- and.html
1/4
12/6/13
Apache Server Interview Questions And Answers for linux admin
allows Apache children to continue to s erve their current requests until they can be replaced wi th children running the new configuration. Q: - What is the use of mod_perl module? mod_perl scripting m odule to allo w better Perl script performance and ea sy integration with the Web s erver. Q: - If you have added “loglevel Debug” in httpd.conf file, than what w ill happen? It will gi ve you m ore information in the error log in order to debug a problem . Q: - Can you record the MAC (hardware) address of clients that a ccess your server. No Q: - Can you record all the cookies sent to your server by clients in Web Server logs? Yes, add following li nes in httpd.conf file. Custom Log logs /cookies_in.log "%{UNIQUE_ID}e %{Cookie}i" CustomL og logs /cookies2_in.log "%{UNIQUE_ID}e % {Cookie2}i"
Q: - Can we do automatically roll over the Apache logs at specific times without having to shut down and restart the server? Yes Use CustomLog and the rotatelogs programs Add following line i n httpd.conf file. Custom Log "| /path/to/rotatelogs /path/to/logs/access_log.%Y-%m-%d 86400" combined Q: - What we can do to find out how people are reaching your site? Add the following effector to your activity log form at. %{Referer}
Q: - If you have only one IP address, but you want to host two web sites on your server. What will you do? In this case I will use Name Based Virtual hosting. ServerName 10.111.203.25 Name VirtualHost *:80 ServerName web1.test.com DocumentRoot /var/www/html/web1 ServerName web2.test2.com DocumentRoot /var/www/html/web2 Q: - Can I serve content out of a directory other than the
DocumentRoot directory?
Yes, by using “Alias” we can do this. rajeshverma18.blogspot.in/2012/11/apache-server-interview-questions-and.html
2/4
12/6/13
Apache Server Interview Questions And Answers for linux admin
Q: - If you have to more than one URL map to the sa me directory but you don't have multiple Alias directives. What you will do? In this cas e I will u se “Alias Match” directives. The Alias Match directive allows you to us e regular express ions to match arbitrary patterns in URLs and m ap anything matching the pattern to the desired U RL.
Q: - How you will put a limit on uploads on your w eb server? This can be achieved by Lim itRequestBody directive. LimitRequestBody 100000 Here I have put limit of 100000 Bytes Q: - I want to stop people using my site by Proxy server. Is it possible? Order Allow,Deny Deny from all Satisfy All Q: - What is mod_evasive module? mod_e vasi ve is a third-party mod ule that performs one s im ple task, and perform s it very well. It detects when your site is receiving a Denial of Service (DoS) attack, and it prevents that attack from doing as much dama ge. mod_ evasi ve detects when a single client is making multiple requests in a short period of time, and denies further requests from that client. The period for which the ban is in place can be very short, because it just gets renewed the next time a reques t is detected from that same hos t. Q: - How t to enable PHP scripts on your server? If you have mod_php ins talled, use AddHandler to map .php and .phtml files to the PHP handler. AddHandler application/x-httpd-php .phtml .php
Q: - Which tool you have used for Apache benchmarking? ab (Apache bench) ab -n 1000 -c 10 http://www.test.com /test.html Q: - Can we cache files which are viewed frequently? Yes we can do i t by usi ng mod_file_cache m odule. CacheFile /www/htdocs/index.html
Q: - Can we have two apache servers having diff versions? Yes, you can have two different apache servers on one server, but they can't listen to the same port at the same time.Normally apache listens to port 80 which is the default HTTP port. The second apache version should listen to rajeshverma18.blogspot.in/2012/11/apache-server-interview-questions-and.html
3/4
12/6/13
Apache Server Interview Questions And Answers for linux admin
another port with the Lis ten option in httpd.conf, for example to port 81.
For testing a ne w apache versi on before moving your si tes from one version to another, this mi ght be a good option.You jus t type www.exam ple.com :81 in the brows er window and you will be connected to the second apache ins tance.
Posted 28th November 2012 by RAJESH VERMA 1
View comments
Akaa s Developer May 16, 2013 at 9:16 PM Here you can find lots of: Apache Interview Questions and Answers Web Servers or Services Interview Questions and Answers Regards, Akaas Developer questions-interviews.com Reply