信頼できるLPI Linux Essentials 010-160問題集PDF 2023年12月22日最近更新された問題
必ず合格できるLpi 010-160試験正確な80問題と解答あります
質問 # 25
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 execute bit should be set in the file's permissions.
- B. The script should be run using#!./test. shinstead of./test.sh.
- C. The file's extension should be changed from .shto.bin.
- D. The user executing the script should be added to theexecgroup.
- E. The SetUID bit should be set in the file's permissions
正解:A
質問 # 26
What is true about links in a Linux file system?
- A. A symbolic link can point to a file on another file system.
- B. A symbolic link can only point to a file and not to a directory.
- C. Only the root user can create hard links.
- D. A hard link can only point to a directory and never to a file.
- E. When the target of the symbolic link is moved, the link is automatically updated.
正解:A
質問 # 27
What is the UID of the user root?
- A. 0
- B. 1
- C. 2
- D. 3
- E. 4
正解:E
質問 # 28
Which package management tool is used in Red Hat-based Linux Systems?
- A. apt-get
- B. portage
- C. rpm
- D. dpkg
- E. packagectl
正解:C
質問 # 29
Which of the followingoutputs could stem from the commandlast?
- A. root tty2 Wed May 17 21:11 - 21:11 (00:00)
- B. Password for user last changed at Sat Mar 31 16:38:57 EST 2018
- C. EXT4-fs (dm-7): mounted filesystem with ordered data mode. Opts: (null)
- D. Last login: Fri Mar 23 10:56:39 2018 from server.example.com
- E. 1 ls
2 cat text.txt
3 logout
正解:A
質問 # 30
Which of the following statements is true about Free Software?
- A. It may be modified by anyone using it.
- B. It only runs on Linux.
- C. It is only distributed as a compiled binary.
- D. It is developed by volunteers only.
- E. It must always be available free of charge.
正解:A
質問 # 31
Which of the following examples shows the general structure of a for loop in a shell script?
- A. for file in *.txt do
echo $i done - B. for ls *.txt exec {} \;
- C. for *.txt ( echo $i )
- D. foreach @{file} { echo $i
} - E. for *.txt as file => echo $file
正解:A
質問 # 32
Which of the following is a protocol used for automatic IP address configuration?
- A. LDAP
- B. DNS
- C. SMTP
- D. NFS
- E. DHCP
正解:E
質問 # 33
Which of the following are typical services offered by public cloud providers? (Choose three correct answers.)
- A. Graphics as a Service (GaaS)
- B. Software as a Service (SaaS)
- C. Platform as a Service(PaaS)
- D. Infrastructure as a Service(IaaS)
- E. Internet as aService(IaaS)
正解:B、C、D
質問 # 34
What keyword is used in a shell script to begin a loop? (Specify one keyword only, without any additional information.)
正解:
解説:
for
質問 # 35
Which of the following devices represents a hard disk partition?
- A. /dev/sda/p2
- B. /dev/sda2
- C. /dev/part0
- D. /dev/sata0
- E. /dev/ttyS0
正解:B
質問 # 36
What is true about the dmesgcommand? (Choose two.)
- A. It traces the execution of a command and shows each step the program carries out.
- B. It might not display older information because it was overwritten by newer information.
- C. It displays the content of the Linux kernel's ring buffer.
- D. It immediately outputs all new messages written to the system journal.
- E. It sends messages to the command lines of all current user sessions.
正解:B、C
質問 # 37
Which of the following are typical services offered by public cloud providers? (Choose three.)
- A. Graphics as a Service (GaaS)
- B. Software as a Service (SaaS)
- C. Platform as a Service(PaaS)
- D. Internet as a Service(IaaS)
- E. Infrastructure as a Service(IaaS)
正解:B、C、E
質問 # 38
What is true about thedmesgcommand? (Choose two correct answers.)
- A. It traces the execution of a command and shows each step the program carries out.
- B. It might not display older information because it was overwritten by newer information.
- C. It displays the content of the Linux kernel's ring buffer.
- D. It immediately outputs all new messages written to the system journal.
- E. It sends messages to the command lines of all current user sessions.
正解:B、C
質問 # 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 support logins into websites.
- B. Private web browser windows do not store cookies persistently.
- 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.
正解:B、D、E
質問 # 40
Which of the following characters in a shell prompt indicates the shell is running with root privileges?
- A. $
- B. &
- C. *
- D. #
- E. !
正解:D
質問 # 41
What is true about arecursive directory listing?
- A. It includes ownership information for the files.
- B. It includes the content of sub-directories.
- C. It includes the permissions of the directory listed.
- D. It includes details of file system internals, such as inodes.
- E. Itincludes a preview of content for each file in the directory.
正解:B
質問 # 42
Which of the following commands finds all lines in the file operating-systems.txt which contain the term linux, regardless of the case?
- A. less -i linux operating-systems.txt
- B. cut linux operating-systems.txt
- C. igrep linux operating-systems.txt
- D. cut [Ll] [Ii] [Nn] [Uu] [Xx] operating-systems.txt
- E. grep -i linux operating-systems.txt
正解:E
質問 # 43
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/id
- B. /var/db/users
- C. /etc/group
- D. /etc/passwd
- E. /home/index
正解:C、D
質問 # 44
Which of the following outputs could stem from the command last?
- A. EXT4-fs (dm-7): mounted filesystem with ordered data mode. Opts: (null)
- B. Last login: Fri Mar 23 10:56:39 2018 from server.example.com
- C. root tty2 Wed May 17 21:11 - 21:11 (00:00)
- D. 1 lsB.2 cat text.txt
3 logout
Password for user last changed at Sat Mar 31 16:38:57 EST 2018
正解:C
質問 # 45
A directory contains the following files:
What would be the output of the following shell script?
for file in *.txt
*.txt
- A. c.cav
- B. a b
- C. a. txt
- D. a.txt
- E. b. txt
正解:E
質問 # 46
Which of the followingtaroptions handle compression? (Choose twocorrect answers.)
- A. -j
- B. -bz
- C. -z2
- D. -g
- E. -z
正解:A、E
質問 # 47
......
2023年最新の実際にある検証済みの010-160問題集:https://www.jpntest.com/shiken/010-160-mondaishu