Advertisement
Guest User

Wizard Pre-Test

a guest
Jul 16th, 2015
621
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.70 KB | None | 0 0
  1. Wizard Pre-Test
  2. Apache
  3. ————————————————————————————————————————————————
  4. Where is the Apache error log file?
  5.  
  6.  
  7. ————————————————————————
  8. [Sun Oct 19 16:47:26 2014] [error] [client 37.1.207.83] ModSecurity: Access denied with code 403 (phase 2). Match of “rx (alt_mod_frameset.php|checkout_shipping.php|^/components/com_zoom/etc/|/admin\\\\.swf\\\\?nick=|/editor/filemanager/browser/default/browser\\\\.html\\\\?(type=image&)?Connector=\\\\.\\\\./\\\\.\\\\./connectors|/phpthumb\\\\.php\\\\?((?:w|h)=[0-9]+&)?((?:w|h)=[0-9]+&)?src= …” against “REQUEST_URI” required. [file “/opt/mod_security/10_asl_rules.conf”] [line “231”] [id “340009”] [rev “57”] [msg “Protected Path Access denied in URI/ARGS”] [data ” /bin/”] [severity “CRITICAL”] [hostname “test.com”] [uri “/cgi-sys/defaultwebpage.cgi”] [unique_id “VEQxbsC5UKIAADJyUKgAAADA”]
  9. ————————————————————————
  10. In the above, what is the mod_security rule being triggered
  11.  
  12.  
  13. With nginx acting as a front end caching system, explain why a customer will receive a 504 error.
  14.  
  15. How can you return the Apache code for a domain from the command line?
  16.  
  17. What information is recorded in the access logs found within the cPanel user’s home directory? Bonus points if you can give the file path where this is normally located.
  18.  
  19. PHP
  20. ————————————————————————————————————————————————
  21. A customer reports their WordPress domain is showing a white screen on page load. List all ways, that you are aware of, that this could be caused by.
  22.  
  23. What are the PHP handlers implemented on HostGator servers?
  24.  
  25. fast-cgi
  26. suPHP
  27. mod_rewrite
  28. suExec
  29.  
  30. How do you toggle between active php versions on an account when more than one version of php is present on the server.
  31.  
  32. ————————————————————————
  33. user@host /home/user/public_html/ $ grep ‘DB’ wp-config.php
  34. define( ‘DB_NAME’, ‘wpdb1′ );
  35. define( ‘DB_USER’, ‘sqluser’ );
  36. define( ‘DB_PASSWORD’, ‘^pass123word456$’ );
  37. define( ‘DB_HOST’, ‘localhost’ );
  38. ————————————————————————
  39. Why does this WordPress above show “Error Establishing Database Connection”
  40.  
  41. Where is the server default php.ini located? If multiple compiles of php are present, where are the php.ini of the optional compiles located?
  42.  
  43. DNS
  44. ————————————————————————————————————————————————
  45. Explain the DNS resolution process in as much detail as you can.
  46.  
  47. ————————————————————————
  48. ; cPanel first:11.40.1.9 (update_time):1400000075 Cpanel::ZoneFile::VERSION:1.3 hostname:host.example.com latest:11.42.1.13
  49. ; Zone file for test.com
  50. test.com. 86400 IN SOA ns1.example.com. root.host.example.com. (
  51. 2014101811 ; serial
  52. 86400 ; refresh, seconds
  53. 7200 ; retry, seconds
  54. 3600000 ; expire, seconds
  55. 86400 ) ; minimum, seconds
  56. ; NS Records
  57. test.com. 86400 IN NS ns1.example.com.
  58. test.com. 86400 IN NS ns2.example.com.
  59. ; MX Records
  60. test.com. IN MX mail.com.
  61. ; ipv6 A records
  62. test.com. CH A 50.23.75.97
  63. localhost IN A 127.0.0.1
  64. ; CNAME Records
  65. mail. IN CNAME test.com.
  66. www IN CNAME test.com.
  67. ftp IN CNAME test.com.
  68. ; SRV records
  69. _autodiscover._tcp 3600 IN SRV 0 0 443 madeup.mail.server.tld..
  70. ————————————————————————
  71. Using the zone file above, document each of the errors observable.
  72.  
  73. If you are not logged into the server, how could you access the above zone file from the command line?
  74.  
  75. What is the file path for where DNS zone files are located?
  76.  
  77. Describe the function of SPF records and how they are implemented on HostGator servers.
  78.  
  79. cPanel/WHM
  80. ————————————————————————————————————————————————
  81. When adding a domain to a cPanel you get the following error:
  82.  
  83. “Cannot create a subdomain of the server hostname”
  84.  
  85. Where in cPanel/WHM would you go to correct this?
  86.  
  87. Select all that can be managed through EasyApache:
  88.  
  89. Apache
  90. Perl
  91. MySQL
  92. PHP
  93. Python
  94.  
  95. ————————————————————————
  96. VPS-123456 : cPanel VPS Snappy1000 # host.example.com
  97. ————————————————————————
  98. “I am not able login to my WHM or cPanel and I did not change my password.” What would you check to resolve their issue?
  99.  
  100. example1.com exists as an addon domain on cPanel bob; Jane, on the same server, wants to change her primary domain name from sample.answer.com to example1.com. Explain why this will fail.
  101.  
  102. What is VirtFS?
  103.  
  104. MySQL
  105. ————————————————————————————————————————————————
  106. ————————————————————————
  107. VPS-123456 : cPanel VPS Snappy1000 # host.example.com
  108. ————————————————————————
  109. The VPS above is running out of memory constantly. You, the adroit Triage admin, check the my.cnf file and see the following line:
  110.  
  111. max_connections=2000
  112.  
  113. Explain why this is causing the container to run out of memory; the more information
  114. provided the better.
  115.  
  116. What is the difference between using ‘;’ and ‘\G’ when placed at the end of a query? Provide an example where using \G could be the more appropriate choice.
  117.  
  118.  
  119.  
  120. What is the full file path to the my.cnf file and what are the kinds of variables that can be set within it?
  121.  
  122. From the command line connect to the Joomla database referenced above.
  123.  
  124. Which of the following are MySQL storage engines
  125. InnoDB
  126. VLDB
  127. Memory
  128. XLS
  129. MyIASM
  130.  
  131. Email
  132. ————————————————————————————————————————————————
  133. ————————————————————————
  134. Return-path: <dude@man.com>
  135. Envelope-to: walter@rageaholic.com
  136. Delivery-date: Sun, 19 Oct 2014 21:18:23 -0500
  137. Received: from mail-wg0-f45.google.com ([74.125.82.45]:57651)
  138. by host.test.com with esmtps (TLSv1:RC4-SHA:128)
  139. (Exim 4.82)
  140. (envelope-from <dude@man.com>)
  141. id 1Xg2Xv-0006UB-68
  142. for walter@rageaholic.com; Sun, 19 Oct 2014 21:18:22 -0500
  143. Received: by mail-wg0-f45.google.com with SMTP id m15so4334794wgh.4
  144. for <walter@rageaholic.com>; Sun, 19 Oct 2014 19:18:03 -0700 (PDT)
  145. X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
  146. d=1e100.net; s=20130820;
  147. h=x-gm-message-state:mime-version:date:message-id:subject:from:to
  148. :content-type;
  149. bh=WVxMcbRLdr+4tOKFmimEdXpspWu/xZ6/1QjCl5jyFYQ=;
  150. b=l/wmm3kC/oZ11mLSTlrTuC+ZtMlCAfq+KmR9vITxy7qBsWWwG3MgEwwiEhFrzAWYtx
  151. 9E+I9naDvEXwlwGrNSnp13Sf+juuCP7nMRiiXu1S05Zy/Wr0kSwCkIHvqvKh0HwPHpgI
  152. T0HyMwaWGfU5zETnjCn4x4BPtpZhihHQ9qbTnFnzSzA7lk97Wu6RloP6IOq/u9b5rKSs
  153. lpSfnqxwHnrSmRDrIpTB9VpjGbHJPhTkA6erLbtGubCVdRPKddaHMDHVI11i0G7zPAGK
  154. TFWl78YpP6++t2gv21+UpxLR3KZqTfkjpGBDCXEtqxBFQrGsH5dMQALH7jOlQTqz6ysA
  155. UJew==
  156. X-Gm-Message-State: ALoCoQlKPTu3H2rRLIozmGDgZUyWCpuSw6I1ud8CBCNdrmEXisBPrNRNETMrnHLJ/e+PIl6BNWcf
  157. MIME-Version: 1.0
  158. X-Received: by 10.180.149.169 with SMTP id ub9mr16649302wib.73.1413771482482;
  159. Sun, 19 Oct 2014 19:18:02 -0700 (PDT)
  160. Received: by 10.216.93.129 with HTTP; Sun, 19 Oct 2014 19:18:02 -0700 (PDT)
  161. Date: Sun, 19 Oct 2014 21:18:02 -0500
  162. Message-ID: <CAK55YJB=N-xqwE11Zfgp1yx56mENLMFyDjo-nX9UCBPNzXnJcg@mail.gmail.com>
  163. Subject: The next game in the tournament is on Saturday
  164. From: The Dude <dude@man.com>
  165. To: walter@rageaholic.com
  166. Content-Type: multipart/alternative; boundary=001a11c38aea01fea50505d15306
  167. X-Spam-Status: Yes, score=4.0
  168. X-Spam-Score: 5
  169. ————————————————————————
  170. Why did this email fail to resolve to the user’s inbox?
  171.  
  172. What was the originating server of the email?
  173.  
  174. Does the mail sender use remote or local MX records?
  175.  
  176. If you were going to grep this email chain out of the exim_mainlog, what mail ID would you use?
  177.  
  178. What is the server hostname where the email should have resolved to?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement