Home »
MCQs
Apache NiFi Multiple-Choice Questions (MCQs)
Apache NiFi is a software project from the Apache Software Foundation designed to automate the flow of data between software systems.
Apache NiFi MCQs: This section contains multiple-choice questions and answers on the various topics of Apache NiFi. Practice these MCQs to test and enhance your skills on Apache NiFi.
List of Apache NiFi MCQs
1. Apache NiFi was developed by ____?
- Microsoft
- Google
- Apache
- NSA
Answer: D) NSA
Explanation:
Apache NiFi was developed by NSA but now it is maintained by Apache.
Discuss this Question
2. Apache NiFi is based upon which programming language?
- Java
- Ruby
- C
- C++
- Python
Answer: A) Java
Explanation:
Apache NiFi is based on Java programming language.
Discuss this Question
3. Is Apache NiFi an open-source tool?
- Yes
- No
Answer: A) Yes
Explanation:
Apache NiFi is an open-source tool.
Discuss this Question
4. Which of the following is true about Apache NiFi?
- Apache NiFi is the tool for ORM
- Apache NiFi is the message broker software.
- Apache NiFi is the data integration tool.
- All of the above
- None of the above
Answer: C) Apache NiFi is the data integration tool.
Explanation:
Apache NiFi is the data integration tool.
Discuss this Question
5. ____- is a collection of NiFi flows that allows a user to manage and store flows in a hierarchical order.
- Flow
- Flow File
- Process Groups
- Data provenance
Answer: C) Process Groups
Explanation:
Process Groups is a collection of NiFi flows that allows a user to manage and store flows in a hierarchical order.
Discuss this Question
6. ____- is designed to connect several processors in order to transport and change data from one data source or sources to another destination data source?
- Flow
- Flow File
- Processor
- Data provenance
Answer: A) Flow
Explanation:
Flow is designed to connect several processors in order to transport and change data from one data source or source to another destination data source.
Discuss this Question
7. A ____ is a Java module that is in charge of either retrieving data from the originating system or storing it in the destination system.
- Process Groups
- Flow File
- Processor
- Data provenance
Answer: C) Processor
Explanation:
A processor is a Java module that is in charge of either retrieving data from the originating system or storing it in the destination system.
Discuss this Question
8. Which of the following are the advantages of NiFi?
- Apache NiFi supports Clustering.
- NiFi supports around 188 processors
- Apache NiFi allows data to be retrieved from remote workstations.
- All of the above
- None of the above
Answer: D) All of the above
Explanation:
Following are the advantages of Apache NiFi:
- Apache NiFi supports Clustering.
- NiFi supports around 188 processors
- Apache NiFi allows data to be retrieved from remote workstations.
Discuss this Question
9. Which of the following repository contains the current state and properties of every flow file that pass through the Apache NiFi data flow?
- Content Repository
- FlowFile Repository
- Provenance Repository
- None of the above
Answer: B) FlowFile Repository
Explanation:
FlowFile repository contains the current state and properties of every flowfile that passes through the Apache NiFi data flows.
Discuss this Question
10. Which of the following repository provides all of the content found in all of NiFi's flowfiles?
- Content Repository
- FlowFile Repository
- Provenance Repository
- None of the above
- All of the above
- None of the above
Answer: A) Content Repository
Explanation:
The content repository provides all of the content found in all of NiFi's flowfiles.
Discuss this Question
11. The default location of the FlowFile repository is in the ____ of Apache NiFi.
- Static Folder
- Root directory
- Configuration folder
Answer: B) Root directory
Explanation:
The default location of the Flowfile repository is in the root directory of Apache NiFi.
Discuss this Question
12. Which of the following repositories records and saves all of the events that occur in NiFi flowfiles?
- Content Repository
- FlowFile Repository
- Provenance Repository
Answer: C) Provenance Repository
Explanation:
The provenance repository records and saves all of the events that occur in NiFi flowfiles.
Discuss this Question
13. How many types of Provenance repositories are there?
- 5
- 4
- 3
- 2
Answer: D) 2
Explanation:
There are two types of provenance repositories: volatile provenance repositories and permanent provenance repositories.
Discuss this Question
14. After restarting the volatile provenance repository, all provenance data is lost. True Or False?
- True
- False
Answer: A) True
Explanation:
After restarting the volatile provenance repository, all provenance data is lost.
Discuss this Question
15. Which of the following Apache Nifi's components is used to retrieve data from the processor that is not part of that process group?
- Processor
- Output Port
- Input Port
- Process Groups
Answer: C) Input Port
Explanation:
The input port is used to retrieve data from the processor that is not part of that process group.
Discuss this Question
16. Which of the following Apache Nifi's components is used to send data to a processor that is not part of that process group?
- Processor
- Output Port
- Input Port
- Process Groups
Answer: B) Output Port
Explanation:
The output port is used to send data to a processor that is not part of that process group.
Discuss this Question
17. Which of the following are the Routing and Mediation Processors?
- RouteOnAttribute
- ExecuteSQL
- GetFile
- PutSQL
Answer: A) RouteOnAttribute
Explanation:
Some of the routing and mediation processors are: RouteOnAttribute, RouteOnContent, ControlRate, RouteText, etc.
Discuss this Question
18. Routing and Mediation Processors are also in charge of controlling NiFi data flows. True or False?
- True
- False
Answer: A) True
Explanation:
Routing and Mediation Processors are also in charge of controlling NiFi data flows.
Discuss this Question
19. Which of the following is/are the Data Ingestion processor?
- RouteOnAttribute
- RouteOnContent
- ExecuteSQL
- GetFile
- PutSQL
Answer: D) GetFile
Explanation:
Some Data ingestion processors are: GetFile, GetHTTP, GetFTP, GetKAFKA, etc.
Discuss this Question
20. The ____ processor is used to save a file from a data flow to a specified destination.
- GetFile
- PutFile
- RootDirectoryFile
Answer: B) PutFile
Explanation:
The PutFile processor is used to save a file from a data flow to a specified destination.
Discuss this Question
21. The ____ processor is used to get files of a specified format from a directory.
- GetFile
- PutFile
- RootDirectoryFile
Answer: A) GetFile
Explanation:
The GetFile processor is used to get files of a specified format from a directory.
Discuss this Question
22. ____ are used to add text to the NiFi canvas about any NiFi component?
- Funnels
- Labels
- Templates
- None of the above
Answer: B) Labels
Explanation:
Labels are used to add text to the NiFi canvas about any NiFi component.
Discuss this Question
23. A ____ is used to distribute a processor's output to several processors.
- Funnel
- Label
- Template
- None of the above
Answer: A) Funnel
Explanation:
A funnel is used to distribute a processor's output to several processors.
Discuss this Question
24. Which of the following are the Database Access Processors?
- RouteOnAttribute
- RouteOnContent
- GetFile
- PutSQL
Answer: D) PutSQL
Explanation:
Some Database Access Processors are: ExecuteSQL, PutSQL, PutDatabaseRecord, ListDatabaseTables, etc.
Discuss this Question
25. A user can access the ____ to monitor the Events occurring on any individual processor or throughout NiFi?
- NiFi Summary UI
- Bulletin Board
- Data provenance UI
Answer: C) Data provenance UI
Explanation:
A user can access the Data provenance to monitor the Events occurring on any individual processor or throughout NiFi.
Discuss this Question
26. The ____ displays the most recent ERROR and WARNING issued by NiFi processors in real-time.
- NiFi Summary UI
- Bulletin Board
- Data provenance UI
Answer: B) Bulletin Board
Explanation:
The bulletin board displays the most recent ERROR and WARNINGS issued by NiFi processors in real-time.
Discuss this Question
27. Which of the following property is used to define the keystore's path and file name?
- nifi.security.keystore
- nifi.security.pathkeystore
- nifi.security.keystorepath
- nifi.security.keystore.path
Answer: A) nifi.security.keystore
Explanation:
nifi.security.keystore property is used to define the keystore's path and file name.
Discuss this Question
28. ____ property give the port number for HTTPS?
- nifi.web.https.specifyportnumber
- nifi.web.https.portnumber
- nifi.web.https.port
- nifi.web.https.Specify.port
Answer: C) nifi.web.https.port
Explanation:
nifi.web.https.port property gives the port number for HTTPS.
Discuss this Question
29. ____ property is used to enable or disable archiving in NiFi?
- nifi.flow.configuration.file
- nifi.flow.configuration.archive.dir
- nifi.flow.configuration.archive.max.time
- nifi.flow.configuration.archive.enabled
Answer: D) nifi.flow.configuration.archive.enabled
Explanation:
nifi.flow.configuration.archive.enabled property is used to enable or disable archiving in NiFi.
Discuss this Question
30. The archive directory is specified using which of the following property?
- nifi.flow.configuration.file
- nifi.flow.configuration.archive.dir
- nifi.flow.configuration.archive.max.time
- nifi.flow.configuration.archive.enabled
Answer: B) nifi.flow.configuration.archive.dir
Explanation:
The archive directory is specified using nifi.flow.configuration.archive.dir property.
Discuss this Question
31. UUID stands for ____?
- Unique universal identifier
- Universally Unique Identifier
- Unique Umega ID
Answer: B) Universally Unique Identifier
Explanation:
UUID stands for Universally Unique Identifier.
Discuss this Question
32. ____ relationship is used when NiFi is unable to get a flowfile from a remote server due to inadequate authorization?
- Comms.failure
- Not.found
- Permission.denied
Answer: C) Permission.denied
Explanation:
Permission.denied relationship is used when NiFi is unable to get a flowfile from a remote server due to inadequate authorization.
Discuss this Question
33. When a Flowfile could not be retrieved from the remote server owing to a communications failure, ____ relationship is met?
- Comms.failure
- Not.found
- Permission.denied
- None of the above
Answer: A) Comms.failure
Explanation:
When a Flowfile could not be retrieved from the remote server owing to a communications failure, comms.failure relationship is met.
Discuss this Question
34. Which of the following processor falls under the System interaction processors category?
- UpdateAttribute
- EvaluateJSONPath
- ExtractText
- ExecuteGroovyScript
Answer: D) ExecuteGroovyScript
Explanation:
Some of the System interaction processors are: ExecuteScript, ExecuteProcess, ExecuteGroovyScript, ExecuteStreamCommand, etc.
Discuss this Question
35. ____ are used in any operating system to run programs or instructions?
- Attribute Extraction Processors
- System Interaction Processors
- Database Access Processors
- Routing and Mediation Processors
Answer: B) System Interaction Processors
Explanation:
System interaction processors are used in any operating system to run programs or instructions.
Discuss this Question
36. Which of the following processor falls under Attribute Extraction Processors?
- UpdateAttribute
- EvaluateJSONPath
- ExtractText
- AttributesToJSON
- All of the above
Answer: E) All of the above
Explanation:
Some of the Attribute Extraction Processors are: UpdateAttribute, EvaluateJSONPath, ExtractText, AttributesToJSON, etc.
Discuss this Question
37. ____ are in charge of extracting, analyzing, and changing flowfile properties in the NiFi data flow?
- Attribute Extraction Processors
- System Interaction Processors
- Database Access Processors
- Routing and Mediation Processors
Answer: A) Attribute Extraction Processors
Explanation:
Attribute Extraction Processors are in charge of extracting, analyzing, and changing flowfile properties in the NiFi data flow.
Discuss this Question
38. PutSNS, PutS3Object, FetchS3Object, and so on come under which kind of processor category?
- AWS Processors
- HTTP Processors
- Splitting and Aggregation Processors
Answer: A) AWS Processors
Explanation:
AWS Processors are: PutSNS, PutS3Object, FetchS3Object.
Discuss this Question
39. Which of the following processors deal with HTTP and HTTPS calls?
- AWS Processors
- HTTP Processors
- Splitting and Aggregation Processors
Answer: B) HTTP Processors
Explanation:
HTTP processors deal with the HTTP and HTTPS calls.
Discuss this Question
40. Apache NiFi's logging is handled via the ____ library?
- Logged
- Logged-in
- Logback
Answer: C) Logback
Explanation:
Apache NiFi's logging is handled via the logback library.
Discuss this Question