Hadoop Questions and Answers – Oozie with Hadoop – 2

This set of Interview Questions & Answers focuses on “Oozie with Hadoop – 2”.

1. ___________ nodes are the mechanism by which a workflow triggers the execution of a computation/processing task.
a) Server
b) Client
c) Mechanism
d) Action
View Answer

Answer: d
Explanation: Oozie provides support for the following types of actions: Hadoop map-reduce, Hadoop file system, Pig, Java and Oozie sub-workflow.

2. Point out the correct statement.
a) Oozie is a Java Web-Application that runs in a Java servlet-container
b) Oozie workflow is a collection of actions arranged in a control dependency DAG
c) hPDL is a fairly compact language
d) All of the mentioned
View Answer

Answer: d
Explanation: Control nodes define the flow of execution and include beginning and end of a workflow (start, end and fail nodes) and mechanisms to control the workflow execution path.

3. Workflow with id __________ should be in SUCCEEDED/KILLED/FAILED.
a) wfId
b) iUD
c) iFD
d) all of the mentioned
View Answer

Answer: a
Explanation: Workflow with id wfId should exist.

4. Nodes in the config _____________ must be completed successfully.
a) oozie.wid.rerun.skip.nodes
b) oozie.wf.rerun.skip.nodes
c) oozie.wf.run.skip.nodes
d) all of the mentioned
View Answer

Answer: b
Explanation: If no configuration is passed, existing coordinator/workflow configuration will be used.

advertisement
advertisement

5. Point out the wrong statement.
a) Oozie provides a unique callback URL to the task, the task should invoke the given URL to notify its completion
b) All computation/processing tasks triggered by an mechanism node are remote to Oozie
c) Oozie workflows can be parameterized
d) None of the mentioned
View Answer

Answer: b
Explanation: All computation/processing tasks are executed by Hadoop Map/Reduce framework.

6. _____________ will skip the nodes given in the config with the same exit transition as before.
a) ActionMega handler
b) Action handler
c) Data handler
d) None of the mentioned
View Answer

Answer: b
Explanation: Currently there is no way to remove an existing configuration but only override by passing a different value in the input configuration.

Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

7. ________ nodes that control the start and end of the workflow and workflow job execution path.
a) Action
b) Control
c) Data
d) SubDomain
View Answer

Answer: b
Explanation: Workflow nodes are classified in control flow nodes and action nodes.

8. Node names and transitions must be conform to the following pattern =[a-zA-Z][\-_a-zA-Z0-0]*=, of up to __________ characters long.
a) 10
b) 15
c) 20
d) 25
View Answer

Answer: c
Explanation: Action nodes trigger the execution of a computation/processing task.

advertisement

9. A workflow definition must have one ________ node.
a) start
b) resume
c) finish
d) none of the mentioned
View Answer

Answer: a
Explanation: The start node is the entry point for a workflow job, it indicates the first workflow node the workflow job must transition to.

10. If one or more actions started by the workflow job are executing when the ________ node is reached, the actions will be killed.
a) kill
b) start
c) end
d) finsih
View Answer

Answer: a
Explanation: A workflow definition may have zero or more kill nodes.

advertisement

Sanfoundry Global Education & Learning Series – Hadoop.

Here’s the list of Best Books in Hadoop.

To practice all interview questions and answers on Oozie, here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.