最新の2024年03月試験010-160日本語問題集で合格させる認証試験合格させます [Q20-Q36]

Share

最新の2024年03月試験010-160日本語問題集で合格させる認証試験合格させます

最新でリアルなLpi 010-160日本語試験問題集解答があります

質問 # 20
ハードディスクドライブとソリッドステートディスクの違いは何ですか? (正しい答えを2つ選んでください。)

  • A. / dev / sdaはハードディスクデバイス、/ dev / ssdaはソリッドステートディスクです。
  • B. ソリッドステートディスクは、ハードディスクドライブの何倍ものデータを保存できます。
  • C. ハードディスクにはモーターと可動部品がありますが、ソリッドステートディスクにはありません。
  • D. ハードディスクは物理的な損傷によって故障する可能性がありますが、ソリッドステートディスクは故障することはできません。
  • E. ソリッドステートディスクは、ハードディスクよりも保存データへのアクセスが高速です。

正解:C、E


質問 # 21
/ etc / passwdにはどのような情報が格納されていますか? (正しい答えを3つ選んでください。)

  • A. ユーザーの記憶域制限
  • B. ユーザー名
  • C. 数値のユーザーID
  • D. 暗号化パスワード
  • E. ユーザーのデフォルトシェル

正解:B、C、E

解説:
Explanation
The /etc/passwd file is a plain text-based database that contains information for all user accounts on the system. It is owned by root and has 644 permissions. The file can only be modified by root or users with sudo privileges and readable by all system users. Each line of the /etc/passwd file contains seven comma-separated fields, representing a user account. The fields are as follows:
* Username: The string you type when you log into the system. Each username must be a unique string on the machine. The maximum length of the username is restricted to 32 characters.
* Password: In older Linux systems, the user's encrypted password was stored in the /etc/passwd file. On most modern systems, this field is set to x, and the user password is stored in the /etc/shadow file.
* User ID (UID): The user identifier is a number assigned to each user by the operating system to refer to a user. It is used by the kernel to check for the user privileges and grant access to system resources. The UID 0 is reserved for the root user and cannot be assigned to any other user.
* Group ID (GID): The user's group identifier number, referring to the user's primary group. When a user creates a file, the file's group is set to this group. Typically, the name of the group is the same as the name of the user. User's secondary groups are listed in the /etc/group file.
* User ID Info (GECOS): This is a comment field. This field contains a list of comma-separated values with the following information: User's full name or the application name, Room number, Work phone number, Home phone number, Other contact information.
* Home directory: The absolute path to the user's home directory. It contains the user's files and configurations. By default, the user home directories are named after the name of the user and created under the /home directory.
* Login shell: The absolute path to the user's login shell. This is the shell that is started when the user logs into the system. On most Linux distributions, the default login shell is Bash.
Therefore, the correct answers are B, C, and E. The user's storage space limit (A) is not stored in the
/etc/passwd file, but in the /etc/quota file. The encrypted password (D) is not stored in the /etc/passwd file, but in the /etc/shadow file. References:
* Linux Essentials Topic 104: The Linux Operating System, section 104.4: Runlevels and Boot Targets.
* Linux Essentials Topic 106: Security and File Permissions, section 106.1: Basic security and identifying user types.
* Linux Essentials Topic 106: Security and File Permissions, section 106.2: Creating users and groups.
* Understanding the /etc/passwd File | Linuxize
* Understanding the /etc/passwd File - GeeksforGeeks
* passwd(5) - Linux manual page - man7.org
* Understanding /etc/passwd file in Linux - DEV Community


質問 # 22
ディレクトリには、次の3つのファイルがあります。
texts 1.txt
texts 2.txt
texts 3.csv
どのコマンドが、.txtで終わる2つのファイルを/ tmp /ディレクトリにコピーしますか?

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

正解:B

解説:
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


質問 # 23
フリーソフトウェアライセンスとは何ですか?

  • A. 許諾ソフトウェアの変更および頒布の条件
  • B. 各貢献者が提供しなければならない技術文書の詳細。
  • C. 許諾ソフトウェアの使用目的の制限
  • D. ライセンスソフトウェアをコンパイルするのに必要なライブラリの完全なリスト。
  • E. ライセンスプログラムを拡張するために使用される可能性があるプログラミング言語。

正解:A

解説:
Explanation
A free software license is a notice that grants the recipient of a piece of software extensive rights to modify and redistribute that software. These actions are usually prohibited by copyright law, but the rights-holder (usually the author) of a piece of software can remove these restrictions by accompanying the software with a software license which grants the recipient these rights. Software using such a license is free software (or free and open-source software) as conferred by the copyright holder. Free software licenses grant users the freedom to use it for any purpose, study and change the source code and copy and redistribute the software with or without modifications. Free software must come with source code or provide access to it, while the freedom to redistribute includes the right to give away copies gratis as well as sell copies1 References: 1: Free-software license - Wikipedia


質問 # 24
Linuxハードウェアドライバーに関する次の記述のうち正しいものはどれですか?

  • A. BIOSはLinuxに代わってハードウェアへのすべてのアクセスを処理するため、Linuxではドライバーは使用されません。
  • B. ドライバーは、デバイスを使用するユーザーが実行する必要がある通常のLinuxプログラムです。
  • C. ドライバーはLinuxカーネルにコンパイルされるか、カーネルモジュールとしてロードされます。
  • D. ドライバーはデバイスに保存され、新しいデバイスが接続されるとLinuxカーネルによってコピーされます
  • E. 新しいデバイスが接続されると、ベンダーのドライバーリポジトリからドライバーがダウンロードされます。

正解:C


質問 # 25

  • 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

正解:D


質問 # 26
ディレクトリのコンテンツの再帰的なリストを出力するlsのパラメーターは何ですか? (値またはパラメーターなしでオプション名のみを指定してください。)

正解:

解説:
lsR


質問 # 27
Raspberry Piのオペレーティングシステムはどこに保存されていますか?

  • A. Raspberry PiのIDEバスに接続されているマスターデバイスです。
  • B. Raspberry PiのファームウェアのBIOSの横にある読み取り専用パーティション。
  • C. Raspberry Piに装着されているリムーバブルSDカード
  • D. Raspberry PiのGPIOピンに接続されているLinux拡張モジュール上。
  • E. Raspberry Piに内蔵されている書き換え可能なフラッシュストレージ。

正解:C

解説:
Explanation
The Raspberry Pi uses an SD card (or microSD card for newer models) as its main storage device. This means that the operating system and any other files are stored on the SD card, which can be easily inserted or removed from the Raspberry Pi. The SD card also allows the user to switch between different operating systems by using different cards or partitions. The Raspberry Pi does not have any internal storage, such as a hard disk drive or a solid state drive, nor does it use any external devices, such as an IDE bus, a firmware partition, or a GPIO module, to store the operating system. References:
* Raspberry Pi OS - Raspberry Pi
* Choosing Storage for Raspberry Pi - Kingston Technology
* Beginner's Guide: How To Install a New OS on Raspberry Pi


質問 # 28
WebブラウザのCookieが危険なのはなぜですか?

  • A. Cookieにはウイルスやマルウェアが含まれて実行される可能性があります。
  • B. Cookieはユーザーの識別と追跡をサポートします。
  • C. クッキーは常に一般公開されており、インターネット上の誰でもアクセスできます。
  • D. Cookieは大量のストレージを消費し、ディスク容量を使い果たす可能性があります。
  • E. Cookieは、Cookieが削除されると失われる重要なデータを保存します。

正解:B

解説:
Explanation
Web browser cookies are small pieces of data that are stored by a website on a user's browser. They are used to remember information about the user, such as preferences, login details, shopping cart items, etc. Cookies can also be used to identify and track users across different websites, which can have implications for privacy and security. For example, cookies can be used to show targeted ads based on the user's browsing history, or to collect personal information without the user's consent. Cookies are not inherently dangerous, but they can pose some risks if they are misused or compromised by malicious actors. References:
* Linux Essentials - Linux Professional Institute (LPI), section 1.4.2
* 1.4 Lesson 1 - Linux Professional Institute Certification Programs, slide 18


質問 # 29
次の出力のどれがcommandlastから生じる可能性がありますか?

  • A. 1 ls
    2 cat text.txt
    3 logout
  • B. ユーザーのパスワードが土曜日3月31日16:38:57 EST 2018に最後に変更された
  • C. root tty2 Wed May 17 21:11 - 21:11 (00:00)
  • D. EXT4-fs(dm-7):Ordered Dataモードのマウント済みファイルシステム。オプション:(null)
  • E. 最終ログイン:Fri Mar 23 10:56:39 2018 from server.example.com

正解:C


質問 # 30
どのコマンドがファイル名のみを表示し、追加情報を表示しませんか?

  • A. ls -l
  • B. ls -a
  • C. ls -lh
  • D. ls -nl
  • E. ls -alh

正解:B


質問 # 31
現在のディレクトリのファイルscript.shには、次のコンテンツが含まれています。
#!/ bin / bash echo $ MYVAR
このスクリプトを実行するには、次のコマンドを使用します。
MYVAR = value
./script.sh
結果は、変数MYVARの内容ではなく空の行です。 script.shにMYVARのコンテンツを表示させるには、MYVARをどのように設定する必要がありますか?

  • A. env MYVAR = value
  • B. MYVAR = value
  • C. $ MYVAR = value
  • D. MYVAR = valueをエクスポート
  • E. !MYVAR = value

正解:D

解説:
Explanation
The reason why the script.sh does not display the content of the variable MYVAR is that the variable is not exported to the environment of the script. When a script is executed, it runs in a separate process that inherits the environment variables from the parent process, but not the shell variables. A shell variable is a variable that is defined and visible only in the current shell session, while an environment variable is a variable that is exported to the environment and visible to all processes that run in that environment1.
To make a shell variable an environment variable, we need to use the export command. The export command takes a shell variable name and adds it to the environment of the current shell and any subshells or processes that are created from it2. For example, to export the variable MYVAR with the value value, we can use:
export MYVAR=value
This will make the variable MYVAR available to the script.sh when it is executed, and the script will print the value of MYVAR as expected. Alternatively, we can also use the export command with the -n option to remove a variable from the environment, or with the -p option to list all the environment variables2.
The other options are not valid ways to set MYVAR as an environment variable. The !MYVAR=value option is not a valid syntax for setting a variable in bash. The env MYVAR=value option will run the env command with the MYVAR=value argument, which will print the environment variables with the addition of MYVAR=value, but it will not affect the current shell or the script.sh3. The MYVAR=value option will set MYVAR as a shell variable, but not as an environment variable, so it will not be visible to the script.sh1. The
$MYVAR=value option will try to set the variable whose name is the value of MYVAR to the value value, which is not what we want4. References:
* Linux Essentials Exam Objectives, Version 1.6, Topic 103.1, Weight 2
* Linux Essentials Certification Guide, Chapter 3, Page 51-52
* env(1) - Linux manual page
* Bash Variables - LinuxConfig.org


質問 # 32

  • A. Option C
  • B. Option D
  • C. Option A
  • D. Option E
  • E. Option B

正解:C


質問 # 33
次のコマンドのどれが/ homeディレクトリの下のfilefoo.txtを検索しますか?

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

正解:B

解説:
Explanation
The correct command to search for the file foo.txt under the directory /home is find /home -name foo.txt. This command uses the find command, which is used to search for files and directories that match certain criteria.
The first argument, /home, specifies the starting point of the search. The second argument, -name, indicates that the search is based on the name of the file or directory. The third argument, foo.txt, is the name of the file to be searched for. The find command will recursively search all the subdirectories under /home and print the path of any file or directory that matches the name foo.txt.
The other commands are incorrect for various reasons:
* A. search /home -file foo.txt is incorrect because there is no such command as search in Linux. The correct command for searching files and directories is find.
* B. search /home foo.txt is incorrect because, as mentioned above, there is no search command in Linux.
Also, this command does not use any option to specify the search criteria, such as -name, -type, -size, etc.
* C. find /home - file foo.txt is incorrect because the option -file is not valid. The correct option for specifying the type of file or directory is -type, followed by a letter that indicates the type, such as f for regular file, d for directory, l for symbolic link, etc. For example, find /home -type f -name foo.txt would
* search for a regular file named foo.txt under /home.
* E. find /home foo.txt is incorrect because this command does not use any option to specify the search criteria, such as -name, -type, -size, etc. This command will search for any file or directory that has foo.txt as part of its name, not exactly as its name. For example, this command will also match a file named barfoo.txt or a directory named foo.txt.bak.
References: : find command in Linux with examples - GeeksforGeeks : 15 Super Useful Examples of Find Command in Linux


質問 # 34
次のDNSレコードタイプのどれがIPアドレスを保持していますか? (2つ選択してください。)

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

正解:B、E

解説:
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


質問 # 35
フリーソフトウェアライセンスとは何ですか?

  • A. 許諾ソフトウェアの変更および頒布の条件
  • B. 各貢献者が提供しなければならない技術文書の詳細。
  • C. 許諾ソフトウェアの使用目的の制限
  • D. ライセンスソフトウェアをコンパイルするのに必要なライブラリの完全なリスト。
  • E. ライセンスプログラムを拡張するために使用される可能性があるプログラミング言語。

正解:A


質問 # 36
......

010-160日本語問題集を使って一日でLPI Linux Essentials試験最速合格:https://www.goshiken.com/Lpi/010-160J-mondaishu.html