ANT/ANT Mcq Question Set 1 Sample Test,Sample questions

Question:
 In ___________, one message is delivered to one receiver only.

1.CTP Model

2.ATP Model

3.ZTP Model

4.PTP Model


Question:
 The subclass of a java.awt.Component class is known as a ?

1.system

2. component

3.container

4.component manager


Question:
 typedef define new types in ivy.

1. Yes

2.No

3.Can be yes or no

4.Can not say


Question:
 What is true about Ant?

1.Ant is an open source code

2.Ant is Java-based build tool sponsored by Apache Software Foundation.

3.Ant is kind of like Make.

4.All of the above


Question:
A built tool is software which is used to ?

1. build project

2.build directory structure

3.copy necessary files to that directory

4. All of the above


Question:
A Stateless session bean is a business object that doesn't maintain the conversational state with the client.

1.TRUE

2. FALSE

3.Can be true or false

4.Can not say


Question:
A __________ is a message or event data or user data, which is pushed or created in the NiFi.

1. NifiFile

2.FlowFile

3.TaskFile

4.none of the above


Question:
A ___________ dictates the style of arranging the components in a container.

1. border layout

2.grid layout

3.panel

4.layout manager


Question:
Ant can be used for?

1.Small Project

2.Large Project

3.Both type of project

4.none of the above


Question:
Ant does not need to set class path.

1.Yes

2.No

3.Can be yes or no

4.Can not say


Question:
ANT provides the cross-platform deployment that can run on any platform.

1.TRUE

2.FALSE

3.Can be true or false

4.Can not say


Question:
Ant stands for?

1.Apache Neat Tool

2. Another Next Tool

3.. Another Neat Tool

4.Apache Next Tool


Question:
Apache NiFi consist of a ?

1.web server

2. flow controller

3. processor

4.All of the above


Question:
AWT stands for ?

1.All Window Toolkit

2. Abstract Work Toolkit

3.Abstract Window Toolkit

4.Abstract Window Text


Question:
EJB stands for ?

1.Express Java Bean

2.Enterprise JS Bean

3.Enterprise Java Bean

4.Enterprise Java Business


Question:
getLabel() method used to retrieve the label of a button.

1. Yes

2. No

3.Can be yes or no

4.Can not say


Question:
How many layout managers defined in java.awt package?

1.2

2. 3

3.5

4.None of the mentioned


Question:
How many types of enterprise bean in java?

1. 2

2.3

3. 4

4.5


Question:
How many types of session bean?

1.1

2.2

3.3

4.4


Question:
In which model, one message is delivered to all subscribers?

1. Publisher model

2.Subscriber model

3.Both A and B

4.none of the above


Question:
Is There A Programming Language That Apache Nifi Supports?

1. Yes

2.No

3.Can be true or false

4.Can not say


Question:
Message Driven Bean (MDB) encapsulates business logic. It is invoked by passing the message. It is like JMS receiver.

1.TRUE

2.FALSE

3.Can be true or false

4.Can not say


Question:
NiFi 1.0 there is ____________ philosophy is considered.

1.0-master

2. 1-master

3. 2-master

4.3-master


Question:
publish task is used to publish current artifacts and its resolved descriptor files to mentioned repository.

1.TRUE

2.FALSE

3.Can be true or false

4.Can not say


Question:
Template is a re-usable workflow.

1.TRUE

2.FALSE

3.Can be true or false

4.Can not say


Question:
The subclass of a java.awt.Container class is known as a container.

1.TRUE

2.FALSE

3. Can be true or false

4.Can not say


Question:
Type identifies the artifact category like jar, war, src, doc etc?

1. TRUE

2.FALSE

3.Can be true or false

4.Can not say


Question:
What are the advantages of JMS?

1.Asynchronous

2.Reliable

3. Both A and B

4.none of the above


Question:
What are the features of Ant?

1. Open source

2.Cross plaform

3.Extensible

4.All of the above


Question:
What Is Apache Nifi?

1.NiFi is helpful in creating DataFlow

2.It means you can transfer data from one system to another system as well as process the data in between.

3. Both A and B

4.none of the above


Question:
What is the listener used to handle the events of a text field?

1. java.awt.ActionListener interface

2. java.awt.event.ActionListener

3.awt.event.ActionListener interface

4.java.awt.event.ActionListener interface


Question:
What is the super class of all components of Java?

1. java.all.Component

2.all.awt.Component

3. java.awt.Component

4.awt.Component


Question:
Which is the use of parsers tag?

1.To define module cache parsers

2.To define module latest parsers

3.To define module descriptor parsers

4.To define module version parsers


Question:
Which method used to change the foreground (text) color of components like text field?

1.setBackground(Color clr)

2.setForeground(Color clr)

3.setColor(Color clr)

4.setEditable(boolean state)


Question:
Which method used to place some text in the text field?

1.getText(String str)

2.setText(String str)

3.putText(String str)

4.none of the above


Question:
Which of the following are features of Apache Ivy?

1. ANT Based

2. Non-intrusive

3. Highly Flexible

4.All of the above


Question:
Which of the following is true about Apache IVY?

1.Apache IVY is a dependencies management tool similar to Maven but is ANT based.

2.It is highly flexible and configurable

3. Easy to use as Maven

4. All of the above


Question:
Which of the following is true about target?

1. Targets can have dependencies on other targets

2.Dependencies are denoted using the depends attribute

3.Both A and B

4.none of the above


Question:
Which of the following property defines the name of current project?

1.ant.file

2.ant.project.name

3.ant.name

4.name of attributes


Question:
Which represents continuous development, nightly build?

1.milestone

2. release

3.integration

4.none of the above


Question:
Which tag of Ivy Settings File, set an ivy variable. Cardinality: 0..n?

1. settings

2. property

3.classpath

4.include


Question:
Which terms refers to the name of the company, individual developer or team name who creates the project or library?

1.Module

2.Organisation

3.Artifact

4.Type


Question:
____ task is used to resolve dependencies to a specified location in project workspace.

1.install

2.retrieve

3.cachepath

4. resolve


Question:
_____ encapsulates business logic.

1. Message Driven Bean

2.Entity Bean

3.Object Bean

4.Session Bean


Question:
_____ 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.

1.Dataflow

2.Component Task

3.Reporting Task

4.Processor


Question:
_____ is a messaging service to create, send and receive messages asynchronously.

1.RMS

2.JMS

3.GDS

4.KAD


Question:
_____ is a popular dependency manager

1.Make

2. Ivy

3.Jar

4.none of the above


Question:
______ processors are used to route the flowfiles to different processors or data flows according to the information in attributes or content of those flowfiles.

1.Data Ingestion

2.Database Access

3.Routing and Mediation

4.Attribute Extraction


Question:
______ processors are used to run processes or commands in any operating system.

1.Data Transformation

2.Sending Data

3.Splitting and Aggregation

4.System Interaction


Question:
_______ process is used to fetch files of a specific format from a specific directory.

1. SetFile

2. GetFile

3.PutFile

4.File Access


More MCQS

  1. ANT Mcq Question Set 1
  2. ANT Mcq Question Set 2
  3. ANT Mcq
Search
Olete Team
Online Exam TestTop Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on Online Exam Testwebsite is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!