Exam4Training

WSO2 Enterprise Integrator 6 Developer WSO2 Certified Enterprise Integrator 6 Developer (6.5 version) Online Training

Question #1

Select theINCORRECT statement regarding ESB connectors.

  • A . Integration is much faster than using sequences and proxy services.
  • B . Connectors cannot be directly added and removed to the runtime, so after deploying them you have to restart the servers.
  • C . No extensiveknowledge of the source system is required to use ESB connectors.
  • D . 150+ connectors are available, and WS02 is continuously adding more to the connector collection.

Reveal Solution Hide Solution

Correct Answer: D
Question #2

Which statement is FALSE about inbound endpoints?

  • A . Inbound endpoints are useful when you have to configure the message sourcesdynamically.
  • B . Inbound endpoints can be clustered.
  • C . HTTP inbound endpoints can use existing default port 8280.
  • D . They always run based on the underlying task execution framework.

Reveal Solution Hide Solution

Correct Answer: C
Question #3

What is the most appropriate scenario for using a class mediator over a Script mediator?

  • A . For debugging purposes, you want to introduce some latency in the message flow.
  • B . You want to change just a single element in the XML payload without changing other elements.
  • C . For testing purposes, you want to record the elapsed time between calling a backend service and receiving the responseby the proxy service.
  • D . You want to develop a logging mediator that sends logging data to an external database such as MySQL.

Reveal Solution Hide Solution

Correct Answer: C
Question #4

Which statement is FALSE with respect to secure vault?

  • A . When looking up secured passwords in a Synapse configuration, it is possible to use theXPath expression ,,wso2:vault-lookup(‘alias,) to retrieve the actual password by providing ‘alias’.
  • B . Secure vault can be used to secure plain text passwords stored in ESB profile configuration files.
  • C . Secure vault uses the cipher-tool.properties filesto identify the locations of the passwords in configuration U files.
  • D . Secure vault always uses the certificate in the primary keystore configured in carbon.xml to encrypt the passwords.

Reveal Solution Hide Solution

Correct Answer: A
Question #5

Which of the following EIP patterns does NOT alter the message content?

  • A . Wire-Tap
  • B . Message Translator
  • C . Content-Enricher
  • D . Splitter

Reveal Solution Hide Solution

Correct Answer: A
Question #6

Suppose youare writing a complex proxy service. In the middle of the task, you need to debug your proxy service as it is not working as expected. Select the mediator that can be used for debugging your proxy service.

  • A . Log mediator
  • B . Drop mediator
  • C . Validate mediator
  • D . Switch mediator

Reveal Solution Hide Solution

Correct Answer: A
Question #7

Which statement about the Entitlement mediator is true?

  • A . Entitlement mediator intercepts requests and evaluates the actions performed by the user against an extensible Access Control MarkupLanguage (XACML) policy.
  • B . All of the above.
  • C . When configuring the mediator, you specify which sequence to execute depending on the Entitlement mediator result.
  • D . Entitlement mediator can only work with WS02 Identity Server as the PolicyDecision Point.

Reveal Solution Hide Solution

Correct Answer: A
Question #8

Identify the INCORRECT statement regarding the <cacheld> in the <remoteInstance> configuration section of the <EI_HOME>/conf/registry.xml file.

<remoteInstanceurl="https://localhost:9443/registryn>

<id>instaceid</id>

<dbConfig>sha red registry </dbConfig>

< readonly >true</readOnly> <enableCache>true</enableCache> <registryRoot>/</registryRoot> <cacheldx/cacheld> </remoteInstance>

  • A . This cachelD is used to identify the cache it should look for when caching is enabled.
  • B . <cacheId> is the same as the JDBC connection URL of the registry database.
  • C . You can use any arbitrary name for the <cacheld> configuration element.
  • D . Both statement b and c are incorrect.

Reveal Solution Hide Solution

Correct Answer: C
Question #9

Select the best extension point of the ESB profile that can be used to secure an API created inside the ESB profile with access restricted to limited user roles.

  • A . Use an Axis2 handler
  • B . Write a custom Class mediator
  • C . Use an API handler
  • D . Use an Axis2 module

Reveal Solution Hide Solution

Correct Answer: B
Question #10

Which statement is FALSE about REST APIs in the ESB profile?

  • A . Specifying a url-template or a url-mapping is mandatory for all the resources in a REST API.
  • B . APIs can be exposed through HTTP inbound endpoints.
  • C . REST APIs are exposed over one of the HTTP listener ports opened by the EI http transport.
  • D . Each REST API can have multiple resources, and each resource can have different service orchestration logic of backend services.

Reveal Solution Hide Solution

Correct Answer: A

Question #11

How can users write their own connector for the ESB Profile of the WS02 EI?

  • A . Create a connector project and include proxy services to invoke the API provider’s endpoints.
  • B . Create a connector project and write Synapse configurations that call the API provider’s endpoints.
  • C . Create a connector project and use the API provider’s SDK.
  • D . Both option a and b can be used.

Reveal Solution Hide Solution

Correct Answer: C
Question #12

Which message construct CANNOT directly receive messages from the protocol layer (wire)?

  • A . API
  • B . Inbound endpoint
  • C . Proxy service
  • D . Message processor

Reveal Solution Hide Solution

Correct Answer: D
Question #13

Consider the following scenario: in the next WS02 EI integration project, you need to implement the Content Filter enterprise integration pattern (EIP). However, the messages coming into your sequence are in awired format not supported in the ESB profile, so you cannot implement the Content Filter EIP.

What would be the best extension point that you can used to overcome this issue?

  • A . Write a Class mediator.
  • B . Write a Synapse handler.
  • C . Write a custom messagebuilder and formatter.
  • D . Use the Script mediator.

Reveal Solution Hide Solution

Correct Answer: D
Question #14

Which statement is FALSE about SSL profile support in WS02 EI?

  • A . SSL outbound profiles allow different SSL profiles for different backend servers.
  • B . Each ssl profile uses the same keystore and truststore.
  • C . Inbound SSL profiles allow you to specify different SSL profiles for different IPs of clients
  • D . The purpose of SSL profiles is to allow connections to different servers with different certificates and identities.

Reveal Solution Hide Solution

Correct Answer: B
Question #15

How do you configure a REST API to handle different mediation logic with different HTTP verbs?

  • A . Define a resource for each API, and only allow that HTTP verb for that particular resource.
  • B . Each HTTP method can be identified by the transport,and you can configure a sequence for each method at transport configuration logic.
  • C . Only define the message filtering switching logic inside a sequence, and each path can handle the specific HTTP verb.
  • D . Wrap a given REST API with an inbound so that youcan filter out requests based on an HTTP verb.

Reveal Solution Hide Solution

Correct Answer: A
Question #16

Which of the following is NOT an entry point or trigger of the Synapse mediation engine?

  • A . Outbound endpoints
  • B . Proxy services
  • C . APIs
  • D . Inbound endpoints

Reveal Solution Hide Solution

Correct Answer: A
Question #17

Which of the following is NOT an action to take in order to tune a new ESB profile server for high performance?

  • A . Synapse configuration level settings
  • B . JVM-level settings
  • C . WS02 Carbon platform level settings
  • D . OS-level settings

Reveal Solution Hide Solution

Correct Answer: A
Question #18

If you are running two or more ESB profile servers on the same physical machine, it is necessary to offset ports. Select the correct statement that describes how to offset ports in the ESB profile.

  • A . Go to <EI_HOME>/conf/axis2, open the axis2.xml file, and add the following top-level configuration: <Ports><Offset>2</Offsetx/Ports>
  • B . Both statement 1 and 2 are correct.
  • C . Both statement 1 and 2 are incorrect.
  • D . Go to <EI_HOME>/conf, open the carbon.xml file, locate the following configuration and increase the Offset ^ value. <Ports><Offset></Offsetx/Ports>

Reveal Solution Hide Solution

Correct Answer: A
Question #19

Which statement is FALSE about endpoints?

  • A . Endpoints are used to define external destinations of a message.
  • B . The same endpoint cannot be used with multiple transports.
  • C . An endpoint can be defined independently of transports.
  • D . Once configurations are defined, the endpoint can be used to connect to any external service.

Reveal Solution Hide Solution

Correct Answer: A
Question #20

Which statement is FALSE about error handling in the ESB profile?

  • A . If you do not define a fault sequence, in the case of an error in a sequence or a proxy service, an exception will be thrown and the message will be dropped.
  • B . In situationswhere a fault sequence is not specified explicitly, a default fault sequence will be used to handle errors.
  • C . Within the fault sequence, you can access error details using the ERROR_DETAIL property.
  • D . The Fault mediator can be used to customize error messages that are sent back to the client.

Reveal Solution Hide Solution

Correct Answer: A

Question #21

When building an integration scenario with the ESB profile, you CANNOT use:

  • A . JavaScript for processing messages at a given message sequence.
  • B . Synapse configuration language.
  • C . WS02 EItooling.
  • D . Java code to build the entire message processing logic.

Reveal Solution Hide Solution

Correct Answer: D
Question #22

What is the easiest method to put a thread sleep in the ESB profile for the purpose of troubleshooting and debugging?

  • A . Write a custom mediator and put a Java Thread.Sleep
  • B . Write a custom taskand put a Java Thread.Sleep
  • C . Write a Script mediator and use Java.lang.Thread.Sleep
  • D . Write a Class mediator and put a Thread.Sleep

Reveal Solution Hide Solution

Correct Answer: C
Question #23

Which statement is TRUE about Java Message Service (JMS) support in the ESB profile?

  • A . The ESB profile can be configured as both a JMS Producer and Consumer.
  • B . JMSsupports point-to-point communication models only.
  • C . The ESB profile can be configured as a shared topic listener.
  • D . Both statements a and c are correct.

Reveal Solution Hide Solution

Correct Answer: D
Question #24

Which statement is true about EIPs?

  • A . EIPs are designed to implement SOA.
  • B . EIPs are used by most ESB vendors as a common set of patterns related to integration.
  • C . EIP is a standard for all ESBs.
  • D . EIPs are not valid for modern integration scenarios.

Reveal Solution Hide Solution

Correct Answer: C
Question #25

Which statementabout the OAuth mediator is FALSE?

  • A . The client should obtain the OAuth access token from the authorization server and send it as an HTTP header in the resource request to the ESB profile.
  • B . Client has to register with the authorization server.
  • C . OAuth mediator can work with any authorization server to verify the OAuth access token.
  • D . OAuth mediator does the OAuth access token verification against an authorization server.

Reveal Solution Hide Solution

Correct Answer: B
Question #26

Select the appropriate Enterprise Integration Pattern (EIP) that can be used to break down a large task into smaller subsets of independent steps that are chained together. This EIP is useful when integrating applications requiring a sequence of processing steps to perform a single event.

  • A . Message Channels
  • B . Pipes and Filters
  • C . Composed Msg. Processor
  • D . Message Translator

Reveal Solution Hide Solution

Correct Answer: B
Question #27

Identify the INCORRECT statement about specifying scripts in the Script mediator.

  • A . Scripts in the Script mediator can be stored in a separate file and can be referenced from the Script mediator.
  • B . A script cannot be stored as an embedded script in the Script mediator configuration.
  • C . The script file can be stored as a local entry.
  • D . Script files can be stored in the registry.

Reveal Solution Hide Solution

Correct Answer: B
Question #28

Select the CORRECT statement about setting parameters for class mediators.

  • A . Both statement b and c are correct.
  • B . It is not possible to set parameters for custom mediators.
  • C . Custom mediator’s parameters should be declared as public fields in mediator code. For instance: public String foo, bar;
  • D . Synapse properties can be used to pass values to mediator arguments.
    For instance:
    <class name="org.wso2.custom.HelloClassMediator">
    <property name=MfooM value="10"/>
    <property name=Mbar
    value="5"/>
    </class>

Reveal Solution Hide Solution

Correct Answer: D
Question #29

Which statement is TRUE about error handling in the ESB profile?

  • A . The Exception mediator can be used to customize error messages that are send back to the client.
  • B . It is mandatory to associate each sequence and proxy service with a fault sequence.
  • C . Within the fault sequence, you can access error details using the EXCEPTION_DETAIL property.
  • D . A fault sequence is a collection of mediators just like any other sequence, and it can be associated with another sequence or a proxy service.

Reveal Solution Hide Solution

Correct Answer: D
Question #30

Identify the correct statement with respect to mutualSSL.

  • A . Mutual SSL provides message level security.
  • B . Mutual SSL provides higher performance.
  • C . All of the above are correct.
  • D . Both client and server have to authenticate each other and require certificates to be configured at both server and client ends.

Reveal Solution Hide Solution

Correct Answer: D
Exit mobile version