What is the correct way to format the decimal 200.1234 as a string to two decimal places?
How to import Core (dw::Core) module into your DataWeave scripts?
What DataWeave expression transforms the array a to the XML output?
What MuleSoft API-led connectivity layer is intended to expose part of a backend database without business logic?
Refer to the exhibits.
A web client sends a GET request to the HTTP Listener.
What response message is returned to the web client?
Refer to the payload.
The Set payload transformer sets the payload to an object. The logger component's message attribute is configured with the string "Result #["INFO"++ payload]"
What is the output of logger when this flow executes?
Where are values of query parameters stored in the Mule event by the HTTP Listener?
A mule project contains MySQL database dependency . The project is exported from Anypoint Studio so that it can be deployed to Cloudhub. What export options needs to be selected to create the smallest deployable archive that will successfully deploy to Cloudhub?
What is the correct syntax for a Logger component to output a message with the contents of a 3SON Object payload?
Refer to the exhibit.
All three of the condition for the Choice router are true. What log messages are written?
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. APIkit is used to generate flow components for the RAML specification.
How many apikit:router XML elements are generated to handle requests to every endpoint defined in the RAML specification?
As a part of project requirement , you want to build an API for a legacy client. Legacy client can only consume SOAP webservices. Which type the interface documentation can be prepared to meet the requirement?
What is output of Dataweave flatten function?
An API has been created in Design Center. What is the next step to make the API discoverable?
According to Semantic Versioning, which version would you change for incompatible API changes?
Where is metadata stored in a Mule project
Refer to the exhibits.
The Mule application implements a REST API that accepts GET requests from web clients on the URLs: http://acme 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 exhibit.
This RAML specification includes a resource and method to retrieve accounts by account_type and industry.
What is the correct URI to get all retail finance accounts?
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 On Table Row Database listener retrieves data from a table that contains record_id, an increasing numerical column.
How should the listener be configured so it retrieves new rows at most one time?
Refer to the exhibit.
The Database Select operation returns five rows from a database. What is logged by the Logger component?
Which of the below is not the mandatory configurations for HTTP Listener?
Refer to the exhibits.
The Batch Job scope contains two Batch Steps scopes with different accept expression.
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 component?
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?
How are query parameters dynamically passed to an outbound REST request using an HTTP Request operation?
How can you call a subflow from Dataweave?
What path setting is required for an HTTP Listener endpoint to route all requests to an APIkit router?
Which of the following is invalid type of event processor which can be used as a router ?
Refer to the exhibits. A web client sends a POST request to the HTTP Listener and the Validation component in the Try scope throws an error.
What response message is returned to the web client?
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)
What are the latest specification of RAML available?
What is the default port used by Mule application debugger configuration in Anypoint Studio?
According to MuleSoft, what is the Center for Enablement’s role in the new IT operating model?
Refer to the exhibits.
The my-app xml file contains an Error Handier scope named "global-error-handler"
The Error Handler scope needs to be set to be the default error handler for every flow in the Mule application
Where and how should the value "global-error-handler" be added in the Mule project so that the Error Handler scope is the default error handler of the Mule application?
Mule application contains ActiveMQ JMS dependency. Mule application was compiled and run successfully in Anypoint Studio. The mule application must now be exported from Anypoint Studio and shared with other developer. What export options should be selected to create the smallest JAR file that can be imported into other developer's Anypoint Studio and run successfully?
How are multiple conditions used in a Choice router to route events?
What is the main purpose of flow designer in Design Center?
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?
How many Mule applications can run on a CloudHub worker?
Refer to the exhibits.
A web client sends sale data in a POST request to the Mule application. The Transform Message component then enrich the payload by prepending a vendor name to the sale data.
What is written to the sales.csv file when the flow executes?
Which Mule component provides a real-time, graphical representation of the APIs and mule applications that are running and discoverable?
A shopping API contains a method to look up store details by department.
To get the information for a particular store, web clients will submit requests with a query parameter named department and uri parameter named storeId
What is valid RAML snippet that supports requests from a web client to get a data for a specific storeId and department name?
Refer to the exhibit.
How many private flows does APIKIT generate from the RAML specification?
Refer to the exhibits.
The Set Payload transformer In the addltem subflow 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 subflow to add a router cable with the price of 100 to the order?
What is the correct syntax to define and call a function in Database?
A)
B)
C)
D)
What execution model is used by For Each and Batch Job scopes?
How we can scale deployed Mule application vertically on cloudhub?
Refer to the exhibit.
What should be changed to fix the 415 error?
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)
What is the output type of the DataWeave map operator?
Where would you create SLA Tiers for an API?
Pick the component with which DataWeave is tightly integrated.
Refer to the exhibits.
A Mule application has an HTTP Request that is configured with hardcoded values. To change this, the Mule application is configured to use a properties file named config.yaml.
what valid expression can the HTTP Request host value be set to so that it is no longer hardcoded?
Refer to the exhibits.
How many private flows does APIKIt generate from RAML specification?
What is the purpose of the api:router element in APIkit?
Refer to the exhibits.
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
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)
Which of the below is not a valid category for connector type?
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 is minimal requirement in a flow for a Mule application to compile?
A web client submits a request to http://localhost:8081?accountType=personal. The query parameter is captured using a Set Variable transformer to a variable named accountType.
What is the correct DataWeave expression to log accountType?
A Scatter-Gather processes three separate HTTP requests. Each request returns a Mule event with a JSON payload. What is the final output of the Scatter-Gather?
Refer to the exhibit.
What payload is returned from a request to http//localhost.8081/
Refer to the exhibits, what payload is returned from a request to http://localhost;8081/?
Refer to the exhibits.
What payload and quantity are logged at the end of the main flow?
From which application , Organization Administrators can approve/revoke/delete SLA tier access requests
Refer to the exhibit.
The Mule application's connectors are configured with property placeholders whose values are set in the config.yaml file
What must be added to the Mule application to link the config.yaml file's values with the property placeholders?
Refer to the exhibits. The main flow contains an HTTP Request in the middle of the flow. The HTTP Listeners and HTTP Request use default configurations.
A web client submits a request to the main flow's HTTP Listener that includes query parameters for the pedigree of the piano.
What values are accessible to the Logger component at the end of the main flow?
Refer to the exhibits.
The Mule application does NOT define any global error handlers.
The Validation component in the private flow throws an error
What response message is returned to a web client request to the main flow's HTTP Listener?
Refer to the exhibit.
What is the correct syntax to add an employee ID as a URI parameter in an HTTP Listener path?