It is more faster and easier to pass the CompTIA LX0-103 exam by using Tested CompTIA CompTIA Linux+ [Powered by LPI] 1 questuins and answers. Immediate access to the Down to date LX0-103 Exam and find the same core area LX0-103 questions with professionally verified answers, then PASS your exam with a high score now.

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


Q2. - (Topic 2) 

Which of the following commands lists the dependencies of a given dpkg package? 

A. apt-cache depends-on package 

B. apt-cache dependencies package 

C. apt-cache depends package 

D. apt-cache requires package 

Answer:


Q3. - (Topic 2) 

Which file should be edited to select the network locations from which Debian installation package files are loaded? 

A. /etc/dpkg/dpkg.cfg 

B. /etc/apt/apt.conf 

C. /etc/apt/apt.conf.d 

D. /etc/apt/sources.list 

E. /etc/dpkg/dselect.cfg 

Answer:


Q4. - (Topic 4) 

Which of the following commands will change the quota for a specific user? 

A. edquota 

B. repquota 

C. quota -e 

D. quota 

Answer:


Q5. - (Topic 3) 

Regarding the command: 

nice -5 /usr/bin/prog 

Whichof the following statements is correct? 

A. /usr/bin/prog is executed with a nice level of -5. 

B. /usr/bin/prog is executed with a nice level of 5. 

C. /usr/bin/prog is executed with a priority of -5. 

D. /usr/bin/prog is executed with a priority of 5. 

Answer:


Q6. - (Topic 4) 

After moving data to a new filesystem, how can the former path of the data be kept intact in order to avoid reconfiguration of existing applications? (Choose TWO correct answers.) 

A. By creating an ACL redirection from the old to the new path of the data. 

B. By creating a hard link from the old to the new path of the data. 

C. By creating a symbolic link from the old to the new path of the data. 

D. By running the command touch on the old path. 

E. By mounting the new filesystem on the original path of the data. 

Answer: C,E 


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


Q8. - (Topic 4) 

Creating a hard link to an ordinary file returns an error. What could be the reason for this? 

A. The source file is hidden. 

B. The source file is read-only. 

C. The source file is a shell script. 

D. The source file is already a hard link. 

E. The source and the target are on different filesystems. 

Answer:


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


Q10. - (Topic 2) 

What can the Logical Volume Manager (LVM) be used for? (Choose THREE correct answers.) 

A. To create RAID 9 arrays. 

B. To dynamically change the size of logical volumes. 

C. To encrypt logical volumes. 

D. To create snapshots. 

E. To dynamically create or delete logical volumes. 

Answer: B,D,E 


Q11. CORRECT TEXT - (Topic 4) 

Which umask value will result in the default access permissions of 600 (rw-------) for files and 700 (rwx------) for directories? (Specify only the numerical umask value.) 

Answer: 0077, 077 


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


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


Q14. - (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 


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


Q16. CORRECT TEXT - (Topic 2) 

Which option to the yum command will update the entire system? (Specify ONLY the option name without any additional parameters.) 

Answer: update, upgrade 

Topic 3, GNU and Unix Commands 


Q17. - (Topic 1) 

What information can the lspci command display about the system hardware? (Choose THREE correct answers.) 

A. Device IRQ settings 

B. PCI bus speed 

C. System battery type 

D. Device vendor identification 

E. Ethernet MAC address 

Answer: A,B,D