Sail E0 Webinar

MCQs

Total Questions : 155 | Page 2 of 16 pages
Question 11. When you use the ln command, which of the following occurs?
  1.    a file is created that points to an existing file
  2.    a file is created that is a copy of an existing file
  3.    a file is moved from one location to another
  4.    a file is renamed
 Discuss Question
Answer: Option A. -> a file is created that points to an existing file


a file is created that points to an existing file


Question 12. srwxr-xrw- is a
  1.    internet socket file
  2.    unix domain socket file
  3.    symbolic link
  4.    shared file
 Discuss Question
Answer: Option B. -> unix domain socket file


unix domain socket file


Question 13. The directory file contains:
  1.    File names & File Sizes
  2.    File names & Inode Numbers
  3.    File names & Address
  4.    File names & Permissions
 Discuss Question
Answer: Option B. -> File names & Inode Numbers


File names & Inode Numbers


Question 14. The soft link will increase the link counter of the file.(T/F)
  1.    True
  2.    False
  3.    Can't be determined
 Discuss Question
Answer: Option B. -> False


False


Question 15. Binary or executable files are:
  1.    Regular files
  2.    Device files
  3.    Special files
  4.    Directory files
 Discuss Question
Answer: Option A. -> Regular files


Regular files


Question 16. Which directory contain device special files?
  1.    /etc
  2.    /etc/dev
  3.    /root/bin
  4.    /dev
 Discuss Question
Answer: Option D. -> /dev


/dev


Question 17. Which of the following is not a valid file type on Linux
  1.    Socket
  2.    Softlink
  3.    Inode
  4.    FIFO
 Discuss Question
Answer: Option C. -> Inode


Inode


Question 18. Which is an example for character special file?
  1.    Hard disk
  2.    CD-ROM
  3.    Terminal
  4.    Memory
 Discuss Question
Answer: Option C. -> Terminal


Terminal


Question 19. Which are the two types of device files?
  1.    Character & Block
  2.    Character & Socket
  3.    Block & FIFO
  4.    Input & output
 Discuss Question
Answer: Option A. -> Character & Block


Character & Block


Question 20. Which of the following is not correct statement regarding file types?
  1.    Hard links share same inode number
  2.    Soft links cannot be created across partitions
  3.    Socket files are Unix domain sockets
  4.    Character file is a special file
 Discuss Question
Answer: Option B. -> Soft links cannot be created across partitions


Soft links cannot be created across partitions


Latest Videos

Latest Test Papers