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. CORRECT TEXT - (Topic 3) 

Which Bash environment variable defines in which file the user history is stored when exiting a Bash process? (Specify ONLY the variable name.) 

Answer: HISTFILE 

Q2. - (Topic 3) 

Which shell command is used to continue background execution of a suspended command? 

A. & 

B. bg 

C. cont 

D. exec 

E. :& 

Answer:

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 1) 

Which SysV init configuration file should be modified to disable the ctrl-alt-delete key combination? 

A. /etc/keys 

B. /proc/keys 

C. /etc/inittab 

D. /proc/inittab 

E. /etc/reboot 

Answer:

Q5. - (Topic 3) 

Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose TWO correct answers.) 

A. esc ZZ 

B. ctrl :w! 

C. esc zz 

D. esc :wq! 

E. ctrl XX 

Answer: A,D 

Q6. - (Topic 3) 

Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file1.log? 

A. cat < myapp | cat > file1.log 

B. myapp 0>&1 | cat > file1.log 

C. myapp | cat > file1.log 

D. myapp | tee file1.log 

E. tee myapp file1.log 

Answer:

Q7. - (Topic 3) 

Which of the following commands can be used to determine how long the system has been running? (Choose TWO correct answers.) 

A. uptime 

B. up 

C. top 

D. uname -u 

E. time –up 

Answer: A,C 

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

Q9. - (Topic 3) 

What is the purpose of the Bash built-in export command? 

A. It allows disks to be mounted remotely. 

B. It runs a command as a process in a subshell. 

C. It makes the command history available to subshells. 

D. It sets up environment variables for applications. 

E. It shares NFS partitions for use by other systems on the network. 

Answer:

Q10. - (Topic 3) 

What does the ? symbol within regular expressions represent? 

A. Match the preceding qualifier one or more times. 

B. Match the preceding qualifier zero or more times. 

C. Match the preceding qualifier zero or one times. 

D. Match a literal ? character. 

Answer: