010-160 Practice Exam Tests Latest Updated on Sep-2021 [Q35-Q56]

Share

010-160 Practice Exam Tests Latest Updated on Sep-2021

Pass 010-160 Exam in First Attempt Guaranteed Dumps!

NEW QUESTION 35
Which of the following commands puts the lines of the file data.csv into alphabetical order?

  • A. a..z data.csv
  • B. abc data.csv
  • C. sort data.csv
  • D. grep --sort data.csv
  • E. wc -s data.csv

Answer: C

 

NEW QUESTION 36
Which of the following statements regarding Linux hardware drivers is correct?

  • A. Drivers are stored on their devices and are copied by the Linux kernel when a new device is attached
  • B. Drivers are not used by Linux because the BIOS handles all access to hardware on behalf of Linux.
  • C. Drivers are either compiled into the Linux kernel or are loaded as kernel modules.
  • D. Drivers are regular Linux programs which have to be run by the user who wants to use a device.
  • E. Drivers are downloaded from the vendor's driver repository when a new device is attached.

Answer: C

 

NEW QUESTION 37
Which of the following DNS record types hold an IP address? (Choose two.)

  • A. AAAA
  • B. NS
  • C. CNAME
  • D. A
  • E. MX

Answer: D,E

 

NEW QUESTION 38
What is true about the su command?

  • A. It locks the root account in specific time frames.
  • B. It is the default shell of the root account.
  • C. It changes the name of the main administrator account.
  • D. It can only be used by the user root.
  • E. It runs a shell or command as another user.

Answer: E

 

NEW QUESTION 39
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 keep records in the browser history.
  • B. Private web browser windows do not support logins into websites.
  • C. Private web browser windows do not send regular stored cookies.
  • D. Private web browser windows do not allow printing or storing websites.
  • E. Private web browser windows do not store cookies persistently.

Answer: A,C,E

 

NEW QUESTION 40
Which of the followingoutputs could stem from the commandlast?

  • A. Last login: Fri Mar 23 10:56:39 2018 from server.example.com
  • B. Password for user last changed at Sat Mar 31 16:38:57 EST 2018
  • C. 1 ls
    2 cat text.txt
    3 logout
  • D. root tty2 Wed May 17 21:11 - 21:11 (00:00)
  • E. EXT4-fs (dm-7): mounted filesystem with ordered data mode. Opts: (null)

Answer: D

 

NEW QUESTION 41
Why are web browser cookies considered dangerous?

  • A. Cookies support identification and tracking of users.
  • B. Cookies are always public and accessible to anyone on the internet.
  • C. Cookies consume significant amounts of storage and can exhaust disk space.
  • D. Cookies can contain and execute viruses and malware.
  • E. Cookies store critical data which is lost when a cookie is deleted.

Answer: A

 

NEW QUESTION 42
The current directory contains the following file:
-rw-r-r- 1 root exec 24551 Apr 2 12:36 test.sh
The file contains a validshell script, but executing this file using./test.shleads to this error:
bash: ./test.sh: Permission denied
What should be done in order to successfully execute the script?

  • A. The user executing the script should be added to theexecgroup.
  • B. The SetUID bit should be set in the file's permissions
  • C. The script should be run using#!./test. shinstead of./test.sh.
  • D. The execute bit should be set in the file's permissions.
  • E. The file's extension should be changed from .shto.bin.

Answer: D

 

NEW QUESTION 43
Which of the following commands adds the directory /new/dir/ to the PATHenvironment variable?

  • A. export PATH=/new/dir: PATH
  • B. $PATH=/new/dir: $PATH
  • C. PATH=/new/dir: PATH
  • D. export PATH=/new/dir: $PATH
  • E. export $PATH=/new/dir: $PATH

Answer: D

Explanation:
Explanation/Reference:

 

NEW QUESTION 44
What is the purpose of the PATH environment variable?

  • A. It increases security by preventing commands from running in certain locations.
  • B. It specifies the location of a user's home directory.
  • C. It contains the absolute path to the current directory.
  • D. It indicates the location of the default shell to be used when a user logs in.
  • E. It allows the execution of commands without the need to know the location of the executable.

Answer: E

 

NEW QUESTION 45
Which of the following commands can be used to resolve a DNSname to an IP address?

  • A. iplookup
  • B. host
  • C. dns
  • D. dnsname
  • E. query

Answer: B

 

NEW QUESTION 46
A directory contains the following three files:
texts 1.txt
texts 2.txt
texts 3.csv
Which command copies the two files ending in.txtto the/tmp/directory?

  • A. cp.\.txt /tmp/
  • B. cp $?.txt /tmp/
  • C. cp ??.txt /tmp/
  • D. cp ?.txt /tmp/
  • E. cp *.txt /tmp/

Answer: E

 

NEW QUESTION 47
Which of the following programs are web servers? (Choose two.)

  • A. Postfix
  • B. NGINX
  • C. Apache HTTPD
  • D. Dovecot
  • E. Curl

Answer: B,C

 

NEW QUESTION 48
What are the differences between hard disk drives and solid state disks? (Choose two correct answers.)

  • A. Hard disks have a motor and moving parts, solid state disks do not.
  • B. /dev/sdais a hard disk device while /dev/ssdais a solid state disk.
  • C. Hard disks can fail due to physical damage, while solid state disks cannot fail.
  • D. Solid state disks can store many times as much data as hard disk drives.
  • E. Solid state disks provide faster access to stored data than hard disks.

Answer: A,E

 

NEW QUESTION 49
Members of a team already have experience using Red Hat Enterprise Linux. For a small hobby project,
the team wants to set up a Linux server without paying for a subscription. Which of the following Linux
distributions allows the team members to apply as much of their Red Hat Enterprise Linux knowledge as
possible?

  • A. Raspbian
  • B. Debian GNU/Linux
  • C. openSUSE
  • D. Ubuntu Linux LTS
  • E. CentOS

Answer: E

 

NEW QUESTION 50
Which of the following permissions are set on the/tmp/directory?

  • A. rwxrwxrwt
  • B. ------rwX
  • C. r-xr-X--t
  • D. rwxrwS---
  • E. rwSrw-rw-

Answer: A

 

NEW QUESTION 51
Which of the following commands output the content of the file Texts 2.txt? (Choose two.)

  • A. cat |Texts 2.txt|
  • B. cat 'Texts 2.txt'
  • C. cat 'Texts\ 2.txt'
  • D. cat Texts\ 2.txt
  • E. cat -- Texts 2.txt

Answer: B,E

 

NEW QUESTION 52
What is true about the owner of a file?

  • A. Each file is owned by exactly one user and one group.
  • B. The owner of a file cannot be changed once it is assigned to an owner.
  • C. The owner of a file always has full permissions when accessing the file.
  • D. The user owning a file must be a member of the file's group.
  • E. When a user is deleted, all files owned by the user disappear.

Answer: A

 

NEW QUESTION 53
Which of the following characters in a shell prompt indicates the shell is running with root privileges?

  • A. !
  • B. #
  • C. $
  • D. &
  • E. *

Answer: B

 

NEW QUESTION 54
When typing a long command line at the shell, what can be used to split a command across multiple lines?

Answer:

Explanation:
\

 

NEW QUESTION 55
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. export MYVAR=value
  • B. env MYVAR=value
  • C. !MYVAR=value
  • D. $MYVAR=value
  • E. MYVAR=value

Answer: A

 

NEW QUESTION 56
......

LPI Linux Essentials  Free Certification Exam Material from ExamsLabs with 80 Questions: https://www.examslabs.com/Lpi/LPI-Linux-Essentials/best-010-160-exam-dumps.html

010-160 Dumps Full Questions - Exam Study Guide: https://drive.google.com/open?id=1TH4Vv_1jDpF2U_-Ck7QRvcO5Uz2HFYnK