Certification Exam Prep Questions For Linux + Exam 1(LX0-103)
QuickStart is now offering assessment questions for Microsoft (AZ-103): Microsoft Azure Administrator. Whether you are deciding which exam to sign up for, or simply want to practice the materials necessary to complete certification for this course, we have provided a practice assessment to better aid in certification. 100% of the questions are real questions; from a recent version of the test you will take for Microsoft (AZ-103): Microsoft Azure Administrator.
Which command can be used to ensure that only the owner and the owners group permissions on the myproj directory?
- A. Chmod 700 MyProj
-
Incorrect.
- B. Chmod 770 Myproj
-
Correct!
- C. Chmod 720 MyProj
-
Incorrect.
- D. Chown user MyProj
-
Incorrect.
Which command can be executed to find all the files in the current directory for which the file owners have read and write permissions?
- A. Find -permission +0600
-
Incorrect.
- B. Find -perm -0600
-
Correct!
- C. Find -perm -0600
-
Incorrect.
- D. Locate -permission -0600
-
Incorrect.
3. You need to undo the most recent command in the vi editor. Which command should you use?
You teach a Linux course and have a large list of students enrolled in the course. After registration is complete, you need to sort the list of names alphabetically using commands on the Linux shell. You need a way to connect your output command with your sorting command. Which of these will you use to accomplish this task?
- A. redirection operator (>)
-
Incorrect.
- B. Cat
-
Incorrect.
- C. pipe operator (I)
-
Correct!
- D. Spilit
-
Incorrect.
What is the function of the rpm -e command?
- A. The command installs an RPM software package.
-
Incorrect.
- B. The command uninstalls an RPM software package.
-
Correct!
- D. The command builds an RPM software package.
-
Incorrect.
Which Command maintains a database that will need to be updated to ensure that its result are current and accurate?
You are Linux administrator. You need to change the current boot target on your Linux server, but you do not want the effect to be sustained for the next boot. Which of these would you use?
A Linux user issues the rmdir -p /home/Jim/Staff command. What will be the output of this command?
- A. The Staff directory and its subdirectories will be deleted along with their contents after prompting.
-
Incorrect.
You need to change the default runlevel of your linux server . which of these would you use to accomplish this?
- A. /user/lib
-
Incorrect.
- B. None of these
-
Incorrect.
- C. /etc/system
-
Incorrect.
- D. /etc/inittab
-
Correct!
What is the purpose of the wc command?
- A. To extract certain lines from a file
-
Incorrect.
- B. To display the last 10 lines of a file
-
Incorrect.
- D. To display the first 10 lines of a file
-
Incorrect.
What is the function of the mount -t iso9660 image.img /mnt/images command?
- A. mounts a file as if it were a disk partition
-
Correct!
- B. sets the owner of the file
-
Incorrect.
- C. changes mount options on a mounted partition
-
Incorrect.
- D. sets the user mask on the file
-
Incorrect.
While editing a file. a Linux user wants to issue several Linux shell commands. Which command can be used to issue several Linux commands in succession without exiting the vi editor?
A file has the InvxnnixnAgx permission string. Which file type is represented by this permission string?
- A. a symbolic link file
-
Correct!
- B. a piped file
-
Incorrect.
- C. a socket file
-
Incorrect.
- D. a hard link file
-
Incorrect.
A user issues the make command to read the contents of the Makefile file present in the /home/user/bin directory. Which option of the make command will enable the user to specify the path to the Makefile file?
Which command can be used to generate a list of all the files present in kaplanit, an RPM package installed on a system?
- A. rpm -ql kaplanit
-
Correct!
- B. rpm -e kaplanit
-
Incorrect.
- C. rpm --list r kaplanit
-
Incorrect.
- D. find -name kaplanrspm
-
Incorrect.
What is equivalent to running the xfs_info command?
- A. xfs_metadump -e
-
Incorrect.
- B. xfsgrowfs -n
-
Correct!
- C. xfs_metadump
-
Incorrect.
- D. xfsgrowfs
-
Incorrect.
Which command displays the disk space usage for mounted filesystems?
You have two files that need to be merged line-by-line. The lines from each file must be separated by tabs. Which command should you use?
You need to install GRUB in the /boot partition on the system's second hard drive. What should you do?
- A. Use the grub-install --root-directory=/boot hd2 command.
-
Incorrect.
- C. At the grub command-line interface, type setup (hdl ).
-
Incorrect.
- D. Use the grub-install --root-directory=/boot hdl command.
-
Incorrect.
You need save a backup of all your files on a Linux server. There are hundreds of files and subfolders inside your personal folder. How can you copy all the files in one action?
How is single-user mode different from other runlevels?
While taking a backup of an archive of a directory, the system administrator wants to compress the files by using the bzip2 utility. Which option should the administrator use with the tar utility?
Which directory contains the startup and termination scripts?
You need to move up half a screen in the vi editor. Which command should you use?
Which device is most likely to use IRQ 5?
- A. Sound card
-
Correct!
- B. Floppy drive controller
-
Incorrect.
- C. Secondry IDE
-
Incorrect.
- D. Real time clock
-
Incorrect.
You have a file open in the vi editor. You want to display all lines that contain the text string development. Which command should you use?
- A. g/development/d
-
Incorrect.
- B. g/development/p
-
Correct!
- C. pdevelopment/d
-
Incorrect.
- D. s/development/d
-
Incorrect.
You need to determine the quota settings for the research group. Which command should you use?
- A. quota research
-
Incorrect.
- B. repquota research
-
Incorrect.
- C. quota -g research
-
Correct!
- D. repquota -g research
-
Incorrect.
You have copied several lines using the yy command. You navigate to a new location and want to paste those lines below your current position in the file. Which command should you use?
A custom application named Research uses the /usr/local/researchapp/data file to maintain its data. However, the hard drive on which this resides is filling up. You create a new partition on another drive and mounted as /data at root. You need to ensure that the new location is actually used by the application without changing any settings within the application. Which command should you use?
- A. In /usr/local/researchapp/data /data
-
Incorrect.
- B. In -s /usr/local/researchapp/data /data
-
Incorrect.
- C. In -s /data /usr/local/researchapp/data
-
Correct!
- D. In /data /usrllocal/researchapp/data
-
Incorrect.
You need to run the repquota command to determine quota usage on your Linux server. The output must report quota usage for all filesystems in the /etc/mtab file. Which parameter should you use?
- Home
- LX0-103 Sample Question - Linux + Exam 1
LX0-103 Sample Question - Linux + Exam 1
More Information:
- Learning Style: On Demand
- Learning Style: Practice Exam
- Difficulty: Beginner
- Course Duration: 1 Hour
- Course Info: Download PDF
- Certificate: See Sample
Contact a Learning Consultant
Need Training for 5 or More People?
Customized to your team's need:
- Annual Subscriptions
- Private Training
- Flexible Pricing
- Enterprise LMS
- Dedicated Customer Success Manager
Course Information