thumbnail

Trắc nghiệm Linux Professional Institute (LPI) - English

<p>Bộ câu hỏi trắc nghiệm Linux Professional Institute (LPI) bằng Tiếng Anh giúp ôn tập và củng cố kiến thức về hệ điều hành Linux, bao gồm quản trị hệ thống, cấu hình mạng, bảo mật, và các lệnh cơ bản. Tài liệu phù hợp cho những người chuẩn bị thi chứng chỉ LPI, hỗ trợ nâng cao kỹ năng chuyên môn và đạt kết quả cao trong kỳ thi.</p>

Từ khoá: trắc nghiệm Linux Professional Institute LPI hệ điều hành Linux quản trị hệ thống cấu hình mạng bảo mật Linux lệnh Linux ôn tập LPI luyện thi chứng chỉ LPI kiến thức Linux

Số câu hỏi: 238 câuSố mã đề: 6 đềThời gian: 1 giờ

39,704 lượt xem 3,050 lượt làm bài


Chọn mã đề:


Bạn chưa làm Mã đề 1!!!

 

Xem trước nội dung:

Câu 1: 0.25 điểm
Which of the following commands generates a list of user names from /etc/passwd along with their login shell?
A.  
column -s : 1,7 /etc/passwd
B.  
chop -c 1,7 /etc/passwd
C.  
colrm 1,7 /etc/passwd
D.  
sort -t: -k1,7 /etc/passwd
E.  
cut -d: -f1,7 /etc/passwd
Câu 2: 0.25 điểm
After editing the TCP wrapper configuration to grant specific hosts access to a service, when do these changes become effective?
A.  
The new configuration becomes effective after restarting the respective service.
B.  
The new configuration becomes effective at the next system reboot.
C.  
The new configuration becomes effective when the last established connection to the service is closed.
D.  
The new configuration becomes effective after restarting the tcpd service.
E.  
The new configuration becomes effective immediately for all new connections.
Câu 3: 0.25 điểm
Which of the following les, located in a user's home directory, contains the Bash history?
A.  
.bashrc_history
B.  
.bash_hist le
C.  
.history
D.  
.bash_history
E.  
.history_bash
Câu 4: 0.25 điểm
Given the following routing table:
A.  
How would an outgoing packet to the destination 192.168.2.150 be handled?
B.  
It would be passed to the default router 192.168.178.1 on wlan0.
C.  
It would be directly transmitted on the device eth0.
D.  
It would be passed to the default router 255.255.255.0 on eth0.
E.  
It would be passed to the router 192.168.1.1 on eth0.
Câu 5: 0.25 điểm
The presence of what file will temporarily prevent all users except root from logging into a system? (Specify the full name of the file, including path.)
Câu 6: 0.25 điểm
Which of the following commands can perform searches on le contents using regular expressions?
A.  
nd
B.  
locate
C.  
grep
D.  
reggrep
E.  
pgrep
Câu 7: 0.25 điểm
What is true regarding the command #ls > les if les does not exist?
A.  
The output of ls is printed to the terminal
B.  
les is created and contains the output of ls
C.  
An error message is shown and ls is not executed
D.  
The command les is executed and receives the output of ls
E.  
Any output of ls is discarded
Câu 8: 0.25 điểm
What is true about the Hop Limit field in the IPv6 header?
A.  
The field is not changed during the transport of a package.
B.  
The field is transmitted within a hop-by-hop extension header.
C.  
Each router forwarding the packet increases the field's value.
D.  
Each router forwarding the packet decreases the field's value.
E.  
For multicast packages, the field's value is always 1.
Câu 9: 0.25 điểm
Which command, available with all sendmail-compatible MTAs, is used to list the contents of the MTA's mail queue? (Specify only the command without any path or parameters.)
Câu 10: 0.25 điểm
Which of the following commands lists all queued print jobs?
A.  
lpd
B.  
lpr
C.  
lp
D.  
lsq
E.  
lpq
Câu 11: 0.25 điểm
Where is the bootloader stored on the hard disk of a UEFI system?
A.  
In the EFI Boot Record (EBR).
B.  
In the Master Boot Record (MBR).
C.  
On the EFI System Partition (ESP).
D.  
On the partition labeled boot.
E.  
On the partition number 127.
Câu 12: 0.25 điểmchọn nhiều đáp án
Which of the following tasks are handled by a display manager like XDM or KMD? (Choose two.)
A.  
Configure additional devices like new monitors or projectors when they are attached.
B.  
Start and prepare the desktop environment for the user.
C.  
Create an X11 configuration file for the current graphic devices and monitors.
D.  
Lock the screen when the user was inactive for a configurable amount of time.
E.  
Handle the login of a user.
Câu 13: 0.25 điểm
Which of the following commands reads a le and creates separate chunks of a given size from the le's contents?
A.  
ar
B.  
cat
C.  
break
D.  
split
E.  
parted
Câu 14: 0.25 điểm
Which of the following signals is sent to a process when the key combination Ctrl+Z is pressed on the keyboard?
A.  
SIGTERM
B.  
SIGCONT
C.  
SIGSTOP
D.  
SIGKILL
E.  
SIGINT
Câu 15: 0.25 điểm
Which parameter of the ssh command specifies the location of the private key used for login attempts? (Specify only the option name without any values or parameters.)
Câu 16: 0.25 điểm
Which of the following commands can identify the PID od a process which opened a TCP port?
A.  
ptrace
B.  
strace
C.  
debug
D.  
lsof
E.  
nessus
Câu 17: 0.25 điểmchọn nhiều đáp án
What can be specified with useradd? (Choose two.)
A.  
Commands the user can run using sudo.
B.  
The absolute path to the user's home directory.
C.  
Which printers are available for the new user.
D.  
The SSH keys used to login to the new account.
E.  
The numeric user ID (UID) of the user.
Câu 18: 0.25 điểm
Which of the following statements is true regarding systemd timer units?
A.  
Timer units can only be defined within a service unit's file.
B.  
The command executed by the timer is specified in the timer unit's [Cmd] section.
C.  
A dedicated system service, systemd-cron, handles the execution of timer units.
D.  
Timer units only exist in the system scope and are not available for users.
E.  
Each systemd timer unit controls a specific systemd service unit.
Câu 19: 0.25 điểm
What is the top-level directory which contains the configuration files for CUPS? (Specify the full path to the directory.)
Câu 20: 0.25 điểmchọn nhiều đáp án
Which of the following les exist in a standard GRUB 2 installation? (Choose two.)
A.  
/boot/grub/stages/stage0
B.  
/boot/grub/i386-pc/lvm.mod
C.  
/boot/grub/fstab
D.  
/boot/grub/grub.cfg
E.  
/boot/grub/linux/vmlinuz
Câu 21: 0.25 điểm
Which of the following commands lists all currently installed packages when using RPM package management?
A.  
yum --query --all
B.  
yum --list --installed
C.  
rpm --query --list
D.  
rpm --list --installed
E.  
rpm --query --all
Câu 22: 0.25 điểm
When using X11 forwarding in SSH, what environment variable is automatically set in the remote shell in order to help applications to connect to the correct X11 server? (Specify only the environment variable without any additional commands or values.)
Câu 23: 0.25 điểm
Which of the following commands installs GRUB 2 into the master boot record on the third hard disk?
A.  
grub2 install /dev/sdc
B.  
grub-mkrescue /dev/sdc
C.  
grub-mbrinstall /dev/sdc
D.  
grub-setup /dev/sdc
E.  
grub-install /dev/sdc
Câu 24: 0.25 điểmchọn nhiều đáp án
When is the content of the kernel ring buffer reset? (Choose two.)
A.  
When the ring buffer is explicitly reset using the command dmesg --clear
B.  
When the ring buffer is read using dmesg without any additional parameters
C.  
When a con gurable amount of time, 15 minutes by default, has passed
D.  
When the kernel loads a previously unloaded kernel module
E.  
When the system is shut down or rebooted
Câu 25: 0.25 điểm
Which of the following commands finds all files owned by root that have the SetUID bit set?
A.  
find / -user root -perm -4000
B.  
find / -user 0 -mode +s
C.  
find / -owner root -setuid
D.  
find / -owner 0 -permbits 0x100000000
E.  
find / --filter uid=1 --filter pers=u+s
Câu 26: 0.25 điểm
Which standardized TCP port is used by HTTPS services?
A.  
25
B.  
80
C.  
8080
D.  
443
E.  
636
Câu 27: 0.25 điểm
Which of the following commands sets the SetUID permission on the executable /bin/foo?
A.  
chmod 4755 /bin/foo
B.  
chmod 1755 /bin/foo
C.  
chmod u-s /bin/foo
D.  
chmod 755+s /bin/foo
E.  
chmod 2755 /bin/foo
Câu 28: 0.25 điểmchọn nhiều đáp án
Which of the following comparison operators for test work on elements in the file system? (Choose two.)
A.  
ג€"z
B.  
ג€"eq
C.  
ג€"d
D.  
ג€"f
E.  
ג€"lt
Câu 29: 0.25 điểmchọn nhiều đáp án
Which of the following statements are true about the boot sequence of a PC using a BIOS? (Choose two.)
A.  
Some parts of the boot process can be con gured from the BIOS
B.  
Linux does not require the assistance of the BIOS to boot a computer
C.  
The BIOS boot process starts only if secondary storage, such as the hard disk, is functional
D.  
The BIOS initiates the boot process after turning the computer on
E.  
The BIOS is started by loading hardware drivers from secondary storage, such as the hard disk
Câu 30: 0.25 điểm
How many IP addresses can be used for unique hosts inside the IPv4 subnet 192.168.2.128/26?
A.  
6
B.  
14
C.  
30
D.  
62
E.  
126
Câu 31: 0.25 điểm
In Bash, inserting 1>&2 after a command redirects`¦
A.  
ג €¦standard error to standard input.
B.  
ג €¦standard output to standard error.
C.  
ג €¦standard input to standard error.
D.  
ג €¦standard error to standard output.
E.  
ג €¦standard output to standard input.
Câu 32: 0.25 điểm
Which of the following signals is sent to a process when the key combination Ctrl+C is pressed on the keyboard?
A.  
SIGTERM
B.  
SIGCONT
C.  
SIGSTOP
D.  
SIGKILL
E.  
SIGINT
Câu 33: 0.25 điểm
Which of the following regular expressions represents a single upper-case letter?
A.  
:UPPER:
B.  
[A-Z]
C.  
!a-z
D.  
%C
E.  
{AZ}
Câu 34: 0.25 điểm
Which le in the /proc lesystem lists parameters passed from the bootloader to the kernel? (Specify the le name only without any path.)
Câu 35: 0.25 điểmchọn nhiều đáp án
Which of the following changes may occur as a consequence of using the command ip? (Choose three.)
A.  
Network interfaces may become active or inactive.
B.  
New name servers may be added to the resolver configuration.
C.  
The system's host name may change.
D.  
IP addresses may change.
E.  
The routing table may change.
Câu 36: 0.25 điểmchọn nhiều đáp án
What can the Logical Volume Manager (LVM) be used for? (Choose three.)
A.  
To create snapshots.
B.  
To dynamically change the size of logical volumes.
C.  
To dynamically create or delete logical volumes.
D.  
To create RAID 9 arrays.
E.  
To encrypt logical volumes.
Câu 37: 0.25 điểmchọn nhiều đáp án
Which of the following fields are available in the standard format of both the global /etc/crontab file as well as in user-specific crontab files?(Choose two.)
A.  
Year
B.  
Minute
C.  
Username
D.  
Effective group ID
E.  
Command
Câu 38: 0.25 điểmchọn nhiều đáp án
What information can the lspci command display about the system hardware? (Choose three.)
A.  
System battery type
B.  
Device IRQ settings
C.  
PCI bus speed
D.  
Ethernet MAC address
E.  
Device vendor identi cation
Câu 39: 0.25 điểm
Which of the following commands installs the GRUB boot les into the currently active le systems and the boot loader into the rst partition of the first disk?
A.  
grub-install /dev/sda
B.  
grub-install /dev/sda1
C.  
grub-install current /dev/sda0
D.  
grub-install /dev/sda0
E.  
grub-install current /dev/sda1
Câu 40: 0.25 điểm
Which of the following vi commands deletes two lines, the current and the following line?
A.  
d2
B.  
2d
C.  
2dd
D.  
dd2
E.  
de12

Đề thi tương tự

Đề Trắc nghiệm Ôn tập môn Linux và Phần Mềm Mã Nguồn Mở

6 mã đề 202 câu hỏi 1 giờ

50,174 xem3,940 thi

Trắc nghiệm bài tập theo tuần Toán 7-Tuần 17 có đáp án

1 mã đề 13 câu hỏi 1 giờ

183,506 xem14,110 thi

Trắc nghiệm Chương 2: Ôn tập chương II có đáp án (Thông hiểu)

1 mã đề 10 câu hỏi 1 giờ

185,685 xem14,278 thi

Trắc nghiệm Hình tam giác có đáp án (Nhận biết, Thông hiểu)

1 mã đề 9 câu hỏi 1 giờ

179,149 xem13,775 thi

Trắc nghiệm Toán 9 (Có đáp án): Căn bậc ba

1 mã đề 22 câu hỏi 1 giờ

154,650 xem11,892 thi