Sample Questions

Select the appropriate Enterprise Integration Pattern (EIP) that can be used to read the content of a message and route it to a specific recipient based on its content. This approach is useful when an implementation of a specific logical function is distributed across multiple physical systems.

  • a) Dynamic Router
  • b) Content-Based Router
  • c) Message Filter
  • d) Message Translator

Which statement about the Callout mediator and Call mediator is FALSE?

  • a) Both mediators can be used to send messages from the ESB profile to an external endpoint
  • b) The Callout mediator and the Call mediator can operate in blocking mode
  • c) When used in blocking mode, the Call mediator is similar in behavior to the Callout mediator
  • d) The Call mediator's default behavior is blocking mode

Which statement is true about a well-known member in an ESB profile cluster?

  • a) Well-known members are the leaders in a given ESB cluster
  • b) Well known members are a small subset of cluster members that are able to start a cluster
  • c) The leaders of a given ESB cluster are always elected from the well-known members
  • d) When a new node wants to become a member of the cluster, it connects to ALL of the well-known members and declares its details

When you are writing complex class mediators, you might need to initialize resources such as TCP Socket connections, database connections, etc. But later you need to free those resources. To do this, what is the mechanism provided by custom Class mediators?

  • a) Write resources reclaiming code inside the destroy() method of the Class mediator
  • b) Implement the org.apache.synapse.ManagedLifecycle interface and write your resource-reclaiming code inside the reclaim() method
  • c) Implement the org.apache.synapse.ManagedLifecycle interface and write your resource-reclaiming code inside the destroy() method
  • d) None of these approaches can be used to reclaim resources utilized by the Class mediator