A team needs shared access to project files without granting access to everyone. Which approach best fits this goal?
Linux Account, Package, and Permission Basics Online Quiz Questions
Use this free practice quiz with 20 questions to review Linux Account, Package, and Permission Basics, test your knowledge, and prepare for your next test or exam.
Select all statements that correctly describe APT package management on Ubuntu/Debian.
- A
Run
sudo apt updatebefore installing or upgrading so APT can use current repository information. - B
Run
sudo apt remove package-nameto remove the package and ensure that all its configuration files are also removed. - C
Run
sudo apt purge package-nameto remove the package and its package configuration files. - D
Run
sudo apt remove package-nameto uninstall a package that may leave its system configuration files.
For a Linux directory, execute permission allows traversal into it; it does not mean the same thing as running a file.
- A
True
- B
False
Which APT subcommand uninstalls a package but may leave its system configuration files?
On Ubuntu, membership in the group grants administrative capability.
Explain what numeric permission mode 640 allows for the owner, the group, and other users of a file.
For a file with permission mode 640, what access does the group have?
- A
The group can read and write the file.
- B
The group can read and execute the file.
- C
The group can read the file but cannot write or execute it.
- D
The group has no access to the file.
Select all accurate cautions for managing Ubuntu user accounts.
- A
Locking an account's password does not necessarily prevent sign-in using SSH keys.
- B
Decide separately whether to retain or delete an account's home directory and data when removing the account.
- C
Adding a user to the sudo group is a safe way to grant ordinary shared-file access.
- D
An unfamiliar account might be used by a service, so do not remove it solely because it is unfamiliar.
Running sudo apt remove package-name deletes a user's documents and other application data associated with the package.
- A
True
- B
False
Which command checks the account IDs and groups for the user named sam?
Before installing or upgrading software, run sudo apt . To uninstall a package while potentially leaving its system configuration files, run sudo apt .
For a file with permission mode 640, what access do other users have?
- A
Others can read the file.
- B
Others have no access.
- C
Others can read and execute the file.
- D
Others can read, write, and execute the file.
On Ubuntu, deleting a user account automatically deletes that account’s home directory and data.
- A
True
- B
False
Which APT subcommand removes a package’s configuration files as well as the package itself?
Which command changes the owner or associated group of a file?
- A
chmod - B
ls -l - C
chown - D
id
Running sudo apt remove package-name deletes users’ documents and other application data.
- A
True
- B
False
Which command checks a user’s IDs and group memberships? Enter the command name, without a username or options.
What does execute (x) permission allow for a directory?
- A
It allows traversal into the directory.
- B
It allows anyone to change the directory’s owner.
- C
It means the directory is run as a program.
- D
It grants read and write access to everyone.
On Ubuntu, which group grants its members administrative capability?
Which command refreshes APT’s package index before installing or upgrading software?
- A
sudo apt upgrade - B
sudo apt update - C
sudo apt remove package-name - D
sudo apt purge package-name
Related study packs and tools
1 High- and Very-High-Pressure Refrigeration Systems
A medium-difficulty quiz on EPA pressure categories, refrigeration-cycle components, pressure behavior, and safety hazards.
1 Low-Pressure Appliances and Chiller Fundamentals
A medium-difficulty quiz on low-pressure chiller operation and service practices, from practical precautions to applied reasoning.
2 Safety and Service Preparation
A practical guide to preparing safely for low-pressure refrigeration service by assessing hazards, identifying refrigerant, checking equipment, and planning recovery and evacuation.
3 EPA Section 608 Type I Requirements
A medium-difficulty quiz on EPA Section 608 Type I certification scope, small-appliance criteria, and refrigerant handling requirements.
3 Refrigerant Recovery Procedures
A quiz on safe setup, operation, and completion of refrigerant recovery for low-pressure appliances.
3 Refrigerant Recovery Procedures
Learn how to prepare for refrigerant recovery, select and monitor a recovery method, meet applicable evacuation endpoints, and handle recovered refrigerant safely.
3 Refrigerant Recovery Procedures
Learn how to prepare, connect, and operate recovery equipment for low-pressure appliances while protecting refrigerant quality and handling cylinders safely.
4 Evacuation and Dehydration Procedures
A quiz on safe evacuation, dehydration, and vacuum verification for refrigeration circuits.
4 Small Appliance Refrigerant Recovery Procedures
A 14-question quiz on safe, compliant recovery procedures for small appliances, including equipment selection, recovery targets, and refrigerant handling.
5 Chiller Service Practice and Verification
Practice chiller recovery, safety checks, endpoint verification, and service documentation. Follow equipment-specific procedures and applicable requirements.
5 Chiller Service Practice and Verification
A practical framework for safely recovering refrigerant from chillers, verifying recovery and dehydration endpoints, troubleshooting problems, and documenting service work.
5 Small Appliance Service and Compliance Workflows
Learn how to diagnose, service, document, and prepare small appliances for disposal while meeting applicable refrigerant recovery and certification requirements.