Join the discussion
Question 1/179
Refer to the exhibits. In the color flow , both the variable named color and payload are set to "red".
An HTTP POST request is then sent to the decideColor flow's HTTP Listener.
What is the payload value at the Logger component after the HTTP request completes?



An HTTP POST request is then sent to the decideColor flow's HTTP Listener.
What is the payload value at the Logger component after the HTTP request completes?



Correct Answer: A
Correct answer is white.
Key thing to note here is that variables are not available to the called flow when it is invoked using HTTP request.
So the flow goes like below
1) Color variable is set to red
2) Payload is set to red
3) Child flow is called using HTTP request which means variables are not available in called flow (They would have been if flow reference activity would have been used)
4) Hence set payload activity will set payload to white as color variable is null
5) Payload returned in main flow is white.
6) So finally output of logger is white
Key thing to note here is that variables are not available to the called flow when it is invoked using HTTP request.
So the flow goes like below
1) Color variable is set to red
2) Payload is set to red
3) Child flow is called using HTTP request which means variables are not available in called flow (They would have been if flow reference activity would have been used)
4) Hence set payload activity will set payload to white as color variable is null
5) Payload returned in main flow is white.
6) So finally output of logger is white
Add Comments
- Other Question (179q)
- Q1. Refer to the exhibits. In the color flow , both the variable named color and payload are s...
- Q2. Refer to the exhibit. The Batch Job processes, filters and aggregates records, What is the...
- Q3. Refer to the exhibits. (Exhibit) The main flow contains a Flow Reference component configu...
- Q4. Refer to the exhibits. (Exhibit) The Set Variable transformer is set with value #[ [ first...
- Q5. In an application network. If the implementation but not the interface of a product API ch...
- Q6. Which of the below activity doesn't support parallel execution?...
- Q7. Refer to the exhibits. (Exhibit) A web client submits a request to http://localhQst:8081 /...
- Q8. A Mule application contains an ActiveMQ JMS dependency. The Mule application was developed...
- Q9. A company has defined two RAML fragments, Book Data Type and Book Example to be used in AP...
- Q10. What path setting is required for an HTTP Listener endpoint to route all requests to an AP...
- Q11. Refer to the exhibits. (Exhibit) The Set Payload transformer In the addltem subflow uses D...
- Q12. Refer to the exhibits. What payload is logged at the end of the main flow? (Exhibit)...
- Q13. Refer to the exhibits. A web client sends a GET request to the HTTP Listener. What respons...
- Q14. Refer to the exhibits. (Exhibit) What payload and quantity are togged at the end of the ma...
- Q15. Refer to the exhibit. (Exhibit) A Mule event is composed of a hierarchy of objects. Where ...
- Q16. Correct answer is {customerID}.
- Q17. A Mule project contains a MySQL Database dependency. The project is exported from Anypoint...
- Q18. A company has an API to manage purchase orders, with each record identified by a unique pu...
- Q19. Refer to the exhibit. (Exhibit) What is the response to a web client request to...
- Q20. A flow needs to combine and return data from two different data sources. It contains a Dat...
- Q21. Refer to the exhibits. (Exhibit) The <when> expression for the Choice router needs t...
- Q22. Refer to the exhibits. A web client sends sale data in a POST request to the Mule applicat...
- Q23. Refer to the exhibits. (Exhibit) In the requestFlow an HTTP Request operation is configure...
- Q24. Refer to the below exhibit. A Mule application configures a property placeholder file name...
- Q25. Refer to the exhibits. (Exhibit) What is valid text to set the field in the Database conne...
- Q26. What path setting is required for an HTTP Listener endpoint to route all requests to an AP...
- Q27. Refer to the exhibits. (Exhibit) The input array of strings is processed by the batch job ...
- Q28. A REST connect module is generated for a RAML specification. and then the rest connect mod...
- Q29. Refer to the exhibit. (Exhibit) The Mule application's connectors are configured with prop...
- Q30. An API instance of type API endpoint with API proxy is created in API manager using an API...
- Q31. Refer to the exhibits. (Exhibit) The Validation component in the Try scope throws an error...
- Q32. Refer to the exhibit. (Exhibit) What is the output payload in the On Complete phase...
- Q33. Refer to the payload. (Exhibit) The Set payload transformer sets the payload to an object....
- Q34. Refer to the exhibit. (Exhibit) The Mule application Is debugged in Any point Studio and s...
- Q35. Refer to the exhibit. (Exhibit) What DataWeave expression transforms the conductorlds arra...
- Q36. Refer to the exhibit. (Exhibit) What is the correct syntax to add an employee ID as a URI ...
- Q37. Refer to the exhibit. (Exhibit) What is a valid expression for the Choice router's when ex...
- Q38. Refer to the exhibits. A company has defined this Book data type and Book example to be us...
- Q39. Refer to the exhibits. (Exhibit) A Mule application contains a Choice router. What is logg...
- Q40. Refer to the exhibit. (Exhibit) What is the correct syntax to add an employee ID as a URI ...
- Q41. What is the main purpose of flow designer in Design Center?...
- Q42. Refer to the exhibits. (Exhibit) The orders.csv file is read, then processed to look up th...
- Q43. Refer to the exhibits. (Exhibit) The input array of strings is processed by the batch job ...
- Q44. Refer to the exhibits. A web client submits a request to http://localhost:8081/fliqhts?des...
- Q45. A RAML example fragment named StudentExample.raml is placed in the examples folder in an A...
- Q46. Refer to the exhibits. (Exhibit) The Set Payload transformer's value is set to {'year': '2...
- Q47. Refer to the exhibits. (Exhibit) The mule application is debugged in Anypoint Studio and s...
- Q48. Refer to the exhibit. (Exhibit) What should be changed to fix the 415 error?...
- Q49. Refer to the exhibit. (Exhibit) What payload is returned from a request to http//localhost...
- Q50. A Mule project contains a DataWeave module called MyModule.dwl that defines a function nam...
- Q51. Refer to the exhibits. (Exhibit) This main mule application calls a separate flow called a...
- Q52. A REST connect module is generated for a RAML specification. and then the rest connect mod...
- Q53. How we can scale deployed Mule application vertically on cloudhub?...
- Q54. Refer to the exhibits. (Exhibit) The two Mule configuration files belong to the same Mule ...
- Q55. Refer to the exhibit. (Exhibit) What is the response to a web client request to http://loc...
- Q56. Refer to the exhibit. The main flow contains an HTTP Request in the middle of the flow. Th...
- Q57. Refer to the exhibit. (Exhibit) All three of the condition for the Choice router are true....
- Q58. Pick the component with which DataWeave is tightly integrated....
- Q59. Refer to the exhibit. (Exhibit) In the execution of the Scatter_Gather, the flow1 route co...
- Q60. Refer to the exhibit. (Exhibit) The API needs to be updated using the company-wide standar...
- Q61. Refer to the exhibits. (Exhibit) The main flow contains an HTTP Request. The HTTP Listener...
- Q62. Refer to the exhibits. (Exhibit) The Set Payload transformer's value is set to {'year': '2...
- Q63. Refer to the exhibit. (Exhibit) This RAML specification includes a resource and method to ...
- Q64. Refer to the exhibit. The error occurs when a project is run in Anypoint Studio. The proje...
- Q65. Refer to the exhibits. (Exhibit) In the Choice router, the When expression for the domesti...
- Q66. Refer to the exhibit. (Exhibit) The Database Select operation returns five rows from a dat...
- Q67. What are the latest specification of RAML available?...
- Q68. Refer to the exhibit. (Exhibit) What is the correct DataWeave expression for the Set Paylo...
- Q69. Refer to the exhibits. What payload is logged at the end of the main flow? (Exhibit)...
- Q70. Refer to the exhibits. (Exhibit) The Validation component in the private flow throws an er...
- Q71. Refer to the exhibits. (Exhibit) What payload and quantity are logged at the end of the ma...
- Q72. According to Semantic Versioning, which version would you change for incompatible API chan...
- Q73. Refer to the exhibit. (Exhibit) A Mule event is composed of a hierarchy of objects. Where ...
- Q74. Refer to the exhibit. (Exhibit) The default scope in choice router recursively calls the c...
- Q75. What DataWeave expression transforms the array a to the XML output? (Exhibit)...
- Q76. Refer to the exhibits. What payload is logged at the end of the main flow? (Exhibit)...
- Q77. A company has an API to manage purchase orders, with each record identified by a unique pu...
- Q78. Refer to the exhibit. (Exhibit) What DataWeave expression transforms the conductorlds arra...
- Q79. Refer to the exhibit. (Exhibit) What payload is returned from a request to http//localhost...
- Q80. An On Table Row Database listener retrieves data from a table that contains record_id, an ...
- Q81. Refer to the exhibits. A web client sends a POST request to the HTTP Listener and the Vali...
- Q82. According to MuleSoft. what is the first step to create a Modern API?...
- Q83. Why would a Mule application use the ${http.port} property placeholder for its HTTP Listen...
- Q84. What is the correct syntax to define and call a function in Database? A) (Exhibit) B) (Exh...
- Q85. What valid RAML retrieves details on a specific customer by its customerId as a URI parame...
- Q86. Refer to the exhibits. (Exhibit) The Batch Job scope processes the array of strings After ...
- Q87. What DataWeave expression transforms the example XML input to the CSV output? (Exhibit) A)...
- Q88. Refer to the exhibit. The main flow contains an HTTP Request in the middle of the flow. Th...
- Q89. Refer to the exhibits. (Exhibit) Each route in the Scatter-Gather sets the payload to the ...
- Q90. Refer to the exhibits. (Exhibit) The Batch Job scope contains two Batch Step scopes with d...
- Q91. Refer to the exhibits. The Set Payload transformer in the addltem child flow uses DataWeav...
- Q92. Refer to the exhibit. (Exhibit) What is the correct way to create a user? A) (Exhibit) B) ...
- Q93. What does C4E stands for in MuleSoft recommended IT operating model?...
- Q94. What statement is a part of MuleSoft's description of an application network?...
- Q95. Refer to the exhibits. (Exhibit) What is valid text to set the field in the Database conne...
- Q96. What DataWeave expression transforms the example XML input to the CSV output? (Exhibit) A)...
- Q97. What DataWeave expression transforms the example XML input to the CSV output? (Exhibit) A)...
- Q98. A Mule project contains a MySQL Database dependency. The project is exported from Anypoint...
- Q99. Refer to the exhibit. (Exhibit) The Mule application Is debugged in Any point Studio and s...
- Q100. Refer to the exhibits. (Exhibit) The input array of strings is processed by the batch job ...
- Q101. A shopping API contains a method to look up store details by department. To get the inform...
- Q102. Refer to the exhibits. In the choice router, the When expression for the domestic shipping...
- Q103. Refer to the exhibits. (Exhibit) The Set Payload transformer In the addltem subflow uses D...
- Q104. Refer to the exhibits. (Exhibit) A web client submits a request to http://localhQst:8081. ...
- Q105. A company has an API to manage departments, with each department identified by a unique de...
- Q106. Refer to the exhibits. (Exhibit) A Mule application has an HTTP Request that is configured...
- Q107. A Mule project contains a DataWeave module like WebStore.dwl that defines a function named...
- Q108. Refer to the exhibit. (Exhibit) The main flow contains a Flow Reference for the child flow...
- Q109. Refer to the exhibit. (Exhibit) What is the response to a web client request to...
- Q110. Refer to the exhibits. (Exhibit) The Validation component in the private flow throws an er...
- Q111. Refer to the exhibit. (Exhibit) In the execution of the Scatter_Gather, the flow1 route co...
- Q112. Refer to the exhibit. (Exhibit) What should be changed to fix the 415 error?...
- Q113. Refer to the exhibits. (Exhibit) The orders.csv file is read, then processed to look up th...
- Q114. Refer to the exhibits. A web client sends a POST request to the HTTP Listener and the Vali...
- Q115. Refer to the exhibits. (Exhibit) The Validation component in the Try scope throws an error...
- Q116. A web client submits a request to http://localhost:8081?flrstName=john. What is the correc...
- Q117. Refer to the exhibits. What payload is logged at the end of the main flow? (Exhibit)...
- Q118. Refer to the exhibit. (Exhibit) What data is expected by the POST /accounts endpoint? A) (...
- Q119. An API specification is designed using RAML. What is the next step to create a REST Connec...
- Q120. Refer to the exhibit. (Exhibit) What payload is returned from a request to http//localhost...
- Q121. An organization is beginning to follow Mulesoft's recommended API led connectivity approac...
- Q122. Refer to the exhibit. (Exhibit) This RAML specification includes a resource and method to ...
- Q123. Which of the module is imported automatically in Dataweave scripts?...
- Q124. Refer to the exhibits. (Exhibit) A web client submits a request to the HTTP Listener and t...
- Q125. Refer to the exhibits. (Exhibit) A web client submits a request to the HTTP Listener and t...
- Q126. Refer to the exhibits. (Exhibit) The <when> expression for the Choice router needs t...
- Q127. What is the difference between a subflow and a sync flow?...
- Q128. Refer to the exhibit. (Exhibit) This RAML specification includes a resource and method to ...
- Q129. An API implementation has been deployed to CloudHub and now needs to be governed. IT will ...
- Q130. A RAML specification is defined to manage customers with a unique identifier for each cust...
- Q131. By default, what happens to a file after it is read using an FTP connector Read operation?...
- Q132. Refer to the exhibits. (Exhibit) A web client submits a request to http://localhQst:8081. ...
- Q133. A RAML specification is defined to manage customers with a unique identifier for each cust...
- Q134. Which one of them is NOT a flow in Mule?
- Q135. A Mule project contains a MySQL Database dependency. The project is exported from Anypoint...
- Q136. A web client sends a request to http;//localhost:8081?dept=sales. What is the correct Data...
- Q137. Refer to the exhibit. The input array of strings is passed to the batch job, which does NO...
- Q138. Refer to the exhibits. APIKit router is used to generate the flow components for RAML spec...
- Q139. How can you call a subflow from Dataweave?
- Q140. Refer to the exhibit. (Exhibit) What Database expression transforms the input to the outpu...
- Q141. What MuleSoft product enables publishing, sharing, and searching of APIs?...
- Q142. Refer to the exhibits. (Exhibit) A web client sends a POST request with the payload {"oid"...
- Q143. An app team is developing a mobile banking app. It took them two months to create their ow...
- Q144. According to MuleSoft. what is the first step to create a Modern API?...
- Q145. Refer to the exhibits. (Exhibit) Each route in the Scatter-Gather sets the payload to the ...
- Q146. What asset cannot be created using Design Center?...
- Q147. Refer to the exhibit. (Exhibit) How many private flows does APIKIT generate from the RAML ...
- Q148. Refer to the exhibits. A web client submits a request to http://localhost:8081/fliqhts?des...
- Q149. Refer to the exhibits. (Exhibit) The main flow contains a Flow Reference to the child flow...
- Q150. Refer to the exhibits. (Exhibit) The Validation component in the private flow throws an er...
- Q151. A Mule flow has three Set Variable transformers. What global data structure can be used to...
- Q152. A Mule application contains a global error handler configured to catch any errors. Where m...
- Q153. An app team is developing a mobile banking app. It took them two months to create their ow...
- Q154. Refer to the exhibit. The error occurs when a project is run in Anypoint Studio. The proje...
- Q155. Refer to the exhibits. (Exhibit) The input array of strings is processed by the batch job ...
- Q156. Refer to the exhibit. (Exhibit) What is the correct DataWeave expression for the Set Paylo...
- Q157. Refer to the exhibit. (Exhibit) What can be added to the flow to persist data across diffe...
- Q158. Refer to the exhibit. (Exhibit) The main flow is configured with their error handlers. A w...
- Q159. A shopping API contains a method to look up store details by department To get information...
- Q160. Refer to the exhibits. (Exhibit) A web client submits a request to http://localhQst:8081 /...
- Q161. What should this endpoint return considering the API is build using standard practices? ht...
- Q162. Refer to the exhibit. (Exhibit) What Database expression transforms the input to the outpu...
- Q163. Refer to the exhibit. The input array of strings is passed to the batch job, which does NO...
- Q164. Refer to the exhibit. (Exhibit) What is the response to a web client request to...
- Q165. Refer to the exhibits. The Set Payload transformer in the addltem child flow uses DataWeav...
- Q166. Refer to the exhibits. (Exhibit) The web client sends a POST request to the ACME Order API...
- Q167. A company has an API to manage departments, with each department identified by a unique de...
- Q168. Refer to the exhibit. (Exhibit) All three of the condition for the Choice router are true....
- Q169. Refer to the exhibits. A company has defined this Book data type and Book example to be us...
- Q170. Refer to the exhibits. (Exhibit) A web client submits a request to http://localhQst:8081 /...
- Q171. A Mule application contains an ActiveMQ JMS dependency. The Mule application was developed...
- Q172. How to import Core (dw::Core) module into your DataWeave scripts?...
- Q173. Refer to the exhibits. (Exhibit) A Mule application contains a Choice router. What is logg...
- Q174. Refer to the exhibits. (Exhibit) The Validation component in the private flow throws an er...
- Q175. Refer to the exhibits. (Exhibit) A web client submits a request to the HTTP Listener and t...
- Q176. Refer to the exhibits. (Exhibit) A JSON payload is set in the Set Payload transformer. Wha...
- Q177. Refer to the exhibits. (Exhibit) The two Mule configuration files belong to the same Mule ...
- Q178. An API instance of type API endpoint with API proxy is created in API manager using an API...
- Q179. Which of the below is used by Mule application to manage dependencies which make sharing t...

[×]
Download PDF File
Enter your email address to download MuleSoft.MCD-Level-1.v2024-03-19.q179.pdf