Linux Foundation CERTIFIED SYSTEM ADMINISTRATOR Exam Practice Test

Page:    1 / 14   
Total 260 questions

Question 1

On a Linux system with shadow passwords enabled, which file in the file system contains the password hashes of all local users? (Specify the full name of the file, including path.)

See Below Explanation:




Answer : A

Question 2

Which of the following commands connects to the remote host example.com which has OpenSSH listening on TCP port 2222? (Choose TWO correct answers.)



Answer : B, C

Question 3

Given a file called birthdays containing lines like:

YYYY-MM-DD Name

1983-06-02 Tim

1995-12-17 Sue

Which command would you use to output the lines belonging to all people listed whose birthday is in May or June?



Answer : C

Question 4

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?



Answer : B

Question 5

Which approach will provide a listing of the contents in a tar archive?



Answer : A

Page:    1 / 14   
Total 260 questions