Lpi 010-160日本語問題集で必ず試験合格させる [Q19-Q40]

Share

Lpi 010-160日本語問題集で必ず試験合格させる

010-160日本語試験問題(更新されたのは2025年)100%リアル問題解答

質問 # 19
空欄を埋めてください
シェル スクリプトでループを開始するために使用するキーワードは何ですか? (追加情報なしで、キーワードを 1 つだけ指定します。)

正解:

解説:
for
Explanation:
The keyword for is used in a shell script to begin a loop that iterates over a list of items or a range of numbers. The syntax of the for loop is as follows:
for <var> in <list> do <commands> done
The variable <var> is assigned to each element of the <list> in turn, and the <commands> are executed for each iteration. The <list> can be a sequence of words, numbers, filenames, or other values. If the <list> is omitted, the for loop will iterate over the positional parameters ($1, $2, ...). The do and done keywords mark the beginning and the end of the loop body, respectively. The for loop is one of the three types of loops in shell scripting, along with the while and until loops. Reference: 1: Looping Statements | Shell Script - GeeksforGeeks 1 2: unix - Shell script "for" loop syntax - Stack Overflow 2 3: For Loop Shell Scripting - javatpoint 3


質問 # 20
次のLinuxディストリビューションのうち、Red Hat Enterprise Linuxから派生したものはどれですか?

  • A. Ubuntu
  • B. Debian
  • C. CentOS
  • D. Raspbian
  • E. openSUSE

正解:C

解説:
CentOS is a Linux distribution that is derived from Red Hat Enterprise Linux (RHEL). CentOS stands for Community Enterprise Operating System and it aims to provide a free, enterprise-class, community-supported computing platform that is functionally compatible with RHEL. CentOS is one of the most popular Linux distributions for servers and cloud computing. Raspbian, openSUSE, Debian and Ubuntu are other Linux distributions that are not derived from RHEL, but have their own origins and development histories. Raspbian is based on Debian and optimized for the Raspberry Pi. openSUSE is a community project sponsored by SUSE Linux and other companies. Debian is one of the oldest and most influential Linux distributions, and Ubuntu is derived from Debian and sponsored by Canonical Ltd. Reference:
Linux Essentials - Linux Professional Institute (LPI) 1
Linux Essentials Version 1.6 Update - Linux Professional Institute (LPI) 2 Free LPI 010-160 Questions - Pass LPI 010-160 - Pass4Success 3 LPI Linux Essentials Study Guide: Exam 010 v1.6, 3rd Edition 4


質問 # 21
次のプログラムのうちどれがベクターグラフィック用のグラフィカルエディタですか?

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

正解:D


質問 # 22
次のLinuxディストリビューションのうち、Red Hat Enterprise Linuxから派生したものはどれですか?

  • A. Ubuntu
  • B. Debian
  • C. CentOS
  • D. Raspbian
  • E. openSUSE

正解:C


質問 # 23
ディレクトリには次のファイルが含まれます。

次のシェル スクリプトの出力は何でしょうか?
*.txt形式のファイルの場合

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

正解:E

解説:
b. txt
Explanation:
The shell script uses a for loop to iterate over the files that match the pattern *.txt in the current directory. The pattern *.txt means any file name that ends with .txt, regardless of the case. The loop body simply prints the value of the variable file, which holds the name of the current file in each iteration. Therefore, the output of the shell script would be the names of the files that end with .txt, one per line. In this case, the files are A.txt and b.txt, so the output would be:
A .txt b.txt
This corresponds to option E. The other options are incorrect for the following reasons:
Option A: *.txt is not the output of the shell script, but the pattern that the loop uses to match the files. The shell expands the pattern to the actual file names before executing the loop.
Option B: a and b are not the names of the files, but the first characters of the file names. The loop prints the whole file name, including the extension.
Option C: c.cav is not a file that matches the pattern *.txt, because it has a different extension. The loop ignores files that do not end with .txt.
Option D: A.txt is only one of the files that matches the pattern *.txt, but not the only one. The loop prints both A.txt and b.txt.


質問 # 24
次のコマンドのどれがディレクトリ/ new / dir /をPATH環境変数に追加しますか?

  • 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

正解:C


質問 # 25

  • A. In the ARPA record for165.100.51.198.rev.
  • B. In the A record for165.100.51.198.ipv4.arpA.
  • C. In the PTR record for165.100.51.198.in-addr.arpA.
  • D. In the RNAME record for198-51-100-165.rev.arpA.
  • E. In the REV record forarpA.in-addr.198.51.100.165.

正解:C


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

  • 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


質問 # 27

  • A. x
  • B. l
  • C. e
  • D. q
  • E. !

正解:D


質問 # 28
/ proc /ディレクトリには何がありますか?

  • A. インストールされたプログラムごとに1つのディレクトリ。
  • B. ハードウェアデバイスごとに1つのデバイスファイル。
  • C. 既存のユーザーアカウントごとに1つのファイル。
  • D. 実行中のプロセスごとに1つのディレクトリ。
  • E. 実行中のサービスごとに1つのログファイル。

正解:D

解説:
Explanation
The /proc/ directory is a virtual file system that contains information about the system and the processes running on it. It is not a conventional file system that stores files on a disk, but rather a dynamic view of the kernel's data structures. One of the features of the /proc/ directory is that it contains one subdirectory for each process running on the system, which is named after the process ID (PID). For example, the subdirectory
/proc/1/ contains information about the process with PID 1, which is usually the init process. The process subdirectories contain various files that provide information about the process, such as its status, memory usage, open files, environment variables, command line arguments, and more. The /proc/ directory also contains a symbolic link called 'self', whichpoints to the process that is accessing the /proc/ file system.
Therefore, the correct answer is D. One directory per running process.
The other options are incorrect because:
* A. One directory per installed program. This is not true, as the /proc/ directory does not contain information about installed programs, but only about running processes. Installed programs are usually stored in other directories, such as /bin/, /usr/bin/, /opt/, etc.
* B. One device file per hardware device. This is not true, as the /proc/ directory does not contain device files, but only virtual files that represent kernel data. Device files are usually stored in the /dev/
* directory, which is another special file system that provides access to hardware devices.
* C. One file per existing user account. This is not true, as the /proc/ directory does not contain information about user accounts, but only about processes. User accounts are usually stored in the /etc/ directory, which contains configuration files, such as /etc/passwd/ and /etc/shadow/, that define the users and their passwords.
* E. One log file per running service. This is not true, as the /proc/ directory does not contain log files, but only information files. Log files are usually stored in the /var/log/ directory, which contains various files that record the activities of the system and the services.
References:
* The /proc Filesystem - The Linux Kernel documentation
* A Beginner's Guide to the /proc File System in Linux - Tecmint
* Appendix E. The proc File System Red Hat Enterprise Linux 6 | Red Hat ...
* Chapter 5. The proc File System Red Hat Enterprise Linux 4 | Red Hat ...
* proc file system in Linux - GeeksforGeeks


質問 # 29
次のうちどれがパブリッククラウドプロバイダによって提供される典型的なサービスですか? (正しい答えを3つ選んでください。)

  • A. サービスとしてのプラットフォーム(PaaS)
  • B. サービスとしてのグラフィック(GaaS)
  • C. サービスとしてのインフラストラクチャ(IaaS)
  • D. サービスとしてのインターネット(IaaS)
  • E. サービスとしてのソフトウェア(SaaS)

正解:A、C、E

解説:
These are the three most common service models offered by public cloud providers12. They differ in the level of abstraction and control they provide to the customers.
Platform as a Service (PaaS) is a service model where the public cloud provider offers a ready-to-use platform for developing, testing, and deploying applications. The provider manages the underlying infrastructure, such as servers, storage, network, and operating system, while the customer only needs to focus on the application code and configuration. Examples of PaaS include Google App Engine, IBM Cloud Foundry, and Microsoft Azure App Service12.
Infrastructure as a Service (IaaS) is a service model where the public cloud provider offers access to fundamental compute, network, and storage resources on demand over the public Internet or through dedicated connections. The provider manages the physical hardware and virtualization layer, while the customer has full control over the configuration and management of the virtual machines, operating system, and applications. Examples of IaaS include Google Compute Engine, IBM Cloud Virtual Servers, and Microsoft Azure Virtual Machines12.
Software as a Service (SaaS) is a service model where the public cloud provider offers ready-to-use software applications that run on the provider's infrastructure and are accessible through a web browser or a mobile app. The provider manages the entire software stack, including the infrastructure, platform, and application, while the customer only needs to pay for the usage or subscription of the service. Examples of SaaS include Google Workspace, IBM Watson, and Microsoft Office 36512.
Reference:
What is Public Cloud | IBM
What Is a Public Cloud? | Google Cloud


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

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

正解:E


質問 # 31
ファイルの所有者について本当ですか?

  • A. ファイルを所有しているユーザーは、そのファイルのグループのメンバーでなければなりません。
  • B. 各ファイルは、正確に1人のユーザーと1つのグループによって所有されています。
  • C. ファイルの所有者は、一度所有者に割り当てられると変更できません。
  • D. ユーザーが削除されると、そのユーザーが所有するすべてのファイルが消えます。
  • E. ファイルにアクセスするとき、ファイルの所有者は常に完全な権限を持っています。

正解:B


質問 # 32

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

正解:A、B、D


質問 # 33
プライベートWebブラウザーウィンドウと通常のWebブラウザーウィンドウの違いは何ですか? (3つ選択してください。)

  • A. プライベートWebブラウザウィンドウは、Cookieを永続的に保存しません。
  • B. プライベートWebブラウザウィンドウは、通常保存されているCookieを送信しません。
  • C. プライベートWebブラウザーウィンドウでは、Webサイトを印刷または保存できません。
  • D. プライベートWebブラウザウィンドウは、ブラウザ履歴に記録を保持しません。
  • E. プライベートWebブラウザウィンドウは、Webサイトへのログインをサポートしていません。

正解:A、B、D

解説:
A private web browser window is a mode of browsing that prevents the browser from saving your browsing history, cookies, and other site data, or information entered in forms. However, it does not prevent websites, your employer or school, or your internet service provider from tracking your online activity. The main differences between a private web browser window and a regular web browser window are:
Private web browser windows do not store cookies persistently. Cookies are small files that websites use to store information on your device, such as your preferences, login status, or tracking data. In a regular web browser window, cookies are stored until they expire or you delete them. In a private web browser window, cookies are deleted when you close all private windows.
Private web browser windows do not keep records in the browser history. The browser history is a list of web pages that you have visited in the past. In a regular web browser window, the browser history is saved and can be accessed by anyone who uses the same device or profile. In a private web browser window, the browser history is not saved and cannot be viewed by anyone.
Private web browser windows do not send regular stored cookies. When you visit a website in a regular web browser window, the browser sends any cookies that are stored for that website. This allows the website to recognize you and provide personalized content or services. When you visit a website in a private web browser window, the browser does not send any cookies that are stored in regular windows. This prevents the website from identifying you or linking your activity across different sessions.


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

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

正解:A、B、C


質問 # 35
シェルで長いコマンドラインを入力するとき、複数の行にコマンドを分割するために使用できる単一の文字は何ですか?

正解:

解説:
\
Explanation:
The backslash character () is used to escape the meaning of the next character in a command line. This means that the next character is treated as a literal character, not as a special character. For example, if you want to use a space in a file name, you can use a backslash before the space to prevent the shell from interpreting it as a separator. Similarly, if you want to split a long command line across multiple lines, you can use a backslash at the end of each line to tell the shell that the command is not finished yet. The shell will ignore the newline character and continue reading the next line as part of the same command. For example, you can write:
ls -l
/home/user/Documents
instead of:
ls -l /home/user/Documents
Both commands will produce the same output, but the first one is easier to read and type. Reference:
Linux Essentials - Linux Professional Institute (LPI), section 2.1.2
2.1 Command Line Basics - Linux Professional Institute Certification Programs, slide 7.


質問 # 36
/ tmp /ディレクトリに設定されている次の権限のうちどれ?

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

正解:B


質問 # 37
次のコマンドのうち、大文字小文字に関係なく、linuxという用語を含むoperating-systems.txtファイル内のすべての行を見つけるコマンドはどれですか?

  • A. カット[Ll] [Ii] [Nn] [Uu] [Xx] operating-systems.txt
  • B. igrep linux operating-systems.txt
  • C. linux operating-systems.txtをカットします
  • D. grep -i linux operating-systems.txt
  • E. less -i linux operating-systems.txt

正解:D

解説:
Explanation
The grep command is used to search for a pattern in a file or input. The -i option makes the search case-insensitive, meaning that it will match both uppercase and lowercase letters. The grep command takes the pattern as the first argument and the file name as the second argument. Therefore, the command grep -i linux operating-systems.txt will find all lines in the file operating-systems.txt which contain the term linux, regardless of the case. References: Linux Essentials - Topic 103: Finding Linux Documentation and Linux Essentials - Topic 104: Command Line Basics


質問 # 38
実行が成功した後のシェルスクリプトの戻り値は何ですか?

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

正解:C

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


質問 # 39

正解:

解説:
\


質問 # 40
......

合格させるLpi 010-160日本語試験最速合格にはJPNTest:https://www.jpntest.com/shiken/010-160J-mondaishu

弊社を連絡する

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

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡