aiotestking uk

101-400 Exam Questions - Online Test


101-400 Premium VCE File

Learn More 100% Pass Guarantee - Dumps Verified - Instant Download
150 Lectures, 20 Hours

Q1. - (Topic 3) 

What is the effect of the egrep command when the -v option is used? 

A. It enables color to highlight matching parts. 

B. It only outputs non-matching lines. 

C. It shows the command's version information. 

D. It changes the output order showing the last matching line first. 

Answer:

Q2. CORRECT TEXT - (Topic 4) 

Which umask value will result in the default access permissions of 600 (rw-------) for files and 700 (rwx------) for directories? (Specify only the numerical umask value.) 

Answer: 0077, 077 

Q3. - (Topic 3) 

Which of the following commands replaces each occurrence of 'bob' in the file letter with 'Bob' and writes the result to the file newletter? 

A. sed '/bob/Bob' letter > newletter 

B. sed s/bob/Bob/ letter < newletter 

C. sed 's/bob/Bob' letter > newletter 

D. sed 's/bob/Bob/g' letter > newletter 

E. sed 's/bob, Bob/' letter > newletter 

Answer:

Q4. - (Topic 3) 

What is the difference between the i and a commands of the vi editor? 

A. i (interactive) requires the user to explicitly switch between vi modes whereas a (automatic) switches modes automatically. 

B. i (insert) inserts text before the current cursor position whereas a (append) inserts text after the cursor. 

C. i (independent rows) starts every new line at the first character whereas a (aligned rows) keeps the indentation of the previous line. 

D. i (interrupt) temporarily suspends editing of a file to the background whereas a (abort) terminates editing. 

Answer:

Q5. - (Topic 2) 

Which of the following commands can be used to download the RPM package kernel without installing it? 

A. yum download --no-install kernel 

B. yumdownloader kernel 

C. rpm --download --package kernel 

D. rpmdownload kernel 

Answer:

Q6. - (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 

Q7. - (Topic 3) 

Which of the following commands determines the type of a file by using a definition database file which contains information about all common file types? 

A. magic 

B. type 

C. file 

D. pmagic 

E. hash 

Answer:

Q8. - (Topic 3) 

Which of the following commands displays the contents of a gzip compressed tar archive? 

A. gzip archive.tgz | tar xvf -

B. tar ztf archive.tgz 

C. gzip -d archive.tgz | tar tvf -

D. tar cf archive.tgz 

Answer:

Q9. - (Topic 4) 

Which of the following Linux filesystems preallocates a fixed number of inodes at the filesystem's make/creation time and does NOT generate them as needed? (Choose TWO correct answers.) 

A. ext3 

B. JFS 

C. ext2 

D. XFS 

E. procfs 

Answer: A,C 

Q10. - (Topic 4) 

Which of the following pieces of information of an existing file is changed when a hard link pointing to that file is created? 

A. File size 

B. Modify timestamp 

C. Link count 

D. Inode number 

E. Permissions 

Answer: