
User/Group Management and Bash in Cloud CLIs Quiz

Quiz
•
Instructional Technology
•
9th Grade
•
Medium
T Branding
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command adds a new user in Ubuntu 20.04 LTS?
useradd
adduser
newuser
mkuser
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which file lists all users on a Linux system?
/etc/shadow
/etc/passwd
/etc/groups
/etc/users
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does sudo usermod -aG devs dev1 do?
Creates a new user named “dev1”
Adds “dev1” to the “devs” group
Deletes the “devs” group
Changes “dev1”’s password
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command lets you switch to another user to test permissions?
sudo
su
whoami
id
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the Bash script cat /etc/passwd > users.txt do?
Lists groups in “users.txt”
Saves the user list to “users.txt”
Deletes “users.txt”
Edits the /etc/passwd file
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command installs the Azure CLI on Ubuntu?
sudo apt install azure-cli
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
sudo yum install az
pip install azure
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does az resource list > resources.txt do in a Bash script?
Logs into Azure
Lists Azure resources and saves them to “resources.txt”
Deletes resources from Azure
Checks disk space in Azure
Create a free account and access millions of resources
Similar Resources on Wayground
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Instructional Technology
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
20 questions
Biomolecules

Quiz
•
9th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade