Exam Details

  • Exam Code
    :202-450
  • Exam Name
    :LPIC-2 - Exam 202 - version 4.5
  • Certification
    :LPI Certifications
  • Vendor
    :Lpi
  • Total Questions
    :373 Q&As
  • Last Updated
    :Mar 31, 2025

Lpi LPI Certifications 202-450 Questions & Answers

  • Question 311:

    There is a restricted area in an Apache site, which requires users to authenticate against the file /srv/ www/security/site-passwd. Which command is used to CHANGE the password of existing users, without losing data, when Basic authentication is being used.

    A. htpasswd -c /srv/www/security/site passwd user

    B. htpasswd /srv/www/security/site-passwd user

    C. htpasswd -n /srv/www/security/site-passwd user

    D. htpasswd -D /srv/www/security/site-passwd user

    E. None of the above.

  • Question 312:

    Which Apache directive is used to configure the main directory for the site, out of which it will serve documents?

    A. ServerRoot

    B. UserDir

    C. DirectoryIndex

    D. Location

    E. DocumentRoot

  • Question 313:

    The following data is some of the output produced by a program. Which program produced this output? strftime (" Thu", 1024, "%a", 0xb7f64380) =4 fwrite ("Thu", 3, 1, 0xb7f614e0) =1 fputc (' ', 0xb7f614e0) =32 strftime (" Feb", 1024, " %b", 0xb7f64380) =4 fwrite ("Feb", 3, 1, 0xb7f614e0) =1 fputc (' ', 0xb7f614e0) =32 fwrite ("19", 2, 1, 0xb7f614e0) =1

    A. lsof

    B. ltrace

    C. nm

    D. strace

    E. time

  • Question 314:

    What tool scans log files for unsuccessful login attempts and blocks the offending IP addresses with firewall rules?

    A. nessus

    B. nmap

    C. nc

    D. watchlogs

    E. fail2ban

  • Question 315:

    Journalling doesn't appear to be working on an ext3 file-system. When booting, the following line appears:

    VFS: Mounted root (ext2 filesystem) readonly.

    What could be causing the problem?

    A. An old version of e2fsprogs is installed.

    B. The kernel does not contain ext3 support.

    C. The file-system is specified as ext2 in/etc/fstab.

    D. The system was not shut down cleanly.

  • Question 316:

    Which of the following describes the main purpose of strace?

    A. Show the TCP/IP stack data, to help to solve network problems

    B. Help to follow the traces of intruders of the internal network

    C. Debug programs by displaying the original code of the program. It is a kind of "disassembler"

    D. Reverse engineer applications, resulting in the source code of the program

    E. Debug programs by monitoring system calls and reporting them

  • Question 317:

    After setting up Apache to run inside a chroot jail as a non-root user, httpd no longer starts. What is the primary cause of the problem?

    A. Apache needs to start as root to bind to port 80

    B. Apache cannot read the main index.html file because it was not moved into the chroot environment

    C. A LoadModule line for mod_chroot needs to be added to httpd.conf

    D. Apache requires a VirtualHost directive when running from a chroot environment

    E. The mod_chroot configuration needs the absolute path to the chroot environment

  • Question 318:

    The following is an excerpt from a procmail configuration filE.

    :0 c

    * ! ^To: backup

    ! backup

    Which of the following is correct?

    A. All mails will be backed up to the path defined by $MAILDIR

    B. All mails to the local email address backup will be stored in the directory backup.

    C. A copy of all mails will be stored in file backup.

    D. A copy of all mails will be send to the local email address backup.

    E. Mails not addressed to backup are passed through a filter program named backup.

  • Question 319:

    Messages from programs are not appearing in the user's native language. What environment variable must be set for this to happen?

    A. LANG

    B. I18N

    C. MESSAGES

    D. MSGS

    E. LC_MSGS

  • Question 320:

    What does the following procmail configuration section do?

    :0fw

    * < 256000

    | /usr/bin/foo

    A. procmail sends all email older than 256000 seconds to the external program foo

    B. If an email contains a value less than 256000 anywhere within it, procmail will process the email with the program foo

    C. procmail sends mail containing less than 256000 words to program foo

    D. The program foo is used instead of procmail for all emails larger than 256000 Bytes

    E. If the email smaller than 256000 Bytes, procmail will process it with the program foo

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Lpi exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 202-450 exam preparations and Lpi certification application, do not hesitate to visit our Vcedump.com to find your solutions here.