Controlling Hadoop Jobs using Oozie Quiz Answers

Get All Module Controlling Hadoop Jobs using Oozie 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: Introduction to Oozie Workflows

Question: Oozie definitions written in the Hadoop Process Definition Language (hPDL) are encoded in which of the following files?

  • workflow.txt
  • workflow.html
  • workflow.json
  • workflow.xml

Question: Oozie detects job completion via callback and polling. True or false?

  • False
  • True

Question: The Oozie expression language (EL) provides access to all of the following except

  • error codes
  • workflow job size
  • application name
  • workflow job id

Module 2: Oozie Coordinator

Question: Which of the following can trigger the start of an Oozie job?

  • The Oozie CLI
  • Data
  • An application call to the API
  • Time
  • All of the above

Question: The Oozie coordinator works with Central European Time (CET). True or false?

  • False
  • True

Question: The Coordinator Job uses all of the following files except

  • job.properties
  • coord-config-default.xml
  • coordinator.properties
  • coordinator.xml

Module 3: BigInsights Workflow Editor

Question: Which of the following statements about the BigInsights Workflow Editor is correct?

  • It displays a read-only diagram to show the overall workflow
  • It runs in an Eclipse environment
  • It supports complex Oozie workflows without requiring knowledge of the Oozie xml xds schema
  • It’s a new feature, and it was introduced to BigInsights in version 2.0
  • All of the above

Question: You can use the BigInsights Workflow Publishing Wizard as a graphical tool to create and modify a workflow.xml file. True or false?

  • False
  • True

Question: Which of the following statements is NOT correct?

  • The InfoSphere BigInsights Tool for Eclipse is essentially an Eclipse module with BigInsights add-ins.
  • At a higher level, we can link multiple applications to run in sequence.
  • We cannot build sub-workflows in a workflow.
  • Deployed applications can be scheduled.

Final Exam

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

  • To provide logging support for Hadoop jobs
  • To support the execution of workflows consisting of a collection of actions
  • To support SQL access to relational data stored in Hadoop
  • To move data into HDFS

Question: How are Oozie workflows defined?

  • Using the Java programming language
  • Using JSON
  • Using a plain text file that defines the graph elements
  • Using hPDL

Question: Control nodes in an Oozie Workflow can contain all of the following except

  • Start
  • Fork
  • Pig
  • End
  • Kill

Question: A workflow job can be executed from

  • A Java API
  • A Web-server API
  • The command line
  • All of the Above

Question: Where do the workflow.xml, config-default.xml, JAR, and .so files need to be stored prior to Oozie workflow job execution?

  • On a web-server
  • In HDFS within a defined directory structure
  • On the local file system where you are executing the job
  • None of the above

Question: What is the purpose of the Oozie Coordinator?

  • To invoke workflows when some external event occurs
  • To invoke workflows when data becomes available
  • To invoke workflows at regular intervals
  • All of the above

Question: Which of the following need to be stored in HDFS?

  • coordinator.xml only
  • coord-config-default.xml only
  • coordinator.properties only
  • coordinator.xml and coord-config-default.xml only
  • coordinator.xml and coordinator.properties only

Question: The Oozie coordinator can be executed from

  • A Java API
  • A Web-server API
  • The command line
  • All of the Above

Question: How is an Oozie coordinator configured?

  • Using the Java programming language
  • Using JSON
  • Using a plain text file that defines the workflow schedule
  • Using XML

Question: By defining a dataset template as part of the coordinator.xml file, you can use the coordinator to trigger a workflow when an updated dataset has arrived in HDFS. True or false?

  • True
  • False

Question: coordinator.properties can be used to establish

  • values for variables used in workflow.xml
  • values for variables used in coordinator.xml
  • the location of the coordinator job in HDFS
  • All of the above

Question: job.properties can be used to establish

  • The location of the workflow job in HDFS, only
  • Values for variables used in workflow.xml, only
  • The actions to perform at each stage of the workflow, only
  • Values for variables used in workflow.xml, and the actions to perform at each stage of the workflow
  • The location of the workflow job in HDFS, and values for variables used in workflow.xml

Question: The kill node is used to indicate a successful completion of the Oozie workflow. True or false?

  • True
  • False

Question: The join node in an Oozie workflow will wait until all forked paths have completed. True or false?

  • True
  • False

Question: Decision nodes can be used to select from multiple alternative paths through an Oozie workflow. True or false?

  • True
  • False

Conclusion:

We hope you know the correct answers to Controlling Hadoop Jobs using Oozie If Queslers 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

Blockchain Essentials Cognitive Class Quiz Answers

Deep Learning Fundamentals Cognitive Class Quiz Answers

Hadoop 101 Cognitive Class Answers

Machine Learning With R Cognitive Class Answers

Machine Learning with Python Cognitive Class Answers

Leave a Reply

Your email address will not be published.