Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free TIBCO Enterprise Message Service 8 Certification TCP-EMS8 Exam Questions

Last updated: · 15 practice questions with answers and explanations

Page: 1 / 15 Total 150 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: EMS Fundamentals

Skill tested: Select an EMS topology that provides broker failover without confusing it with clustering.

A payment processor needs an EMS service that can continue accepting client connections after a broker host fails. The application team cannot modify its JMS code to implement message replication, and operations can tolerate a standby broker that does not actively serve traffic before failover. Which deployment approach best fits these requirements?

Correct Answer: D. Configure an EMS fault-tolerant pair with a primary and standby broker, and configure clients to use the pair.
Explanation:

An EMS fault-tolerant pair uses primary and standby brokers to provide broker-level failover, matching the requirement that a standby take over when the active host fails without application-managed replication. Clients configured for the pair can reconnect to the active broker. Clustering is intended to provide cooperating brokers and shared destination access, not simply a passive standby. Independent standalone brokers do not coordinate state or fail over transparently. Publishing to two unrelated URLs would require application-level handling and would not provide a single coordinated service.

Question 2

New Multiple answers

Topic: EMS Fundamentals

Skill tested: Distinguish supported protocol connectivity from JMS-specific application behavior.

A company is designing an integration boundary around an EMS deployment. Java applications already use JMS, while a newer device platform must connect using MQTT and a partner gateway uses AMQP. The team wants to avoid assuming that all clients have identical JMS semantics, particularly around transactions and message features. Which two design conclusions are appropriate? Select TWO.

Correct Answer: B. Use protocol-specific client capabilities and mappings when defining delivery, destination, and message-property expectations.; D. Treat JMS, MQTT, and AMQP as distinct client protocols and verify each protocol's supported behavior for the required use cases.
Explanation:

EMS can provide connectivity through different messaging protocols, but a shared broker does not make their client APIs and protocol semantics interchangeable. The architecture should validate delivery guarantees, destination mapping, message properties, and acknowledgment behavior for each protocol and client implementation. MQTT clients do not thereby become participants in a Java JMS local transaction, and MQTT or AMQP clients do not use a JMS connection factory merely because EMS is the broker. Assuming identical headers and controls risks incorrect integration behavior.

Question 3

New Single answer

Topic: EMS Fundamentals

Skill tested: Choose a messaging protocol and topology aligned with interoperability and availability constraints.

A logistics company has a group of existing Java services that use JMS and a set of external partner systems that must exchange messages using AMQP. It also requires multiple broker instances to provide distributed access to destinations. The partners will not install a proprietary JMS client, and the team wants brokers to cooperate rather than operate as independent endpoints. Which approach best addresses the requirements?

Correct Answer: B. Use an EMS cluster for the broker topology, retaining JMS for the Java services and AMQP for compatible partner clients.
Explanation:

An EMS cluster supports a cooperating multi-broker deployment, while clients can use the protocol appropriate to their implementation: JMS for the Java services and AMQP for compatible partners. This preserves the partners' protocol constraint and avoids treating distinct client APIs as interchangeable. Independent brokers do not provide the requested coordinated cluster behavior. A primary/standby pair addresses failover rather than the stated distributed broker requirement, and the proposed protocol conversions do not meet the partners' constraints.

Question 4

New Single answer

Topic: Message Administration

Skill tested: Apply JMS selectors to route messages without consuming unrelated queue entries.

An order-processing application writes all orders to one queue. Several workers should handle only orders whose `region` property is `WEST` and whose `priority` property is at least 5; other workers process the remaining orders. The producer sets these values as JMS message properties, and the operations team does not want separate queues or consumer-side filtering after receipt. What should the WEST workers do?

Correct Answer: C. Create consumers with the selector `region = 'WEST' AND priority >= 5`.
Explanation:

A JMS message selector evaluates message headers and properties, so a consumer selector can restrict delivery to messages with the specified property values. The expression uses equality for the region and an inclusive comparison for priority, matching the requirement. `LIKE` is not the appropriate equality test here, and `> 5` would exclude priority 5. JMSPriority is a standard header rather than a queue-wide filter setting. Selectors can be used with queue consumers as well as topic subscriptions.

Question 5

New Multiple answers

Topic: Message Administration

Skill tested: Configure durable topic delivery and acknowledgment behavior for offline subscribers.

A compliance application subscribes to an EMS topic and must receive messages published while it is disconnected. It uses a stable client identity, and messages must remain eligible for redelivery if processing fails before acknowledgment. The team also requires that the subscriber's durable state survive ordinary client disconnects; it does not require delivery to multiple active consumers under a competing-consumer model. Which two actions meet the requirements? Select TWO.

Correct Answer: A. Use a suitable acknowledgment mode and acknowledge only after successful processing.; D. Create a durable topic subscription using the subscriber identity and subscription name.
Explanation:

A durable topic subscription preserves the subscription while its consumer is disconnected, allowing eligible publications to be retained for that subscription. Acknowledging only after successful processing supports redelivery when processing fails before the acknowledgment, subject to the selected JMS acknowledgment or transaction behavior. A non-durable subscription does not provide offline retention. A selector cannot make a subscription durable, and a queue distributes messages among consumers rather than broadcasting each message independently to every subscriber.

Question 6

New Single answer

Topic: Message Administration

Skill tested: Select persistent delivery and transactional acknowledgment for reliable message processing.

A claims system receives a persistent JMS message, updates a database, and then acknowledges the message. During a failure window, the database update can commit while the message acknowledgment does not, causing redelivery and a duplicate update. The business requires the application to coordinate its message receive and acknowledgment as one JMS unit of work; distributed coordination with the database is not available. Which change most directly meets that requirement?

Correct Answer: B. Use a transacted JMS session and commit after the message-processing work covered by that session succeeds.
Explanation:

A transacted JMS session lets the application group its receive and acknowledgment within a JMS transaction, committing the session only when the covered processing succeeds. This addresses the stated message-side unit-of-work requirement, though it does not make an unrelated database update atomic with the JMS transaction; the scenario explicitly excludes distributed coordination. Non-persistent delivery weakens reliability rather than solving the consistency issue. Expiration is not duplicate detection, and acknowledging before database work risks message loss if that work fails.

Question 7

New Single answer

Topic: JMS API and Development

Skill tested: Choose a JMS message type suitable for structured application data and property-based routing.

A Java service sends compact order events containing named fields, including a numeric amount and a Boolean fraud indicator. Consumers need to inspect those fields and select messages using the fraud indicator without parsing an opaque application payload. The team does not need to transmit arbitrary serialized Java objects, and consumers must remain loosely coupled to Java class definitions. Which JMS message representation is the best fit?

Correct Answer: C. `MapMessage` with the event fields represented as named values.
Explanation:

A `MapMessage` represents data as named values with supported JMS types, fitting the structured fields and avoiding reliance on Java class serialization. The fraud indicator needed for broker-side selection must be exposed as a JMS property, however: selectors operate on headers and properties, not arbitrary message-body fields. The service can set a corresponding property for routing while retaining the full event fields in the map. `ObjectMessage` couples consumers to serialized classes, while byte and stream messages do not provide the requested named structure.

Question 8

New Multiple answers

Topic: JMS API and Development

Skill tested: Apply JMS producer, consumer, and transaction patterns for request-response messaging.

A Java application sends a request to a JMS destination and must receive its correlated reply without creating a separate reply consumer for every request. The service may have several requests outstanding at once, and requests and replies must remain distinguishable. Which two JMS techniques should the application use? Select TWO.

Correct Answer: A. Set a unique `JMSCorrelationID` for each request and copy it to the corresponding reply.; E. Set `JMSReplyTo` on each request to identify the reply destination.
Explanation:

`JMSReplyTo` communicates where the responder should send a reply, and `JMSCorrelationID` lets the requester associate that reply with the correct outstanding request. Together they support concurrent request-response exchanges without requiring a dedicated consumer per request. Expiration controls message lifetime, not request identity. A queue distributes each message to one consumer rather than broadcasting replies to every requester. Delivery mode concerns persistence and does not correlate a reply to a request.

Question 9

New Single answer

Topic: JMS API and Development

Skill tested: Diagnose shared JMS session concurrency and apply safe consumer threading practices.

A Java service creates one JMS `Session`, then shares it among several worker threads. Each thread independently calls `receive()` and uses a producer from that same session to publish a result. Under load, the service shows intermittent message-processing errors. The team wants concurrent processing but cannot redesign the business operation as a single-threaded pipeline. What is the most appropriate correction?

Correct Answer: B. Create a separate JMS session for each worker thread, with its own consumer and producer as needed.
Explanation:

A JMS `Session` is a single-threaded context; concurrently using its consumers and producers from multiple application threads is not a safe way to scale processing. Giving each worker its own session and associated JMS objects isolates the session context while allowing parallel work. Synchronizing only receive calls leaves concurrent producer use and other session interactions unsound. A session per destination is still shared across threads, and increasing broker connection limits does not change client-side session threading rules.

Question 10

New Single answer

Topic: EMS Integration

Skill tested: Design reliable error handling for an EMS integration that must isolate failed messages.

An integration service consumes partner records from an EMS queue, transforms them, and sends them to a downstream system. A small number of malformed records repeatedly fail transformation, blocking progress for valid records behind them. Operations must retain failed records for investigation and replay, while normal traffic continues. The team does not want to discard records or silently skip failures. What is the most appropriate handling pattern?

Correct Answer: D. Move or route repeatedly failed messages to a designated error destination with diagnostic context, then continue processing valid traffic.
Explanation:

An error destination or dead-letter handling path isolates poison messages from normal processing while preserving them and useful diagnostic context for investigation and replay. A bounded retry and escalation policy can prevent one malformed record from continually blocking progress. Changing receive timeouts does not repair invalid data. Acknowledging before successful processing risks losing records, and disabling persistence undermines the requested retention rather than providing controlled failure handling.

Question 11

New Multiple answers

Topic: EMS Integration

Skill tested: Use message transformation and enrichment while preserving source data and routing intent.

A mediation service receives supplier messages that contain a supplier code and an unnormalized product description. The downstream application requires a canonical product code and a normalized description, and its queue selector relies on a `supplierTier` JMS property. The source should remain available for audit, and the mediation service must not cause the destination queue to lose selector-based routing. Which two actions are appropriate? Select TWO.

Correct Answer: C. Transform the message body to the downstream schema and add the canonical product code using the approved mapping.; E. Set `supplierTier` as a JMS message property on the outgoing message, preserving the value needed by the selector.
Explanation:

The mediation flow should map and normalize the body for the downstream contract, while retaining the source message or an appropriate audit copy as required. Because JMS selectors evaluate headers and properties rather than arbitrary body fields, `supplierTier` must be set as a message property on the outgoing message. Modifying and stripping the source in place conflicts with the audit requirement. Putting the selector value only in the body prevents the destination selector from using it, and non-persistent delivery is not a substitute for audit retention.

Question 12

New Single answer

Topic: Security and Management

Skill tested: Apply EMS authentication and authorization using least-privilege client identities.

A financial organization currently gives every application the same EMS login, which has broad access to queues and topics. Auditors require individual application identities, restricted access to only required destinations, and the ability to determine which application performed an operation. The applications are already configured to present credentials, and centralized identity changes are outside this project. What should the administrator do?

Correct Answer: B. Create a distinct EMS user for each application and grant each user only the destination permissions it requires.
Explanation:

Distinct authenticated users combined with narrowly scoped destination permissions provide application-level access control and improve attribution in broker operations and logs. A client ID identifies a client connection or subscription context; it is not a replacement for an authenticated user or a basis for granting distinct user permissions. Sharing credentials across applications defeats the audit and least-privilege goals. Tracing can aid diagnosis but does not enforce authorization.

Question 13

New Single answer

Topic: Security and Management

Skill tested: Configure encrypted client-to-broker transport with certificate validation.

A production EMS deployment carries sensitive messages over a network that the organization does not fully trust. The security team requires confidentiality in transit and wants clients to reject a broker whose certificate cannot be validated against the configured trust material. Authentication and destination authorization are already in place. Which change addresses the remaining requirement?

Correct Answer: D. Enable TLS for client connections and configure clients with trust material to validate the broker certificate.
Explanation:

TLS protects client-to-broker traffic in transit and allows clients to validate the broker certificate using appropriate trust material. Existing authentication and authorization remain important, but neither encrypts the network connection. Persistent delivery concerns message storage and delivery reliability, not transport encryption. Destination permissions control access to destinations, while selectors filter messages and are not a security boundary.

Question 14

New Multiple answers

Topic: Security and Management

Skill tested: Identify EMS monitoring signals that distinguish backlog, connectivity, and resource-pressure problems.

An operations team is investigating delayed order processing. It needs to determine whether the primary issue is a growing queue backlog, loss of consumer connections, or broker resource pressure. Administrators have access to EMS management and monitoring facilities, but they must avoid changing live destinations until they have evidence. Which two initial monitoring actions are most useful? Select TWO.

Correct Answer: C. Review broker-level status and resource indicators, including memory and connection state.; E. Inspect destination statistics such as message counts and consumer counts for the affected queue.
Explanation:

Destination-level statistics can reveal whether messages are accumulating and whether consumers are attached; broker-level status and resource indicators help distinguish a queue-specific backlog from broader pressure or connectivity problems. Together these observations establish a baseline without altering production state. Deleting a queue can destroy messages and evidence. Disabling persistence changes delivery guarantees, while arbitrarily increasing prefetch may worsen resource pressure and does not identify the cause.

Question 15

New Single answer

Topic: Message Administration

Skill tested: Choose message persistence according to delivery guarantees and recovery requirements.

A billing application publishes invoice events to an EMS queue. The business requires an event accepted by the broker to remain available after a broker restart, and it cannot regenerate missing events from the source system. The team is evaluating a throughput improvement that would use non-persistent delivery. Which recommendation best meets the stated recovery requirement?

Correct Answer: B. Use persistent delivery for the invoice events and ensure broker storage is configured and maintained appropriately.
Explanation:

Persistent delivery is the appropriate JMS delivery mode when accepted messages must survive broker restart, subject to correctly configured and maintained EMS storage. Non-persistent messages do not meet the stated recovery guarantee merely because the queue is large or expiration is extended. Priority affects delivery ordering preference, not whether a message is stored durably. The proposed throughput optimization would trade away the exact reliability property the business requires.