Courseiva

010-160 · domain

Security And File Permissions

Practise LPI Linux Essentials (010-160, v1.6) (010-160) Security And File Permissions practice questions — original exam-style scenarios with answer choices, explanations, and analysis of common mistakes.

35 questions11 easy12 medium12 hard

Focused practice

Practice Security And File Permissions questions

Scored sessions drawing only from this domain — pick a length below.

Start 20-question practice test →

What this domain covers

What to know about Security And File Permissions

Security And File Permissions questions test whether you can apply the concept in context, not just recognise a definition.

How the topic appears in realistic exam-style scenarios.

Which detail in the question changes the correct answer.

How to eliminate plausible but wrong options.

How to connect the question back to the wider exam objective.

Watch out for

Common Security And File Permissions exam traps

  • Answering from memory before reading the full scenario.
  • Missing a constraint such as cost, availability, security, scope or command context.
  • Choosing a broad answer when the question asks for the most specific fix.
  • Ignoring why the wrong options are tempting.

Question index

All Security And File Permissions questions (35)

Click any question to see the full explanation, or start a practice session above.

1

You need to prevent a standard user from accidentally deleting a critical configuration file owned by root. Which command ensures the file cannot be modified or deleted even by the root user?

Easy
2

You have a file 'notes.txt' and you want to ensure the group owner can read and write it, but nobody else can access it. Which chmod command works?

Medium
3

Which THREE commands can be used to check user information or current session identity?

Medium
4

A system administrator needs to identify the numerical ID (UID) of the user 'jdoe'. Which file should be checked?

Easy
5

What is the primary purpose of the /etc/shadow file?

Easy
6

Which command removes a group named 'tempgroup' from the system?

Medium
7

You notice a file has permissions listed as '-rwsr-xr-x'. What does the 's' in the owner's position indicate?

Hard
8

You are configuring a temporary directory where multiple users save files. To ensure that users can only delete their own files and not files created by others, what must you set?

Medium
9

Which TWO of the following locations or methods are commonly used to define where a user's home directory is located?

Hard
10

To add a new user named 'guest' and set their home directory to '/home/guest', which command is correct?

Medium
11

Which TWO of the following characterize the 'root' user in Linux?

Hard
12

Which TWO of these tools can modify file ownership or permissions?

Medium
13

You want to change the owner of 'data.txt' from 'user1' to 'user2' AND the group from 'group1' to 'group2' in one command. Which is correct?

Hard
14

You want to change the primary group of an existing user named 'bob' to 'staff'. Which command should you use?

Medium
15

Which directory contains the user accounts' password hashes and aging data on most modern Linux systems?

Easy
16

Which TWO of the following files are essential for basic user and group management?

Easy
17

Which command would you use to change the expiration date of a user's password?

Medium
18

You are managing a directory shared by a project team. You want all files created in this directory to automatically belong to the 'developers' group, regardless of the user's primary group. Which command achieves this?

Hard
19

Which THREE commands are related to viewing or changing group memberships?

Medium
20

You want to set a default umask of 027 for all users. Which file should you edit to apply this globally?

Hard
21

You need to create a new group named 'audit'. Which command should you execute?

Medium
22

Which permission bit must be set on a directory to allow a user to enter the directory and access files within it?

Easy
23

Which TWO of the following are true about the 'others' category of file permissions?

Easy
24

Which THREE of the following are special permission bits in Linux?

Hard
25

A user complains they cannot read a file. The file has permissions 640 and is owned by root, but the user is in the group that owns the file. Why can't they read it?

Hard
26

Which THREE of these are valid types of permissions in Linux file systems?

Easy
27

What is the result of running 'chmod 000 secret.txt'?

Hard
28

Which TWO statements regarding the 'umask' command are correct?

Hard
29

Which command-line tool is used to display the groups a specific user belongs to?

Easy
30

You want to delete a user account named 'baduser' and also remove their home directory. Which command is correct?

Hard
31

Which file permission represents read, write, and execute for the owner, and read-only for group and others?

Easy
32

A user's account has been compromised. Which command is the most effective way to lock the user account immediately while preserving their files?

Hard
33

A file is owned by root and has permissions 600. What happens if a regular user tries to read this file?

Easy
34

Which THREE commands are used to manage user account lifecycle?

Medium
35

A user reports they cannot execute a script named 'deploy.sh' even though the file permissions are set to 644. What must you change to enable execution for the owner?

Medium

Frequently asked questions

What does the Security And File Permissions domain cover on the 010-160 exam?
Security And File Permissions questions test whether you can apply the concept in context, not just recognise a definition.
How many questions are in this domain?
This page lists all 35 Security And File Permissions questions in the 010-160 question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
What is the best way to practise this domain?
Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
Can I practise only Security And File Permissions questions?
Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.
LPI Linux Essentials (010-160, v1.6) (010-160) Security And File Permissions Practice Questions