nerdexam
Cloudera

CCA-500 · Question #64

Identify four characteristics of a 300MB file that has been written to HDFS with block size of 128MB and all other Hadoop defaults unchanged?

The correct answer is C. The third Initial block will be 44 MB D. Two of the initial blocks will be 128MB E. Each block will be replicated three times F. The file will be split into three blocks when initially written into the cluster. Not A: The file will take (2x128 + 44) 3 = 900 MB C (not B): The third block size is 300 - 2 128 = 44 MB D (Not H): all blocks in a file except the last block are the same size. E (not G): All blocks are replicated three times by default.

Configuration

Question

Identify four characteristics of a 300MB file that has been written to HDFS with block size of 128MB and all other Hadoop defaults unchanged?

Options

  • AThe file will consume 1152MB of space in the cluster
  • BThe third block will be 64MB
  • CThe third Initial block will be 44 MB
  • DTwo of the initial blocks will be 128MB
  • EEach block will be replicated three times
  • FThe file will be split into three blocks when initially written into the cluster
  • GEach block will be replicated nine times
  • HAll three blocks will be 128MB

How the community answered

(46 responses)
  • A
    2% (1)
  • B
    4% (2)
  • C
    72% (33)
  • G
    7% (3)
  • H
    15% (7)

Explanation

Not A: The file will take (2x128 + 44) * 3 = 900 MB C (not B): The third block size is 300 - 2 * 128 = 44 MB D (Not H): all blocks in a file except the last block are the same size. E (not G): All blocks are replicated three times by default.

Topics

#HDFS block size#replication#file blocks#storage calculation

Community Discussion

No community discussion yet for this question.

Full CCA-500 Practice