Website Security MCQs with Explanations
Practice high-yield Programming & Software Development MCQs on Website Security with worked academic solutions for FPSC, PPSC, NTS, NITB, PTS.
Questions
10
Difficulty Level
Exam-Level
Target Exams
FPSC, PPSC, NTS...
Estimated Time
12 mins
Exam-Level FPSC PPSC NTS NITB PTS
Content updated Oct 14, 2026
These practice questions are independent study material, not an official commission answer key. ExamHub.pk is reviewing older question sets; check important facts against the relevant commission's syllabus or another primary source. Report a correction.
10
Practice Questions
Interactive test mode with detailed academic worked solutions
Live Progress | 0/10 answered
✓ 0 correct
✗ 0 wrong
0% score
🎉 Set complete! All 10 questions answered.
Question 1 of 10
Question 2 of 10
Which one of the following statements should be used to disable the use of two classes administrator and janitor?
Question 3 of 10
What is the default value of max_execution_time directive? This directive specifies how many seconds a script can execute before being terminated.
Question 4 of 10
The memory_limit is only applicable if _______ is enabled when you configure PHP. Fill in the blank.
Question 5 of 10
Which Apache directive outputs Apache’s server version, server name, port and compile-in modules?
Question 6 of 10
Which directive determines which degree of server details is provided if the ServerSignature directive is enabled?
Question 7 of 10
Which directive should we disable to obscure the fact that PHP is being used on our server?
Question 8 of 10
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?
Question 9 of 10
The developers of PHP deprecated the safe mode feature as of which PHP version.
Question 10 of 10
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?
✓ Link copied to clipboard
💡 Examiner's Advisory for Programming & Software Development
In competitive commission exams (FPSC, PPSC, KPPSC, SPSC, CSS, PMS), questions are frequently phrased with distractor options designed to catch rote learners. Whenever you answer an MCQ, read the Detailed Academic Explanation and Conceptual Anchor to understand why the remaining options are incorrect.