Exam Code: LX0-103 (Practice Exam Latest Test Questions VCE PDF)
Exam Name: CompTIA Linux+ [Powered by LPI] 1
Certification Provider: CompTIA
Free Today! Guaranteed Training- Pass LX0-103 Exam.
Q31. - (Topic 4)
Which of the following commands can be used to display the inode number of a given file?
A. inode
B. ls
C. ln D. cp
Answer: B
Q32. CORRECT TEXT - (Topic 4)
Which command is used to create and initialize the files used to store quota information? (Specify ONLY the command without any path or parameters.)
Answer: quotacheck
Q33. - (Topic 3)
Which of the following shell redirections will write standard output and standard error output to a file named filename?
A. 2>&1 >filename
B. >filename 2>&1
C. 1>&2>filename
D. >>filename
E. 1&2>filename
Answer: B
Q34. - (Topic 4)
How many fields are in a syntactically correct line of /etc/fstab?
A. 3
B. 4
C. 5
D. 6
E. 7
Answer: D
Q35. - (Topic 1)
Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)
A. startd
B. systemd
C. Upstart
D. SysInit
E. SysV init
Answer: B,C,E
Q36. - (Topic 4)
Which of the following settings for umask ensures that new files have the default permissions -rw-r----- ?
A. 0017
B. 0640
C. 0038
D. 0027
Answer: D
Q37. - (Topic 2)
Which of the following is correct when talking about mount points?
A. Every existing directory can be used as a mount point.
B. Only empty directories can be used as a mount point.
C. Directories need to have the SetUID flag set to be used as a mount point.
D. Files within a directory are deleted when the directory is used as a mount point.
Answer: A
Q38. - (Topic 3)
When starting a program with the nice command without any additional parameters, which
nice level is set for the resulting process?
A. -10
B. 0
C. 10
D. 20
Answer: C
Q39. - (Topic 3)
Which of the following commands kills the process with the PID 123 but allows the process to "clean up" before exiting?
A. kill -PIPE 123
B. kill -KILL 123
C. kill -STOP 123
D. kill -TERM 123
Answer: D
Q40. - (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: B