Apache ActiveMQ top 25+ MCQs

Apache Active

Apache ActiveMQ is the most popular open source, multi-protocol, Java-based message broker. It supports industry standard protocols so users get the benefits of client choices across a broad range of languages and platforms. Connect from clients written in JavaScript, C, C++, Python, .Net, and more.

Integrate your multi-platform applications using the ubiquitous AMQP protocol. Exchange messages between your web applications using STOMP over websockets. Manage your IoT devices using MQTT. Support your existing JMS infrastructure and beyond. ActiveMQ offers the power and flexibility to support any messaging use-case.

Apache ActiveMQ “Classic”:-

Long established, endlessly pluggable architecture serving many generations of applications.

  • JMS 1.1 with full client implementation including JNDI
  • High availability using shared storage
  • Familiar JMS-based addressing model
  • “Network of brokers” for distributing load
  • KahaDB & JDBC options for persistence

Apache ActiveMQ Artemis:-

High-performance, non-blocking architecture for the next generation of messaging applications.

  • JMS 1.1 & 2.0 + Jakarta Messaging 2.0 & 3.0 with full client implementations including JNDI
  • High availability using shared storage or network replication
  • Simple & powerful protocol agnostic addressing model
  • Flexible clustering for distributing load
  • Advanced journal implementations for low-latency persistence as well as JDBC
  • High feature parity with ActiveMQ “Classic” to ease migration
  • Asynchronous mirroring for disaster recovery
  • Data Driven Load Balance

Apache ActiveMQ MCQs

Q.1 Which of the following option is the default delivery mode for JMS?

i. Non-persistent

ii. Persistent

iii. Persistent and Non-Persistent

iv. None of the options mentioned

Correct answer : Persistent

Q.2 Which among the following option is used by ActiveMQ?

i. Batching

ii. Broadcast RPC

iii. MOM

iv. RPC

Correct answer : MOM

Q.3 Which of the following measurement is used in JMS Timestamp?

i. Milliseconds

ii. Nanoseconds

iii. Microseconds

iv. All of the options mentioned

Correct answer : Milliseconds

Q.4 In addition to ActiveMQ, which of the following can be used in the category of middleware?

i. EJB

ii. TIBCO Rendezvous

iii. DCE

iv. CORBA

Correct answer : TIBCO Rendezvous

Q.5 Which of the following option is used to implement JMS interfaces?

i. JMS Client

ii. JMS Message

iii. JMS Producer

iv. JMS Provider

Correct answer : JMS Provider

Q.6 Which of the following feature makes to use ActiveMQ?

i. Horizontal and Vertical Scaling

ii. Horizontal Scaling

iii. Horizontal and Vertical Scaling

iv. None of the options mentioned

Correct answer : Horizontal and Vertical Scaling

Q.7 Which of the following option is known as Forwarding Bridge?

i. Transport Connectors

ii. Virtual Connectors

iii. Network Connectors

iv. All of the options mentioned

Correct answer : Network Connectors

Q.8 Which of the following mode is used to run ActiveMQ?

i. InMemory

ii. Standalone

iii. InMemory and Standalone

iv. None of the options mentioned
Correct answer : InMemory and Standalone

Q.9 Which of the following option is used to connect to broker through SSL?

i. Trust store

ii. Keystore

iii. Keystore password

iv. All of the options

Correct answer : All of the options

Q.10 Which of the following option is used to automate reconnection?

i. Composite URI

ii. Connector URI

iii. Connector and Composite URI

iv. All of the options

Correct answer : Composite URI

Q.11 Which of the following option can be used to identify remote broker services?

i. Discovery

ii. IP Multicast

iii. Peer Protocol Connector

iv. Fanout Connector

Correct answer : Discovery

Q.12 Which of the following protocol is used to avoid Data Breaching?

i. UDP

ii. TCP

iii. SSL

iv. All of the options

Correct answer : SSL

Q.13 Which of the following class is used to implement broker level operations?

i. IPAuthenticationPlugin class

ii. BrokerFilter class

iii. Custom class

iv. IPAuthenticationBroker class

Correct answer : BrokerFilter class

Q.14 Publisher and Subscriber mode is implemented in which of the following mode?

i. Queue and Topic

ii. Topic

iii. Queue

iv. None of the options

Correct answer : Topic

Q.15 In queue, messages are stored in which of the following order?

i. LIFO

ii. FIFO

iii. FILO

iv. All of the options

Correct answer : FIFO

Q.16 Lock table is present in which of the following message store?

i. AMQ

ii. JDBC

iii. Kaha

iv. All of the options

Correct answer : JDBC

Q.17 Which is used to reveal the configuration of the plugin in ActiveMQ?

i. Broker Plugin

ii. Custom Plugin

iii. IPAuthentication Plugin

iv. All of the options

Correct answer : Broker Plugin

Q.18 Which of the following option can be defined as a person should have the necessary permission to execute?

i. Authorize Control List

ii. Access Control List

iii. Authorize and Access Control List

iv. None of the options

Correct answer : Access Control List

Q.19 ActiveMQ consists of which of the following types of security modes?

i. Authentication

ii. Authorization

iii. Authorization and Authentication

iv. None of the options

Correct answer : Authorization and Authentication

Q.20 JMX is the standard API for ____.

i. Java Application Monitoring

ii. Java Management Extensions

iii. Java Application Management

iv. None of the options

Correct answer : Java Application Management

Q.21 Which of the following option is the default messaging performance for ActiveMQ?

i. Non-persistent

ii. Persistent

iii. Persistent and Non-persistent

iv. None of the options

Correct answer : Persistent

Q.22 Which of the following option can be used to co-locate the brokers?

i. Embedded Broker

ii. Enterprise Broker

iii. ActiveMQ broker

iv. All of the options

Correct answer : Embedded Broker

Q.23 Which of the following is a third-party tool for ActiveMQ Administration?

i. SonicMQ

ii. ActiveMQ

iii. FuseHQ

iv. IBMWebsphereM

Correct answer : FuseHQ

Q.24 The size of the queue and the number of flight messages is controlled by _.

i. Intermediatefetch

ii. Postfetch

iii. Prefetch

iv. All of the options

Correct answer : Prefetch

Click here to read Apache technologies interview Questions and Answers

Q.25 Which of the following option is defined as when any changes are made to the broker are notified as notification messages?

i. Virtual

ii. JMS

iii. Advisory

iv. Discovery

Correct answer : Advisory

Click here to read more blogs

About Author


After years of Technical Work, I feel like an expert when it comes to Develop wordpress website. Check out How to Create a Wordpress Website in 5 Mins, and Earn Money Online Follow me on Facebook for all the latest updates.

Leave a Comment