Hadoop Questions and Answers – Oozie with Hadoop – 3

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

1. A ___________ node enables a workflow to make a selection on the execution path to follow.
a) fork
b) decision
c) start
d) none of the mentioned
View Answer

Answer: b
Explanation: All decision nodes must have a default element to avoid bringing the workflow into an error state if none of the predicates evaluates to true.

2. Point out the correct statement.
a) Predicates are JSP Expression Language (EL) expressions
b) Predicates are evaluated in order or appearance until one of them evaluates to true and the corresponding transition is taken
c) The name attribute in the decision node is the name of the decision node
d) All of the mentioned
View Answer

Answer: d
Explanation: The predicate ELs are evaluated in order until one returns true and the corresponding transition is taken.

3. Which of the following can be seen as a switch-case statement?
a) fork
b) decision
c) start
d) none of the mentioned
View Answer

Answer: b
Explanation: A decision node consists of a list of predicates-transition pairs plus a default transition.

4. All decision nodes must have a _____________ element to avoid bringing the workflow into an error state if none of the predicates evaluates to true.
a) name
b) default
c) server
d) client
View Answer

Answer: b
Explanation: The default element indicates the transition to take if none of the predicates evaluates to true.

advertisement
advertisement

5. Point out the wrong statement.
a) The fork and join nodes must be used in pairs
b) The fork node assumes concurrent execution paths are children of the same fork node
c) A join node waits until every concurrent execution path of a previous fork node arrives to it
d) A fork node splits one path of execution into multiple concurrent paths of execution
View Answer

Answer: b
Explanation: The join node assumes concurrent execution paths are children of the same fork node.

6. The ___________ attribute in the join node is the name of the workflow join node.
a) name
b) to
c) down
d) none of the mentioned
View Answer

Answer: a
Explanation: The to attribute in the join node indicates the name of the workflow node that will executed after all concurrent execution paths of the corresponding fork arrive to the join node.

Note: Join free Sanfoundry classes at Telegram or Youtube

7. If a computation/processing task -triggered by a workflow fails to complete successfully, its transitions to _____________
a) error
b) ok
c) true
d) false
View Answer

Answer: a
Explanation: If a computation/processing task -triggered by a workflow completes successfully, it transitions to ok.

8. If the failure is of ___________ nature, Oozie will suspend the workflow job.
a) transient
b) non-transient
c) permanent
d) all of the mentioned
View Answer

Answer: b
Explanation: If the failure is an error and a retry will not resolve the problem, Oozie will perform the error transition for the action.

advertisement

9. A _______________ action can be configured to perform file system cleanup and directory creation before starting the mapreduce job.
a) map
b) reduce
c) map-reduce
d) none of the mentioned
View Answer

Answer: c
Explanation: The map-reduce action starts a Hadoop map/reduce job from a workflow.

10. ___________ properties can be overridden by specifying them in the job-xml file or configuration element.
a) Pipe
b) Decision
c) Flag
d) None of the mentioned
View Answer

Answer: a
Explanation: Pipes information can be specified in the pipes element.

advertisement

Sanfoundry Global Education & Learning Series – Hadoop.

Here’s the list of Best Books in Hadoop.

To practice all interview questions and answers on Hadoop 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.