Physical Address

304 North Cardinal St.
Dorchester Center, MA 02124

Moving Data into Hadoop Quiz Answers – Cognitive Class

Get Moving Data into Hadoop Quiz Answers

This course gives an overview of Oozie and how it is able to control Hadoop jobs. It begins with looking at the components required to code a workflow as well as optional components such as case statements, forks, and joins. That is followed by using the Oozie coordinator in order to schedule a workflow.

One of the things that the student will quickly notice is that workflows are coded using XML which tends to get verbose. The last lesson of this course shows a graphical workflow editor tool designed to simplify the work in generating a workflow.

Enroll on Cognitive Class

Module 1 – Load Scenarios

Question: What is Data at rest?

  • Data that is being transferred over
  • Data that is already in a file in some directory
  • Data that hasn’t been used in a while
  • Data that needs to be copied over

Question: Data can be moved using BigSQL Load. True or false?

  • True
  • False

Question: Which of the following does not relate to Flume?

  • Pipe
  • Sink
  • Interceptors
  • Source

Module 2 – Using Sqoop

Question: Sqoop is designed to

  • export data from HDFS to streaming software
  • read and understand data from a relational database at a high level
  • prevent “bad” data in a relational database from going into Hadoop
  • transfer data between relational database systems and Hadoop

Question: Which of the following is NOT an argument for Sqoop?

  • –update-key
  • –split-from
  • –target-dir
  • –connect

Question: By default, Sqoop assumes that it’s working with space-separated fields and that each record is terminated by a newline. True or false?

  • True
  • False

Module 3 – Flume Overview

Question: Avro is a remote procedure call and serialization framework, developed within a separate Apache project. True or false?

  • True
  • False

Question: Data sent through Flume

  • may have different batching but must be in a constant stream
  • may have different batching or a different reliability setup
  • must be in a particular format
  • has to be in a constant stream

Question: A single Avro source can receive data from multiple Avro sinks. True or false?

  • True
  • False

Module 4 – Using Flume

Question: Which of the following is NOT a supplied Interceptor?

  • Regex extractor
  • Regex sinker
  • HostType
  • Static

Question: Channels are

  • where the data is staged after having been read in by a source and not yet written out by a sink
  • where the data is staged after having been read in by a sink and not yet written out by a source
  • where the data is staged after having been written in by a source and not yet read out by a sink
  • where the data is staged after having been written in by a sink and not yet written out by a source

Question: One property for sources is selector.type? True or false?

  • True
  • False

Final Exam

Question: The HDFS copyFromLocal command can be used to

  • capture streaming data that you want to store in Hadoop
  • ensure that log files which are actively being used to capture logging from a web server are moved into Hadoop
  • move data from a relational database or data warehouse into Hadoop
  • None of the above

Question: What is the primary purpose of Sqoop in the Hadoop architecture?

  • To “catch” logging data as it is written to log files and move it into Hadoop
  • To schedule scripts that can be run periodically to collect data into Hadoop
  • To import data from a relational database or data warehouse into Hadoop
  • To move static files from the local file system into HDFS
  • To stream data into Hadoop

Question: A Sqoop JDBC connection string must include

  • the name of the database you wish to connect to
  • the hostname of the database server
  • the port that the database server is listening on
  • the name of the JDBC driver to use for the connection
  • All of the above

Question: Sqoop can be used to either import data from relational tables into Hadoop or export data from Hadoop to relational tables. True or false?

  • True
  • False

Question: When importing data via Sqoop, the imported data can include

  • a collection of data from multiple tables via a join operation, as specified by a SQL query
  • specific rows and columns from a specific table
  • all of the data from a specific table
  • All of the Above

Question: When importing data via Sqoop, the incoming data can be stored as

  • Serialized Objects
  • JSON
  • XML
  • None of the Above

Question: Sqoop uses MapReduce jobs to import and export data, and you can configure the number of Mappers used. True or false?

  • True
  • False

Question: What is the primary purpose of Flume in the Hadoop architecture?

  • To “catch” logging data as it is written to log files and move it into Hadoop
  • To schedule scripts that can be run periodically to collect data into Hadoop
  • To import data from a relational database or data warehouse into Hadoop
  • To move static files from the local file system into HDFS
  • To stream data into Hadoop

Question: When you create the configuration file for a Flume agent, you must configure

  • an Interceptor
  • a Sink
  • a Channel
  • a Source
  • All of the above

Question: When using Flume, a Source and a Sink are “wired together” using an Interceptor. True or false?

  • True
  • False

Question: Flume agents can run on multiple servers in the enterprise, and they can communicate with each other over the network to move data. True or false?

  • True
  • False

Question: Possible Flume channels include

  • The implementation of your own channel
  • File Storage
  • Database Storage
  • In Memory
  • All of the Above

Question: Flume provides a number of source types including

  • Elastic Search
  • HBase
  • Hive
  • HDFS
  • None of the Above

Question: Flume agent configuration is specified using

  • CSV
  • a text file, similar to the Java.properties format
  • JSON
  • XML, similar to Sqoop configuration

Question: To pass data from a Flume agent on one node to another, you can configure an Avro sink on the first node and an Avro source on the second. True or false?

  • True
  • False
Conclusion:

We hope you know the correct answers to Moving Data into Hadoop If Why Quiz helped you to find out the correct answers then make sure to bookmark our site for more Course Quiz Answers.

If the options are not the same then make sure to let us know by leaving it in the comments below.

Course Review:

In our experience, we suggest you enroll in this and gain some new skills from Professionals completely free and we assure you will be worth it.

This course is available on Cognitive Class for free, if you are stuck anywhere between quiz or graded assessment quiz, just visit Queslers to get all Quiz Answers and Coding Solutions.

More Courses Quiz Answers >>

Building Cloud Native and Multicloud Applications Quiz Answers

Accelerating Deep Learning with GPUs Quiz Answers

Leave a Reply

Your email address will not be published. Required fields are marked *