Salesforce Certified MuleSoft Developer (Mule-Dev-201) Exam Questions

Page: 1 / 14
Total 235 questions
Question 1

A Mule application contains an ActiveMQ JMS dependency. The Mule application was developed in Anypoint Studio and runs successfully in Anypoint Studio.

The Mule application must now be exported from Anypoint Studio and shared with another developer.

What export options create the smallest JAR file that can be imported into the other developer's Anypoint Studio and run successfully?



Answer : D


Question 2

How we can scale deployed Mule application vertically on cloudhub?



Answer : A

Mule applications can be scaled vertically by changing worker size. Mule applications can be scaled horizontally by adding more workers.


Question 3

Refer to the exhibits.

This main mule application calls a separate flow called as ShippingAddress which returns the address corresponding to the name of the user sent to it as input. Output of this ShippingAddress is stored in a target variable named address.

Next set of requirement is to have a setPayload transformer which will set below two values

1) orderkey which needs to set to be equal to the order element received in the original request payload.

2) addressKey which needs to be set to be equal to the address received in response of ShippingAddress flow

What is the straightforward way to properly configure the Set Payload transformer with the required data?

A mule application is being developed which will process POST requests coming from clients containing the name and order information. Sample request is as below



Answer : A

Correct answer is as below. In this case address will be stored in a variable. Hence payload will not be overwritten and will contain order details

{

orderkey: 'payload.order',

addresskey: 'vars.address'

}


Question 4

Refer to the exhibits.

A web client submits a request to below flow. What is the output at the end of the flow?



Answer : A

String is the correct answer as XML is of an Object type String


Question 5

A RAML example fragment named StudentExample.raml is placed in the examples folder in an API specification project. What is the correct syntax to reference the fragment?



Answer : C

To include property. To keep the API definition concise, you can include external content, such as documentation, schemas, and frequently used patterns outside the definition itself. The parser interprets !include as if the content of the externally-hosted file or a URL were declared in-line.

To use the fragments in RAML you have to include the exact path(copy the path) of that fragment you want to use as shown below

Option 3 is the correct as correct syntax is

examples: !include examples/StudentExample.raml


Question 6

Refer to the exhibits.

A web client submits the request to the HTTP Listener. What response message would be returned to web client?



Answer : B

Correct answer is String is not blank.

-------------------------------------------------------------------------------------------------------------------------------------------------

Here's specifically what is happening here:

1) Payload is successfully set to ''Start''

2) The Is Blank String validator creates an Error Object because the payload is string 'Start'. Execution stops

#[error.description] = ''String is not blank''

3) Because no error handler is defined, the Mule default error handler handles the error. Remember, at its heart, the Mule Default Error handler is an error handling scope with just an on error propagate

4) ''String is not blank'' is the error message returned to the requestor in the body of the HTTP requestHTTP Status Code: 500

Reference Diagram:


Question 7

Where are values of query parameters stored in the Mule event by the HTTP Listener?



Answer : C

Correct answer isAttributes.

Query parameters , URI parameters and headers are some of examples which are part of attributes.

Bottom of Form

Top of Form


Page:    1 / 14   
Total 235 questions