Refer to the exhibits.What is written to the records.csv file when the flow executes?
Answer(s): A
Transform Message Add write_date is coverting payload in JSON format and same JSON payload is avaialble to file write processor. However, if the payload is a different format (for example, not CSV) , you can place the transformation inside the Write operation to generate content that will be written without producing a side effect on the message in transit. This is not done in this case. By default, the connector writes whatever is in the message payload. Hence JSON payload will be written to file.
Refer to the exhibit.How many private flows does APIKIT generate from the RAML specification?
Answer(s): D
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?
Answer(s): B
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 flow1) Request is received by HTTP listener2) Try scope gets executed3) 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?
Answer(s): C
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
Post your Comments and Discuss Salesforce Salesforce-MuleSoft-Developer-I exam prep with other Community members:
We’re offering these study questions to support your success. The least you can do? Drop a useful comment about each question. Help others. Build the community.