Summer Special - 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: c4sdisc65

102-500 PDF

$38.5

$109.99

3 Months Free Update

  • Printable Format
  • Value of Money
  • 100% Pass Assurance
  • Verified Answers
  • Researched by Industry Experts
  • Based on Real Exams Scenarios
  • 100% Real Questions

102-500 PDF + Testing Engine

$61.6

$175.99

3 Months Free Update

  • Exam Name: LPIC-1 Exam 102, Part 2 of 2, version 5.0
  • Last Update: Jun 18, 2024
  • Questions and Answers: 196
  • Free Real Questions Demo
  • Recommended by Industry Experts
  • Best Economical Package
  • Immediate Access

102-500 Engine

$46.2

$131.99

3 Months Free Update

  • Best Testing Engine
  • One Click installation
  • Recommended by Teachers
  • Easy to use
  • 3 Modes of Learning
  • State of Art Technology
  • 100% Real Questions included

102-500 Practice Exam Questions with Answers LPIC-1 Exam 102, Part 2 of 2, version 5.0 Certification

Question # 6

Which of the following fields are available in both the global /etc/crontab file as well as in user-specific crontab files? (Select TWO correct answers)

A.

Year

B.

Minute

C.

Username

D.

Command

Full Access
Question # 7

What is the purpose of the iconv command?

A.

It converts bitmap images from one format to another such as PNG to JPEG.

B.

It verifies that the root directory tree complies to all conventions from the Filesystem Hierarchy Standard (FHS).

C.

It displays additional meta information from icon files ending in .ico.

D.

It changes the mode of an inode in the ext4 file system.

E.

It converts files from one character encoding to another.

Full Access
Question # 8

Which of the following commands should be added to /etc/bash_profile in order to change the language of messages for an internationalized program to Portuguese (pt)?

A.

export LANGUAGE="pt"

B.

export MESSAGE="pt"

C.

export UI_MESSAGES="pt"

D.

export LC_MESSAGES="pt"

E.

export ALL_MESSAGES="pt"

Full Access
Question # 9

Which environment variable should be set in order to change the time zone for the commands run from within the environment variable's scope? (Specify the variable name only.)

Full Access
Question # 10

Which command should be added to /etc/bash_profile to change the language of messages from an internationalised program to Portuguese (pt)? (Select TWO correct answers)

A.

export LANGUAGE="pt"

B.

export MESSAGE="pt"

C.

export LANG="pt"

D.

export LC_MESSAGES="pt"

E.

export ALL_MESSAGES="pt"

Full Access
Question # 11

Given the following routing table:

102-500 question answer

How would an outgoing packet to the destination 192.168.2.150 be handled?

A.

It would be passed to the default router 192.168.178.1 on wlan0.

B.

It would be directly transmitted on the device eth0.

C.

It would be passed to the default router 255.255.255.0 on eth0.

D.

It would be directly transmitted on the device wlan0.

E.

It would be passed to the router 192.168.1.1 on eth0.

Full Access
Question # 12

Which of the following is true about IPv6?

A.

With IPv6, the TCP port numbers of most services have changed.

B.

IPv6 no longer supports broadcast addresses.

C.

IPv4 addresses can be used without any change with IPv6.

D.

IPv6 no longer supports multicast addresses.

E.

For IPv6, UDP and TCP have been replaced by the Rapid Transmission Protocol RTP.

Full Access
Question # 13

On a regular users workstation the route command takes a long time before printing out the routing table. Which of the following errors does that indicate?

A.

The local routing information may be corrupted and must be re-validated using a routing protocol.

B.

One of the routers in the routing table is not available which causes the automatic router failure detection mechanism (ARF-D) to wait for a timeout.

C.

There may accidentally be more than one default router in which case a default router election has to be done on the network in order to choose one router as the default.

D.

DNS resolution may not be working as route by default tries to resolve names of routers and destinations and may run into a timeout.

Full Access
Question # 14

Which of the following tools used for DNS debugging, reports not only the response from the name server but also details about the query?

A.

dnsq

B.

dig

C.

hostname

D.

dnslookup

E.

zoneinfo

Full Access
Question # 15

Which of the following IPv4 networks are reserved by IANA for private address assignment and private routing? (Choose THREE correct answers.)

A.

127.0.0.0/8

B.

10.0.0.0/8

C.

169.255.0.0/16

D.

172.16.0.0/12

E.

192.168.0.0/16

Full Access
Question # 16

Which of the following details is NOT provided in any output from the netstat utility?

A.

broadcast services

B.

interface statistics

C.

masquerading connections

D.

network connections

E.

routing tables

Full Access
Question # 17

With IPv6, how many bits have been used for the interface identifier of an unicast address? (Specify the number using digits only.)

Full Access
Question # 18

Why is the xhost program considered dangerous to use?

A.

It makes it difficult to uniquely identify a computer on the network.

B.

It allows easy access to your X server by other users.

C.

It logs sensitive information to syslog.

D.

It makes your computer share network resources without any authentication.

E.

It is a graphical DNS tool with known exploits.

Full Access
Question # 19

What is the default name of the configuration file for the Xorg X11 server? (Specify the file name only without any path.)

Full Access
Question # 20

How is a display manager started?

A.

It is started by a user using the command startx.

B.

It is started like any other system service by the init system.

C.

It is started by inetd when a remote hosts connects to the X11 port.

D.

It is started automatically when a X11 user logs in to the system console.

Full Access
Question # 21

Which command can be used to investigate the properties for a particular window in X by clicking that window? (Specify ONLY the command without any path or parameters.)

Full Access
Question # 22

For accessibility assistance, which of the following programs is an on-screen keyboard?

A.

xkb

B.

atkb

C.

GOK

D.

xOSK

Full Access
Question # 23

An administrator wants to determine the geometry of a particular window in X, so she issues the __________ -metric command and then clicks on the window.

Full Access
Question # 24

What is the purpose of the Sticky Keys feature in X?

A.

To assist users who have difficulty holding down multiple keys at once

B.

To prevent repeated input of a single character if the key is held down

C.

To ignore brief keystrokes according to a specified time limit

D.

To repeat the input of a single character

Full Access
Question # 25

Which file used by XDM specifies the default wallpaper?

A.

/etc/X11/xdm/Xsetup

B.

/etc/X11/xdm.conf

C.

/etc/X11/xdm/Defaults

D.

/etc/X11/defaults.conf

Full Access
Question # 26

Which of the following lines is an example of a correct setting for the DISPLAY environment variable?

A.

hostname:displayname

B.

hostname:displaynumber

C.

hostname/displayname

D.

hostname/displaynumber

E.

hostname

Full Access
Question # 27

Which of the following SQL queries counts the number of occurrences for each value of the field order_type in the table orders?

A.

SELECT order_type,COUNT(*) FROM orders WHERE order_type=order_type;

B.

SELECT order_type,COUNT(*) FROM orders GROUP BY order_type;

C.

COUNT(SELECT order_type FROM orders);

D.

SELECT COUNT(*) FROM orders ORDER BY order_type;

E.

SELECT AUTO_COUNT FROM orders COUNT order_type;

Full Access
Question # 28

What output will the command seq 10 produce?

A.

A continuous stream of numbers increasing in increments of 10 until stopped.

B.

The numbers 1 through 10 with one number per line.

C.

The numbers 0 through 9 with one number per line.

D.

The number 10 to standard output.

Full Access
Question # 29

Which command makes the shell variable named VARIABLE visible to subshells?

A.

export $VARIABLE

B.

export VARIABLE

C.

set $VARIABLE

D.

set VARIABLE

E.

env VARIABLE

Full Access
Question # 30

How can the existing environment variable FOOBAR be suppressed for the execution of the script./myscript only?

A.

unset -v FOOBAR;./myscript

B.

set -a FOOBAR="";./myscript

C.

env -u FOOBAR./myscript

D.

env -i FOOBAR./myscript

Full Access
Question # 31

Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers.)

A.

~/.bashconf

B.

~/.bashrc

C.

~/.bashdefaults

D.

~/.bash_etc

E.

~/.bash_profile

Full Access
Question # 32

Which directory in /etc is used to keep a sample copy of files and directories for when a new user has a home directory created? (Please provide the full path)

Full Access
Question # 33

Which of the following SQL statements will select the fields name and address from the contacts table?

A.

SELECT (name, address) FROM contacts;

B.

SELECT (name address) FROM contacts;

C.

SELECT name, address FROM contacts;

D.

SELECT name address FROM contacts;

Full Access
Question # 34

Which of the following configuration files should be modified to set default shell variables for all users?

A.

/etc/bashrc

B.

/etc/profile

C.

~/.bash_profile

D.

/etc/.bashrc

Full Access
Question # 35

By default, the contents of which directory will be copied to a new user's home directory when the account is created by passing the -m option to the useradd command? (Specify the full path to the directory.)

Full Access
Question # 36

Which of the following is observed and corrected by a NTP client?

A.

The skew in time between the system clock and the hardware clock.

B.

The skew in time between the system clock and the reference clock.

C.

Changes in the time zone of the current computer's location.

D.

Adjustments needed to support Daylight Saving Time.

Full Access
Question # 37

Which of the following is a legacy program provided by CUPS for sending files to the printer queues on the command line?

A.

lpd

B.

lpp

C.

lpq

D.

lpr

Full Access
Question # 38

After adding a new email alias to the configuration, which command must be run in order to ensure the MTA knows about it? (Specify the command without any path but including all required parameters.)

Full Access
Question # 39

Which file, when using Sendmail or a similar MTA system, will allow a user to redirect all their mail to another address and is configurable by the user themselves?

A.

/etc/alias

B.

~/.alias

C.

/etc/mail/forwarders

D.

~/.forward

E.

~/.vacation

Full Access
Question # 40

To exclude all log messages of a given logging facility, you should use a logging priority of _____ .

Full Access
Question # 41

On a dual boot system, every time the system is booted back into Linux the time has been set backward by one day. Which of the following commands will correct the problem?

A.

date -d '+ 1 day'

B.

hwclock --systohc --localtime

C.

ntpdate pool.ntp.org

D.

time hwclock

Full Access
Question # 42

Which command, available with all MTAs, is used to list the contents of the MTA's mail queue? (Specify ONLY the command without any path or parameters.)

Full Access
Question # 43

After configuring printing on a Linux server, the administrator sends a test file to one of the printers and it fails to print. What command can be used to display the status of the printer's queue? (Specify ONLY the command without any path or parameters.)

Full Access
Question # 44

Which of the following parameters are used for journalctl to limit the time frame of the output? (Choose TWO correct answers.)

A.

--from=

B.

--since=

C.

--until=

D.

--upto=

E.

--date=

Full Access
Question # 45

Why is the correct configuration of a system's time zone important?

A.

Because the conversion of Unix timestamps to local time relies on the time zone configuration.

B.

Because the time zone is saved as part of the modification times of files and cannot be changed after a file is created.

C.

Because the environment variables LANG and LC_MESSAGES are, by default, set according to the time zone.

D.

Because NTP chooses servers nearby based on the configured time zone.

Full Access
Question # 46

Which command will set the local machine's timezone to UTC?

A.

cat UTC > /etc/timezone

B.

ln -s /usr/share/zoneinfo/UTC /etc/localtime

C.

date --timezone=UTC

D.

mv /usr/timezone/UTC /etc

Full Access
Question # 47

Which of the following files assigns a user to its primary group?

A.

/etc/pgroup

B.

/etc/shadow

C.

/etc/group

D.

/etc/passwd

E.

/etc/gshadow

Full Access
Question # 48

Which commands can you use to change a user's account aging information? (Choose THREE correct answers.)

A.

usermod

B.

passwd

C.

chattr

D.

chage

E.

chsh

Full Access
Question # 49

Which file contains the date of the last change of a user's password?

A.

/etc/gshadow

B.

/etc/passwd

C.

/etc/pwdlog

D.

/etc/shadow

E.

/var/log/shadow

Full Access
Question # 50

How is the file format of /etc/crontab different from a normal crontab file? (Select TWO correct answers)

A.

The /etc/crontab file can specify a year field.

B.

A normal crontab file must be installed with the crontab command.

C.

A normal crontab file allows for environment variable substitution.

D.

The /etc/crontab file has a user field for commands.

Full Access
Question # 51

What is true about the Hop Limit field in the IPv6 header?

A.

The field is not changed during the transport of a package.

B.

The field is transmitted within a hop-by-hop extension header.

C.

Each router forwarding the packet increases the field’s value.

D.

Each router forwarding the packet decreases the field’s value.

E.

For multicast packages, the field’s value is always 1.

Full Access
Question # 52

Which option in the chrony configuration file changes the initial interval of polls to a NTP server in order to speed up the initial synchronization?

A.

iburst

B.

quickstart

C.

fast

D.

D. fsync

E.

flood

Full Access
Question # 53

Which of the following connection types, as seen in unroll connection show, may exist in Network Manager? (Choose THREE correct answers.)

A.

tcp

B.

Ethernet

C.

wifi

D.

ipv6

E.

bridge

Full Access
Question # 54

Given the following excerpt of the sudo configuration:

jane ANY=NOPASSWD: /bin/kill, /bin/id, PASSWD: /sbin/fdisk

Which of the following statements are true? (Choose three.)

A.

Jane can run /bin/id only after specifying her password.

B.

Jane can run /sbin/fdisk after specifying root’s password.

C.

Jane can run /sbin/fdisk after specifying her password.

D.

Jane can run /bin/kill without specifying a password.

E.

Jane can run /bin/id without specifying her password.

Full Access
Question # 55

When trying to unmount a device it is reported as being busy. Which of the following commands could be used to determine which process is causing this?

A.

debug

B.

lsof

C.

nessus

D.

strace

E.

traceroute

Full Access
Question # 56

In an xinetd configuration file, which attribute specifies the network address that will be used to provide the service?

Full Access
Question # 57

Which command is used to set restrictions on the size of a core file that is created for a user when a program crashes?

A.

core

B.

edquota

C.

ulimit

D.

quota

Full Access
Question # 58

Which of the following comparison operators for test work on elements in the file system? (Choose two.)

A.

–z

B.

–eq

C.

–d

D.

–f

E.

–lt

Full Access