Big Cyber Monday Sale 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70track

Free Salesforce Salesforce-MuleSoft-Developer-I Practice Exam with Questions & Answers

Questions 1

A Mule application contains two HTTP Listeners, each configured for different API endpoints: http://acme.com/apis/orders and http: //acme .com/a pis/customers.

What base path value should be set in an HTT? Listener config element so that it can be used to configure both HTTP Listeners?

Options:
A.

/apis/?

B.

/apis/

C.

/apis/orders|customers

D.

/apis/*

Salesforce Salesforce-MuleSoft-Developer-I Premium Access
Questions 2

Which of the below is not the mandatory configurations for HTTP Listener?

Options:
A.

Path

B.

Allowed methods

C.

HTTP port in Connector Configuration

D.

HTTP host in Connector Configuration

Questions 3

Refer to the exhibits.

Salesforce-MuleSoft-Developer-I Question 3

In the requestFlow an HTTP Request operation is configured to send an HTTP request with an XML payload. The request is sent to the HTTP Listener in the transform Flow.

That flow transforms the incoming payload into JSON format and returns the response to the HTTP request. The response of the request is stored in a target variable named the Result.

What is the payload at the Logger component after the HTTP Request?

Options:
A.

A non-empty Java object

B.

The original XML payload

C.

null

D.

The returned JSON response

Questions 4

A company has defined two RAML fragments, Book Data Type and Book Example to be used in APIs.

What would be valid RAML to use these fragments ?

Salesforce-MuleSoft-Developer-I Question 4

Salesforce-MuleSoft-Developer-I Question 4

Options:
A.

1. #%RAML 1.02. title: Books3.types:4. Book: ABC/Examples/bookDataType.raml5. /books:6. post:7. body:8. application/json:9. type: Book10. examples:11. input: ABC/Examples/bookExample.raml12. responses:13. 201:14. body:15. application/json:16.example:17.message: Book added

B.

1.#%RAML 1.02.title: Books3.Book: !include bookDataType.raml4./books:5.post:6.body:7.application/json:8.type: Book9.examples:10.input: !include bookExample.raml11.responses:12.201:13.body:14.application/json:15.example:16.message: Book added

C.

1.#%RAML 1.02.title: Books3.Book: bookDataType.raml4./books:5.post:6.body:7.application/json:8.type: Book9.examples:10.input: bookExample.raml11.responses:12.201:13.body:14.application/json:15.example:16.message: Book added

D.

1.#%RAML 1.02.title: Books3.Book: bookDataType.raml4./books:5.post:6.body:7.application/json:8.type: Book9.examples:10.input: bookExample.raml11.responses:12.201:13.body:14.application/json:15.example:16.message: Book added

Questions 5

A flow needs to combine and return data from two different data sources. It contains a Database SELECT operation followed by an HTTP Request operation.

What is the method to capture both payloads so the payload from the second request does not overwrite that from the first?

Options:
A.

Put the Database SELECT operation inside a Cache scope

B.

Put the Database SELECT operation inside a Message Enricher scope

C.

Nothing, previous payloads are combined into the next payload

D.

Save the payload from the Database SELECT operation to a variable

Questions 6

Refer to the exhibits. The Mule application does NOT define any global error handlers.

A web client sends a POST request to the Mule application with this input payload. The File Write operation throws a FILE: CONNECTIVITY error.

What response message is returned to the web client?

Salesforce-MuleSoft-Developer-I Question 6

Options:
A.

"FILE: CONNECTMTV

B.

"OTHER ERROR"

C.

"File written"

D.

"ORDER: NOT CREATED"

Questions 7

Refer to the exhibits.

Salesforce-MuleSoft-Developer-I Question 7

Salesforce-MuleSoft-Developer-I Question 7

A JSON payload is set in the Set Payload transformer.

What is logged by the Logger?

Options:
A.

"String"

B.

"Object"

C.

"Array"

D.

"JSON"

Questions 8

What happens to the attributes of a Mule event in a flow after an outbound HTTP Request is made?

Options:
A.

Attributes arereplaced with new attributes from the HTTP Request response (which might be null)

B.

New attributes may be added from the HTTP response headers, but no headers are ever removed

C.

Attributes do not change

D.

Previous attributes are passed unchanged

Questions 9

Refer to the exhibits.

Salesforce-MuleSoft-Developer-I Question 9

The web client sends a POST request to the ACME Order API with an XML payload. An error is returned.

What should be changed in the request so that a success response code is returned to the web client?

Options:
A.

Set a request header with the name Content-Type to a value of applicatron/octet-stream

B.

Set a request header with the name Content-Type to a value of application/xml

C.

Set a response header with the name Content-Type to a value of applkation/xml

D.

Set a response header with the name Content-Type to a value of application/octet-stream

Questions 10

Refer to the exhibit. What is the output of logger component?

Salesforce-MuleSoft-Developer-I Question 10

Options:
A.

String

B.

Object

C.

Array

D.

Map