Certified of LX0-102 free question materials and pdf for CompTIA certification for client, Real Success Guaranteed with Updated LX0-102 pdf dumps vce Materials. 100% PASS Today!
2021 Mar LX0-102 Study Guide Questions:
Q61. To test a shell script called myscript, the environment variable FOOBAR must be removed temporarily. How can this be done?
A. unset -v FOOBAR
B. set -a FOOBAR=""
C. env -u FOOBAR myscript
D. env -i FOOBAR myscript
Q62. An administrator has a user whose account needs to be disabled but not removed. Which of the following should the administrator do?
A. Edit /etc/gshadow and just remove the user name. and just remove the user? name.
B. Edit /etc/passwd and change all numbers to 0.
C. Edit /etc/shadow and remove the last field.
D. Edit /etc/passwd and insert an * after the first : .
E. Edit /etc/group file and put a # sign in front of the user name. sign in front of the user? name.
Q63. Which of the following find commands will print out a list of suid root files in /usr?
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
Q64. 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;
Q65. Which of the following 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
Up to date LX0-102 test questions:
Q66. Which of the following statements is true regarding the below /etc/resolv.conf file? search example.com 127.0.0.1 184.108.40.206
A. There is a syntax error.
B. If DNS queries to the localhost fail, the server 220.127.116.11 will be queried.
C. example.com will be appended to all host lookups.
D. The DNS servers at 127.0.0.1 and 18.104.22.168 will be queried in a round robin fashion.
E. The DNS server with the shortest ping time will be queried first. If the lookup fails, the second server will be queried.
Q67. All of the following are Mail Transport Agents EXCEPT:
Q68. Which of the following is the purpose of the dig command?
A. To adjust a directory's hidden permissions
B. To search for files on the filesystem
C. To adjust a file's hidden permissions
D. To perform hostname lookups
E. To ping all known hosts on the current subnet
Q69. By default, which directories contents will be copied to a new user's home directory when the account is created, passing the -m option to the useradd command?
Q70. While performing a security audit, an administrator discovers that a machine is accepting connections on TCP port 184, but it is not obvious which process has the port open. Which of the following programs should the administrator use to find out?
100% Correct LX0-102 real exam:
Q71. The files in the /etc/skel directory are used by the:
A. pwconv command
B. pwunconv command
C. useradd command
D. passwd command
Q72. Which of the following configuration files does sudo read when determining if a user is permitted to run applications with root privileges?
Q73. Please specify the directory containing the configuration files for the CUPS printing system. (Provide the full path to the directory).
Q74. Which of the following commands can be used to activate a specific network interface?
Q75. To slave the NTP daemon to an external source, an administrator needs to modify the ______ variable in the /etc/ntp.conf file.