★ Pass on Your First TRY ★ 100% Money Back Guarantee ★ Realistic Practice Exam Questions

Free Instant Download NEW 101-400 Exam Dumps (PDF & VCE):
Available on: https://www.certleader.com/101-400-dumps.html


Q41. - (Topic 3) 

What happens after issuing the command vi without any additional parameters? 

A. vi starts and loads the last file used and moves the cursor to the position where vi was when it last exited. 

B. vi starts and requires the user to explicitly either create a new or load an existing file. 

C. vi exits with an error message as it cannot be invoked without a file name to operate on. 

D. vi starts in command mode and opens a new empty file. 

E. vi starts and opens a new file which is filled with the content of the vi buffer if the buffer contains text. 

Answer:


Q42. - (Topic 4) 

After running the command umount /mnt, the following error message is displayed: 

umount: /mnt: device is busy. 

What is a common reason for this message? 

A. The kernel has not finished flushing disk writes to the mounted device. 

B. A user has a file open in the /mnt directory. 

C. Another file system still contains a symlink to a file inside /mnt. 

D. The files in /mnt have been scanned and added to the locate database. 

E. The kernel thinks that a process is about to open a file in /mnt for reading. 

Answer:


Q43. - (Topic 3) 

What is the output of the following command? 

echo "Hello World" | tr -d aieou 

A. Hello World 

B. eoo 

C. Hll Wrld 

D. eoo Hll Wrld 

Answer:


Q44. - (Topic 3) 

Which of the following shell redirections will write standard output and standard error output to a file named filename? 

A. 2>&1 >filename 

B. >filename 2>&1 

C. 1>&2>filename 

D. >>filename 

E. 1&2>filename 

Answer:


Q45. - (Topic 2) 

When removing a package, which of the following dpkg options will completely remove the files including configuration files? 

A. --clean 

B. --delete 

C. --purge 

D. –remove 

Answer:


Q46. - (Topic 4) 

Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers.) 

A. /sbin/mke2fs -j /dev/sdb1 

B. /sbin/mkfs -t ext3 /dev/sdb1 

C. /sbin/mkfs -c ext3 /dev/sdb1 

D. /sbin/mke3fs -j /dev/sdb1 

Answer: A,B 


Q47. - (Topic 3) 

Which of the following commands will reduce all consecutive spaces down to a single space? 

A. tr '\s' ' ' < a.txt > b.txt 

B. tr -c ' ' < a.txt > b.txt 

C. tr -d ' ' < a.txt > b.txt 

D. tr -r ' ' '\n' < a.txt > b.txt 

E. tr -s ' ' < a.txt > b.txt 

Answer:


Q48. - (Topic 1) 

Which of the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.) 

A. shutdown -R 1 now 

B. shutdown -single now 

C. init 1 

D. telinit 1 

E. runlevel 1 

Answer: C,D 


Q49. - (Topic 2) 

What can the Logical Volume Manager (LVM) be used for? (Choose THREE correct answers.) 

A. To create RAID 9 arrays. 

B. To dynamically change the size of logical volumes. 

C. To encrypt logical volumes. 

D. To create snapshots. 

E. To dynamically create or delete logical volumes. 

Answer: B,D,E 


Q50. - (Topic 3) 

Which grep command will print only the lines that do not end with a / in the file foo? 

A. grep '/$' foo 

B. grep '/#' foo 

C. grep -v '/$' foo 

D. grep -v '/#' foo 

Answer: