102-500 exam questions for practice in 2021 Updated 195 Questions [Q42-Q60]

Share

102-500 exam questions for practice in 2021 Updated 195 Questions

Updated Nov-2021 Premium 102-500 Exam Engine pdf - Download Free Updated 195 Questions


Career Bonuses

After acing the LPI 102-500 exam, you can apply for many jobs and actually get a decent salary. The first job title that you can pursue is a Linux System Administrator, which will allow you to earn around $80,000 per annum. You can also become a Software Engineer and get up to $90,000 per year.

 

NEW QUESTION 42
Which of the following options in the chrony configuration file define remote time sources? (Choose two.)

  • A. server
  • B. source
  • C. pool
  • D. clock
  • E. remote

Answer: A,C

 

NEW QUESTION 43
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.)

Answer:

Explanation:
https://lh3.googleusercontent.com/-5cd-clmKnbk/AAAAAAAAAAI/AAAAAAAAADM/-SXesH19Ido/s4/etc/hosts.allow

 

NEW QUESTION 44
Which of the following statements is true if the UID of a regular user is identical to the GID of a group?

  • A. UIDs and GIDs are independent of each other, therefore the user as well as the group are still available.
  • B. UID have precedence over GIDs, therefore the user is available while the group doesn't.
  • C. GIDs have precedence over UIDs, therefore the group is available while the user isn't.
  • D. The user is the only member of the group, even if the group configuration contains other members.
  • E. The user as well as the group are not available to avoid ambiguity due to the ID conflict.

Answer: A

 

NEW QUESTION 45
Which configuration file would be edited to change default options for the OpenSSH server?

  • A. /etc/ssh/ssh
  • B. /etc/ssh/ssh_config
  • C. /etc/ssh/server
  • D. /etc/ssh/ssh_server
  • E. /etc/ssh/sshd_config

Answer: E

 

NEW QUESTION 46
FILL BLANK
What command enables a network interface according to distribution-specific configuration, such as /etc/ network/interfaces or /etc/sysconfig/network-scripts/ifcfg-eth0? (Specify only the command without any path or parameters.)

Answer:

Explanation:
up

 

NEW QUESTION 47
Which of the following fields can be found in the /etc/group file? (Choose THREE correct answers.)

  • A. The list of users that belong to the group.
  • B. The password of the group.
  • C. The home directory of the group.
  • D. The name of the group.
  • E. The description of the group.

Answer: A,B,D

 

NEW QUESTION 48
Which of the following commands will delete the default gateway from the system's IP routing table? (Choose two.)

  • A. sysctl ipv4.default_gw=0
  • B. ifconfig unset default
  • C. ip route del default
  • D. netstat -r default
  • E. route del default

Answer: C,E

 

NEW QUESTION 49
Why is the xhost program considered dangerous to use?

  • A. It makes it difficult to uniquely identify a computer on the network.
  • B. It is a graphical DNS tool with known exploits.
  • C. It makes your computer share network resources without any authentication.
  • D. It allows easy access to your X server by other users.
  • E. It logs sensitive information to syslog.

Answer: D

 

NEW QUESTION 50
What output will the following command sequence produce?
echo '1 2 3 4 5 6' | while read a b c; do
echo result: $c $b $a;
done

  • A. result: 1 2 3 4 5 6
  • B. result: 3 2 1
  • C. result: 6 5 4 3 2 1
  • D. result: 3 4 5 6 2 1
  • E. result: 6 5 4

Answer: D

 

NEW QUESTION 51
What output will the command seq 10 produce?

  • A. The numbers 1 through 10 with one number per line.
  • B. The numbers 0 through 9 with one number per line.
  • C. A continuous stream of numbers increasing in increments of 10 until stopped.
  • D. The number 10 to standard output.

Answer: A

 

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

  • A. substitute
  • B. lookup
  • C. method
  • D. nameserver
  • E. search

Answer: D,E

 

NEW QUESTION 53
How does the ping command work by default?

  • A. Is sends an ICMP Echo Request to a remote host and waits to receive an ICMP Echo Response in return.
  • B. It sends a TCP SYN packet to a remote host and waits to receive an TCP ACK response in return.
  • C. Is sends a broadcast packet to all hosts on the net and waits to receive, among others, a response from the target system.
  • D. It sends an ARP request to a remote host and waits to receive an ARP response in return.
  • E. It sends a UDP packet to port 0 of the remote host and waits to receive a UDP error response in return.

Answer: A

 

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

  • A. CASE
  • B. FROM
  • C. WHERE
  • D. IF

Answer: C

 

NEW QUESTION 55
If an alias ls exists, which of the following commands updates the alias to point to the command ls -l instead of the alias's current target?

  • A. realias ls='ls -l'
  • B. set ls='ls -l'
  • C. alias --update ls ls='ls -l'
  • D. alias ls='ls -l'
  • E. alias --force ls='ls -l'

Answer: D

 

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

  • A. Because NTP chooses servers nearby based on the configured time zone.
  • B. Because the environment variables LANG and LC_MESSAGES are, by default, set according to the time zone.
  • C. Because the time zone is saved as part of the modification times of files and cannot be changed after a file is created.
  • D. Because the conversion of Unix timestamps to local time relies on the time zone configuration.

Answer: D

 

NEW QUESTION 57
Which of the following can the chage command NOT change?

  • A. The number of days of inactivity after a password has expired before the account is locked.
  • B. The number of days since January 1, 1970 after which the user's account will no longer be accessible.
  • C. The maximum number of days during which a password is valid.
  • D. The number of days since January 1, 1970 since the password was last changed.
  • E. The number of days since January 1, 1970 after which the password can change.

Answer: E

 

NEW QUESTION 58
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)

Answer:

Explanation:
/etc/skel, /etc/skel/

 

NEW QUESTION 59
Which of the following fields can be found in the /etc/group file? (Choose two.)

  • A. The list of users that belong to the group.
  • B. The home directory of the group.
  • C. The name of the group.
  • D. The default group ACL.
  • E. The description of the group.

Answer: A,C

 

NEW QUESTION 60
......

Authentic 102-500 Dumps With 100% Passing Rate Practice Tests Dumps: https://www.lead1pass.com/Lpi/102-500-practice-exam-dumps.html

Lpi 102-500 Real Exam Questions Guaranteed Updated Dump from Lead1Pass : https://drive.google.com/open?id=1m1AMK8c_ZWn4EDNnpJnS1eZ32MBt9wym