Labour Day Sale - Limited Time 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 575363r9

Welcome To DumpsPedia

102-500 Sample Questions Answers

Questions 4

Which of the following words is used to restrict the records that are returned from a SELECT query based on a supplied criteria for the values in the records?

Options:

A.

LIMIT

B.

FROM

C.

WHERE

D.

IF

Buy Now
Questions 5

When the command echo $$ outputs 12942, what is the meaning of 12942?

Options:

A.

It is the process ID of the echo command.

B.

It is the process ID of the current shell.

C.

It is the process ID of the last command executed.

D.

It is the process ID of the last command which has been placed in the background.

Buy Now
Questions 6

What keyword is missing from this code sample of a shell script?

____ i in *.txt; do

echo $i

done

Options:

A.

for

B.

loop

C.

until

D.

while

Buy Now
Questions 7

What is the purpose of the file /etc/profile?

Options:

A.

It contains the welcome message that is displayed after login.

B.

It contains security profiles defining which users are allowed to log in.

C.

It contains environment variables that are set when a user logs in.

D.

It contains default application profiles for users that run an application for the first time.

Buy Now
Questions 8

Which of the following is the best way to list all defined shell variables?

Options:

A.

env

B.

set

C.

env -a

D.

echo $ENV

Buy Now
Questions 9

What word is missing from the following SQL statement?

insert into tablename ________(909, 'text');

(Please specify the missing word using lower-case letters only.)

Options:

Buy Now
Questions 10

What output will the command seq 10 produce?

Options:

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.

Buy Now
Questions 11

Which of the following commands can identify the PID od a process which opened a TCP port?

Options:

A.

ptrace

B.

strace

C.

debug

D.

lsof

E.

nessus

Buy Now
Questions 12

Which command included in systemd supports selecting messages from the systemd journal by criteria such as time or unit name? (Specify only the command without any path or parameters.)

Options:

Buy Now
Questions 13

Which of the following commands should be executed when starting a login shell in order to change the language of messages for an internationalized program to Portuguese (pt)?

Options:

A.

export LANGUAGE=“pt”

B.

export LC_MESSAGES=“pt”

C.

export UI_MESSAGES=“pt”

D.

export MESSAGE=“pt”

E.

export ALL_MESSAGES=“pt”

Buy Now
Questions 14

Which of the following commands displays all environment and shell variables?

Options:

A.

getargs

B.

lsenv

C.

ls

D.

env

E.

lsshell

Buy Now
Questions 15

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

Options:

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.

Buy Now
Questions 16

Which of the following protocols is related to the term open relay?

Options:

A.

SMTP

B.

POP3

C.

NTP

D.

IMAP

E.

LDAP

Buy Now
Questions 17

What output is produced by the following command sequence?

echo ‘1 2 3 4 5 6’ | while read a b c; do

echo result $c $b $a;

done

Options:

A.

result: 6 5 4

B.

result: 1 2 3 4 5 6

C.

result: 3 4 5 6 2 1

D.

result: 6 5 4 3 2 1

E.

result: 3 2 1

Buy Now
Questions 18

What is the purpose of TCP wrapper?

Options:

A.

Manage and adjust bandwidth used by TCP services.

B.

Bind a network service to a TCP port.

C.

Encapsulate TCP messages in IP packets.

D.

Add SSL support to plain text TCP services.

E.

Limit access to a network service.

Buy Now
Questions 19

With X11 forwarding in ssh, what environment variable is automatically set in the remote host shell that is not set when X11 forwarding is not enabled? (Specify only the environment variable without any additional commands or values.)

Options:

Buy Now
Questions 20

What is a purpose of an SSH host key?

Options:

A.

It must be sent by any SSH client in addition to a user key in order to identify the client's host.

B.

It provides the server's identity information to connecting SSH clients.

C.

It is the root key by which all user SSH keys must be signed.

D.

It authenticates any user that logs into a remote machine from the key's host.

E.

It is used by system services like cron, syslog or a backup job to automatically connect to remote hosts.

Buy Now
Questions 21

Which of the following find commands will print out a list of files owned by root and with the SUID bit set in /usr?

Options:

A.

find /usr -uid 0 -perm +4000

B.

find -user root +mode +s /usr

C.

find -type suid -username root -d /usr

D.

find /usr -ls \*s\* -u root

E.

find /usr -suid -perm +4000

Buy Now
Questions 22

Which file lists which users can execute commands using sudo? (Specify the full name of the file, including path.)

Options:

Buy Now
Questions 23

On a Linux system with shadow passwords enabled, which file in the file system contains the password hashes of all local users? (Specify the full name of the file, including path.)

Options:

Buy Now
Questions 24

Which configuration file would be edited to change the default options for outbound SSH sessions?

Options:

A.

/etc/ssh/sshd_config

B.

/etc/ssh/ssh

C.

/etc/ssh/client

D.

/etc/ssh/ssh_config

E.

/etc/ssh/ssh_client

Buy Now
Questions 25

What argument to the -type option of find will match files that are symbolic links? (Specify only the argument and no other options or words.)

Options:

Buy Now
Questions 26

Which file contains a set of services and hosts that will be allowed to connect to the server by going through a TCP Wrapper program such as tcpd? (Specify the full name of the file, including path.)https://lh3.googleusercontent.com/-5cd-clmKnbk/AAAAAAAAAAI/AAAAAAAAADM/-SXesH19Ido/s46-c-k-no/photo.jpg

Options:

Buy Now
Questions 27

Which directory holds the files that configure the xinetd service when using several configuration files instead of an integrated configuration file? (Specify the full path to the directory.)

Options:

Buy Now
Questions 28

Which of the following are syslog facilities? (Choose TWO correct answers.)

Options:

A.

local7

B.

mail

C.

advanced

D.

postmaster

E.

remote

Buy Now
Questions 29

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.)

Options:

Buy Now
Questions 30

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

Options:

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.

Buy Now
Questions 31

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.)

Options:

Buy Now
Questions 32

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

Options:

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.

Buy Now
Questions 33

Which of the following commands is used to rotate, compress, and mail system logs?

Options:

A.

rotatelog

B.

striplog

C.

syslogd --rotate

D.

logrotate

E.

logger

Buy Now
Questions 34

Which option in the /etc/ntp.conf file specifies an external NTP source to be queried for time information? (Specify ONLY the option without any values or parameters.)

Options:

Buy Now
Questions 35

What command should be used to print a listing of email in the system's mail queue?

Options:

A.

lpq

B.

mailq

C.

mlq

D.

sendmail –l

Buy Now
Questions 36

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.)

Options:

Buy Now
Questions 37

Which command can be used to delete a group from a Linux system?

Options:

A.

groupdel

B.

groupmod

C.

groups

D.

groupedit

Buy Now
Questions 38

Which file specifies the user accounts that can NOT submit jobs via at or batch? (Provide the full path and filename)

Options:

Buy Now
Questions 39

Which TWO statements about crontab are true?

Options:

A.

Every user may have their own crontab.

B.

Changing a crontab requires a reload/restart of the cron daemon.

C.

The cron daemon reloads crontab files automatically when necessary.

D.

hourly is the same as "0 * * * *".

E.

A cron daemon must run for each existing crontab.

Buy Now
Questions 40

Where are user specific crontabs stored?

Options:

A.

In the database file /etc/crontab.db which is shared by all users.

B.

As individual per-user files within /var/spool/cron.

C.

As individual per-user files in /etc/cron.user.d.

D.

In the .crontab file in the user's home directory.

E.

In the file /var/cron/user-crontab which is shared by all users.

Buy Now
Questions 41

What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.)

Options:

A.

The user bob is removed from the system's user database.

B.

The user bob's home directory is removed.

C.

The locate database is updated to drop files owned by bob.

D.

All files owned by bob are remove from all mounted filesystems.

E.

In case bob was the last member of a group, that group is deleted.

Buy Now
Questions 42

To prevent a specific user from scheduling tasks with at, what should the administrator do?

Options:

A.

Add the specific user to /etc/at.allow file.

B.

Add the specific user to [deny] section in the /etc/atd.conf file.

C.

Add the specific user to /etc/at.deny file.

D.

Add the specific user to nojobs group.

E.

Run the following: atd --deny [user].

Buy Now
Questions 43

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

Options:

A.

usermod

B.

passwd

C.

chattr

D.

chage

E.

chsh

Buy Now
Questions 44

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

Options:

A.

cat UTC > /etc/timezone

B.

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

C.

date --timezone=UTC

D.

mv /usr/timezone/UTC /etc

Buy Now
Questions 45

Which of the following can the chage command NOT change?

Options:

A.

The number of days since January 1, 1970 after which the user's account will no longer be accessible.

B.

The number of days since January 1, 1970 after which the password can change.

C.

The number of days since January 1, 1970 since the password was last changed.

D.

The maximum number of days during which a password is valid.

E.

The number of days of inactivity after a password has expired before the account is locked.

Buy Now
Questions 46

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

Options:

Buy Now
Questions 47

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

Options:

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

Buy Now
Questions 48

Which of the following keywords can be used in the file /etc/resolv.conf? (Choose TWO correct answers.)

Options:

A.

substitute

B.

nameserver

C.

search

D.

lookup

E.

method

Buy Now
Questions 49

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?

Options:

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.

Buy Now
Questions 50

Which of the following is true about IPv6?

Options:

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.

Buy Now
Questions 51

What is true regarding a default route?

Options:

A.

The default route is always used first. When the default route is not available more specific routes are tried.

B.

When a default route is set, all other routes are disabled until the default route is deleted.

C.

The default route is only used if there is not a more specific route to a destination host or network.

D.

Without a default route, no network communication even in directly attached networks is possible.

Buy Now
Questions 52

Which of the following keywords can be used in the file /etc/nsswitch.conf to specify a source for host name lookups? (Choose TWO correct answers.)

Options:

A.

resolv

B.

dns

C.

remote

D.

files

E.

hosts

Buy Now
Questions 53

What is the command to delete the default gateway from the system IP routing table? (Choose TWO correct answers.)

Options:

A.

route del default

B.

ifconfig unset default

C.

netstat -r default

D.

ip route del default

E.

sysctl ipv4.default_gw=0

Buy Now
Questions 54

Which keyword must be listed in the hosts option of the Name Service Switch configuration file in order to make host lookups consult the /etc/hosts file?

Options:

Buy Now
Questions 55

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.

Options:

Buy Now
Questions 56

Your senior administrator asked you to change the default background of his machine, which uses XDM. Which file would you edit to achieve this?

Options:

A.

/etc/X11/xdm/Xsetup

B.

/etc/X11/xdm.conf

C.

/etc/X11/xdm/Defaults

D.

/etc/X11/defaults.conf

Buy Now
Questions 57

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

Options:

A.

xkb

B.

atkb

C.

GOK

D.

xOSK

Buy Now
Questions 58

What is the purpose of a screen reader?

Options:

A.

It reads text displayed on the screen to blind or visually impaired people.

B.

It reads the parameters of the attached monitors and creates an appropriate X11 configuration.

C.

It displays lines and markers to help people use speed reading techniques.

D.

It manages and displays files that contain e-books.

Buy Now
Questions 59

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

Options:

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

Buy Now
Exam Code: 102-500
Exam Name: LPIC-1 Exam 102, Part 2 of 2, version 5.0
Last Update: May 2, 2024
Questions: 197
$64  $159.99
$48  $119.99
$40  $99.99
buy now 102-500