InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
When a client has a cascading mount _______ server(s) is/are involved in a path name traversal.(a) at least one(b) more than one(c) more than two(d) more than threeI got this question during an interview for a job.I would like to ask this question from File System Implementation in chapter File Systems and their Implementation of Operating System |
|
Answer» RIGHT ANSWER is (B) more than one Easy EXPLANATION - NONE. |
|
| 2. |
For every pair of component and directory vnode after path name translation ____________(a) a single NFS lookup call is used sequentially(b) a single NFS lookup call is used beginning from the last component(c) at least two NFS lookup calls per component are performed(d) a separate NFS lookup call is performedI got this question by my college professor while I was bunking the class.I need to ask this question from File System Implementation in section File Systems and their Implementation of Operating System |
|
Answer» CORRECT CHOICE is (d) a separate NFS LOOKUP call is performed Easiest explanation - None. |
|
| 3. |
_______________ in NFS involves the parsing of a path name into separate directory entries – or components.(a) Path parse(b) Path name parse(c) Path name translation(d) Path name parsingThis question was addressed to me in an interview.Question is from File System Implementation in portion File Systems and their Implementation of Operating System |
|
Answer» Correct option is (c) PATH NAME translation |
|
| 4. |
The NFS protocol __________ concurrency control mechanisms.(a) provides(b) does not provide(c) may provide(d) none of the mentionedThis question was posed to me by my college director while I was bunking the class.This intriguing question originated from File System Implementation topic in portion File Systems and their Implementation of Operating System |
|
Answer» CORRECT OPTION is (B) does not provide The EXPLANATION is: NONE. |
|
| 5. |
A single NFS write procedure ____________(a) can be atomic(b) is atomic(c) is non atomic(d) none of the mentionedThis question was addressed to me in examination.The above asked question is from File System Implementation topic in chapter File Systems and their Implementation of Operating System |
|
Answer» The correct ANSWER is (B) is atomic |
|
| 6. |
The server must write all NFS data ___________(a) synchronously(b) asynchronously(c) index-wise(d) none of the mentionedI got this question in an online interview.This interesting question is from File System Implementation in division File Systems and their Implementation of Operating System |
|
Answer» CORRECT OPTION is (a) synchronously Easiest EXPLANATION - NONE. |
|
| 7. |
A server crash and recovery will __________ to a client.(a) be visible(b) affect(c) be invisible(d) harmThis question was addressed to me in an online quiz.My question is taken from File System Implementation in division File Systems and their Implementation of Operating System |
|
Answer» RIGHT CHOICE is (c) be invisible Easy EXPLANATION - All BLOCKS that the server is MANAGING for the client will be intact. |
|
| 8. |
Every NFS request has a _________ allowing the server to determine if a request is duplicated or if any are missing.(a) name(b) transaction(c) sequence number(d) all of the mentionedThe question was posed to me in an interview for internship.The question is from File System Implementation topic in chapter File Systems and their Implementation of Operating System |
|
Answer» Right option is (C) SEQUENCE number |
|
| 9. |
The NFS servers ____________(a) are stateless(b) save the current state of the request(c) maybe stateless(d) none of the mentionedThis question was addressed to me in examination.My enquiry is from File System Implementation in chapter File Systems and their Implementation of Operating System |
| Answer» | |
| 10. |
In UNIX, the file handle consists of a __________ and __________(a) file-system identifier & an inode number(b) an inode number & FAT(c) a FAT & an inode number(d) a file pointer & FATThe question was asked during an online exam.Question is from File System Implementation topic in section File Systems and their Implementation of Operating System |
|
Answer» The correct ANSWER is (a) file-system IDENTIFIER & an INODE number |
|
| 11. |
The server maintains a/an ________ that specifies local file systems that it exports for mounting, along with names of machines that are permitted to mount them.(a) export list(b) import list(c) sending list(d) receiving listI got this question during a job interview.The above asked question is from File System Implementation topic in division File Systems and their Implementation of Operating System |
|
Answer» The CORRECT ANSWER is (a) EXPORT list |
|
| 12. |
The mount request is mapped to the corresponding __________ and is forwarded to the mount server running on the specific server machine.(a) IPC(b) System(c) CPU(d) RPCI had been asked this question in final exam.This intriguing question originated from File System Implementation in portion File Systems and their Implementation of Operating System |
| Answer» | |
| 13. |
A mount operation includes the _____________(a) name of the network(b) name of the remote directory to be mounted(c) name of the server machine storing it(d) all of the mentionedI have been asked this question by my school principal while I was bunking the class.Question is taken from File System Implementation topic in division File Systems and their Implementation of Operating System |
|
Answer» The CORRECT choice is (B) NAME of the REMOTE directory to be mounted |
|
| 14. |
The mount mechanism ________ a transitive property.(a) exhibits(b) does not exhibit(c) may exhibit(d) none of the mentionedI had been asked this question in semester exam.This is a very interesting question from File System Implementation topic in section File Systems and their Implementation of Operating System |
|
Answer» The correct option is (B) does not exhibit |
|
| 15. |
___________ mounts, is when a file system can be mounted over another file system, that is remotely mounted, not local.(a) recursive(b) cascading(c) trivial(d) none of the mentionedThis question was addressed to me in unit test.Origin of the question is File System Implementation in division File Systems and their Implementation of Operating System |
|
Answer» RIGHT CHOICE is (B) cascading Explanation: NONE. |
|
| 16. |
The _________ becomes the name of the root of the newly mounted directory.(a) root of the previous directory(b) local directory(c) remote directory itself(d) none of the mentionedThis question was posed to me during an online exam.The origin of the question is File System Implementation topic in chapter File Systems and their Implementation of Operating System |
|
Answer» The CORRECT CHOICE is (b) LOCAL directory |
|
| 17. |
A _________ directory is mounted over a directory of a _______ file system.(a) local, remote(b) remote, local(c) local, local(d) none of the mentionedThe question was posed to me in an interview.I'd like to ask this question from File System Implementation topic in division File Systems and their Implementation of Operating System |
|
Answer» The CORRECT OPTION is (d) NONE of the mentioned |
|
| 18. |
A machine in Network file system (NFS) can be ________(a) client(b) server(c) both client and server(d) neither client nor serverThe question was asked in a national level competition.My doubt is from File System Implementation topic in chapter File Systems and their Implementation of Operating System |
|
Answer» Correct CHOICE is (c) both client and server |
|
| 19. |
All the changes that were done from a transaction that did not commit before the system crashed, have to be _________(a) saved(b) saved and the transaction redone(c) undone(d) none of the mentionedThis question was posed to me in an online quiz.The doubt is from File System Implementation in chapter File Systems and their Implementation of Operating System |
|
Answer» CORRECT option is (c) undone The BEST explanation: NONE. |
|
| 20. |
What is a circular buffer?(a) writes to the end of its space and then continues at the beginning(b) overwrites older values as it goes(c) all of the mentioned(d) none of the mentionedThis question was posed to me by my school principal while I was bunking the class.I need to ask this question from File System Implementation topic in section File Systems and their Implementation of Operating System |
|
Answer» Correct answer is (a) WRITES to the END of its space and then continues at the beginning |
|
| 21. |
When an entire committed transaction is completed, ___________(a) it is stored in the memory(b) it is removed from the log file(c) it is redone(d) none of the mentionedI have been asked this question during an online interview.Question is from File System Implementation topic in division File Systems and their Implementation of Operating System |
|
Answer» Correct CHOICE is (B) it is REMOVED from the log file |
|
| 22. |
Once the changes are written to the log, they are considered to be ________(a) committed(b) aborted(c) completed(d) none of the mentionedI have been asked this question by my college professor while I was bunking the class.Question is taken from File System Implementation in division File Systems and their Implementation of Operating System |
|
Answer» CORRECT ANSWER is (a) committed Explanation: NONE. |
|
| 23. |
Each set of operations for performing a specific task is a _________(a) program(b) code(c) transaction(d) all of the mentionedThis question was posed to me in a job interview.I'd like to ask this question from File System Implementation in chapter File Systems and their Implementation of Operating System |
|
Answer» The CORRECT CHOICE is (C) transaction |
|
| 24. |
A consistency checker __________________ and tries to fix any inconsistencies it finds.(a) compares the data in the secondary storage with the data in the cache(b) compares the data in the directory structure with the data blocks on disk(c) compares the system generated output and user required output(d) all of the mentionedThis question was addressed to me by my school teacher while I was bunking the class.My enquiry is from File System Implementation in section File Systems and their Implementation of Operating System |
|
Answer» RIGHT answer is (b) compares the DATA in the directory structure with the data blocks on disk For explanation: NONE. |
|
| 25. |
A systems program such as fsck in ______ is a consistency checker.(a) UNIX(b) Windows(c) Macintosh(d) SolarisThe question was asked during an internship interview.The above asked question is from File System Implementation in portion File Systems and their Implementation of Operating System |
|
Answer» CORRECT ANSWER is (a) UNIX Explanation: NONE. |
|
| 26. |
Some directory information is kept in main memory or cache to ___________(a) fill up the cache(b) increase free space in secondary storage(c) decrease free space in secondary storage(d) speed up accessThe question was posed to me during an interview.My question is from File System Implementation in section File Systems and their Implementation of Operating System |
|
Answer» CORRECT answer is (d) SPEED up access The BEST EXPLANATION: None. |
|
| 27. |
With _______ a requested page and several subsequent pages are read and cached.(a) write ahead(b) read ahead(c) free-behind(d) add-frontI got this question in an interview.My doubt is from File System Implementation topic in section File Systems and their Implementation of Operating System |
|
Answer» CORRECT CHOICE is (b) read ahead The best explanation: NONE. |
|
| 28. |
In the optimized technique for sequential access ___________ removes a page from the buffer as soon as the next page is requested.(a) write ahead(b) read ahead(c) free-behind(d) add-frontI got this question in unit test.My question is from File System Implementation topic in section File Systems and their Implementation of Operating System |
| Answer» | |
| 29. |
A file being read or written sequentially should not have its pages replaced in LRU order, because _____________(a) it is very costly(b) the most recently used page will be used last(c) it is not efficient(d) all of the mentionedI had been asked this question in a national level competition.The query is from File System Implementation topic in portion File Systems and their Implementation of Operating System |
|
Answer» RIGHT choice is (b) the most RECENTLY used page will be used last The explanation is: NONE. |
|
| 30. |
In ___________ writes, the data is stored in the cache.(a) Asynchronous(b) Regular(c) Synchronous(d) IrregularThis question was posed to me in my homework.This intriguing question originated from File System Implementation topic in portion File Systems and their Implementation of Operating System |
|
Answer» CORRECT ANSWER is (a) Asynchronous Best EXPLANATION: NONE. |
|
| 31. |
____________ writes occur in the order in which the disk subsystem receives them, and the writes are not buffered.(a) Asynchronous(b) Regular(c) Synchronous(d) IrregularThe question was asked by my school principal while I was bunking the class.The origin of the question is File System Implementation topic in division File Systems and their Implementation of Operating System |
|
Answer» RIGHT OPTION is (C) Synchronous The EXPLANATION: NONE. |
|
| 32. |
By preallocating the inodes and spreading them across the volume, we ___________ the system performance.(a) improve(b) decrease(c) maintain(d) do not affectThis question was addressed to me during an interview.I'd like to ask this question from File System Implementation in section File Systems and their Implementation of Operating System |
| Answer» | |
| 33. |
In UNIX, even an ’empty’ disk has a percentage of its space lost to ______(a) programs(b) inodes(c) virtual memory(d) stacksI got this question in final exam.The doubt is from File System Implementation in chapter File Systems and their Implementation of Operating System |
|
Answer» CORRECT CHOICE is (B) inodes Explanation: NONE. |
|
| 34. |
_______ tend to represent a major bottleneck in system performance.(a) CPUs(b) Disks(c) Programs(d) I/OI got this question during an internship interview.Asked question is from File System Implementation topic in section File Systems and their Implementation of Operating System |
|
Answer» CORRECT OPTION is (B) Disks To EXPLAIN: NONE. |
|
| 35. |
Consider a disk where blocks 2, 3, 4, 5, 8, 9, 10, 11, 12, 13, 17, 18, 25, 26 and 27 are free and the rest of the blocks are allocated. Then the free space bitmap would be _____________(a) 10000110000001110011111100011111…(b) 110000110000001110011111100011111…(c) 01111001111110001100000011100000…(d) 001111001111110001100000011100000…The question was asked in quiz.Question is taken from File System Implementation topic in division File Systems and their Implementation of Operating System |
|
Answer» RIGHT OPTION is (d) 001111001111110001100000011100000… For EXPLANATION: NONE. |
|
| 36. |
For any type of access, contiguous allocation requires ______ access to get a disk block.(a) only one(b) at least two(c) exactly two(d) none of the mentionedThis question was posed to me during an online interview.Origin of the question is File System Implementation in portion File Systems and their Implementation of Operating System |
|
Answer» The correct answer is (a) only one |
|
| 37. |
The pointer overhead of indexed allocation is generally _________ the pointer overhead of linked allocation.(a) less than(b) equal to(c) greater than(d) keeps varying withThis question was addressed to me in an interview for job.Origin of the question is File System Implementation in chapter File Systems and their Implementation of Operating System |
|
Answer» CORRECT choice is (C) GREATER than Best EXPLANATION: NONE. |
|
| 38. |
Indexed allocation _________ direct access.(a) supports(b) does not support(c) is not related to(d) none of the mentionedThe question was posed to me in an online quiz.The origin of the question is File System Implementation in chapter File Systems and their Implementation of Operating System |
|
Answer» The CORRECT CHOICE is (a) supports |
|
| 39. |
Each _______ has its own index block.(a) partition(b) address(c) file(d) all of the mentionedThe question was posed to me during a job interview.Question is taken from File System Implementation in chapter File Systems and their Implementation of Operating System |
|
Answer» RIGHT OPTION is (C) file The EXPLANATION: NONE. |
|
| 40. |
Contiguous allocation has two problems _________ and _________ that linked allocation solves.(a) external – fragmentation & size – declaration(b) internal – fragmentation & external – fragmentation(c) size – declaration & internal – fragmentation(d) memory – allocation & size – declarationI had been asked this question in final exam.This key question is from File System Implementation in portion File Systems and their Implementation of Operating System |
|
Answer» Right choice is (a) external – FRAGMENTATION & SIZE – declaration |
|
| 41. |
A section of disk at the beginning of each partition is set aside to contain the table in _____________(a) fat(b) linked allocation(c) hashed allocation(d) indexed allocationThe question was asked during an internship interview.I need to ask this question from File System Implementation topic in section File Systems and their Implementation of Operating System |
|
Answer» RIGHT ANSWER is (a) fat Explanation: NONE. |
|
| 42. |
The FAT is used much as a _________(a) stack(b) linked list(c) data(d) pointerI got this question by my college professor while I was bunking the class.The origin of the question is File System Implementation topic in chapter File Systems and their Implementation of Operating System |
|
Answer» Correct choice is (B) LINKED list |
|
| 43. |
If the extents are too large, then what is the problem that comes in?(a) internal fragmentation(b) external fragmentation(c) starvation(d) all of the mentionedThe question was asked during an interview for a job.Asked question is from File System Implementation topic in division File Systems and their Implementation of Operating System |
|
Answer» RIGHT ANSWER is (a) INTERNAL fragmentation Easy EXPLANATION - NONE. |
|
| 44. |
A better way of contiguous allocation to extend the file size is _____________(a) adding an extent (another chunk of contiguous space)(b) adding an index table to the first contiguous block(c) adding pointers into the first contiguous block(d) none of the mentionedI have been asked this question in quiz.Question is from File System Implementation topic in chapter File Systems and their Implementation of Operating System |
|
Answer» Right choice is (a) adding an EXTENT (ANOTHER chunk of contiguous SPACE) |
|
| 45. |
By using FAT, random access time is __________(a) the same(b) increased(c) decreased(d) not affectedThis question was addressed to me during an interview.This interesting question is from File System Implementation topic in section File Systems and their Implementation of Operating System |
|
Answer» RIGHT CHOICE is (C) decreased Easy EXPLANATION - NONE. |
|
| 46. |
FAT stands for _____________(a) File Attribute Transport(b) File Allocation Table(c) Fork At Time(d) None of the mentionedThe question was asked in a national level competition.I want to ask this question from File System Implementation topic in section File Systems and their Implementation of Operating System |
|
Answer» CORRECT OPTION is (b) File Allocation Table The BEST explanation: None. |
|
| 47. |
What if a pointer is lost or damaged in a linked allocation?(a) the entire file could get damaged(b) only a part of the file would be affected(c) there would not be any problems(d) none of the mentionedThis question was addressed to me during an internship interview.Origin of the question is File System Implementation in chapter File Systems and their Implementation of Operating System |
|
Answer» Right CHOICE is (a) the ENTIRE FILE COULD get damaged |
|
| 48. |
What is the major disadvantage with a linked allocation?(a) internal fragmentation(b) external fragmentation(c) there is no sequential access(d) there is only sequential accessI got this question at a job interview.My question is from File System Implementation topic in portion File Systems and their Implementation of Operating System |
|
Answer» RIGHT ANSWER is (d) there is only SEQUENTIAL access Explanation: NONE. |
|
| 49. |
There is no __________ with linked allocation.(a) internal fragmentation(b) external fragmentation(c) starvation(d) all of the mentionedI had been asked this question during an interview.This question is from File System Implementation topic in division File Systems and their Implementation of Operating System |
|
Answer» RIGHT option is (b) EXTERNAL fragmentation For explanation: NONE. |
|
| 50. |
When in contiguous allocation the space cannot be extended easily?(a) the contents of the file have to be copied to a new space, a larger hole(b) the file gets destroyed(c) the file will get formatted and lost all its data(d) none of the mentionedThe question was posed to me in final exam.Origin of the question is File System Implementation in division File Systems and their Implementation of Operating System |
|
Answer» Correct option is (a) the contents of the FILE have to be copied to a new space, a larger hole |
|