100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

Linux+ Exam Practice Questions and Answers

Rating
-
Sold
-
Pages
27
Grade
A+
Uploaded on
28-05-2024
Written in
2023/2024

Linux+ Exam Practice Questions and Answers Going through the process of creating a new user, which commands will make this task successful? (select 2) A. useradd B. passwd C. /etc/passwd D. /etc/ - Correct Answer️️ -A. useradd B. passwd You are unable to run the apt-get command because you do not have root priveleges. what command can you run to be able to update the APT (Advanced Package Tool) database of available packages? A. sudo apt-get update B. su -root C. visudo D. Sudoedit - Correct Answer️️ -A. sudo apt-get update A new user called amoon was created on a Linux workstation for a new admin named Alex Moon. The administrator is unable to use it. How will you resolve this? A. vi /etc/passwd B. passwd amoon C. usermod -c "Alex Moon" amoon D. passwd -l amoon - Correct Answer️️ -B. passwd amoon To better manage the users on a Linux workstation, you create a group with a specific name and system defaults. which command will create the group, and where can you find information for the newly created group? (select 2) A. groupadd accountants B. groupadd -g 555 accountants C. /etc/group file D. /etc/profile file - Correct Answer️️ -A. groupadd accountants C. /etc/group file You are unsure which user account you have used to login to your current session on a linux server. which command can you run to display your current user name? A. who B. whoami C. who -i D. w - Correct Answer️️ -B. whoami Which file can you configure to customize your own use of aliases? A. /etc/bashrc B. .bash_profile C. /etc/profile D. .bashrc - Correct Answer️️ -D. bashrc You want to check the permissions of several directories and remove the ability to write to them, if necessary. Which commands will help you accomplish this? (select 2) A. ls -l B. ls -ld C. chmod u-w, g-w, o-w {file or directory name} D. chmod u+r, g+r, o+r {file or directory name} - Correct Answer️️ -B. ls -ld C. chmod u-w, g-w, o-w {file or directory name} An employee in the accounting department who managed a specific directory on a linux file server has left the company. another user called amoon or Alice Moon must take over the directory. which command will effectively change the directory's ownership? A. chgrp accountants {directory name} B. ls -ld {directory name} C. chmod g+s {directory name} D. chown amoon {directory name} - Correct Answer️️ -D. chown amoon {directory name} You want to set a specific file as immutable to prevent it from being modified even from the root user. what command will set this file as immutable? A. chattr +i {file name} B. setfacl -b {file name} C. chmod u+s {file name} D. lsattr {file name} - Correct Answer️️ -A. chattr +i {file name} A user is denied permission to enter a directory, despite having the read permission. what is most likely cause for the denial and what is the solution? (select 2) A. Use chmod to add execute permissions to the specific directory. B. The user needs execute permission to have access to the directory C. As root, remove the immutable flag from the directory using the c

Show more Read less
Institution
Linux
Course
Linux










Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Linux
Course
Linux

Document information

Uploaded on
May 28, 2024
Number of pages
27
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
OliviaWest Teachme2-tutor
View profile
Follow You need to be logged in order to follow users or courses
Sold
105
Member since
1 year
Number of followers
17
Documents
8528
Last sold
1 day ago
Pure Orchid Haven.

All Documents,and package deals offered by seller Olivia West.

2.8

22 reviews

5
6
4
2
3
4
2
1
1
9

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions