最新的Linux Foundation Certified System Administrator - LFCS免費考試真題

問題1
Which of the following commands will output all of the lines with the name Fred in upper or lower case but not the word red from the file data_file?(Choose two)

正確答案: A,B
問題2
Where are user specific crontabs stored?

正確答案: A
問題3
What is the default action of the split command on an input file?

正確答案: A
問題4
Which of the following commands preloads and manages keys that are used for automatic authentication while logging in to other machines using SSH?

正確答案: A
問題5
What is the output of the following command sequence? for token in a b c; do
echo -n "$token ";
done

正確答案: D
問題6
Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?

正確答案: A
問題7
On a regular users workstation the route command takes a long time before printing out the routing table. Which of the following errors does that indicate?

正確答案: A
問題8
The script, script.sh, consists of the following lines:
#!/bin/bash
echo $2 $1
Which output will appear if the command, ./script.sh test1 test2, is entered?

正確答案: D
問題9
Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?

正確答案: C
問題10
Which of the following commands will print the last 10 lines of a text file to the standard output?

正確答案: C
問題11
After modifying GNU GRUB's configuration file, which command must be run for the changes to take effect?

正確答案: A
問題12
Which of the following steps prevents a user from obtaining an interactive login session?

正確答案: D
問題13
How can the current directory and its subdirectories be searched for the file named MyFile.xml?

正確答案: D