Book Image

LPIC-1 Linux Professional Institute Certification Practice Tests: Exam 101-500 and Exam 102-500 - Second Edition

By : Steve Suehring
Book Image

LPIC-1 Linux Professional Institute Certification Practice Tests: Exam 101-500 and Exam 102-500 - Second Edition

By: Steve Suehring

Overview of this book

LPIC-1: Linux Professional Institute Certification Practice Tests is the must-have complement to the bestselling LPIC-1 Study Guide. Practice tests help you gain confidence and identify the areas in need of more attention. Ten full-length tests, covering the ten objective domains, and two additional 60-question practice exams contain 1000 practice questions, complete with answers and full explanations! Divided into two parts, this volume of practice tests covers Exams 101-500 and 102-500. Part I covers system architecture, Linux installation and Package management, GNU and Unix Commands, and devices, and Linux filesystems and filesystem hierarchy. Part II focuses on shells and shell scripting, user interfaces and desktops, administrative tasks, essential system services, networking, and security.
Table of Contents (10 chapters)

Chapter 12
Practice Exam 2

  1. To which file should you add an entry in order for a host to be blocked using TCP wrappers?

    1. /etc/hosts.deny
    2. /etc/tcp.wrappers
    3. /etc/wrap.config
    4. /etc/tcpwrap.conf
  2. Which of the following commands creates an alias for the ps command such that the options auwx are included when the user types psa?

    1. alias "ps auwx" = "psa"
    2. alias psa=ps uawx
    3. alias psa="ps auwx"
    4. psa="ps auwx"
  3. Which of the following conditionals in a Bash script will test if the variable DAY is equal to SUNDAY?

    1. if ($DAY == "SUNDAY")
    2. if ($DAY -eq "SUNDAY")
    3. if [[ $DAY == "SUNDAY" ]]
    4. if [ DAY = "SUNDAY" ]
  4. Which of the following commands is necessary for making a variable defined in your current shell available to child processes?

    1. export
    2. source
    3. let
    4. def
  5. You are watching another administrator perform some work on a server. As part of that work, the admin uses the following command:

    . variables.sh

    Which...