Chapter 15 - Exam

Description

Linux Linux Essentials Certificate Quiz on Chapter 15 - Exam, created by JuanmaRguez on 18/05/2016.
JuanmaRguez
Quiz by JuanmaRguez, updated more than 1 year ago
JuanmaRguez
Created by JuanmaRguez over 8 years ago
56
1

Resource summary

Question 1

Question
Which of the following commands set "other" permissions on file to r-x?
Answer
  • chmod o=r+x file
  • chmod o=rx file
  • chmod o-r-w file
  • chmod o+rx file

Question 2

Question
Which of the following commands set "other" permissions on file to r-x?
Answer
  • chmod 777 file
  • chmod 776 file
  • chmod 775 file
  • chmod 774 file

Question 3

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

Question 4

Question
Which of the following are methods for setting permissions using the chmod command? (choose two)
Answer
  • binary
  • symbolic
  • letter
  • octal

Question 5

Question
The chown command can be used to change the owner and group of a file.
Answer
  • True
  • False

Question 6

Question
The chgrp command can be used to change the owner and group of a file.
Answer
  • True
  • False

Question 7

Question
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
Answer
  • True
  • False

Question 8

Question
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
Answer
  • True
  • False

Question 9

Question
Octal notation uses the following values for the permissions granted:
Answer
  • r = 4, w = 2, x = 1
  • r = 7, w = 5, x = 0
  • r = 3, w = 2, x = 1
  • r = 4, w = 2, x = 0

Question 10

Question
Which of the following permissions would allow all users to add, view, and delete files in a directory?
Answer
  • 666
  • 775
  • 750
  • 777

Question 11

Question
A user cannot delete a file if they do not own it.
Answer
  • True
  • False

Question 12

Question
The "execute" permission on a directory allows you to: (choose three)
Answer
  • 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

Question 13

Question
The "execute" permission on a file allows you to:
Answer
  • Run the file as a script
  • This permission isn't meaningful for text files.
  • Delete the file
  • Move the file to a new directory

Question 14

Question
The chgrp command can be used on a file by:
Answer
  • Only root
  • A user that belongs to the files current group
  • The file owner and root
  • Only the file owner

Question 15

Question
The chown command can be used to change the user owner on a file by:
Answer
  • Only root
  • A user that belongs to the files current group
  • The file owner and root
  • The file owner

Question 16

Question
The chmod command can be used on a file by:
Answer
  • The file owner and root
  • Only root
  • A user that belongs to the files current group
  • The file owner

Question 17

Question
Which option for the chown command can be used to change the owner of a directory and all the files and directories below it?
Answer
  • -r
  • -R
  • -f
  • -a

Question 18

Question
The chown command will only accept one file at a time as an argument.
Answer
  • True
  • False

Question 19

Question
The "execute" permission is never set on files by default.
Answer
  • True
  • False

Question 20

Question
The user owner of a file will always have the same or higher permissions as "other".
Answer
  • True
  • False
Show full summary Hide full summary

Similar

Geography Quiz - Tectonics
oscartaylor
Spanish Vocabulary- Beginner
ThomasK
Ratios Quiz
rory.examtime
Relationships Poetry Key Themes
Matthew T
Art & Design in Context
Chloe Scott
Present Simple/Past Simple Tenses
learning.buzz.in
Atomic Structure
dpr898
1PR101 2.test - Část 8.
Nikola Truong
1PR101 2.test - Část 19.
Nikola Truong
Část 3.
Gábi Krsková
Kitchen Safety WHS
Carly Saunders