Engineering Questions with Answers - Multiple Choice Questions

MCQs on Oozie with Hadoop – 3

1 - Question

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 - Question

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 - Question

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 - Question

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.




5 - Question

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 - Question

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.




7 - Question

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 - Question

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.




9 - Question

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 - Question

___________ 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.

Get weekly updates about new MCQs and other posts by joining 18000+ community of active learners