Linux Creating Users and Groups
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Hard
Patrick Hines
Used 3+ times
FREE Resource
Enhance your content in a minute
27 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You are the system administrator for a company's marketing department. A new marketing intern, Sarah Lee, needs access to the company file server but shouldn't be able to modify critical marketing documents. What's the best approach?
Answer explanation
Providing read-only group permissions ensures Sarah can access files while preventing unauthorized modifications.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You're managing a web server and need to create separate user accounts for two developers, Alex and Ben. Alex will manage the web application's codebase, while Ben will be responsible for uploading static content. Which command would be most appropriate to create these accounts?
Answer explanation
The useradd -m -G developers Alex Ben command creates user accounts with home directories and assigns them both to the "developers" group.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Your company uses a Linux server to manage customer data. To ensure data security, you decide to create a dedicated user account for a data processing script. This user account shouldn't have a shell access. Which option achieves this during account creation?
Answer explanation
The -s /sbin/nologin flag with useradd prevents login access for the user account.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A colleague needs temporary access to manage a specific directory on your Linux system. How can you grant them access without creating a full user account?
Answer explanation
Creating a group and assigning directory ownership allows controlled access without a full user account.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You're managing a team of network administrators. Each administrator needs access to manage network configurations but shouldn't be able to modify critical system files. What's the best course of action?
Answer explanation
Granting sudo access with specific command permissions allows administrators to manage networks without full root privileges.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You suspect a user account on your system might be compromised. What's the first step to investigate?
Answer explanation
Locking the account prevents further access while allowing investigation to determine the compromise.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
While managing user accounts, you accidentally mistype the username during account creation. How can you fix this username error?
Answer explanation
The usermod command allows modifying various user account attributes, including the username.
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
22 questions
CIW IBA Lesson 7 Vocabulary
Quiz
•
8th Grade - Professio...
24 questions
Unit4_Servlets_Exam1
Quiz
•
Professional Development
22 questions
QUIZZ X
Quiz
•
Professional Development
22 questions
Day 4 - Security I - Day 3 Review - 1st Review
Quiz
•
Professional Development
22 questions
3TH sem GAT 2023
Quiz
•
Professional Development
23 questions
AO Tema 16. Cuestionario
Quiz
•
Professional Development
23 questions
ICEBERG_Assessment_Pre
Quiz
•
University - Professi...
25 questions
Kuis ICT, internet dan jaringan
Quiz
•
University - Professi...
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
