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 ____?

  1. Microsoft
  2. Google
  3. Apache
  4. 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?

  1. Java
  2. Ruby
  3. C
  4. C++
  5. Python

Answer: A) Java

Explanation:

Apache NiFi is based on Java programming language.

Discuss this Question


3. Is Apache NiFi an open-source tool?

  1. Yes
  2. 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?

  1. Apache NiFi is the tool for ORM
  2. Apache NiFi is the message broker software.
  3. Apache NiFi is the data integration tool.
  4. All of the above
  5. 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.

  1. Flow
  2. Flow File
  3. Process Groups
  4. 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?

  1. Flow
  2. Flow File
  3. Processor
  4. 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.

  1. Process Groups
  2. Flow File
  3. Processor
  4. 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?

  1. Apache NiFi supports Clustering.
  2. NiFi supports around 188 processors
  3. Apache NiFi allows data to be retrieved from remote workstations.
  4. All of the above
  5. 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?

  1. Content Repository
  2. FlowFile Repository
  3. Provenance Repository
  4. 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?

  1. Content Repository
  2. FlowFile Repository
  3. Provenance Repository
  4. None of the above
  5. All of the above
  6. 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.

  1. Static Folder
  2. Root directory
  3. 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?

  1. Content Repository
  2. FlowFile Repository
  3. 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?

  1. 5
  2. 4
  3. 3
  4. 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?

  1. True
  2. 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?

  1. Processor
  2. Output Port
  3. Input Port
  4. 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?

  1. Processor
  2. Output Port
  3. Input Port
  4. 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?

  1. RouteOnAttribute
  2. ExecuteSQL
  3. GetFile
  4. 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?

  1. True
  2. 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?

  1. RouteOnAttribute
  2. RouteOnContent
  3. ExecuteSQL
  4. GetFile
  5. 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.

  1. GetFile
  2. PutFile
  3. 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.

  1. GetFile
  2. PutFile
  3. 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?

  1. Funnels
  2. Labels
  3. Templates
  4. 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.

  1. Funnel
  2. Label
  3. Template
  4. 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?

  1. RouteOnAttribute
  2. RouteOnContent
  3. GetFile
  4. 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?

  1. NiFi Summary UI
  2. Bulletin Board
  3. 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.

  1. NiFi Summary UI
  2. Bulletin Board
  3. 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?

  1. nifi.security.keystore
  2. nifi.security.pathkeystore
  3. nifi.security.keystorepath
  4. 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?

  1. nifi.web.https.specifyportnumber
  2. nifi.web.https.portnumber
  3. nifi.web.https.port
  4. 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?

  1. nifi.flow.configuration.file
  2. nifi.flow.configuration.archive.dir
  3. nifi.flow.configuration.archive.max.time
  4. 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?

  1. nifi.flow.configuration.file
  2. nifi.flow.configuration.archive.dir
  3. nifi.flow.configuration.archive.max.time
  4. 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 ____?

  1. Unique universal identifier
  2. Universally Unique Identifier
  3. 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?

  1. Comms.failure
  2. Not.found
  3. 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?

  1. Comms.failure
  2. Not.found
  3. Permission.denied
  4. 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?

  1. UpdateAttribute
  2. EvaluateJSONPath
  3. ExtractText
  4. 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?

  1. Attribute Extraction Processors
  2. System Interaction Processors
  3. Database Access Processors
  4. 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?

  1. UpdateAttribute
  2. EvaluateJSONPath
  3. ExtractText
  4. AttributesToJSON
  5. 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?

  1. Attribute Extraction Processors
  2. System Interaction Processors
  3. Database Access Processors
  4. 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?

  1. AWS Processors
  2. HTTP Processors
  3. 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?

  1. AWS Processors
  2. HTTP Processors
  3. 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?

  1. Logged
  2. Logged-in
  3. Logback

Answer: C) Logback

Explanation:

Apache NiFi's logging is handled via the logback library.

Discuss this Question




Comments and Discussions!

Load comments ↻





Copyright © 2024 www.includehelp.com. All rights reserved.