Apache NiFi MCQ Questions And Answers - Java Technologies
Apache NiFi MCQs : This section focuses on "basics" of Apache NiFi. These Multiple Choice Questions (MCQ) should be practiced to improve the Apache NiFi skills required for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive examinations.
1. What Is Apache Nifi?
A. NiFi is helpful in creating DataFlow
B. It means you can transfer data from one system to another system as well as process the data in between.
C. Both A and B
D. None of the above
View Answer
Ans : C
Explanation: NiFi is helpful in creating DataFlow. It means you can transfer data from one system to another system as well as process the data in between.
2. A __________ is a message or event data or user data, which is pushed or created in the NiFi.
A. NifiFile
B. FlowFile
C. TaskFile
D. None of the above
View Answer
Ans : B
Explanation: A FlowFile is a message or event data or user data, which is pushed or created in the NiFi. A FlowFile has mainly two things attached with it. Its content (Actual payload: Stream of bytes) and attributes
3. __________ is a main component in the NiFi, which will really work on the FlowFile content and helps in creating, sending, receiving, transforming routing, splitting, merging, and processing FlowFile.
A. Dataflow
B. Component Task
C. Reporting Task
D. Processor
View Answer
Ans : D
Explanation: Processor is a main component in the NiFi, which will really work on the FlowFile content and helps in creating, sending, receiving, transforming routing, splitting, merging, and processing FlowFile.
4. Is There A Programming Language That Apache Nifi Supports?
A. Yes
B. No
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: NiFi is implemented in the Java programming language and allows extensions (processors, controller services, and reporting tasks) to be implemented in Java. In addition, NiFi supports processors that execute scripts written in Groovy, Jython, and several other popular scripting languages.
5. NiFi 1.0 there is ____________ philosophy is considered.
A. 0-master
B. 1-master
C. 2-master
D. 3-master
View Answer
Ans : A
Explanation: NiFi 1.0 there is 0-master philosophy is considered. And each node in the NiFi cluster is the same. NiFi cluster is managed by the Zookeeper.
6. Apache NiFi consist of a ?
A. web server
B. flow controller
C. processor
D. All of the above
View Answer
Ans : D
Explanation: Apache NiFi consist of a web server, flow controller and a processor, which runs on Java Virtual Machine.
7. __________ process is used to fetch files of a specific format from a specific directory.
A. SetFile
B. GetFile
C. PutFile
D. File
View Answer
Ans : B
Explanation: GetFile process is used to fetch files of a specific format from a specific directory. It also provides other options to user for more control on fetching.
8. ________________ processors are used to route the flowfiles to different processors or data flows according to the information in attributes or content of those flowfiles.
A. Data Ingestion
B. Database Access
C. Routing and Mediation
D. Attribute Extraction
View Answer
Ans : C
Explanation: Routing and Mediation processors are used to route the flowfiles to different processors or data flows according to the information in attributes or content of those flowfiles.
9. _________________ processors are used to run processes or commands in any operating system.
A. Data Transformation
B. Sending Data
C. Splitting and Aggregation
D. System Interaction
View Answer
Ans : D
Explanation: System Interaction processors are used to run processes or commands in any operating system. These processors also run scripts in many languages to interact with a variety of systems.
10. Template is a re-usable workflow.
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: True, Template is a re-usable workflow.
Discussion