Sail E0 Webinar

MCQs

Total Questions : 10
Question 1. What is the default value of max_execution_time directive? This directive specifies how many seconds a script can execute before being terminated.
  1.    30
  2.    40
  3.    10
  4.    20
 Discuss Question
Answer: Option A. -> 30
Question 2. Which one of the following statements should be used to disable just the fopen(), and file() functions?
  1.    functions_disable = fopen, file
  2.    functions_disable = fopen(), file()
  3.    disable_functions = fopen, file
  4.    disable_functions = fopen(), file()
 Discuss Question
Answer: Option C. -> disable_functions = fopen, file
Question 3. The memory_limit is only applicable if _______ is enabled when you configure PHP. Fill in the blank.
  1.    –enable-memory-limit
  2.    -enable-memory-limit
  3.    -memory-limit
  4.    –enable-limit
 Discuss Question
Answer: Option A. -> –enable-memory-limit
Question 4. Which one of the following statements should be used to disable the use of two classes administrator and janitor?
  1.    disable_classes = class administrator, class janitor
  2.    disable_class = class “administrator”, class “janitor”
  3.    disable_classes = class “administrator”, class “janitor”
  4.    disable_classes = “administrator, janitor”
 Discuss Question
Answer: Option D. -> disable_classes = “administrator, janitor”
Question 5. Suppose all web material is located within the directory /home/www. To prevent users from viewing and manipulating files such as /etc/password, which one of the following statements should you use?
  1.    open_dir = “/home/www/”
  2.    open_basedir = “/home/www/”
  3.    open_basedir = /home/www/
  4.    open_dir = /home/www/
 Discuss Question
Answer: Option B. -> open_basedir = “/home/www/”
Question 6. Which directive should we disable to obscure the fact that PHP is being used on our server?
  1.    info_php
  2.    print_php
  3.    expose_php
  4.    show_php
 Discuss Question
Answer: Option C. -> expose_php
Question 7. The developers of PHP deprecated the safe mode feature as of which PHP version.
  1.    PHP 5.2.0
  2.    PHP 5.3.0
  3.    PHP 5.1.0
  4.    PHP 5.3.1
 Discuss Question
Answer: Option B. -> PHP 5.3.0
Question 8. Which Apache directive outputs Apache’s server version, server name, port and compile-in modules?
  1.    ServerDetails
  2.    ServerName
  3.    ServerSignature
  4.    ServerInfo
 Discuss Question
Answer: Option C. -> ServerSignature
Question 9. Say I want to change the extension of a PHP file, which of the following statements should I edit to change from .php to .html in the httpd.conf file?
  1.    AddType application/x-httpd-php .asp
  2.    AddType application/x-httpd-php .php
  3.    AddType application/x-httpd-asp .asp
  4.    AddType application/x-httpd-asp .php
 Discuss Question
Answer: Option B. -> AddType application/x-httpd-php .php
Question 10. Which directive determines which degree of server details is provided if the ServerSignature directive is enabled?
  1.    ServerDetails
  2.    ServerAddons
  3.    ServerExtra
  4.    ServerTokens
 Discuss Question
Answer: Option D. -> ServerTokens

Latest Videos

Latest Test Papers