Refer to the exhibits. The Set Payload transformer in the addltem child flow uses DataWeave to create an order object.
What is the correct DataWeave code for the Set Payload transformer in the createOrder flow to use the addltem child flow to add a router call with the price of 100 to the order?
This main mule application calls a separate flow called as ShippingAddress which returns the address corresponding to the name of the user sent to it as input. Output of this ShippingAddress is stored in a target variable named address.
Next set of requirement is to have a setPayload transformer which will set below two values
1) orderkey which needs to set to be equal to the order element received in the original request payload.
2) addressKey which needs to be set to be equal to the address received in response of ShippingAddress flow
What is the straightforward way to properly configure the Set Payload transformer with the required data?
A mule application is being developed which will process POST requests coming from clients containing the name and order information. Sample request is as below
In this case address will be stored in a variable. Hence payload will not be overwritten and will contain order details {
orderkey: "payload.order",
addresskey: "vars.address"
}
Question 213:
Refer to the exhibit.
In the execution of the Scatter-Gather, the "steep 1 sec" Flow Reference takes about 1 second to complete, and the "sleep 5 sees" Row Reference takes about 5 seconds to complete.
About how many seconds does it take from the time the Scatter-Gather is called until the Set Payload transformer is called?
B. 1 C. 5 D. 6
C. 5
Explanation
Question 214:
An API was designed in API Designer, published to Anypoint Exchange, then imported into API Manager.
A Mule application implements this API and is deployed to CloudHub. API Manager manages this deployed API implementation.
What is the easiest and most idiomatic (used for its intended purpose) way to enforce a Client ID Enforcement policy on this Mule application?
A. In API Manager, apply a Client ID Enforcement policy for the API instance B. In Anypoint Studio, code a custom policy tor Client ID Enforcement and then add the custom policy to Runtime Manager for the Mule application deployment C. In Anypoint Design Center, code a custom policy for Client ID Enforcement and then publish the custom policy to the API portal in Anypoint Exchange D. In API Designer, add Client ID Enforcement policy requirements to the API specification
A. In API Manager, apply a Client ID Enforcement policy for the API instance
Explanation
Question 215:
Refer to the exhibit.
What is the output payload in the On Complete phase
A. summary statistics with NO record data B. The records processed by the last batch step: [StepTwol, StepTwo2, StepTwo3] C. The records processed by all batch steps: [StepTwostepOnel, stepTwostepOne2, StepTwoStepOne3] D. The original payload: [1,2,31
A. summary statistics with NO record data
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
Question 216:
Where are values of query parameters stored in the Mule event by the HTTP Listener?
A. Inbound Properties B. Variables C. Attributes D. Payload
C. Attributes
Explanation
Query parameters , URI parameters and headers are some of examples which are part of attributes.
Question 217:
Refer to the exhibit.
In the execution of the Scatter_Gather, the flow1 route completes after 10 seconds and the flow2 route completes after 20 seconds. How many seconds does it take for the Scatter_Gather to complete?
B. 10 C. 20 D. 30
C. 20
Explanation
Question 218:
From which application , Organization Administrators can approve/revoke/delete SLA tier access requests
A. API Exchange B. API Portal C. API Gateway D. API Manager
D. API Manager
Explanation
Organization Administrators can approve/revoke/delete SLA tier access requests via API Manager only
Question 219:
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?
A. Error - private flow B. Error - main flow C. Success - main flow D. Validation Error
B. Error - main flow
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:
Question 220:
What DataWeave expression transforms the array a to the XML output?
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.