AllExam Dumps

DUMPS, FREE DUMPS, VCP5 DUMPS| VMWARE DUMPS, VCP DUMPS, VCP4 DUMPS, VCAP DUMPS, VCDX DUMPS, CISCO DUMPS, CCNA, CCNA DUMPS, CCNP DUMPS, CCIE DUMPS, ITIL, EXIN DUMPS,


READ Free Dumps For Cloudera- CCD-410





Question ID 12503

You are developing a combiner that takes as input Text keys, IntWritable values, and emits
Text keys, IntWritable values. Which interface should your class implement?

Option A

Combiner <Text, IntWritable, Text, IntWritable>

Option B

Mapper <Text, IntWritable, Text, IntWritable>

Option C

Reducer <Text, Text, IntWritable, IntWritable>

Option D

 Reducer <Text, IntWritable, Text, IntWritable>

Option E

Combiner <Text, Text, IntWritable, IntWritable>

Correct Answer D
Explanation


Question ID 12504

A client application creates an HDFS file named foo.txt with a replication factor of 3. Identify
which best describes the file access rules in HDFS if the file has a single block that is
stored on data nodes A, B and C?

Option A

The file will be marked as corrupted if data node B fails during the creation of the file.

Option B

Each data node locks the local file to prohibit concurrent readers and writers of the file.

Option C

Each data node stores a copy of the file in the local file system with the same name as the HDFS file.

Option D

The file can be accessed if at least one of the data nodes storing the file is available.

Correct Answer D
Explanation Explanation: HDFS keeps three copies of a block on three different datanodes to protect against true data corruption. HDFS also tries to distribute these three replicas on more than one rack to protect against data availability issues. The fact that HDFS actively monitors any failed datanode(s) and upon failure detection immediately schedules re-replication of blocks (if needed) implies that three copies of data on three different nodes is sufficient to avoid corrupted files. Note: HDFS is designed to reliably store very large files across machines in a large cluster. It stores each file as a sequence of blocks; all blocks in a file except the last block are the same size. The blocks of a file are replicated for fault tolerance. The block size and replication factor are configurable per file. An application can specify the number of replicas of a file. The replication factor can be specified at file creation time and can be changed later. Files in HDFS are write-once and have strictly one writer at any time. The NameNode makes all decisions regarding replication of blocks. HDFS uses rack-aware replica placement policy. In default configuration there are total 3 copies of a datablock on HDFS, 2 copies are stored on datanodes on same rack and 3rd copy on a different rack. Reference: 24 Interview Questions & Answers for Hadoop MapReduce developers , How the HDFS Blocks are replicated?

Send email to admin@getfreedumps for new dumps request!!!