[Full-Version] 2024 New 010-160 Actual Exam Dumps, Lpi Practice Test
Study HIGH Quality 010-160 Free Study Guides and Exams Tutorials
NEW QUESTION # 29
The file script.sh in the current directory contains the following content:
#!/bin/bash echo $MYVAR
The following commands are used to execute this script:
MYVAR=value
./script.sh
The result is an empty line instead of the content of the variable MYVAR. How should MYVAR be set in order to make script.sh display the content of MYVAR?
- A. MYVAR=value
- B. $MYVAR=value
- C. export MYVAR=value
- D. env MYVAR=value
- E. !MYVAR=value
Answer: C
NEW QUESTION # 30
Which of the following commands sets the variable USERNAME to the value bob?
- A. USERNAME<=bob
- B. set USERNAME bob
- C. var USERNAME=bob
- D. $USERNAME==bob
- E. USERNAME=bob
Answer: E
NEW QUESTION # 31
Which of the following keys can be pressed to exit less?
- A. e
- B. l
- C. x
- D. q
- E. !
Answer: D
NEW QUESTION # 32
What is the preferred source for the installation of new applications in a Linux based operating system?
- A. The distribution's package repository
- B. The vendor's website
- C. The vendor's version management system
- D. A CD-ROM disk
- E. A retail store
Answer: A
NEW QUESTION # 33
Which of the following values could be a process ID on Linux?
- A. 0
- B. 60b503cd-019e-4300-a7be-922f074ef5ce
- C. /sys/pid/9a14
- D. fff3
- E. /bin/bash
Answer: A
NEW QUESTION # 34
What is true about arecursive directory listing?
- A. It includes the permissions of the directory listed.
- B. Itincludes a preview of content for each file in the directory.
- C. It includes the content of sub-directories.
- D. It includes details of file system internals, such as inodes.
- E. It includes ownership information for the files.
Answer: C
NEW QUESTION # 35
Which of the following examples shows the general structure of a for loop in a shell script?
- A. for *.txt as file => echo $file
- B. for file in *.txt do
echo $i done - C. foreach @{file} { echo $i
} - D. for *.txt ( echo $i )
- E. for ls *.txt exec {} \;
Answer: B
NEW QUESTION # 36
What is true about the dmesgcommand? (Choose two.)
- A. It immediately outputs all new messages written to the system journal.
- B. It sends messages to the command lines of all current user sessions.
- C. It displays the content of the Linux kernel's ring buffer.
- D. It traces the execution of a command and shows each step the program carries out.
- E. It might not display older information because it was overwritten by newer information.
Answer: C,E
NEW QUESTION # 37
What are the differences between a private web browser window and a regular web browser window? (Choose three.)
- A. Private web browser windows do not support logins into websites.
- B. Private web browser windows do not send regular stored cookies.
- C. Private web browser windows do not keep records in the browser history.
- D. Private web browser windows do not allow printing or storing websites.
- E. Private web browser windows do not store cookies persistently.
Answer: B,C,E
NEW QUESTION # 38
Which files are the source of the information in the following output? (Choose two.) uid=1000 (bob) gid=1000 (bob) groups=1000 (bob), 10 (wheel), 150 (wireshark), 989 (docker), 1001 (libvirt)
- A. /etc/group
- B. /etc/passwd
- C. /var/db/users
- D. /etc/id
- E. /home/index
Answer: A,B
NEW QUESTION # 39
Why are web browser cookies considered dangerous?
- A. Cookies can contain and execute viruses and malware.
- B. Cookies store critical data which is lost when a cookie is deleted.
- C. Cookies support identification and tracking of users.
- D. Cookies consume significant amounts of storage and can exhaust disk space.
- E. Cookies are always public and accessible to anyone on the internet.
Answer: C
Explanation:
Explanation/Reference:
NEW QUESTION # 40
Which of the following outputs comes from the command free?
- A. Option D
- B. Option C
- C. Option B
- D. Option A
- E. Option E
Answer: E
NEW QUESTION # 41
What parameter of ls prints a recursive listing of a directory's content? (Specify ONLY the option name without any values or parameters.)
Answer:
Explanation:
lsR
NEW QUESTION # 42
Most commands on Linux can display information on their usage. How can this information typically be displayed?
- A. By running the command with the option /docor /documentation.
- B. By running the command with the option /?or /??.
- C. By running the command with the option -hor --help.
- D. By running the command with the option ?!or ?=!.
- E. By running the command with the option -mor --manpage.
Answer: E
Explanation:
Explanation
NEW QUESTION # 43
Which of the following types of bus can connect hard disk drives with the motherboard?
- A. The SATA bus
- B. The Auto bus
- C. The RAM bus
- D. The NUMA bus
- E. The CPU bus
Answer: A
NEW QUESTION # 44
What information can be displayed bytop?
- A. User accounts, ordered by the number of files.
- B. User groups, ordered by the number of members.
- C. Existing files, ordered by their size.
- D. User accounts, ordered by the number of logins.
- E. Running processes, ordered by CPU orRAM consumption.
Answer: E
NEW QUESTION # 45
A user is currently in thedirectory/home/user/Downloads/and runs the command ls ../Documents/ Assuming it exists, which directory's content is displayed?
- A. /home/user/Downloads/Documents/
- B. /home/user/Documents/Downloads/
- C. /home/Documents
- D. /home/user/Documents/
- E. /Documents/
Answer: E
NEW QUESTION # 46
Which of the following are typical services offered by public cloud providers? (Choose three.)
- A. Infrastructure as a Service(IaaS)
- B. Graphics as a Service (GaaS)
- C. Platform as a Service(PaaS)
- D. Internet as a Service(IaaS)
- E. Software as a Service (SaaS)
Answer: A,C,E
NEW QUESTION # 47
Which of the following examples shows the general structure of a forloop in a shell script?
for *.txt as file => echo $file
- A. for file in *.txt
- B. do
echo $i
done
for ls *.txt exec {} \; - C. echo $i
} - D. foreach @{file} {
- E. for *.txt ( echo $i )
Answer: B
NEW QUESTION # 48
Which of the following outputs comes from the command free?
- A.

- B.

- C.

- D.

- E.

Answer: D
NEW QUESTION # 49
Which command displays file names only and no additional information?
- A. ls -nl
- B. ls -a
- C. ls -alh
- D. ls -l
- E. ls -lh
Answer: B
NEW QUESTION # 50
......
Get 100% Real Free LPI Linux Essentials 010-160 Sample Questions: https://www.certkingdompdf.com/010-160-latest-certkingdom-dumps.html
Download Lpi 010-160 Exam Dumps to Pass Exam Easily: https://drive.google.com/open?id=1g4PxDZYyunpa1uINGnL4qpBWjESjgQbn