TestOut Linux Pro Certification Practice
Exam
Candidate: Sergio Soares (soares1)
Date: 3/19/2022 4:51:48 am • Time spent: 20:07
Score: 100% Passing Score: 95%
Question 1: Correct
To answer this question, complete the lab using the information below.
You have already answered this question.
Launch Lab
You are not allowed to view the lab again.
You completed the lab correctly. Loading
REFERENCES
8.7.4 Determine the Amount of Free Disk Space
8.7.5 Determine the Directory Size
8.7.6 Find the User Quota
8.7.7 Generate a Quota Report
8.7.8 Turn Quotas On
8.7.9 Turn Quotas Off
8.7.10 Edit Quotas 1
8.7.11 Edit Quotas 2
l_edquota2_lp5.question.fex
Question 2: Correct
To answer this question, complete the lab using the information below.
You have already answered this question.
Launch Lab
You are not allowed to view the lab again.
You completed the lab correctly. Loading
REFERENCES
2.8.3 Directory Management
2.8.4 Manage Directories
2.8.5 Directory Management Facts
2.8.9 Create Directories
2.8.10 Delete Directories
2.9.10 Delete Files and Directories
l_fs_dir_lp5.question.fex
Question 3: Correct
To answer this question, complete the lab using the information below.
You have already answered this question.
Launch Lab
You are not allowed to view the lab again.
You completed the lab correctly. Loading
REFERENCES
7.1.1 Linux User Overview
7.1.3 User and Group File Review
7.2.5 Create a User Account
7.2.6 Rename a User Account
7.2.7 Delete a User
7.2.9 Change a User's Password
7.2.10 Lock and Unlock User Accounts
15.1.6 Log Out of the System
l_usrdel1_lp5.question.fex
Question 4: Correct
This question includes a lab to help you answer the question. View Lab
Type ls -a /hr at the prompt to answer the question.
What is the name of the hidden directory in /hr?
.sanford
EXPLANATION
/hr has a single hidden directory: .sanford. Hidden directories and files begin with a period and are
not shown with the normal ls command. Use ls -a /hr to view all directory contents.
REFERENCES
0.1.3 Manage Linux Files
2.8.1 Directory Navigation
2.8.2 Navigate Directories
2.8.5 Directory Management Facts
2.8.6 Find the Working Directory
2.8.7 View Directory Information
2.9.1 Commands for Viewing Files
2.9.2 File Management
2.9.3 View File Contents
2.9.4 Manage Files
2.9.5 File Management Facts
2.9.6 View the Contents of a File
2.9.7 View a List of Available Shells
q_sh_hidden_lp5.question.fex
Question 5: Correct
This question includes a lab to help you answer the question. View Lab
You are logged on as Will Adams (wadams), and your working directory is /home/wadams/. Type
du at the prompt to answer the following questions.
How big is the /home/wadams directory? What is the largest directory in /home/wadams?
100 K ./.config
What is the size of the ./.config/ibus/bus directory?
40 K
EXPLANATION
The du command shows the hard disk space used by the file system or directory. 100 K is the size
of the /home/wadams directory. ./.config is the largest directory in /home/wadams. 40 K is the size
of the ./.config/ibus/bus directory.
REFERENCES
8.7.4 Determine the Amount of Free Disk Space
8.7.6 Find the User Quota
8.7.7 Generate a Quota Report
8.7.8 Turn Quotas On
8.7.9 Turn Quotas Off
8.7.10 Edit Quotas 1
8.7.11 Edit Quotas 2
q_du1_lp5.question.fex
Question 6: Correct
To answer this question, complete the lab using the information below.
You have already answered this question.
Launch Lab
You are not allowed to view the lab again.
You completed the lab correctly. Loading
REFERENCES
4.3.1 systemd Boot Targets
4.3.2 Managing Boot Targets
4.3.3 Change the Current Target
4.3.4 Set the Default Boot Target
4.3.5 Boot Target Facts
l_set_targs_lp5.question.fex
Question 7: Correct
To answer this question, complete the lab using the information below.
You have already answered this question.
Launch Lab
You are not allowed to view the lab again.
You completed the lab correctly. Loading
REFERENCES
10.4.8 Print a File
10.4.9 Remove a Print Job
l_prt_rem_lp5.question.fex
Question 8: Correct
To answer this question, complete the lab using the information below.
You have already answered this question.
Launch Lab
You are not allowed to view the lab again.
You completed the lab correctly. Loading
REFERENCES
6.2.3 Install Packages with Dandified YUM (DNF)
6.2.4 YUM and DNF Facts
6.2.5 Use DNF to Install an RPM Package
6.2.6 Use DNF to Remove an RPM Package
15.4.1 Network Security
15.4.2 Remove Unneeded Services and Scan Ports
15.4.3 Network Security Facts
l_dnf2_lp5.question.fex
Question 9: Correct
This question includes a lab to help you answer the question. View Lab
According to the command help, which of the following is the result of adding -G to the usermod
command as a single option? Type usermod -h or usermod --help at the prompt to answer the
question.
The user is assigned to a new list of supplementary groups.
The user is assigned to a new primary group.
A new group is appended to the user's list of supplementary groups.
A new home directory is assigned to the user account.
EXPLANATION
The usermodcommand with the -G (groups) option assigns a user to a new list of supplementary
or secondary groups. The -G switch replaces the user's current list of secondary groups with a new
list specified in the command.
The -g (gid) option changes the user's primary group.
In conjunction with the -G option, the -a (append) option appends a new secondary group to an
existing list of secondary groups. However, this was not using a single option. The syntax when
using both options is -aG or -Ga.
The -d (home) option changes the user's home directory.
REFERENCES
2.2.1 Linux Help Resources
2.2.2 Access Help Resources
2.2.3 Help Facts
2.2.4 Get Help 1
2.2.5 Get Help 2
q_hlp3_lp5.question.fex
Question 10: Correct
To answer this question, complete the lab using the information below.
You have already answered this question.
Launch Lab
You are not allowed to view the lab again.
You completed the lab correctly. Loading
REFERENCES
7.1.2 Linux Group Overview
7.1.3 User and Group File Review
7.1.6 View Group Membership Information
7.3.4 Rename and Create Groups
7.3.5 Add Users to a Group
7.3.6 Add a User to Additional Groups
7.3.7 Delete a Group and Users
7.3.8 Remove a User from a Group
7.3.9 Remove a User from All Groups
l_grpmod_lp5.question.fex
Question 11: Correct
To answer this question, complete the lab using the information below.
You have already answered this question.
Launch Lab
You are not allowed to view the lab again.
You completed the lab correctly. Loading
REFERENCES
8.11.4 Set the SUID Bit
8.11.5 Remove SUID and SGID Permissions
l_suid1_lp5.question.fex
Question 12: Correct
To answer this question, complete the lab using the information below.
You have already answered this question.
Launch Lab
You are not allowed to view the lab again.
You completed the lab correctly. Loading
REFERENCES
8.9.5 Set Directory Permissions
8.9.6 Add File Permissions
8.9.7 Set File Permissions
8.9.8 Enable Directory Browsing
l_fs_dirb_lp5.question.fex
Question 13: Correct
To answer this question, complete the lab using the information below.
You have already answered this question.
Launch Lab
You are not allowed to view the lab again.
You completed the lab correctly. Loading
REFERENCES
2.10.1 Links
2.10.2 Create Links
2.10.3 Link Facts
2.10.4 Create a Hard Link
2.10.5 Create a Symbolic Link
l_link_soft_lp5.question.fex
Question 14: Correct
To answer this question, complete the lab using the information below.
You have already answered this question.
Launch Lab
You are not allowed to view the lab again.
You completed the lab correctly. Loading
REFERENCES
6.1.1 Red Hat Package Manager (RPM)
6.1.2 RPM Package Management
6.1.3 Manage RPM Packages
6.1.4 Install an RPM Package
6.1.5 Remove an RPM Package
6.1.6 Update an RPM Package
6.1.7 RPM Facts
6.2.1 Yellowdog Updater, Modified (YUM)
6.2.2 Install Packages with YUM
6.2.4 YUM and DNF Facts
15.4.1 Network Security
15.4.2 Remove Unneeded Services and Scan Ports
15.4.3 Network Security Facts
l_rpm3_lp5.question.fex
Question 15: Correct
To answer this question, complete the lab using the information below.
You have already answered this question.
Launch Lab
You are not allowed to view the lab again.
You completed the lab correctly. Loading
REFERENCES
8.9.5 Set Directory Permissions
8.9.6 Add File Permissions
8.9.7 Set File Permissions
8.9.8 Enable Directory Browsing
l_fs_fper2_lp5.question.fex
Question 16: Correct
This question includes a lab to help you answer the question. View Lab
View the /etc/group file. Type cat /etc/group at the prompt to answer the following questions:
Which of the following user accounts is not a member of the mgmt1 group?
bcasssini
Which of the following users belongs to the devel group?
mbrown
What is the sales group's ID?
513
What is the name of the group with the ID 503?
cflynn
EXPLANATION
Use cat/etc/group to view the contents of the group file.
bcassini is not a member of the mgmt1 group.
mbrown belongs to the devel group.
513 is the sales group's ID.
Group 503 is named cflynn.
REFERENCES
7.1.2 Linux Group Overview
7.1.3 User and Group File Review
7.3.4 Rename and Create Groups
7.3.5 Add Users to a Group
7.3.6 Add a User to Additional Groups
7.3.7 Delete a Group and Users
7.3.8 Remove a User from a Group
7.3.9 Remove a User from All Groups
q_sh_grpm_lp5.question.fex
Question 17: Correct
To answer this question, complete the lab using the information below.
You have already answered this question.
Launch Lab
You are not allowed to view the lab again.
You completed the lab correctly. Loading
REFERENCES
8.7.4 Determine the Amount of Free Disk Space
8.7.5 Determine the Directory Size
8.7.6 Find the User Quota
8.7.7 Generate a Quota Report
8.7.8 Turn Quotas On
8.7.9 Turn Quotas Off
8.7.10 Edit Quotas 1
8.7.11 Edit Quotas 2
l_quota_off_lp5.question.fex
Question 18: Correct
To answer this question, complete the lab using the information below.
You have already answered this question.
Launch Lab
You are not allowed to view the lab again.
You completed the lab correctly. Loading
REFERENCES
4.4.1 System Services
4.4.8 Manage System Services
4.4.9 Enable System Services at Boot
l_services2_lp5.question.fex
Copyright © 2022 TestOut Corporation All rights reserved.