LPIC 102 Exam Preparation Guide
55 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What does the underscore ('_') modifier do when used with GNU date?

  • Pad the field with zeros
  • Remove all spaces
  • Do not pad the field
  • Pad the field with spaces (correct)
  • The ntpdate program can be scheduled to run regularly via a cron job.

    True

    What files are used to store the local Hardware Clock drift?

    /etc/ntp.drift

    The Time Parameters for setting the system time includes MMDDhhmm and MMDDhhmmYYYY.[____].

    <p>ss</p> Signup and view all the answers

    Match the following components with their descriptions:

    <p>ntpdate = Connects with a Time Server and sets the system time NTP = Network Time Protocol ntpd = Local daemon that polls time servers /etc/ntp.conf = Configuration file for NTP daemon</p> Signup and view all the answers

    What command is used to show or set the system time?

    <p>date</p> Signup and view all the answers

    The %H format specifier in the date command represents the hour in a 12-hour format.

    <p>False</p> Signup and view all the answers

    What does the --utc option signify when working with the Hardware Clock?

    <p>It indicates that the Hardware Clock is kept in Universal Coordinated Time.</p> Signup and view all the answers

    The %Y format specifier in the date command represents the ________.

    <p>year (1970...)</p> Signup and view all the answers

    Match the format specifiers with their descriptions:

    <p>%d = day of month (01..31) %M = minute (00..59) %p = locale's upper case AM or PM indicator %x = locale's date representation (mm/dd/yy)</p> Signup and view all the answers

    Which command option is used to adjust the Hardware Clock to the current system time?

    <p>--systohc</p> Signup and view all the answers

    The %j format specifier represents the day of the month.

    <p>False</p> Signup and view all the answers

    What is the purpose of the TZ environment variable?

    <p>To set the kernel's timezone to the local timezone.</p> Signup and view all the answers

    The command 'date "It is now %H Hours and %M Minutes"' will result in the format: 'It is now ________'.

    <p>14 Hours and 33 Minutes</p> Signup and view all the answers

    Which of the following indicates that the Hardware Clock is kept in local time?

    <p>--localtime</p> Signup and view all the answers

    What is the purpose of the at spool service?

    <p>To run a command only once at a specific time</p> Signup and view all the answers

    The job-identifier in the /etc/anacrontab can contain slashes.

    <p>False</p> Signup and view all the answers

    What command is used to create a new AT job?

    <p>at</p> Signup and view all the answers

    The command used in anacron's job-description line can be any _______ command.

    <p>shell</p> Signup and view all the answers

    Match the job timing with its execution delay in anacron:

    <p>cron.daily = 5 minutes cron.weekly = 10 minutes cron.monthly = 15 minutes cron.hourly = 0 minutes</p> Signup and view all the answers

    What does the 'batch' command do?

    <p>Executes commands when system load levels permit</p> Signup and view all the answers

    Job-description lines in anacrontab can only be composed of four fields.

    <p>True</p> Signup and view all the answers

    What is the default nice value used in anacron?

    <p>It is the default system nice value.</p> Signup and view all the answers

    What does the Hardware Clock in a Linux system refer to?

    <p>RTC or RealTimeClock</p> Signup and view all the answers

    The Software Clock is the main clock under Linux, counting seconds since January 1, 1970.

    <p>True</p> Signup and view all the answers

    What is the purpose of the hwclock command?

    <p>To display or set the Hardware Clock.</p> Signup and view all the answers

    The time from which a time zone offset is given is called ______.

    <p>UTC</p> Signup and view all the answers

    Which file is used to set the system's timezone in Linux?

    <p>/etc/timezone</p> Signup and view all the answers

    The command tzselect is used to set the Hardware Clock in the BIOS setup.

    <p>False</p> Signup and view all the answers

    Name one main clock control program used in Linux.

    <p>hwclock or date</p> Signup and view all the answers

    Match the following clocks with their descriptions:

    <p>Hardware Clock = Runs independently of the OS and is battery-powered Software Clock = Counts seconds since 1st Jan 1970 UTC = Universal time used for setting local time NTP = Protocol to synchronize system clocks over a network</p> Signup and view all the answers

    Which topic has the highest number of questions allocated for the exam?

    <p>Networking Services</p> Signup and view all the answers

    The Linux Kernel topic has more questions than the Boot, Initialization, Shutdown and Runlevels topic.

    <p>True</p> Signup and view all the answers

    How many questions are related to Shells, Scripting, Programming, and Compiling?

    <p>6</p> Signup and view all the answers

    The total number of questions in the exam is ______.

    <p>73</p> Signup and view all the answers

    Match the following topics with their total number of questions:

    <p>Linux Kernel = 5 Administrative Tasks = 15 Networking Fundamentals = 10 Printing = 3</p> Signup and view all the answers

    Which objective has the least number of questions?

    <p>Printing</p> Signup and view all the answers

    The Documentation topic has more questions than the Linux Security topic.

    <p>True</p> Signup and view all the answers

    What is the weight assigned to the Networking Services topic?

    <p>24</p> Signup and view all the answers

    The total weights for all topics and sections equal ______.

    <p>99</p> Signup and view all the answers

    Which of the following topics has the same number of total questions as Linux Security?

    <p>Printing</p> Signup and view all the answers

    Match the following sub-objectives with their corresponding weights:

    <p>Manage users and group accounts = 4 Boot the system = 3 Perform security administration tasks = 4 Notify users on system-related issues = 1</p> Signup and view all the answers

    Which type of IP address class has a start address of 192.0.0.0?

    <p>Class C</p> Signup and view all the answers

    There are more questions dedicated to Administrative Tasks than to Networking Fundamentals.

    <p>False</p> Signup and view all the answers

    IP address class D is used for unicast addresses.

    <p>False</p> Signup and view all the answers

    What topic has a weight of 7?

    <p>Kernel</p> Signup and view all the answers

    What is the purpose of the ICMP message type with code 11?

    <p>Time exceeded</p> Signup and view all the answers

    The topic that encompasses configuring and managing inetd and xinetd is ______.

    <p>Networking Services</p> Signup and view all the answers

    The netmask for an IP address in Class B is ______.

    <p>255.255.0.0</p> Signup and view all the answers

    Match the following port numbers with their associated protocols:

    <p>21 = FTP 22 = SSH 25 = SMTP 80 = HTTP</p> Signup and view all the answers

    Which protocol is associated with port number 53?

    <p>DNS</p> Signup and view all the answers

    RIPv2 messages are sent to all RIPv2 routers using the multicast address 224.0.0.9.

    <p>True</p> Signup and view all the answers

    What is the function of the TELNET protocol?

    <p>Terminal emulation over network</p> Signup and view all the answers

    The reserved range of IP addresses for Class A private networks starts at ______.

    <p>10.0.0.0</p> Signup and view all the answers

    What does SMTP stand for?

    <p>Simple Mail Transfer Protocol</p> Signup and view all the answers

    Study Notes

    Linux Professional Institute Exam LPIC 102 Preparation Guide

    • This guide provides preparation material for the LPIC-102 exam
    • Version 3 of the guide is authored by Alan McKinnon and based on a previous version by Michel Bisson
    • There are 10 topics of study: 105: Kernel, 106: Boot, Initialization, Shutdown and Runlevels, 107: Printing, 108: Documentation, 109: Shells, Scripting, Programming and Compiling, 111: Administrative Tasks, 112: Networking Fundamentals, 113: Networking Services, 114: Security
    • Each topic is further broken down into sub-topics and concepts, with approximate numbers of questions and weightings assigned
    • The guide offers advice on exam preparation, including tips for writing the exam
    • The table of contents lists specific areas for study within each main topic
    • Detailed information and practical examples, are included for each sub-topic.

    Topic Specific Details

    • Topic 105: Kernel covers kernel types, kernel options, kernel modules, loading modules, controlling modules, and kernel reconfiguration, building & installation
    • Topic 106: Boot, Initialization, Shutdown and Runlevels delves into boot processes, runlevels, kernel options to bootloaders, configuring boot log files
    • Topic 107: Printing focuses on managing printers and queues, printing files, installing and configuring local/remote printers
    • Topic 108: Documentation explains using local documentation, finding information online, and notifying users
    • Topic 109: Shells, Scripting, Programming and Compiling covers shell customization, scripting with bash, conditional statements and loops, and scripting languages
    • Topic 111: Administrative Tasks includes managing users, and group accounts, system log files, data backup, and system time
    • Topic 112: Networking Fundamentals details TCP/IP, configuration, troubleshooting, and PPP client configuration
    • Topic 113: Networking Services addresses configuring services like inetd, xinetd, sendmail, Apache, NFS, SMB, nmb and DNS, and secure shell (OpenSSH) setup
    • Topic 114: Security covers performance of security administrative tasks, configuring host security, user security setup.

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Related Documents

    LPIC 102 Preparation Guide PDF

    Description

    Prepare for the LPIC-102 Linux Professional Institute exam with this comprehensive guide. Authored by Alan McKinnon, it covers 10 essential topics, including the kernel, networking fundamentals, and security. Each topic is broken down into detailed sub-topics and practical examples to enhance your understanding and exam readiness.

    More Like This

    LPIC-1 Exam 102: Networking Fundamentals
    5 questions
    LPIC-1 (102): Manage User Accounts
    9 questions
    Use Quizgecko on...
    Browser
    Browser