A web client sends a GET request to the HTTP Listener.
What response message is returned to the web client?
A. "" B. "End" C. "Start" D. "String is not blank"
B. "End"
Explanation
1.Set Payload "Start"
2.'Is Balnk String' Creates an Error object with #[error.description] ="String is not blank"
3.Default Error Handler catches and Propagates error
4.'On Error Propogate' is 'RED IN RED OUT'. It Returns Status Code : 500 and #[error.description]
Correct answer is String is not blank. Because validation component will throw an error as payload is not blank.
Question 52:
What is the object type returned by the File List operation?
A. Object of String file names B. Array of String file names C. Object of Mule event objects D. Array of Mule event objects
D. Array of Mule event objects
Explanation
The List operation returns an array of messages in which: Each message holds the file's content in its payload. The file's attributes section carries the file's metadata (such as name, creation time, and size). The payload is empty if the element is a folder.
Question 53:
Refer to the exhibit. The main flow contains an HTTP Request in the middle of the flow. The HTTP Listeners and HTTP request use default configurations.
What values are accessible to the Logger at the end of the flow after a web client submit request to http://local:801/order?color=red?
A. payload B. payload quantity var C. payload color query param D. payload quantity var color query param
B. payload quantity var
Explanation
In this case as outbound call is made using HTTP: POST /child , all attributes will be replaced by this invocation. Hence query parameter will not be accessible at logger.
Question 54:
Why would a Mule application use the ${http.port} property placeholder for its HTTP Listener port when it is deployed to CloudHub?
A. Allows CloudHub to automatically change the HTTP port to allow external clients to connect to the HTTP Listener B. Allows CloudHub to automatically register the application with API Manager C. Allows MuleSoft Support to troubleshoot the application by connecting directly to the HTTP Listener D. Allows clients to VPN directly to the application at the Mule application's configured HTTP port
A. Allows CloudHub to automatically change the HTTP port to allow external clients to connect to the HTTP Listener
Explanation
This helps CloudHub to dynamically allocates a port at deployment time. MuleSoft Doc Ref : https://docs.mulesoft.com/mule-runtime/4.3/deploy-to- cloudhub#prerequisites
A JSON payload is set in the Set Payload transformer.
What is logged by the Logger?
A. "String" B. "Object" C. "Array" D. "JSON"
C. "Array"
Explanation
Question 56:
Which out of below is not an asset?
A. Template B. Connector C. Exchange D. Example
C. Exchange
Explanation
Exchange is the odd man out here. Rest all are type of asset
interface, application
Question 57:
What is the correct Syntax to add a customer ID as a URI parameter in the HTTP listener's path attribute?
A. #[customerID] B. $[customerID] C. {customerID} D. (customerID)
C. {customerID}
Explanation
Question 58:
Refer to exhibits.
In the execution of the Scatter-Gather , the flow route completes after 10 seconds and the flow2 route completes in 40 seconds. How many seconds does it take for the Scatter- Gather to complete?
A. 10 B. 50 C. 40 D. 20
C. 40
Explanation
Scatter-Gather sends the event to each routes concurrently. Hence both route in this example will start in parallel. So total time to complete processing is 40 seconds The Scatter-Gather component is a routing event processor that processes a Mule event through different parallel processing routes that contain different event processors. Each route receives a reference to the Mule event and executes a sequence of one or more event processors. Each of these routes uses a separate thread to execute the event processors, and the resulting Mule event can be either the same Mule event without modifications or a new Mule event with its own payload, attributes, and variables. The Scatter-Gather component then combines the Mule events returned by each processing route into a new Mule event that is passed to the next event processor only after every route completes successfully. The Scatter-Gather component executes each route in parallel, not sequentially. Parallel execution of routes can greatly increase the efficiency of your Mule application and may provide more information than sequential processing. Mule Ref Doc : https://docs.mulesoft.com/mule-runtime/4.3/scatter-gather-concept
Question 59:
Refer to the exhibits. Client sends the request to ClientRequestFlow which calls ShippingFlow using HTTP Request activity.
During E2E testing it is found that that HTTP:METHOD_NOT_ALLOWED error is thrown whenever client sends request to this flow.
What attribute you would change in ClientRequestFlow to make this implementation work successfully?
A. Change the method attribute value to "*'' B. Change the path attribute value to "/api/ship" C. Change the allowed method attributes value to "POST" D. Change the protocol attribute value to "HTTPS"
C. Change the allowed method attributes value to "POST"
Explanation
Correct answer is Change the method attributes value to "POST".
It can be fixed in either of the two ways as below.
1) Changing method attribute to POST in ClientRequestFlow
2) Setting allowedMethods as PUT in ShippingFlow (but doesn't fit as question mentions about changing ClientRequestFlow)
Question 60:
Refer to the exhibits.
The Set Payload transformer's value is set to {'year': '2020'}.
What message value should be added to the Logger component to output the message 'The year is 2020', without hardcoding 2020?
A. '#[The year is $(pay load .year)]* B. The year is #[payload.year]' C. '#[The year is " + paytoad.year]' D. #["The year is "++ payload.year].
Nowadays, the certification exams become more and more important and required by more and more
enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare
for the exam in a short time with less efforts? How to get a ideal result and how to find the
most reliable resources? Here on Vcedump.com, you will find all the answers.
Vcedump.com provide not only Salesforce exam questions,
answers and explanations but also complete assistance on your exam preparation and certification
application. If you are confused on your SALESFORCE-MULESOFT-DEVELOPER-I exam preparations
and Salesforce certification application, do not hesitate to visit our
Vcedump.com to find your solutions here.