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) 

Which of the following statements is correct regarding the command foo 1> bar? 

A. The stdout from the command foo is appended to the file bar. 

B. The stdout from the command foo overwrites the file bar. 

C. The command foo receives its stdin from the file bar. 

D. The command foo receives its stdin from the stdout of the command bar. 

E. The stderr from the command foo is saved to the file bar. 

Answer:

Q2. - (Topic 3) 

What is the default action of the split command on an input file? 

A. It will break the file into new files of 1,024 byte pieces each. 

B. It will break the file into new files of 1,000 line pieces each. 

C. It will break the file into new files of 1,024 kilobyte pieces each. 

D. It will break the file into new files that are no more than 5% of the size of the original file. 

Answer:

Q3. - (Topic 3) 

Which of the following commands is used to change options and positional parameters for a running Bash? 

A. history 

B. set 

C. bashconf 

D. setsh 

E. envsetup 

Answer:

Q4. - (Topic 1) 

Which of the following statements is correct when talking about /proc/? 

A. All changes to files in /proc/ are stored in /etc/proc.d/ and restored on reboot. 

B. All files within /proc/ are read-only and their contents cannot be changed. 

C. All changes to files in /proc/ are immediately recognized by the kernel. 

D. All files within /proc/ are only readable by the root user. 

Answer:

Q5. - (Topic 3) 

What command will generate 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. cut -d: -f1,7 /etc/passwd 

Answer:

Q6. - (Topic 4) 

Which of the following commands can be used to search for the executable file foo when it has been placed in a directory not included in $PATH? 

A. apropos 

B. which 

C. find 

D. query 

E. whereis 

Answer:

Q7. - (Topic 4) 

Which of the following commands set the sticky bit for the directory /tmp? (Choose TWO correct answers.) 

A. chmod +s /tmp 

B. chmod +t /tmp 

C. chmod 1775 /tmp 

D. chmod 4775 /tmp 

E. chmod 2775 /tmp 

Answer: B,C 

Q8. - (Topic 4) 

Instead of supplying an explicit device in /etc/fstab for mounting, what other options may be used to identify the intended partition? (Choose TWO correct answers.) 

A. FIND 

B. ID 

C. LABEL 

D. NAME 

E. UUID 

Answer: C,E 

Q9. - (Topic 2) 

Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it? 

A. dd if=/dev/zero of=/dev/sda bs=512 

B. dd if=/dev/zero of=/dev/sda bs=512 count=1 

C. dd if=/dev/zero of=/dev/sda bs=440 count=1 

D. dd if=/dev/zero of=/dev/sda bs=440 

Answer:

Q10. - (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: