^

Sample Questions

Deployment, Configuration and Management

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

  • a) Well-known members are the leaders in a given ESB cluster
  • b) There is a set of well-known members and every node in the cluster knows about these members
  • 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

Answer: b

Extensions and Customizations

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

Answer: c

Standards and Technology

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

Answer: b

Features

You need to implement a REST API that supports JSON and invokes a POX backend service. Which statement provides the steps required to implement this use case?

  • a) Use a Data Mapper inside the REST API and call a POX endpoint using an address endpoint with format="pox"
  • b) You can use any data transformation mediator, but you must use an HTTP endpoint
  • c) Use the Data Mapper mediator and an HTTP endpoint with REST_URL_POSTFIX
  • d) Use the Data Mapper mediator and an address endpoint with REST_URL_POSTFIX

Answer: a