CCD-410

CCD-410 practice questions, page 3 of 3, with answer review and explanations.

Question 11

You have just executed a MapReduce job. Where is intermediate data written to after being emitted from the Mapper's map method?

  1. Intermediate data in streamed across the network from Mapper to the Reduce and is never written to disk.
  2. Into in-memory buffers on the TaskTracker node running the Mapper that spill over and are written into HDFS.
  3. Into in-memory buffers that spill over to the local file system of the TaskTracker node running the Mapper.
  4. Into in-memory buffers that spill over to the local file system (outside HDFS) of the TaskTracker node running the Reducer
  5. Into in-memory buffers on the TaskTracker node running the Reducer that spill over and are written into HDFS.

Question 12

You want to understand more about how users browse your public website, such as which pages they visit prior to placing an order. You have a farm of 200 web servers hosting your website. How will you gather this data for your analysis?

  1. Ingest the server web logs into HDFS using Flume.
  2. Write a MapReduce job, with the web servers for mappers, and the Hadoop cluster nodes for reduces.
  3. Import all users' clicks from your OLTP databases into Hadoop, using Sqoop.
  4. Channel these clickstreams inot Hadoop using Hadoop Streaming.
  5. Sample the weblogs from the web servers, copying them into Hadoop using curl.