Вы находитесь на странице: 1из 3

Q 1 - A file in HDFS that is smaller than a single block size

A - Cannot be stored in HDFS.


B - Occupies the full block's size.
C - Occupies only the size it needs and not the full block.
D - Can span over multiple blocks.
Answer : C
Hide Answer
Q 2 - For the frequently accessed HDFS files the blocks are cached in
A - the memory of the datanode
B - in the memory of the namenode
C - Both A&B
D - In the memory of the client application which requested the access to these files.
Answer : A
Hide Answer
Q 3 - The following is not permitted on HDFS files
A - Deleting
B - Renaming
C - Moving
D - Executing.
Answer : D
Show Answer
Q 4 - Which of the below property gets configured on mapred-site.xml ?
A - Replication factor
B - Directory names to store hdfs files.
C - Host and port where MapReduce task runs.
D - Java Environment variables.
Answer : C
Hide Answer
Q 5 - The Hadoop tool used for uniformly spreading the data across the data nodes is named −
A - Scheduler
B - Balancer
C - Spreader
D - Reporter
Answer : B
Hide Answer
Q 6 - The command “hadoop fs -test -z URI “ gives the result 0 if
A - if the path is a directory
B - if the path is a file
C - if the path is not empty
D - if the file is zero length
Answer : D
Hide Answer
Q 7 - If we increase the size of files stored in HDFS without increasing the number of files, then the
memory required by namenode
A - Decreases
B - Increases
C - Remains unchanged
D - May or may not increase
Answer : A
Hide Answer
Q 8 - The number of tasks a task tracker can accept depends on
A - Maximum memory available in the node
B - Not limited
C - Number of slots configured in it
D - As decided by the jobTracker
Answer : C
Hide Answer
Q 9 - When archiving Hadoop files, which of the following statements are true? (Choose two answers)
Archived files will display with the extension .arc.
Many small files will become fewer large files.
MapReduce processes the original files names even after files are archived.
Archived files must be UN archived for HDFS and MapReduce to access the original, small files.
Archive is intended for files that need to be saved but no longer accessed by HDFS.
A-1&3
B-2&3
C-2&4
D-3&4
Answer : B
Hide Answer
Q 10 - In order to apply a combiner, what is one property that has to be satisfied by the values emitted
from the mapper?
A - Combiner can be applied always to any data
B - Output of the mapper and output of the combiner has to be same key value pair and they can be
heterogeneous
C - Output of the mapper and output of the combiner has to be same key value pair. Only if the values
satisfy associative and commutative property it can be done.
Answer : C

Вам также может понравиться