LAMP Test
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 15% Most missed: “One of your PHP pages is very heavy and loading it takes about two minutes. But …”
LAMP Test
Time left 00:00
25 Questions

1. You want to open a file in the PHP application and you also want this application to issue a warning and continue execution - in case the file is not found. Which of the following idea functions would you use in this scenario?
2. John Mark - an administrator - wants to set the Web server so that it will not show a directory listing if a user requests a page which is a directory. Which modification should he set up in the httpd.conf?
3. Which of the following is correct for specifying the default value?
4. Which of the following statements are true with regard to comparisons in PHP5?
5. You have an HTML file called mypage.html and you want to store meta headers of this html page. Which of the following directives specifies the filename extension for metainformation files?
6. You have defined three variables $to - $subject - and $body to send an email. Which of the following methods would you use to send an email?
7. Which of the following is correct with regard to the statements given below? Statement 1: The current implementation of the optional proxy module does not support reverse proxy or the latest HTTP 1.1 protocol. Statement 2: Apache can be turned into a caching (forward) proxy server.
8. Where would you install LILO to allow a dual bootable system on a 'system' which already has Microsoft Windows NT 4.0 with an installed NTFS partition?
9. rpm -Uvh filename- 1.2-2.i386.rpm can be used to install an RPM package. What functions does it perform?
10. Which permission setting allows a user to run an executable with the permission of the owner of that file?
11. The architecture of MySql sets it apart from nearly every other database server. Which of the following are correct about different layers of MySql?
12. You want to see the block and character devices for which your system currently has drivers. Which of the following commands should you use in this scenario?
13. Which of the following are correct regarding Linux devices?
14. Which of the following statements are correct with respect to PHP connections?
15. Which of the following helps to keep an eye on the existing number of objects of a given class without introducing a non-class member variable?
16. Which of the following subdirectory of the root directory provides system statistics through a directory-and-file interface which you can browse with standard Unix tools?
17. Which of the following statements is incorrect with regard to PHP interfaces?
18. Which program automatically determines the number of blocks in a device and sets some reasonable defaults?
19. Which of the following special variables of a shell script holds the number of arguments passed onto the script?
20. Which of the following ways of creation of a virtual web site is not supported by Apache?
21. Which of the following is correct with regard to the statements given below? Statement 1: If the internal network uses nonroutable IP addresses for either security or cost reasons - you can use a proxy server to provide Internet resources to hosts that normally cannot access the Internet. Statement 2: Using a caching proxy such as Apache (with mod_perl) - you can provide seemingly faster access to Internet resources to the local users.
22. Which of the following is correct with regard to the statements given below? Statement 1: When you set up Apache on an Internet host it can respond to an HTTP request for that host. Statement 2: Apache does not allow virtual hosts to inherit configuration from the main server - which makes the virtual host configuration quite manageable in large installations.
23. To start the MySql server in Linux - you type the following from the command line: bin/safe_mysqld & What does the '&' mean in the command mentioned above?
24. Which of the following is correct regarding the statements given below? Statement 1: Before the server can send the page to the browser it must send the http headers. Statement 2: session_start() is used to send some headers.
25. The include directive inserts the text of a document into the SSI document being processed. Which of the following statements has the correct syntax for the include directive?