JuanmaRguez
Quiz by , created more than 1 year ago

Linux Linux Essentials Certificate Quiz on Chapter 15 - Exam, created by JuanmaRguez on 18/05/2016.

52
1
0
JuanmaRguez
Created by JuanmaRguez almost 8 years ago
Close

Chapter 15 - Exam

Question 1 of 20

1

Which of the following commands set "other" permissions on file to r-x?

Select one of the following:

  • chmod o=r+x file

  • chmod o=rx file

  • chmod o-r-w file

  • chmod o+rx file

Explanation

Question 2 of 20

1

Which of the following commands set "other" permissions on file to r-x?

Select one of the following:

  • chmod 777 file

  • chmod 776 file

  • chmod 775 file

  • chmod 774 file

Explanation

Question 3 of 20

1

Only one set (user, group, other) of permission can be changed at once using the symbolic method.

Select one of the following:

  • True
  • False

Explanation

Question 4 of 20

1

Which of the following are methods for setting permissions using the chmod command? (choose two)

Select one or more of the following:

  • binary

  • symbolic

  • letter

  • octal

Explanation

Question 5 of 20

1

The chown command can be used to change the owner and group of a file.

Select one of the following:

  • True
  • False

Explanation

Question 6 of 20

1

The chgrp command can be used to change the owner and group of a file.

Select one of the following:

  • True
  • False

Explanation

Question 7 of 20

1

The user sysadmin will be able to read the file because they own it.

__-r_r_ 1 sysadmin group 38270 Sep 2 18:49 file

Select one of the following:

  • True
  • False

Explanation

Question 8 of 20

1

The user sysadmin will be able to change the permissions of the file because they own it.

__-r_r_ 1 sysadmin group 38270 Sep 2 18:49 file

Select one of the following:

  • True
  • False

Explanation

Question 9 of 20

1

Octal notation uses the following values for the permissions granted:

Select one of the following:

  • r = 4, w = 2, x = 1

  • r = 7, w = 5, x = 0

  • r = 3, w = 2, x = 1

  • r = 4, w = 2, x = 0

Explanation

Question 10 of 20

1

Which of the following permissions would allow all users to add, view, and delete files in a directory?

Select one of the following:

  • 666

  • 775

  • 750

  • 777

Explanation

Question 11 of 20

1

A user cannot delete a file if they do not own it.

Select one of the following:

  • True
  • False

Explanation

Question 12 of 20

1

The "execute" permission on a directory allows you to:
(choose three)

Select one or more of the following:

  • Change to that directory or use it as part of a path

  • Along with write permission to successfully delete the directory

  • Along with read permission to successfully perform ls -l

  • Along with write permission to successfully create new files

Explanation

Question 13 of 20

1

The "execute" permission on a file allows you to:

Select one of the following:

  • Run the file as a script

  • This permission isn't meaningful for text files.

  • Delete the file

  • Move the file to a new directory

Explanation

Question 14 of 20

1

The chgrp command can be used on a file by:

Select one of the following:

  • Only root

  • A user that belongs to the files current group

  • The file owner and root

  • Only the file owner

Explanation

Question 15 of 20

1

The chown command can be used to change the user owner on a file by:

Select one of the following:

  • Only root

  • A user that belongs to the files current group

  • The file owner and root

  • The file owner

Explanation

Question 16 of 20

1

The chmod command can be used on a file by:

Select one of the following:

  • The file owner and root

  • Only root

  • A user that belongs to the files current group

  • The file owner

Explanation

Question 17 of 20

1

Which option for the chown command can be used to change the owner of a directory and all the files and directories below it?

Select one of the following:

  • -r

  • -R

  • -f

  • -a

Explanation

Question 18 of 20

1

The chown command will only accept one file at a time as an argument.

Select one of the following:

  • True
  • False

Explanation

Question 19 of 20

1

The "execute" permission is never set on files by default.

Select one of the following:

  • True
  • False

Explanation

Question 20 of 20

1

The user owner of a file will always have the same or higher permissions as "other".

Select one of the following:

  • True
  • False

Explanation