User/Group Management and Bash in Cloud CLIs Quiz

User/Group Management and Bash in Cloud CLIs Quiz

9th Grade

10 Qs

quiz-placeholder

Similar activities

Parts Of A PC

Parts Of A PC

9th - 12th Grade

12 Qs

informatika sınaqları

informatika sınaqları

KG - University

15 Qs

WIndows XP

WIndows XP

KG - Professional Development

8 Qs

แบบทดสอบคอมพิวเตอร์ Microsoft Word

แบบทดสอบคอมพิวเตอร์ Microsoft Word

1st - 12th Grade

5 Qs

Arch linux quiz HARDER EDITION

Arch linux quiz HARDER EDITION

7th Grade - Professional Development

10 Qs

PYTHON

PYTHON

KG - Professional Development

9 Qs

SP QUIZ 1 - SURNAME ONLY

SP QUIZ 1 - SURNAME ONLY

9th Grade - University

10 Qs

Lesson One - 1-15 Social Media Vocab

Lesson One - 1-15 Social Media Vocab

9th - 12th Grade

11 Qs

User/Group Management and Bash in Cloud CLIs Quiz

User/Group Management and Bash in Cloud CLIs Quiz

Assessment

Quiz

Instructional Technology

9th Grade

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?