LPIC 102 Exam Preparation Guide

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

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 (A)

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 (D)</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 (B)</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 (A)</p> Signup and view all the answers

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

<p>False (B)</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 (C)</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 (B)</p> Signup and view all the answers

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

<p>False (B)</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 (A)</p> Signup and view all the answers

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

<p>True (A)</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 (A)</p> Signup and view all the answers

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

<p>True (A)</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 (B)</p> Signup and view all the answers

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

<p>False (B)</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 (B)</p> Signup and view all the answers

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

<p>True (A)</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 (B)</p> Signup and view all the answers

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

<p>True (A)</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 (D)</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 (D)</p> Signup and view all the answers

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

<p>False (B)</p> Signup and view all the answers

IP address class D is used for unicast addresses.

<p>False (B)</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 (D)</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 (A)</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 (D)</p> Signup and view all the answers

Flashcards

at

A utility that allows users to schedule commands to run at a specific time in the future.

anacrontab file

A file that defines scheduled jobs run by anacron. Each line represents a job with its period, delay, identifier, and command.

atd daemon

A service that handles scheduling commands to run at a later time.

batch

A utility that runs commands when system load levels are low, similar to at but prioritizing system performance.

Signup and view all the flashcards

Anacron

Anacron is a utility that runs commands at specific intervals, even if the system wasn't running at that exact time.

Signup and view all the flashcards

Period (anacrontab)

An integer representing the number of days between job executions in the anacrontab file.

Signup and view all the flashcards

Delay (anacrontab)

An integer representing the number of minutes to wait before a job runs after the specified period in the anacrontab file.

Signup and view all the flashcards

Job Identifier (anacrontab)

A unique identifier for a job defined in the anacrontab file.

Signup and view all the flashcards

Hardware clock

A clock that runs independently of operating system, powered by CMOS battery, and keeps time even when the computer is off.

Signup and view all the flashcards

Software clock

A clock that relies on the operating system to run and keeps time based on Unix epoch (January 1, 1970, 00:00:00 UTC).

Signup and view all the flashcards

/etc/localtime

A file containing a symbolic link that points to a specific timezone in the /usr/share/zoneinfo directory.

Signup and view all the flashcards

/etc/timezone

A file containing the configured timezone.

Signup and view all the flashcards

date

A command used to control the System clock.

Signup and view all the flashcards

hwclock

A program that controls the Hardware clock.

Signup and view all the flashcards

ntpdate

A command used to synchronize the System clock with a time server.

Signup and view all the flashcards

ntpd

A program that synchronizes the System clock with time servers using Network Time Protocol (NTP) for continuous accuracy.

Signup and view all the flashcards

What is the purpose of the 'date' command?

The 'date' command is used to display or set the system time.

Signup and view all the flashcards

Explain 'date' formatting using format strings.

You can control how the current time and/or date is displayed using format strings.

Signup and view all the flashcards

What does the format string '%c' represent?

The '%c' format string displays the locale's current date and time.

Signup and view all the flashcards

What does the format string '%Y-%m-%d' represent?

The '%Y-%m-%d' format represents a combined year, month, and day in the standard YYYY-MM-DD format.

Signup and view all the flashcards

How do you represent a literal percentage symbol in a date format string?

Use the '%%' escape sequence to represent a literal percentage symbol.

Signup and view all the flashcards

What does the format string '%a' represent?

The '%a' option displays the abbreviated weekday name based on the system's locale.

Signup and view all the flashcards

What does the format string '%A' represent?

The '%A' option outputs the full weekday name according to the current locale.

Signup and view all the flashcards

What does the format string '%b' represent?

The '%b' option displays the abbreviated month name based on the system's locale.

Signup and view all the flashcards

What does the format string '%B' represent?

The '%B' option outputs the full month name according to the current locale.

Signup and view all the flashcards

What does the format string '%d' represent?

The '%d' option displays the day of the month as a two-digit number, zero-padded if necessary.

Signup and view all the flashcards

MMDDhhmm

Adjusts the system time to a specific value, allowing for customization of the date and time.

Signup and view all the flashcards

MMDDhhmmYYYY.[ss]

Sets the system time to a specific value, including year, month, day, hour, minute, and seconds.

Signup and view all the flashcards

ntpdate

A program that connects to a time server to synchronize the system clock with a more precise time.

Signup and view all the flashcards

ntpd or xntpd

A daemon that regularly polls one or more time servers to maintain accurate system time.

Signup and view all the flashcards

driftfile

A file that stores the local hardware clock drift, which is used to improve time accuracy during boot.

Signup and view all the flashcards

Linux Kernel

The Linux kernel is the core of the Linux operating system. It manages the system's resources, such as the CPU, memory, and storage.

Signup and view all the flashcards

Kernel Modules

Kernel modules are add-ons to the core Linux kernel, providing additional functionality. They allow the system to handle new hardware or software components.

Signup and view all the flashcards

Boot Process

The boot process is the sequence of steps that happen when you turn on your computer. It loads the operating system (Linux) into memory and prepares the system for use.

Signup and view all the flashcards

Runlevels

Runlevels are different operating modes or states for a Linux system. Each runlevel defines specific services and processes that will be running.

Signup and view all the flashcards

Printing on Linux

Printing on Linux involves managing printers, print queues, and printing files. This includes tasks like adding printers, managing print jobs, and sending documents to the printer.

Signup and view all the flashcards

Linux Documentation

Documentation provides information about the Linux system, its components, and how to use them. It's crucial for learning about the system and troubleshooting problems.

Signup and view all the flashcards

Shell

The shell is the command-line interpreter. It allows you to interact with the system directly by typing commands.

Signup and view all the flashcards

Scripting

Scripting involves writing small programs using scripting languages to automate tasks. It helps in performing repetitive actions or complex procedures more efficiently.

Signup and view all the flashcards

Administrative Tasks

Administrators manage users and groups, configure system settings, and maintain system security. It's a critical role in ensuring the stability and security of the Linux system.

Signup and view all the flashcards

Networking Fundamentals

Networking fundamentals include understanding basic concepts like TCP/IP, networking protocols, and network addressing. Knowing these helps explain how networks function.

Signup and view all the flashcards

Networking Services

Networking Services are programs that provide specific network functions, enabling communication and data sharing. Examples include web servers, email servers, and file sharing services.

Signup and view all the flashcards

Linux Security

Linux Security involves protecting the system from unauthorized access, malicious attacks, and data breaches. It ensures that the system operates securely.

Signup and view all the flashcards

Managing kernel and kernel modules

Managing kernel and kernel modules involves controlling their loading, unloading, and configuration. It helps ensure the system runs smoothly and efficiently.

Signup and view all the flashcards

Reconfigure, building, and installing a custom kernel

Reconfiguring, building, and installing a custom kernel involves modifying kernel settings, compiling a new kernel, and replacing the existing kernel with the custom version. This allows for optimizing performance and adding specific features.

Signup and view all the flashcards

Boot the system

Booting the system involves the initial startup sequence, where the computer loads the operating system into memory.

Signup and view all the flashcards

Change runlevels

Changing runlevels involves switching between different operating modes, which can influence the services and processes running on the system.

Signup and view all the flashcards

Manage printers and print queues

Managing printers and print queues involves configuring printers, managing print jobs, and troubleshooting printing issues.

Signup and view all the flashcards

Print files

Printing files involves sending documents to the printer for printing, managing print jobs, and checking printing status.

Signup and view all the flashcards

Install and configure local and remote printers

Installing and configuring printers involves connecting printers to the system, configuring print settings, and adding printers to the system's print queue.

Signup and view all the flashcards

TCP/IP

A set of rules that define how data is transmitted over a network.

Signup and view all the flashcards

Network Protocol

The system that manages how computers communicate with each other over a network. It determines how data is packaged, addressed, and sent.

Signup and view all the flashcards

IP Address

A unique identifier assigned to a device on a network, allowing it to be located and communicated with.

Signup and view all the flashcards

Private IP Address

A reserved portion of IP address space, used for private networks within an organization, not accessible from the public internet.

Signup and view all the flashcards

Multicast Address

A type of IP address used to communicate with multiple devices simultaneously, forming a group.

Signup and view all the flashcards

TCP (Transmission Control Protocol)

A protocol responsible for sending and receiving messages between hosts on a network, confirming the arrival of packets and ensuring reliable data transfer.

Signup and view all the flashcards

IP (Internet Protocol)

A protocol responsible for delivering packets between networks, handling routing and addressing.

Signup and view all the flashcards

SNMP (Simple Network Management Protocol)

A network management protocol used for monitoring network performance and collecting data from devices on a network.

Signup and view all the flashcards

FTP (File Transfer Protocol)

A protocol used for transferring files between computers over a network, often used for sharing data.

Signup and view all the flashcards

SMTP (Simple Mail Transfer Protocol)

A protocol used for sending and receiving email messages over a network.

Signup and view all the flashcards

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

More Like This

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