無料更新されたLpi 010-160テストエンジン問題には80問あります [Q47-Q71]

Share

無料更新されたLpi 010-160テストエンジン問題には80問あります

ベストな問題集を使おうLPI Linux Essentials 010-160専門試験問題


Lpi 010-160試験は、40問からなる多肢選択試験です。受験者には60分の時間が与えられ、合格には少なくとも66%のスコアが必要です。試験は、英語、日本語、ポルトガル語、スペイン語など、いくつかの言語で利用可能です。受験者は、Lpiのテストセンターまたはオンライン監視サービスを通じて試験を受けることができます。

 

質問 # 47
Which of the following devices represents a hard disk partition?

  • A. /dev/part0
  • B. /dev/sda/p2
  • C. /dev/sata0
  • D. /dev/ttyS0
  • E. /dev/sda2

正解:E

解説:
Explanation
The correct device name that represents a hard disk partition is /dev/sda2. This device name follows the Linux convention for naming hard disk devices and partitions. According to this convention123:
* The first part of the device name indicates the type of the device. For example, /dev/hd* for IDE drives,
/dev/sd* for SCSI, SATA, USB, or eSATA drives, /dev/nvme* for NVMe drives, etc.
* The second part of the device name indicates the order of the device as detected by the system. For example, /dev/sda is the first serial drive, /dev/sdb is the second serial drive, and so on.
* The third part of the device name indicates the number of the partition on the device. For example,
/dev/sda1 is the first partition on the first serial drive, /dev/sda2 is the second partition on the first serial drive, and so on.
Therefore, /dev/sda2 means the second partition on the first serial drive, which is a valid hard disk partition.
The other options are not valid hard disk partitions, because they do not follow the Linux convention. For example:
* /dev/ttyS0 is a serial port device, not a hard disk device4.
* /dev/sata0 is not a valid device name, because it does not specify the partition number. It should be something like /dev/sata0p1 or /dev/sata0p2, etc.
* /dev/part0 is not a valid device name, because it does not specify the device type or the partition number. It should be something like /dev/sdXp0 or /dev/hdXp0, etc.
* /dev/sda/p2 is not a valid device name, because it uses a slash (/) instead of a number to indicate the partition. It should be something like /dev/sda2 or /dev/sda3, etc.
References: 1: Hard drive/device partition naming convention in Linux - Unix & Linux Stack Exchange 2:
Hard drive partition naming convention in Linux - Ask Ubuntu 3: C.4. Device Names in Linux - Debian 4:
What is /dev/ttyS0? - Quora


質問 # 48
Running the command rm Downloadsleads to the following error:
rm: cannot remove 'Downloads/': Is a directory
Which of the following commands can be used instead to remove Downloads, assuming Downloadsis empty? (Choose two.)

  • A. rm -r Downloads
  • B. rem Downloads
  • C. undir Downloads
  • D. dir -r Downloads
  • E. rmdir Downloads

正解:A、E


質問 # 49
Which ofthe following commands creates an archive filework.tarfrom the contents of the directory./ work/?

  • A. tar -create work.tgz -content ./work/
  • B. tar --new work.tar ./work/
  • C. tar -cf work.tar ./work/
  • D. tar work > work.tar
  • E. tar work.tar < ./work/

正解:C


質問 # 50
Which of the following commands adds the directory/new/dir/to thePATHenvironment variable?

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

正解:A

解説:
Explanation
The PATH environment variable is a colon-separated list of directories that the shell searches for commands.
To add a new directory to the PATH, you need to append it to the existing value of the variable, using the syntax PATH=new/dir:PATH. However, this only changes the PATH for the current shell session. To make the change permanent, you need to use the export command, which makes the variable available to all child processes of the shell. The export command takes the name of the variable as an argument, without the dollar sign ($). Therefore, the correct command to add /new/dir/ to the PATH and export it is export PATH=/new/dir:PATH. References:
* Linux Essentials - Linux Professional Institute (LPI)
* How to set the path and environment variables in Windows - Computer Hope


質問 # 51
Which of the following commands will search for the filefoo.txtunder the directory/home?

  • A. find /home - file foo.txt
  • B. search /home -file foo.txt
  • C. find /home foo.txt
  • D. search/home foo. txt
  • E. find /home -name foo.txt

正解:E


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

正解:A、D、E


質問 # 53
Which of the following characters in a shell prompt indicates the shell is running with root privileges?

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

正解:D


質問 # 54
Which of the following DNS record types hold an IP address? (Choose two.)

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

正解:B、D

解説:
Explanation
The DNS record types that hold an IP address are the A and AAAA records. These records are used to map a domain name to an IP address of the host, which is necessary for establishing a connection between a client and a server. The A record holds a 32-bit IPv4 address, while the AAAA record holds a 128-bit IPv6 address.
For example, the A record for www.example.com could be:
www.example.com. IN A 192.0.2.1
This means that the domain name www.example.com resolves to the IPv4 address 192.0.2.1. Similarly, the AAAA record for www.example.com could be:
www.example.com. IN AAAA 2001:db8::1
This means that the domain name www.example.com resolves to the IPv6 address 2001:db8::1.
The other options are incorrect because:
* NS records are used to specify the authoritative name servers for a domain. They do not hold an IP address, but a domain name of the name server. For example, the NS record for example.com could be:
example.com. IN NS ns1.example.com.
This means that the name server ns1.example.com is authoritative for the domain example.com.
* MX records are used to specify the mail exchange servers for a domain. They do not hold an IP address, but a domain name of the mail server and a preference value. For example, the MX record for example.com could be:
example.com. IN MX 10 mail.example.com.
This means that the mail server mail.example.com has a preference value of 10 for receiving email for the domain example.com.
* CNAME records are used to create an alias for a domain name. They do not hold an IP address, but another domain name that the alias points to. For example, the CNAME record for www.example.com could be:
www.example.com. IN CNAME example.com.
This means that the domain name www.example.com is an alias for the domain name example.com.
References:
* DNS Record Types: Defined and Explained - Site24x7
* List of DNS record types - Wikipedia


質問 # 55
Which of the following commands creates the ZIP archive poems.zip containing all files in the current directory whose names end in .txt?

  • A. zip *.txt > poems.zip
  • B. zcat *.txt poems.zip
  • C. zip poems.zip *.txt
  • D. zip cfz poems.zip *.txt
  • E. cat *.txt | zip poems.zip

正解:C

解説:
Explanation
The zip command is used to create compressed archive files that can contain one or more files or directories.
The zip command takes the name of the archive file as the first argument, followed by the names of the files or directories to be included in the archive. You can also use wildcards to match multiple files or directories with a common pattern. For example, the command zip poems.zip *.txt will create the ZIP archive poems.zip containing all files in the current directory whose names end in .txt. The other commands are either invalid or do not perform the desired operation. The command zip *.txt > poems.zip will try to create an archive for each file ending in .txt and redirect the output to poems.zip, which is not a valid archive file. The command zcat
*.txt poems.zip will try to decompress and concatenate the contents of the files ending in .txt and poems.zip, which is not a valid ZIP file. The command zip cfz poems.zip *.txt will fail because the options c, f, and z are not valid for the zip command. The command cat *.txt | zip poems.zip will try to read the contents of the files ending in .txt from the standard input and create an archive named poems.zip, but this will not preserve the file names or attributes of the original files. References:
* Linux Essentials - Linux Professional Institute (LPI), section 3.1.1
* 3.1 Archiving Files on the Command Line - Linux Professional Institute Certification Programs, slide


質問 # 56
What is true about links in a Linux file system?

  • A. Only the root user can create hard links.
  • B. A symbolic link can only point to a file and not to a directory.
  • C. When the target of the symbolic link is moved, the link is automatically updated.
  • D. A symbolic link can point to a file on another file system.
  • E. A hard link can only point to a directory and never to a file.

正解:D

解説:
Explanation/Reference:


質問 # 57
Which of the following programs is a graphical editor for vector graphics?

  • A. NGINX
  • B. Python
  • C. MySQL
  • D. Inkscape
  • E. Samba

正解:D

解説:
Explanation
A vector graphics editor is a software program that allows users to create and edit vector graphics, which are images composed of mathematical curves and shapes. Vector graphics are scalable, meaning they can be resized without losing quality or clarity. Python, NGINX, Samba, and MySQL are not vector graphics editors, but rather other types of software. Python is a programming language, NGINX is a web server, Samba is a file and print server, and MySQL is a database management system. Inkscape is a free and open source vector graphics editor that supports the SVG (Scalable Vector Graphics) format, as well as other formats. Inkscape can be used to create logos, icons, diagrams, illustrations, and other graphics. Inkscape is one of the applications covered in the Linux Essentials certification program from the Linux Professional Institute (LPI).
References:
* Linux Essentials - Linux Professional Institute (LPI)
* Draw Freely | Inkscape


質問 # 58
Why are web browser cookies considered dangerous?

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

正解:D

解説:
Explanation/Reference:


質問 # 59
What is true about links in a Linux file system?

  • A. Only the root user can create hard links.
  • B. A symbolic link can only point to a file and not to a directory.
  • C. When the target of the symbolic link is moved, the link is automatically updated.
  • D. A symbolic link can point to a file on another file system.
  • E. A hard link can only point to a directory and never to a file.

正解:D


質問 # 60
What are the differences between hard disk drives and solid state disks? (Choose two.)

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

正解:A、D


質問 # 61
A user is currently in the directory/home/user/Downloads/and runs the command ls ../Documents/ Assuming it exists, which directory's content is displayed?

  • A. /home/user/Downloads/Documents/
  • B. /Documents/
  • C. /home/user/Documents/Downloads/
  • D. /home/Documents
  • E. /home/user/Documents/

正解:E

解説:
Explanation
The command ls .../Documents/ lists the contents of the directory /home/user/Documents/. The reason is that the argument .../Documents/ is a relative path that refers to the parent directory of the current directory, which is /home/user/, followed by the subdirectory Documents/. The ls command displays the files and directories in the specified path, or the current directory if no path is given. The command does not change the current directory, so the user remains in /home/user/Downloads/. References:
* Linux Essentials Exam Objectives, Version 1.6, Topic 103.1, Weight 2
* Linux Essentials Certification Guide, Chapter 3, Page 49-50
* Ls Command in Linux (List Files and Directories) | Linuxize


質問 # 62
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'

正解:D、E


質問 # 63
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/

正解:D

解説:
Explanation
The correct command to copy the two files ending in .txt to the /tmp/ directory is cp *.txt /tmp/. This command uses the wildcard character * to match any number of characters beforethe .txt extension. Therefore, it will copy both texts 1.txt and texts 2.txt to the destination directory /tmp/. The other options are incorrect because they use different wildcard characters or syntax that do not match the desired files. For example, option A uses ?? to match exactly two characters before the .txt extension, but the files have a space and a number, which are not considered as one character. Option C uses a backslash \ to escape the dot . before the .txt extension, but this is unnecessary and will cause the command to fail. Option D uses ? to match exactly one character before the .txt extension, but the files have more than one character. Option E uses $? to match the exit status of the previous command before the .txt extension, but this is not relevant and will cause the command to fail123 References: 1: Linux wildcards | How do wildcards work in Linux with examples? - EDUCBA 2: Wildcards in Linux explained with 10 examples | FOSS Linux 3: What are wildcard characters in Linux? - Sage-Answers


質問 # 64
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 downloaded from the vendor's driver repository when a new device is attached.
  • C. Drivers are regular Linux programs which have to be run by the user who wants to use a device.
  • D. Drivers are either compiled into the Linux kernel or are loaded as kernel modules.
  • E. Drivers are not used by Linux because the BIOS handles all access to hardware on behalf of Linux.

正解:D


質問 # 65
Which of the followingoutputs could stem from the commandlast?

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

正解:E


質問 # 66
Running the commandrm Downloadsleads to the following error:
rm: cannot remove 'Downloads/': Is a directory
Which of the following commands can be used instead toremoveDownloads, assumingDownloadsis empty? (Choose two correct answers.)

  • A. rm -r Downloads
  • B. rem Downloads
  • C. undir Downloads
  • D. dir -r Downloads
  • E. rmdir Downloads

正解:A、E


質問 # 67
What is the return value of a shell script after successful execution?

  • A. 0
  • B. 1
  • C. 2
  • D. 3
  • E. 4

正解:B

解説:
Explanation
The return value of a shell script after successful execution is 0. This is a convention followed by most UNIX and Linux commands, programs, and utilities. A return value of 0 indicates that the command or script completed successfully, without any errors. A return value of non-zero (1-255) indicates that the command or script failed, and the value can be interpreted as an error code. The return value of a command or script is stored in the special variable $? and can be used to test the outcome of a command or script123. For example, the following script will print a message based on the return value of the ls command:
#!/bin/bash ls if [ $? -eq 0 ]; then echo "ls command executed successfully" else echo "ls command failed" fi References: 1: Exit and Exit Status - Linux Documentation Project 2: Linux Passwd Command Help and Examples 3: bash - Which is the best way to check return result? - Unix & Linux Stack Exchange


質問 # 68
A directory contains the following files:

What would be the output of the followingshell script?
for file in *.txt

  • A. A.txt
  • B. txt
  • C. A. txt
  • D. *.txt
  • E. a b
  • F. c.cav

正解:C


質問 # 69
Which of the following commands puts the lines of the file data.csv into alphabetical order?

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

正解:B


質問 # 70
What is true about the owner of a file?

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

正解:D


質問 # 71
......

100%の合格率を試そう!更新されたのは010-160試験問題 [2024年更新]:https://jp.fast2test.com/010-160-premium-file.html

合格させる010-160試験にはリアル問題解答:https://drive.google.com/open?id=13yKCj6p6LpWsYkKsnnyokONeaz9iNzc6


弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

我々の働いている時間: ( GMT 0:00-15:00 )
月曜日から土曜日まで

サポート: 現在連絡 

English Deutsch 繁体中文 한국어