Sail E0 Webinar

MCQs

Total Questions : 155 | Page 8 of 16 pages
Question 71. How many links are created when we creat a directory file?
  1.    1
  2.    2
  3.    3
  4.    4
 Discuss Question
Answer: Option B. -> 2


2


Question 72. A user creates a link to a file file1 using the following command "ln file1 file2. Which of the following is not true?
  1.    file1 and file2 have the same inode numbers
  2.    The number of links for file1 is displayed as 1
  3.    The number of links for file1 is displayed as 2
  4.    The number of links for file2 is displayed as 2
 Discuss Question
Answer: Option B. -> The number of links for file1 is displayed as 1


The number of links for file1 is displayed as 1


Question 73. There are two hard links to the "file1? say hl and h2 and a softlink sl. What happens if we deleted the "file1?
  1.    We will still be able to access the file with hl and h2 but not with sl
  2.    We will not be able to access the file with hl and h2 but with sl
  3.    We will be able to access the file with any of hl, h2 and sl
  4.    We will not be able to access the file with any of hl, h2 and sl
 Discuss Question
Answer: Option A. -> We will still be able to access the file with hl and h2 but not with sl


We will still be able to access the file with hl and h2 but not with sl


Question 74. If two files on same partition point to the same inode structure they are called
  1.    Soft links
  2.    Hard links
  3.    Alias
  4.    Special files
 Discuss Question
Answer: Option B. -> Hard links


Hard links


Question 75. Deleting a soft-link
  1.    Deletes the destination file
  2.    Deletes both the softlink and the destination file
  3.    Deletes just the softlink
  4.    backup of the destination is automatically created
 Discuss Question
Answer: Option C. -> Deletes just the softlink


Deletes just the softlink


Question 76. Effective group id can be set using following permission
  1.    0777
  2.    2666
  3.    4744
  4.    1711
 Discuss Question
Answer: Option B. -> 2666


2666


Question 77. The permission -rwSr“r“ represented in octal expression will be
  1.    0777
  2.    2666
  3.    4744
  4.    4644
 Discuss Question
Answer: Option D. -> 4644


4644


Question 78. Sticky bit can be set using following permission
  1.    0777
  2.    2666
  3.    4744
  4.    1711
 Discuss Question
Answer: Option D. -> 1711


1711


Question 79. The permission -rwxr-sr“ represented in octal expression will be
  1.    0777
  2.    2766
  3.    2744
  4.    2754
 Discuss Question
Answer: Option D. -> 2754


2754


Question 80. If user tries to remove (rm) a readonly file (444 permission), what will happen?
  1.    The file is removed successfully (and silently)
  2.    The rm command prompts for a confirmation, the command is successful upon confirmation
  3.    The rm command prompts for a confirmation, however the operation fails because of insufficient permissions
  4.    The rm command fails because of insufficient permissions
 Discuss Question
Answer: Option B. -> The rm command prompts for a confirmation, the command is successful upon confirmation


The rm command prompts for a confirmation, the command is successful upon confirmation


Latest Videos

Latest Test Papers