Explore topic-wise MCQs in Operating System.

This section includes 32 Mcqs, each offering curated multiple-choice questions to sharpen your Operating System knowledge and support exam preparation. Choose a topic below to get started.

1.

In distributed file system, file name does not reveal the file’s ___________

A. local name
B. physical storage location
C. both local name and physical storage location
D. none of the mentioned
Answer» C. both local name and physical storage location
2.

In a distributed file system, when a file’s physical storage location changes ___________

A. file name need to be changed
B. file name need not to be changed
C. file’s host name need to be changed
D. file’s local name need to be changed
Answer» C. file’s host name need to be changed
3.

HDFS is implemented in _____________ language.

A. Perl
B. Python
C. Java
D. C
Answer» D. C
4.

Which of the following is not features Of HDFS?

A. It is suitable for the distributed storage and processing.
B. Streaming access to file system data.
C. HDFS provides file permissions and authentication.
D. Hadoop does not provides a command interface to interact with HDFS.
Answer» E.
5.

Which hdfs command is used to check for various inconsistencies?

A. fsk
B. fsck
C. fetchdt
D. none of the mentioned
Answer» C. fetchdt
6.

The default block size is ______.

A. 32MB
B. 64MB
C. 128MB
D. 16MB
Answer» C. 128MB
7.

Reducer is input the grouped output of a ____________

A. Mapper
B. Reducer
C. Writable
D. Readable
Answer» B. Reducer
8.

Which of the following are the Goals of HDFS?

A. Fault detection and recovery
B. Huge datasets
C. Hardware at data
D. All of the above
Answer» E.
9.

The minimum amount of data that HDFS can read or write is called a _____________.

A. Datanode
B. Namenode
C. Block
D. None of the above
Answer» D. None of the above
10.

What is full form of HDFS?

A. Hadoop File System
B. Hadoop Field System
C. Hadoop File Search
D. Hadoop Field search
Answer» B. Hadoop Field System
11.

For every node (Commodity hardware/System) in a cluster, there will be a _________.

A. Datanode
B. Namenode
C. Block
D. None of the above
Answer» B. Namenode
12.

Which of the following is a common reason to restart hadoop process?

A. Upgrade Hadoop
B. React to incidents
C. Remove worker nodes
D. All of the mentioned
Answer» E.
13.

__________ Manager’s Service feature monitors dozens of service health and performance metrics about the services and role instances running on your cluster.

A. Microsoft
B. Cloudera
C. Amazon
D. None of the mentioned
Answer» C. Amazon
14.

Which of the following parameter is to collect keys and combined values?

A. key
B. values
C. reporter
D. output
Answer» E.
15.

The JobTracker pushes work out to available _______ nodes in the cluster, striving to keep the work as close to the data as possible.

A. DataNodes
B. TaskTracker
C. ActionNodes
D. All of the mentioned
Answer» C. ActionNodes
16.

Which of the following parameter describes destination directory which would contain the archive?

A. -archiveName <name>
B. <source>
C. <destination>
D. none of the mentioned
Answer» D. none of the mentioned
17.

Which of the following is used for the MapReduce job Tracker node?

A. mradmin
B. tasktracker
C. jobtracker
D. none of the mentioned
Answer» D. none of the mentioned
18.

Which of the following is a common hadoop maintenance issue?

A. Lack of tools
B. Lack of configuration management
C. Lack of web interface
D. None of the mentioned
Answer» C. Lack of web interface
19.

Which of the following is a configuration management system?

A. Alex
B. Puppet
C. Acem
D. None of the mentioned
Answer» C. Acem
20.

Which of the tab shows all the role instances that have been instantiated for this service?

A. Service
B. Status
C. Instance
D. All of the mentioned
Answer» D. All of the mentioned
21.

Which of the following command runs the HDFS secondary namenode?

A. secondary namenode
B. secondarynamenode
C. secondary_namenode
D. none of the mentioned
Answer» C. secondary_namenode
22.

Which of the following is a valid syntax for hadoop archive?

A. hadooparchive [ Generic Options ] archive
B. hadooparch [ Generic Options ] archive
C. hadoop [ Generic Options ] archive
D. None of the mentioned
Answer» D. None of the mentioned
23.

The output of the reduce task is typically written to the FileSystem via ____________

A. OutputCollector
B. InputCollector
C. OutputCollect
D. All of the mentioned
Answer» B. InputCollector
24.

_____________ is used to read data from bytes buffers.

A. write()
B. read()
C. readwrite()
D. all of the mentioned
Answer» B. read()
25.

Interface ____________ reduces a set of intermediate values which share a key to a smaller set of values.

A. Mapper
B. Reducer
C. Writable
D. Readable
Answer» C. Writable
26.

The need for data replication can arise in various scenarios like ____________

A. Replication Factor is changed
B. DataNode goes down
C. Data Blocks get corrupted
D. All of the mentioned
Answer» E.
27.

HDFS works in a __________ fashion.

A. master-worker
B. master-slave
C. worker/slave
D. all of the mentioned
Answer» B. master-slave
28.

Which of the following scenario may not be a good fit for HDFS?

A. HDFS is not suitable for scenarios requiring multiple/simultaneous writes to the same file
B. HDFS is suitable for storing data related to applications requiring low latency data access
C. HDFS is suitable for storing data related to applications requiring low latency data access
D. None of the mentioned
Answer» B. HDFS is suitable for storing data related to applications requiring low latency data access
29.

For ________ the HBase Master UI provides information about the HBase Master uptime.

A. HBase
B. Oozie
C. Kafka
D. All of the mentioned
Answer» B. Oozie
30.

WHICH_ONE_OF_THE_FOLLOWING_IS_A_DISTRIBUTED_FILE_SYSTEM??$

A. andrew file system
B. network file system
C. novel network
D. all of the mentioned
Answer» E.
31.

In distributed file system, file name does not reveal the file’?#

A. local name
B. physical storage location
C. both local name and physical storage location
D. none of the mentioned
Answer» C. both local name and physical storage location
32.

In distributed file system, when a file’s physical storage location changes$

A. file name need to be changed
B. file name need not to be changed
C. file’s host name need to be changed
D. file’s local name need to be changed
Answer» C. file‚Äö√Ñ√∂‚àö√ë‚àö¬•s host name need to be changed