Available in 1, 3, 6 and 12 Months Free Updates Plans
PDF: $15 $60

Test Engine: $20 $80

PDF + Engine: $25 $99

Salesforce-MuleSoft-Developer-I Practice Test


Page 17 out of 47 Pages

Refer to the exhibits.



What is the response when a client submits a request to http://localhost:8081?


A. After


B. null


C. Before


D. Validation error





D.
  Validation error

Explanation:
Here’s specifically what is happening here:
1) Payload is successfully set to “Before”
2) Is null validation is used which will pass the message only if payload is null. In this case as payload is not null, it creates an Error Object. Flow execution stops
#[error.description] = “Validation error”
3) Because no error handler is defined, the Mule default error handler handles the error
4) “Validation error” is the error message returned to the requestor in the body of the HTTP request with HTTP Status Code: 500
Reference diagram:

By default, what happens to a file after it is read using an FTP connector Read operation?


A. The file is deleted from the folder


B. The file is moved to a different folder


C. The file stays in the same folder unchanged


D. The file is renamed in the same folder





C.
  The file stays in the same folder unchanged

Explanation: File is not updated when FTP read operations is performed.

What is the output of Dataweave Map operator?


A. Map


B. Object


C. String


D. Array





D.
  Array

Explanation: Returns an array that is the result of applying a transformation function (lambda) to each of the elements.



The map operator is a function in Dataweave which iterates over the items in an array and outputs them into a new array. It basically accepts input as a list of items in an array and manipulates the items in the array in order to form a new array as an output.

A web client sends one GET request to the test flow's HTTP Listener, which causes the test flow to call the updateTemp flow After the test flow returns a response, the web client then sends a different GET request to trie getTemp flow's HTTP Listener The test flow is not called a second time.
What response is returned from the request to the getTemp flow's HTTP Listener?




A. Option A


B. Option B


C. Option C


D. Option D





C.
  Option C

What payload is returned by a Database SELECT operation that does not match any rows in the database?


A. false


B. null


C. Exception


D. Empty Array





D.
  Empty Array

Explanation: Empty array is returned when no rows are matched.


Page 17 out of 47 Pages
Previous