LPIC-2 Certified Linux Engineer 201-450 Sample Questions
![LPIC-2 Certified Linux Engineer 201-450 Sample Questions](https://www.testpreptraining.com/tutorial/wp-content/uploads/2022/08/LPIC-2-Certified-Linux-Engineer-201-450-sample-questions--750x400.jpg)
LPIC-2 Certified Linux Engineer 201-450 is the second certification in the multi-level professional certificate program of the Linux Professional Institute (LPI). The LPIC-2 will approve the candidate’s capacity to direct little to medium-sized mixed networks.
1.) Which of the accompanying orders eradicates the items in the/dev/sdb3 partition?
A. rm/dev/sdb3
B. dd if=/dev/zero of=/dev/sdb3
C. dd of=/dev/zero if=/dev/sdb3
D. umount/dev/sdb3
Right Answer: B
2.) Which of the accompanying documents will be searched for and utilized by GNU make, in the event that one of them exists, except if an alternate record is determined on the order line while attempting to gather programming from source code? (Pick two.)
A. Makefile.in
B. configure
C. config.h.in
D. makefile
E. Makefile
Right Answer: DE
3.) FILL BLANK –
What order is utilized to send messages to all clients at present signed ready? (Indicate ONLY the order with practically no way or boundaries.)
Right Answer: wall
4.) Which of the accompanying orders reestablishes just those records containing lpi in their name from the file lpifiles.tar.gz?
A. tar xvzf lpifiles.tar.gz – – trump cards “˜lpi‘
B. tar xvzwf lpifiles.tar.gz “˜lpi‘
C. tar – xvfz lpifiles.tar.gz – – profound “˜lpi‘
D. tar – xvzf lpifiles.tar.gz – – subdirs “˜lpi‘
E. tar xvzf lpifiles.tar.gz – – globbing “˜lpi‘
Right Answer: A
5.) A standard client has recently run –
./configure && make && make introduce
to construct and introduce a program. In any case, the establishment comes up short. How could be introduced the program? (Pick two.)
A. Run making install_local to install into /usr/local/
B. Installing the binaries manually with suinstall
C. Run making install with root privileges
D. Do not run ./configure in order to maintain the default configuration for correct installation
E. Rerun ./configure with a –prefix option where the user has permissions to write
Right Answer: CE
6.) The accompanying order has recently been run effectively:
Cd/pick; tar xvf/dev/nst0;
What will occur in the event that the order succession is run once more?
A. A mistake expressing that there is no tape present is created on the grounds that the tape has been catapulted in the wake of being utilized
B. The entire contents of /opt will be replaced with the contents of the next file on the tape
C. The contents of /opt will be restored again
D. The contents of/select will have extra happy added from the following file on the tape
Right Answer: D
7.) FILL BLANK –
What command discards of unused blocks on a mounted record framework to help SSD gadgets? (Determine ONLY the order with next to no way or boundaries.)
Right Answer: fstrim
8.) Which single order reenacts a bombed gadget inside a RAID 5 exhibit?
A. mdadm – – eliminate/dev/md0/dev/sdd1
B. mdadm – – zero-superblock/dev/sdf3
C. mdadm – – force-issue/dev/md2/dev/sde2
D. mdadm – – fail/dev/md0/dev/sdc1
E. mdadm/dev/md0 – – disconnected/dev/sdc1
Right Answer: D
9.) What is the base number of circles expected in a completely excess RAID5 cluster?
A. 1
B. 2
C. 3
D. 4
E. 5
Right Answer: C
10.) A framework has one hard circle and one CD essayist which are both associated with SATA regulators. Which gadget addresses the CD essayist?
A. /dev/hdb
B. /dev/sdd
C. /dev/scd1
D. /dev/sr0
E. /dev/sr1
Right Answer: D
11.) What activity ought to be performed subsequent to expanding the size of a sensible volume?
A. Run vgresize
B. Increment the size of the filesystem utilized for the legitimate volume
C. Run 1vresize
D. Remount the legitimate volume
Right Answer: B
12.) FILL BLANK –
What order will eliminate a physical volume from a volume bunch? (Determine ONLY the order with next to no way or parameters.)
Right Answer: vgreduce
13.) Which command is utilized to make a precise duplicate, at a solitary moment, of a sensible volume while as yet permitting the first consistent volume to be updated?
A. lvcclone
B. lvcreate
C. lvm2
D. lvsnap
E. lvsnapshot
Right Answer: B
14.) Which of the accompanying orders makes a Btrfs subvolume named volume in/mnt?
A. btrfs subvolume add “”n volume/mnt
B. btrfs make subvolume/mnt volume
C. btrfs-subvolume make/mnt/volume
D. btrfs subvolume new volume/mnt
E. btrfs subvolume create/mnt/volume
Right Answer: E
15.) FILL BLANK –
What keyword is absent in the accompanying line from/and so forth/fstab to allow the client fred compose admittance to the documents in the vfat record framework on/dev/sdb1:
/dev/sdb1/mnt/usbflash vfat defaults, _=fred, umask=022, 0 0
(Determine ONLY the choice name with practically no way or parameters.)
Right Answer: uid
16.) Because of outrageous framework use, a Linux framework requires some extra trade space. To introduce 5 GB of extra trade space, which blend of orders ought to be utilized?
A. dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; mkswap/tmp/swapfile; mount/tmp/swapfile
B. dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; swapon/tmp/swapfile
C. dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; mkswap/tmp/swapfile; swapon/tmp/swapfile
D. contact – 5G/tmp/swapfile; swapon/tmp/swapfile
E. mkswap/tmp/swapfile 512000; swapon/tmp/swapfile
Right Answer: C
17.) What is the reason behind a system mount unit?
A. It is utilized by the command systemd-mount and permits clients to mount parts to mount points of their decision
B. It is utilized exclusively to mount network document frameworks to neighborhood mount focuses. It can’t be utilized for nearby media
C. It is made by the order systemd-fstab-generator to incorporate passages from/and so on/fstab into the framework boot process
D. It is utilized by the order mount while utilizing framework to mount and unmount record frameworks
Right Answer: A
18.) FILL BLANK –
What order guarantees that the document frameworks are composed to plate after a ton of compose tasks? (Indicate ONLY the order with practically no way or boundaries.)
Right Answer: sync
19.) Which part of a framework does smartd screen?
A. RAM
B. CPU
C. Hard drives
D. Ethernet traffic
Right Answer: C
20.) Which sub command to crypsetup shows data about a scrambled LUKS segment?
A. luksDump
B. luksInfo
C. luksDebug
D. luksLS
E. luksShow
Right Answer: A
![LPIC-2 Certified Linux Engineer 201-450 practice test](https://www.testpreptraining.com/tutorial/wp-content/uploads/2022/08/LPIC-2-Certified-Linux-Engineer-201-450-practice-test-750x118.jpg)