Salesforce Certified MuleSoft Developer 1 Exam (SU24) Questions and Answers
What DataWeave expression transforms the array a to the XML output?
Refer to the exhibit.
The default scope in choice router recursively calls the color flow.
A web client sends a PUT request to the HTTP listener with payload Blue.
What response is returned to the web client?
What MuleSoft product enables publishing, sharing, and searching of APIs?
An organization is beginning to follow Mulesoft's recommended API led connectivity approach to use modern API to support the development and lifecycle of the integration solutions and to close the IT delivery gap.
What distinguishes between how modern API's are organized in a MuleSoft recommended API-led connectivity approach as compared to other common enterprise integration solutions?
How can you call a subflow from Dataweave?
What valid RAML retrieves details on a specific customer by its customerId as a URI parameter?
A flow contains an HTTP Listener as the event source. What is the DataWeave expression to log the Content-Type header using a Logger component?
Pick the component with which DataWeave is tightly integrated.
A Mule application's HTTP Listener is configured with the HTTP protocol. The HTTP listeners port attribute is configured with a property placeholder named http.port. The mule application sets the http.port property placeholder's value to 9090
The Mule application is deployed to CloudHub without setting any properties in the Runtime manager Properties tab and a log message reports the status of the HTTP listener after the Mule application deployment completes.
After the mule applications is deployed, what information is reported in the worker logs related to the port on which the Mule application's HTTP Listener listens?
Correct answer is {customerID}.
What is not the function of API Gateway ?
How we can scale deployed Mule application vertically on cloudhub?
What is output of Dataweave flatten function?
Refer to the exhibit.
The API needs to be updated using the company-wide standard for the Plan data type. The Object data type has already been published in Anypoint Exchange with the global reference . ACME/DataTypes/PlanDataType.raml.
What is a valid RAML specification that reuses the Plan data type?
A)
B)
C)
D)
A Mule application contains a global error handler configured to catch any errors.
Where must the global error handler be specified so that the global error handler catches all errors from flows without their own error handlers?
Refer to the exhibits. The webClient flow sends requests to the mockServer Row's HTTP Listener.
An HTTP: METHOD_NOT ALLOWED error is thrown each time the webClient flow executes.
What attribute value must be changed in the webClient flow's HTTP Request operation to prevent this error from being thrown?
A Mule application contains two HTTP Listeners, each configured for different API endpoints: and http: //acme .com/a pis/customers.
What base path value should be set in an HTT? Listener config element so that it can be used to configure both HTTP Listeners?
What is the purpose of the api:router element in APIkit?
Following Mulesoft's recommended API-led connectivity approach , an organization has created an application network. The organization now needs to create API's to transform , orchestrate and aggregate the data provided by the other API's in the application network. This API should be flexible enought ot handle the data from additional API's in future.
According to Mulesoft's recommended API-led connectivity approach , what is the best layer for this new API?
According to Mulesoft, how are Modern APIs treated as?
An API instance of type API endpoint with API proxy is created in API manager using an API specification from Anypoint Exchange. The API instance is also configured with an API proxy that is deployed and running in CloudHub.
An SLA- based policy is enabled in API manager for this API instance.
Where can an external API consumer obtain a valid client ID and client secret to successfully send requests to the API proxy?
Refer to the exhibit.
What is the correct way to create a user?
A)
B)
C)
D)
Refer to the exhibits.
A Mule application is being developed to process web client POST requests with payloads containing order information including the user name and purchased items The Shipping connector returns a shipping address for the input payloads user name The Shipping connector's Shipping Address operation is configured with a target named shippingAddress.
The Set Payload transformer needs to set an item key equal to the items value from the original received payload and a shippinglnfo key equal to the the ShippingAddress operation's response
What is a straightforward way to property configure the Set Payload transformer with the required data?
A)
B)
C)
D)
Which file is used to define the interface contract to invoke a web service implemented as a SOAP service
From which application , Organization Administrators can approve/revoke/delete SLA tier access requests
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?
Refer to the exhibits. What payload is logged at the end of the main flow?
Refer to the exhibits.
The Batch Job scope contains two Batch Step scopes with different accept expressions.
The input payload is passed to the Batch Job scope.
After the entire payload is processed by the Batch Job scope, what messages have been logged by the Logger components?
A)
B)
C)
D)
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 Mule project contains a DataWeave module file WebStore dvA that defines a function named loginUser The module file is located in the projects src/main/resources/libs/dw folder
What is correct DataWeave code to import all of the WebStore.dwl file's functions and then call the loginUser function for the login "cindy.park@example.com"?
A)
B)
C)
D)
A Utility.dwl file is located in a Mule project at src/main/resources/modules. The Utility.dwl hie defines a function named pascalize that reformats strings to pascal case.
What is the correct DataWeave to call the pascalize function in a Transform Message component?
A)
B)
C)
D)
A company has an API to manage departments, with each department identified by a unique deptld. The API was built with RAML according to MuleSoft best practices.
What is valid RAML to specify a method to update the details for a specific department?
A)
B)
C)
D)
A flow needs to combine and return data from two different data sources. It contains a Database SELECT operation followed by an HTTP Request operation.
What is the method to capture both payloads so the payload from the second request does not overwrite that from the first?
According to MuleSoft. what is the first step to create a Modern API?
In an application network. If the implementation but not the interface of a product API changes, what needs to be done to the other APIs that consume the product API?
Refer to the exhibits.
A web client submits a request to /flights. What is the result at the end of the flow?
What is the output of Dataweave Map operator?
Refer to the exhibits.
The main flow contains a Flow Reference to the child flow.
A web client sends a GET request to the main flow's HTTP Listener that includes a make query parameter.
What values are accessible in the child flow?
Refer to the exhibits.
What payload and variable are logged at the end of the main flow?
A Mule project contains a DataWeave module called MyModule.dwl that defines a function named formatString. The module is located in the project's src/main/resources/modules folder.
What is the correct way in DataWeave code to import MyModule using a wildcard and then call the module's formatString function?
A)
B)
C)
D)
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?
By default, what happens to a file after it is read using an FTP connector Read operation?
A web client sends a request to http;//localhost:8081?dept=sales. What is the correct DataWeave expression to access the value of dept?
Refer to the exhibit.
What is the output payload in the On Complete phase
How to import Core (dw::Core) module into your DataWeave scripts?
Which of the below is not a valid category for connector type?
Which of the below functionality is provided by zip operator in DataWeave?
Refer to exhibits.
What message should be added to Logger component so that logger prints "The city is Pune" (Double quote should not be part of logged message)?
What MuleSoft API-led connectivity layer is intended to expose part of a backend database without business logic?
A RAML specification is defined to manage customers with a unique identifier for each customer record. What URI does MuleSoft recommend to uniquely access the customer identified with the unique ID 1234?
Refer to the exhibits.
The Mule application implements a REST API that accepts GET requests from web clients on the URLs: com/order/status and http:Vacme.com/customer/status.
What path value can be set in the HTTP GE~ event source to accept web client requests from both of these URLs?
Refer to the exhibits.
A web client submits a request to below flow. What is the output at the end of the flow?
Refer to the exhibits.
How many private flows does APIKIt generate from RAML specification?
Refer to the exhibits. The Mule application does NOT define any global error handlers.
A web client sends a POST request to the Mule application with this input payload. The File Write operation throws a FILE: CONNECTIVITY error.
What response message is returned to the web client?
A flow has a JMS Publish consume operation followed by a JMS Publish operation. Both of these operations have the default configurations. Which operation is asynchronous and which one is synchronous?
Refer to the exhibits.
What is the response when a client submits a request to ?
Refer to the exhibits. The main flow contains an HTTP Request operation configured to call the child flow's HTTP Listener.
A web client sends a GET request to the HTTP Listener with the sty query parameter set to 30.
After the HTTP Request operation completes, what parts of the Mule event at the main flow's Logger component are the same as the Mule event that was input to the HTTP Request operation?
A Mule project contains a DataWeave module like WebStore.dwl that defines a function named loginUser. The module file is located in the project's src/main/resources/libs/etl folder.
What is correct DataWeave code to import all of the WebStore.dwl file's functions and then call the loginUser function for the login "Todd.Pal@mulesoft.com"?
Which one of them is NOT a flow in Mule?
Refer to the exhibits.
The Batch job processes an array of strings.
What information is logged by the logger component after the batch job scope completes processing of the input payload?
A company has an API to manage purchase orders, with each record identified by a unique purchase order ID. The API was built with RAML according to MuleSoft best practices.
What URI should a web client use to request order P05555?
Refer to the exhibit.
What Database expression transforms the input to the output?
A)
B)
C)
D)
Refer to the exhibits. In the choice router, the When expression for the domestic shipping route is set to "#[payload= "FR"]".
What is the output of logger after the execution of choice router is completed?
Refer to the exhibit.
What can be added to the flow to persist data across different flow executions?
Refer to the exhibit.
All three of the condition for the Choice router are true. What log messages are written?
An API specification is designed using RAML. What is the next step to create a REST Connector from this API specification?
Refer to the exhibit.
What Database expression transforms the input to the output?
A)
B)
C)
D)
Refer to the exhibits.
Mule application has an HTTP request configuration where host name is hardcoded. Organization is looking to move host and port values to configuration file. What valid expression can be used to so that HTTP configuration can pick the value from configuration file?
Refer to the exhibits.
The Validation component in the Try scope throws an error.
What response message is returned to a client request to the main flow's HTTP Listener?
The Validation component in the Try scope throws an error. What response message is returned to a client request to the main flow's HTTP Listener?
What is the object type returned by the File List operation?