Salesforce Certified MuleSoft Developer I Salesforce-MuleSoft-Developer-I Dumps in PDF

Free Salesforce Salesforce-MuleSoft-Developer-I Real Questions (page: 3)

Refer to the exhibits.





The Validation component in the private flow throws an error.
What response message is returned to a client request to the main flow's HTTP Listener?

  1. Error - private flow
  2. Error - main flow
  3. Success - main flow
  4. Validation Error

Answer(s): B

Explanation:

Error in validation component will get processed by Processer level On Error Propagate block and then error will be rethrown which will get processed by flow level error handler which will set payload to "Error- main flow". Hence correct answer is Error - main flow

1) Request is received by HTTP listener
2) Try scope gets executed
3) The validator component in the Try scope creates an Error Object because the payload is not null.
4) The On Error Propagate handles the error. The payload is set to "Error ­ Try scope"
6) "Error ­ Try scope" is returned to the 'On Error Continue' block. Main flow execution stops.
Payload is set to "Error - main flow"
7) "Error - main flow" is returned to the requestor in the body of the HTTP request. HTTP Status Code: 200
-------------------------------------------------------------------------------------------------------------------------------------- ----
Reference Diagram though not exactly same, conditions are similar. They will help you answer any new question on error handling in real exam:



https://docs.mulesoft.com/mule-runtime/4.3/on-error-scope-concept#on-error-continue



Refer to the exhibit.



What should be changed to fix the 415 error?

  1. set the response Content-Type header to text/plain
  2. set the response Content-Type header to application/json
  3. Set the request Content-Type header to application/] son
  4. set the request Content-Type header to text/plain

Answer(s): C

Explanation:

The HTTP 415 Unsupported Media Type client error response code indicates that the server refuses to accept the request because the payload format is in an unsupported format. The format problem might be due to the request's indicated Content-Type or Content-Encoding , or as a result of inspecting the data directly. In this case as per RAML specification data is expected in application/json and in request Content-Type is set as "text/plain" which is incorrect. Hence solution is set the request Content-Type header to application/json https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/415



Refer to the exhibit.



What is the output payload in the On Complete phase

  1. summary statistics with NO record data
  2. The records processed by the last batch step: [StepTwol, StepTwo2, StepTwo3]
  3. The records processed by all batch steps: [StepTwostepOnel, stepTwostepOne2, StepTwoStepOne3]
  4. The original payload: [1,2,31

Answer(s): A

Explanation:

This is a trcik question. On complete phase pyalod consists of summary of records processed which gives insight on which records failed or passed. Hence option 4 is correct answer MuleSoft Documentation Reference : https://docs.mulesoft.com/mule-runtime/4.3/batch- processing-concept#on-complete



Refer to the exhibit.





The main flow is configured with their error handlers. A web client submit a request to the HTTP Listener and the HTTP Request throws an HTTP:NOT_FOUND error.
What response message is returned?''

What response message is returned?

  1. APP: API RESOURCE NOT FOUND
  2. HTTP: NOT FOUND
  3. other error
  4. success - main flow

Answer(s): A

Explanation:

Correct answer is APP: API RESOURCE NOT FOUND
-------------------------------------------------------------------------------------------------------------------------------------- -------------

1) A web client submits the request to the HTTP Listener.
2) The HTTP Request throws an "HTTP:NOT_FOUND" error, execution halts.
3) The On Error Propagate error Handler handles the error. In this case ,HTTP:NOT_FOUND error is mapped to custom error APP:API_RESOURCE_NOT_FOUND. This error processor sets payload to APP:API_RESOURCE_NOT_FOUND.
4) "APP:API_RESOURCE_NOT_FOUND. " is the error message returned to the requestor in the body of the HTTP request with HTTP Status Code: 500
Reference Diagram:



What is the correct syntax for a Logger component to output a message with the contents of a 3SON Object payload?

  1. The payload is: $(payload)
  2. #["The payload is: " ++ payload]
  3. The payload is: #[payload]
  4. #["The payload is: " + payload]

Answer(s): B

Explanation:

Option 3 is the only corect answer as it concatenates payload with String.
Below option wont work.
#["The payload is " ++ payload]
Concatenation function expects both arguments to be string. As the question says payload is json object , this will throw error while running it. You can try this in Anypoint Studio and you will get the same result which I mentioned.
hence correct answer is
The payload is: #[payload]



Share your comments for Salesforce Salesforce-MuleSoft-Developer-I exam with other users:

U
unanimous
12/15/2023 6:38:00 AM

very nice very nice

A
akminocha
9/28/2023 10:36:00 AM

please help us with 1z0-1107-2 dumps

J
Jefi
9/4/2023 8:15:00 AM

please upload the practice questions

T
Thembelani
5/30/2023 2:45:00 AM

need this dumps

A
Abduraimov
4/19/2023 12:43:00 AM

preparing for this exam is overwhelming. you cannot pass without the help of these exam dumps.

P
Puneeth
10/5/2023 2:06:00 AM

new to this site but i feel it is good

A
Ashok Kumar
1/2/2024 6:53:00 AM

the correct answer to q8 is b. explanation since the mule app has a dependency, it is necessary to include project modules and dependencies to make sure the app will run successfully on the runtime on any other machine. source code of the component that the mule app is dependent of does not need to be included in the exported jar file, because the source code is not being used while executing an app. compiled code is being used instead.

M
Merry
7/30/2023 6:57:00 AM

good questions

V
VoiceofMidnight
12/17/2023 4:07:00 PM

Delayed the exam until December 29th.

U
Umar Ali
8/29/2023 2:59:00 PM

A and D are True

V
vel
8/28/2023 9:17:09 AM

good one with explanation

G
Gurdeep
1/18/2024 4:00:15 PM

This is one of the most useful study guides I have ever used.

AI Tutor 👋 I’m here to help!