Question 1
Question
Refer to the exhibits.
In the requestFlow an HTTP Request operation is configured to send an HTTP request with an XML payload.
The request is sent to the HTTP Listener in the transform Flow.
That flow transforms the incoming payload into JSON format and returns the response to the HTTP request.
The response of the request is stored in a target variable named the Result.
What is the payload at the Logger component after the HTTP Request?
Question 2
Question
Refer to the exhibits. The /daily folder exist, is currently empty, and file can be read and written to this folder by Anypoint Studio.
This Mule application is run in Anypoint Studio, and then a file named productUpdate.txt containing the text "START" is written to the /daily forder.
What is the daily folder after the readUpdates flow complites for the first time?
Answer
-
A file named productUpdates.txt.back containing the text "START"
-
A file named productUpdates.txt containing the text "START".
A file named productUpdates.txt.back containing the text "FINISHED"
-
A file named productUpdates.txt.back containing the text "FINISHED"
-
A file named productUpdates.txt containing the text "START".
A file named productUpdates.txt.back containing the text "STAR"
Question 3
Question
A function named newProdCode needs to be defined that accepts two input parameters, an
integer value for itemID and a string value for productCategory, and returns a new product code.
What is the correct DataWeave code to define the newProdCode function?
Answer
-
fun newProdCode{itemID: Number, productCategory: String) -> "PC-" ++ productCategory ++ (itemID as String)
-
fun newProdCode(itemID: Number, productCategory: String) = "PC-" ++ productCategory ++ (itemID as String)
-
function newProdCode(itemID: Number, productCategory: String) = "PC-" ++ productCategory ++ (itemID as String)
-
var newProdCode(itemID: Number, productCategory: String) -> "PC-" ++ productCategory ++ (itemID as String)
Question 4
Question
Refer to the exhibits. The Mule application does NOT define any global error handler.
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?
Answer
-
"END"
-
"ERROR1"
-
"ERROR2"
-
"Validation Error"
Question 5
Question
Refer to the exhibits. A web client submits a request to http://localhost:8081/flights. What is the result at the end of the flow?
Answer
-
"String"
-
"Java"
-
"Object"
-
"XML"
Question 6
Question
Refer to the exhibit. The input array of strings is passed to the batch job, which does NOT do any filtering or aggregating. What payload is logged by the Logger component?
Question 7
Question
Refer to the exhibits. The Mule application does NOT define any global error handler elements.
What is the response to a web client request to http://localhost:8081?
Answer
-
"Before"
-
"null"
-
"After"
-
"Validation Error"
Question 8
Question
Refer to the exhibits. The Set Payload transformer in the For Each scope and the Set Payload transformer in the Batch Job scope's Batch Step scope each contain a Dataweave explression to sleep (pause processing) for the number of milliseconds in the current payload. The batch Job Scope's block size is set to 1.
In what order are the payload logged in the For Each scope and in the Batch Step scope?
Answer
-
For Each scope: 100, 200, 1000, 2000
Batch Step scope: 4000, 40, 3000, 300
-
For Each scope: 2000, 200, 1000, 100
Batch Step scope: 4000, 40, 3000, 300
-
For Each scope: 100, 200, 1000, 2000
Batch Step scope: 40, 300, 3000, 4000
-
For Each scope: 2000, 200, 1000, 100
Batch Step scope: 40, 300, 3000, 4000
Question 9
Question
An HTTP Request operation sends an HTTP request with a non-empty JSON-formatted object payload to an external HTTP endpoint. The response from the external HTTP endpoint returns an XML-formatted body.
The result is stored in a target named the Result.
What is the payload at the event processor after the HTTP Request?
Answer
-
application/xml
-
application/json
-
application/dw
-
application/java
Question 10
Question
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?
Answer
-
%dw 2.0
output application/json
import modules.Utility
---
Utility.pascalize("max mule")
-
%dw 2.0
output application/json
import modules.Utility
---
pascalize("max mule")
-
%dw 2.0
output application/json
import modules::Utility
---
Utility::pascalize("max mule")
-
%dw 2.0
output application/json
import modules::Utility
---
pascalize("max mule")
Question 11
Question
Refer to the exhibit. The error occurs when a project is run in Anypoint Studio. The project, which has a dependency that is not in the MuleSoft Maven repository, was created and successfully run on a different computer.
What is the next step to fix the error to get the project to run successfully?
Answer
-
Edit the dependency in the Mule project's pom.xml file
-
Install the dependency to the computer's local Maven repository
-
Deploy the dependency to MuleSoft's Maven repository
-
Add the dependency to the MULE_HOME/bin folder
Question 12
Question
Refer to the exhibit. The main flow constains a Flow Reference for the child flow.
After a web client submits a request to http://localhost:8081/order?color=red.
Whar values are accesible in the child flow?
Question 13
Question
Refer to the exhibits. When the flow executes, the now() function in the Transform Messages component returns "2021-08-26T13:32:10.64-07:00".
What is written to the records.csv file when the flow executes?.
Answer
-
{
"transaction_id":"SS-4848-44KK-4YQ",
"account_id":"KA-382-SKD344",
"name":"Max Mule",
"position":"sell",
"write_date":"2021-08-26T13:32:10.64-07:00"
}
-
transaction_id, account_id, name, position, write_date
"SS-4848-44KK-4YQ","KA-382-SKD344","Max Mule","sell","2021-08-26T13:32:10.64-07:00"
-
transaction_id, account_id, name, position
"SS-4848-44KK-4YQ","KA-382-SKD344","Max Mule","sell"
-
{
"transaction_id":"SS-4848-44KK-4YQ",
"account_id":"KA-382-SKD344",
"name":"Max Mule",
"position":"sell",
}
Question 14
Question
Refer to the exhibits. A web client makes an HTTP request to the flow's HTTP Listener.
The Validation Component then throws an error with the messages "Validate - Payload is an Integer".
What response message is returned to the web client?
Question 15
Question
+
A web client sends a POST request to the HTTP Listener with the payload ג€Hello-ג€.
What response is returned to the web client?
Question 16
Question
Refer to the exhibits. In this Mule application files are written from inside a For Each scope.
What is written to the file system when the flow executes, and what payload is returned in the response to the web client?
Answer
-
Three files are created, one for each account object.
The response payload is a succes messages without any account objects.
-
Two files are created, each containing a different array of one or two accounts objects.
The response payload is a JSON formatted object of account objects that is created in the Set Payload transformer
-
One file is written with an error message.
The response payload is the error messages
-
Two files are created, each containing a different object of one or two account objects.
The response payload is a JSON formatted array of two objects, where each object is a duplicate copy of the object of account objects written to each file
Question 17
Question
Refer to the exhibit. An event payload contains an unordered array of flight objects, where avery object has a price key and a toAirport key.
What is Dataweave code to return flights with a price under 500, grouped by toAirport ascending order, with the lowest price first?
Answer
-
payload filter $.price < 500 ordeyBy $.price groupBy $.toAirport
-
payload filter $.price > 500 ordeyBy $.price groupBy $.toAirport
-
payload groupBy $.toAirport filter $.price < 500 orderBy $.price
-
payload groupBy $.toAirport filter $.price > 500 orderBy $.price
Question 18
Question
+
The main flow contains an HTTP Request. The HTTP Listeners and HTTP Request use default configurations.
A web client sends a GET request to the main flow's HTTP Listener that includes a modelName query parameter.
What values are accessible in the child flow?
Question 19
Question
+
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?
Answer
-
Error - private flow
-
Validation Error
-
Error - main flow
-
Success - main flow
Question 20
Question
+
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?
Answer
-
Save the payload from the Database SELECT operation to a variable.
-
Put the Database SELECT operation inside a Cache scope
-
Put the Database SELECT operation inside a Message Enricher scope
-
Nothing, previous payloads are combined into the next payload
Question 21
Question
+
A web client sends a GET request that includes a destination query parameter to the flow's HTTP Listener.
The Web Service Consumer throws a WSC:BAD_REQUEST error.
What is the next step to fix this error?
Answer
-
Set a header in the Consume operation equal to the destination query parameter
-
Set a SOAP payload before the Consume operation that contains the destination query parameter
-
Set a property in the Consume operation equal to the destination query parameter
-
Set a JSON payload before the Consume operation that contains the destination query parameter
Question 22
Question
+
The Mule application has multiple HTTP Listeners contained in various configuration XML files. Each HTTP Listener is configured with the same host and with the port number, path, and operation shown in its display name.
What is the minimum number of global elements that must be defined to support all these HTTP Listeners?
Question 23
Question
+
The <when> expression for the Choice router needs to be written.
What is a valid <when> expression to route Mule events to the non-default flow?
Answer
-
#[ 'MuleSoft' = = payload.'company' ]
-
#[ if ( '˜MuleSoft' = = payload.company ) ]
-
#[ company = 'MuleSoft' ]
-
#[ if( company = 'MuleSoft' ) ]
Question 24
Question
+
The Mule application contains a Choice router.
What is logged when the flow completes?
Answer
-
'US'
-
'REGION'
-
EU
-
['US', 'EU']
Question 25
Question
+
A web client sends a new order record {'oid': '100', 'custId': 'annie@acme.com', 'status': 'NEW ORDER' } in the payload of a POST request to the Mule application.
What value must be used in the Input Parameters field of the Database Insert operation to properly pass the order record values to the SQL statement?
Answer
-
#"[
{
oid: payload.oid,
custId: payload.custId,
status: payload.status
}
]"
-
"#[
{
oid: payload.oid,
custId: payload.custId,
status: payload.status
}
]"
-
"#[
inputparameters: [
payload.oid,
payload.custId,
payload.status
]
]"
-
"#[
[
payload.oid,
payload.custId,
payload.status
]
]"
Question 26
Question
+
A web client submits a request to http://localhost:8081/books/0471767840. The value '0471767840' is captured by a Set Variable transformer to a variable named bookISBN.
What is the DataWeave expression to access bookISBN later in the flow?
Answer
-
attributes.bookISBN
-
flowVars.bookISBN
-
vars.bookISBN
-
bookISBN
Question 27
Question
+
A web client sends a request to http://localhost:8081?dept=sales.
What is the correct DataWeave expression to access the value of dept?
Question 28
Question
+
A Set Variable component saves the current payload to a variable.
What is the DataWeave parent expression to access the variable?
Answer
-
#[value]
-
#[vars]
-
#[var]
-
#[values]
Question 29
Question
An event contains a payload that is an array of objects.
How is the event routed in a Scatter-Gather?
Answer
-
The entire event sent to each route and processed sequentially
-
The entire event sent to each route and processed in parallel
-
The event is split and events with different smaller payloads are routed and processed in parallel
-
The event is split and events with different smaller payloads are routed and processed sequentially
Question 30
Question
+
A Scatter-Gather processes a number of separate HTTP requests. Each request returns a Mule event with a JSON payload.
What is the final output of the Scatter-Gather?
Answer
-
An Object containing all Mule event Objects.
-
An Array containing all Mule event Objects.
-
None of these.
-
The last Mule event object.
Question 31
Question
+
In the execution of the Scatter-Gather, the 'sleep 1 sec' Flow Reference takes about 1 second to complete, and the 'sleep 5 secs' Flow Reference takes about 5 seconds to complete.
About how many seconds does it take from the time the Scatter-Gather is called until Set Payload transformer is called?
Question 32
Question
+ Validar Pregunta
Each route in the Scatter-Gather sets the payload to the number shown in the label.
What response is returned to a web client request to the HTTP Listener?
Answer
-
[
{
"attributes": ...,
"payload":"100"
},
{
"attributes": ...,
"payload":"200"
}
]
-
{
"0":"100",
"1":"200"
}
-
["100","200"]
-
{
"0":{
"attributes": ...,
"payload":"100"
},
"1":{
"attributes": ...,
"payload":"200"
}
}
Question 33
Question
+
To avoid hard-coding values, a flow uses some property placeholders and the corresponding values are stored in a configuration file.
Where does the configuration file's location need to be specified in the Mule application?
Question 34
Question
+
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?
Answer
-
'The year is #[payload.year]'
-
'#[The year is $(payload.year)]'
-
'#["The year is ++ payload.year"]'
-
'#["The year is " + payload.year]"
Question 35
Question
+
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 sends a GET request to the main flow's HTTP Listener. The GET request includes query for the pedigree of a piano.
What values are accessible to the Logger component at the end of the main flow?
Question 36
Question
+
Where are values of query parameters stored in the Mule event by the HTTP Listener?
Answer
-
Payload
-
Attributes
-
Inbound Properties
-
Variables
Question 37
Question
+
What is the correct way to format the decimal 200.1234 as a string to two decimal places?
Answer
-
200.1234 as string {format: ".0#"}
-
200.1234 as string as format: ".0#"
-
200.1234 as String {format: ".0#"}
-
200.1234 as String as format: ".0#"
Question 38
Question
A database table contains a recorID colum that increases as new records added to the table.
A Mule application is created to read from this database table.
What is the key process to enable manual watermaking for request to the database table using a Schedule event resourse and database select operation?
Answer
-
Enable automating watermakin in the database select operation
-
Save the max recorID from the set of recordIDs in an Object Store and reference this recorID in subsequent database request
-
Save the max recorID from the set of recordIDs in an variable and reference this variable in subsequent database request
-
Set the Watermark column in the Scheduler to the recorID
Question 39
Question
+
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?
Answer
-
Save the payload from the Database SELECT operation to a variable.
-
Put the Database SELECT operation inside a Cache scope
-
Put the Database SELECT operation inside a Message Enricher scope
-
Nothing, previous payloads are combined into the next payload
Question 40
Question
+
What is the value of the stepVar variable after the processing of records in a Batch Job?
Answer
-
-1
-
0
-
null
-
Last value from flow
Question 41
Question
+
A Batch Job scope has three batch steps. An event processor throws an error in the second batch step because the input data is incomplete.
What is the default behavior of the batch job after the error is thrown?
Question 42
Question
+
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 PO5555?
Answer
-
/orders/{PO5555}
-
/orders/order=PO5555
-
/orders?order=PO5555
-
/orders/PO5555
Question 43
Question
+
What can be added to the flow to persist data across different flow executions?
Answer
-
Properties of the Mule runtime app object
-
Key/value pairs in the ObjectStore
-
Session variables
-
Properties of the Mule runtime flow object
Question 44
Question
Refer to the exhibit. A shoppong API contains a method to look up store details by departament.
According to this RAML spacification, whar is a valis URL for a web client to submit a GET request for details about the pharmacy deparment at the store with storeId 23?
Answer
-
/strores/${23}?store_id=23&department="pharmacy"
-
/strores/${23}/store_id=23&department="pharmacy"
-
/strores/{23}?store_id=23&department="pharmacy"
-
/strores/23?store_id=23&department="pharmacy"
Question 45
Question
+
How would you debug Mule applications?
Question 46
Question
+
The new RAML spec has been published to Anypoint Exchange with client credentials.
What is the next step to gain access to the API?
Answer
-
Email the owners of the API.
-
Create a new client application.
-
No additional steps needed.
-
Request access to the API in Anypoint Exchange.
Question 47
Question
+
What are the latest specification of RAML available?
Question 48
Question
+
What is the use of API Notebooks?
Answer
-
None of these
-
Test Policies
-
Test API functions
-
Test RAML
Question 49
Question
+
What is the trait name you would use for specifying client credentials in RAML?
Question 50
Question
+
What is the main purpose of flow designer in Design Center?
Answer
-
To design and develop fully functional Mule applications in a hosted development environment.
-
To design API RAML files in a graphical way.
-
To design and mock Mule application templates that must be implemented using Anypoint Studio.
-
To define API lifecycle management in a graphical way.
Question 51
Question
+
What is the correct syntax to reference a fragment in RAML?
Answer
-
examples: #include examples/BankAccountsExample.raml
-
examples: $include examples/BankAccountsExample.raml
-
examples: ?include examples/BankAccountsExample.raml
-
examples: !include examples/BankAccountsExample.raml
Question 52
Question
+
What is the purpose of the api:router element in APIkit?
Answer
-
Serves as an API implementation.
-
Validates requests against RAML API specifications and routes them to API implementations.
-
Creates native connectors using a 3rd party Java library.
-
Validates responses returned from API requests and routes them back to the caller.
Question 53
Question
+
What is the minimum required configuration in a flow for a Mule application to compile?
Answer
-
An event source
-
RAML file
-
An event processor
-
Logger Component
Question 54
Question
+
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?
Answer
-
accounts?account_type:retail&industry:finance
-
/accounts/retail/finance
-
/accounts/account_type=retail/industry=finance
-
/accounts?account_type=retail&industry=finance
Question 55
Question
+
An API specification is designed using RAML. What is the next step to create a REST Connector from this API specification?
Answer
-
Add the specification to a Mule project's src/main/resources/api folder
-
Implement the API specification using flow designer in Design Center
-
Download the API specification and build the interface using APIkit
-
Publish the API specification to Anypoint Exchange
Question 56
Question
+
A company has defined this Book data type and Book example to be used in APIs.
What is valid RAML for an API that uses this Book data type and Book example?
Question 57
Question
+
How many private flows does APIkit generate from the RAML specification?
Question 58
Question
+
An SLA based policy has been enabled in API Manager.
What is the next step to configure the API proxy to enforce the new SLA policy?
Answer
-
Restart the API proxy to clear the API policy cache
-
Add new property placeholders and redeploy the API proxy
-
Add required headers to the RAML specification and redeploy the new API proxy
-
Add new environment variables and restart the API proxy
Question 59
Question
+
A company has an API to manage departments, with each department identified by a unique deptId. 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?
Answer
-
/departments:
/depId:
patch:
-
/departments:
patch:
/depId:
-
/departments:
patch:
queryParameters:
/depId:
-
/departments:
/{depId}:
patch:
Question 60
Question
Refer to exhibits. The order.csv files is read and then processed to look up the orders in a database. The Mule application is debugged in Anypoint Studio and stops at the brakpoint.
what payload is show in the debugger at this breakpoint?
Answer
-
Am empty array
-
The database response
-
The entire CSV file
-
100
Question 61
Question
+
The Mule application is debugged in Anypoint Studio and stops at the breakpoint.
What is the value of the payload displayed in the debugger at this breakpoint?
Answer
-
0
-
"Processing"
-
"Start"
-
"Complete"
Question 62
Question
+
According to MuleSoft, what is the first step to create a Modern API?
Answer
-
Performance tune and optimize the backend systems and network
-
Create an API specification and get feedback from stakeholders
-
Create a prototype of the API implementation
-
Gather a list of requirements to secure the API
Question 63
Question
+
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?
Question 64
Question
A Mule project contains a MySQL Database dependency.
The project is exported from Anypoint Studio so it can be deployed to CloudHub.
What export options create the smallest deployable archive that will successfully deploy to CloudHub?
Question 65
Question
+
What are the features of CloudHub Fabric?
Answer
-
Non-persistent queue
-
Horizontal Scaling
-
VPN Mock Services
-
None of these
Question 66
Question
+
How many Mule applications can run on a CloudHub worker?
Answer
-
At most one
-
None of these
-
Depends
-
At least one
Question 67
Question
+
How does Runtime Manager Console connect with App Data and Logs of a Mule app?
Answer
-
None of these
-
Integration Apps
-
CloudHub Workers
-
Rest API
Question 68
Question
+
Where does a deployed flow designer application run in Anypoint Platform?
Answer
-
CloudHub worker
-
API Manager
-
Design Center
-
Exchange
Question 69
Question
+
What is the face of CloudHub and integrates with Platform Services?
Answer
-
None of these
-
Runtime Manager Console
-
Integration Apps
-
CloudHub Workers
Question 70
Question
+
An API implementation has been deployed to CloudHub and now needs to be governed. IT will not allocate additional vCores for a new Mule application to act as an API proxy.
What is the next step to preserve the current vCore usage, but still allow the Mule application to be managed by API Manager?
Answer
-
Modify the API implementation to use auto-discovery to register with API Manager
-
Deploy the same API implementation behind a VPC and configure the VPC to connect to API Manager
-
Upload the Mule applicationג€™s JAR file to the API instance in API Manager
-
Register the same API implementation in Runtime Manager to connect to API Manager
Question 71
Question
+
Why would a Mule application use the ${http.port} property placeholder for its HTTP Listener port when it is deployed to CloudHub?
Answer
-
Allows CloudHub to automatically change the HTTP port to allow external clients to connect to the HTTP Listener
-
Allows clients to VPN directly to the application at the Mule applicationג€™s configured HTTP port
-
Allows MuleSoft Support to troubleshoot the application by connecting directly to the HTTP Listener
-
Allows CloudHub to automatically register the application with API Manager
Question 72
Question
Refer to the exhibits. The Mule application does NOT define any global error handler. The main flow is configurated with three error handlers.
A web client submit a request to the HTTP Listener and the HTTP Request throws an HTTP:NO_FOUND error.
What response message is returned?
Question 73
Question
+
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?
Answer
-
The applications associated with the other APIs must be restarted
-
The other APIs must be updated to consume the updated product API
-
Nothing needs to be changed in the other APIs or their associated applications
-
The applications associated with the other APIs must be recoded
Question 74
Question
What DataWeave expression transforms the example JSON input to the XML output?
Question 75
Question
+
What DataWeave expression transforms the example XML input to the CSV output?
Question 76
Question
+
What HTTP method in a RESTful web service is typically used to completely replace an existing resource?
Question 77
Question
Refer to the exhibit. This RAML files generates an error.
What needs to be done to make valid RAML?
Answer
-
Indent the get method under the {flight_id} resource
-
Remove the blank line on row 7
-
Enclose the {flight_id} resource in parentheses () instead of curly braces {}
-
Outdent the {flight_id} resource
Question 78
Question
+
What does to the attributes of a Mule event happen in a flow after an outbound HTTP Request is made?
Answer
-
Attributes do not change.
-
Previous attributes are passed unchanged.
-
Attributes are replaced with new attributes from the HTTP Request response.
-
New attributes may be added from the HTTP response headers, but no headers are ever removed.
Question 79
Question
+
What is the difference between a subflow and a sync flow?
Answer
-
Sync flow has no error handling of its own and subflow does.
-
Subflow has no error handling of its own and sync flow does.
-
Subflow is synchronous and sync flow is asynchronous.
-
No difference.
Question 80
Question
+
What is not an asset?
Answer
-
Exchange
-
Template
-
Example
-
Connector
Question 81
Question
+
How to import Core (dw::Core) module into your DataWeave scripts?
Answer
-
import dw::core
-
Not needed
-
None of these
-
import core
Question 82
Question
+
What is the object type returned by the File List operation?
Answer
-
Object of String file names
-
Array of String file names
-
Object of Mule event objects
-
Array of Mule event objects
Question 83
Question
+
How can you call a flow from Dataweave?
Answer
-
Not allowed
-
Include function
-
Look up function
-
Tag function
Question 84
Question
+
DataWeave is tightly integrated with ____________.
Answer
-
Mule runtime
-
All APIs
-
Flow Designer
-
Exchange
Question 85
Question
+
In the Database On Table Row operation, what does the Watermark column enable the On Table Row operation to do?
Answer
-
To save the most recent records retrieved from a database to enable database caching.
-
To enable duplicate processing of records in a database.
-
To avoid duplicate processing of records in a database.
-
To delete the most recent records retrieved from a database to enable database caching.
Question 86
Question
+
An API has been created in Design Center.
What is the next step to make the API discoverable?
Answer
-
Deploy the API to a Maven repository.
-
Publish the API from inside flow designer.
-
Publish the API to Anypoint Exchange.
-
Enable autodiscovery in API Manager.
Question 87
Question
+
How is policy defined in terms of classloader of an API?
Answer
-
Classloader isolation does not exist between the application, the runtime and connectors, and policies.
-
B. Classloader isolation exists between the application, the runtime and connectors, and policies.
-
C. None of these.
-
D. Classloader isolation partially exists between the application, the runtime and connectors, and policies.
Question 88
Question
+
According to Mulesoft, how are Modern APIs treated as?
Answer
-
products
-
code
-
soap services
-
organizations
Question 89
Question
+
According to Semantic Versioning, which version would you change for incompatible API changes?
Answer
-
MINOR
-
PATCH
-
MAJOR
-
No change
Question 90
Question
+
What is the use of DevKit in Mule 4?
Answer
-
Facilitates communication between third-party systems and Mule applications.
-
No use.
-
Offers connector end user support in a few aspects of Mule app design.
-
Enables the development of Anypoint Connectors.
Question 91
Question
+
http://dev.acme.com/api/patients?year=2016
What should this endpoint return?
Answer
-
Patient with id 2016
-
All patients
-
No patients
-
Patients from year 2016
Question 92
Question
+
According to MuleSoft, what is the Center for Enablement's role in the new IT operating model?
Answer
-
Implements line of business projects to enforce common security requirements.
-
Centrally manages partners and consultants to implement line of business projects.
-
Implements line of business projects to enforce common security requirementss.
-
Creates and manages discoverable assets to be consumed by line of business developers.
Question 93
Question
+
Which one of them is NOT a flow in Mule?
Answer
-
sync flow
-
subflow
-
async flow
-
async sub flow
Question 94
Question
+
How are multiple conditions used in a Choice router to route events?
Answer
-
To route the same event to the matched route of EVERY true condition.
-
None of these.
-
To find the FIRST true condition, then distribute the event to the ONE matched route.
-
To find the FIRST true condition, then route the same event to the matched route and ALL FOLLOWING routes.
Question 95
Question
+
What asset can NOT be created by using Design Center?
Answer
-
API
-
API Portals
-
Mule Apps
-
API Fragments
Question 96
Question
+
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?
Answer
-
Publish consume: Synchronous. Publish: Asynchronous.
-
Publish consume: Asynchronous. Publish: Synchronous.
-
Publish consume: Asynchronous. Publish: Asynchronous.
-
Publish consume: Synchronous. Publish: Synchronous.
Question 97
Question
+
What is the DataWeave expression to log the Content-Type header using a Logger component?
Answer
-
#["Content-Type: " ++ attributes.headers.'content-type']
-
#["Content-Type: " ++ headers.'content-type']
-
#["Content-Type: " + headers.'content-type']
-
#["Content-Type: " + attributes.headers.'content-type']
Question 98
Question
+
What is the purpose of API autodiscovery?
Answer
-
Enables API Manager to discover the published API on Anypoint Exchange.
-
Allows a deployed Mule application to connect with API Manager to download policies and act as its own API proxy.
-
Enables an API to be directly managed in API Manager.
-
Allows the Mule application to be automatically discovered on Anypoint Exchange.
Question 99
Question
+
What is NOT part of a Mule 4 event?
Answer
-
attributes
-
payload
-
inboundProperties
-
message
Question 100
Question
+
What DataWeave 2.0 type can be used as input to a mapObject operation?
Question 101
Question
+
Why would you use SOAP instead of http?
Answer
-
If the architecture mandates.
-
It is up to the integration specialist.
-
Successful/retry logic for reliable messaging functionality.
-
It is part of agile methodology.
Question 102
Question
+
What statement is a part of MuleSoft's description of an application network?
Answer
-
Creates and manages high availability and fault tolerant services and infrastructure.
-
Creates reusable APIs and assets designed to be consumed by other business units.
-
Creates and manages a collection of JMS messaging services and infrastructure.
-
Leverages Central IT to deliver complete point-to-point solutions with master data management.
Question 103
Question
+
What does the Mule runtime use to enforce policies and limit access to APIs?
Question 104
Question
+
Which keyword do you use to create a new function in DataWeave?
Answer
-
function
-
fun
-
func
-
None of these
Question 105
Question
+
What module and operation will throw an error if a Mule event's payload is not a number?
Answer
-
Validation module's Is number operation
-
Filter module's Is number operation
-
None of these
-
Validation module's Is not a number operation
Question 106
Question
+
What does the minus operator do in DataWeave?
Answer
-
Decrements the value by one.
-
Removes items from a list.
-
Increments the value by one.
-
Removes characters from a string.
Question 107
Question
+
Does a root element need when creating a response using Dataweave?
Answer
-
None of these
-
Sometimes
-
Never
-
Always
Question 108
Question
+
What MuleSoft API-led connectivity layer is intended to expose part of a backend database without business logic?
Answer
-
Data
-
System
-
Process
-
Experience
Question 109
Question
+
Where would you create SLA Tiers for an API?
Answer
-
Exchange
-
API Manager
-
Anypoint MQ
-
Within the API
Question 110
Question
+
What DataWeave 2.0 type can be used as input to a map operation?
Question 111
Question
+
What MuleSoft product enables publishing, sharing, and searching of APIs?
Answer
-
Runtime Manager
-
Exchange
-
API Notebook
-
API Designer
Question 112
Question
+
What does the zip operator do in DataWeave?
Answer
-
Minifies the size of value using encoding.
-
None of these.
-
Merges elements of two objects into a single object.
-
Merges elements of two lists (arrays) into a single list.
Question 113
Question
+
What is a core characteristic of the Modern API?
Answer
-
API is rapidly prototyped following AGILE methodology.
-
API follows the RESTful architecture.
-
API is designed first using an API specification for rapid feedback.
-
API has a mechanism to accept feedback and suggestions for improvement.
Question 114
Question
+
Anypoint MQ FIFO queues are limited to how many in flight messages per queue?
Question 115
Question
+
A Database On Table Row listener retrieves data from a CUSTOMER table that contains a primary key user_id column and an increasing login_date_time column. Neither column allows duplicate values.
How should the listener be configured so it retrieves each row at most one time?
Answer
-
Set the watermark column to the login_date_time column
-
Set the target value to the last retrieved login_date_time value
-
Set the target value to the last retrieved user_id value
-
Set the watermark column to the user_id column
Question 116
Question
+
What is the correct syntax to add a customer ID as a URI parameter in an HTTP Listener path?
Answer
-
(customerID)
-
#[customerID]
-
{customerID}
-
${customerID}
Question 117
Question
+
What execution model is used by For Each and Batch Job scopes?
Question 118
Question
+
This 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?
Answer
-
${training:host}
-
#[training.host]
-
${training.host}
-
#[training:host]
Question 119
Question
+
The web client sends a POST request to the ACME Order API with an XML payload. An error is returned.
What should be changed in the request so that a success response code is returned to the web client?
Answer
-
Set a request header with the name Content-Type to a value of application/octet-stream
-
Set a request header with the name Content-Type to a value of application/xml
-
Set a response header with the name Content-Type to a value of application/xml
-
Set a response header with the name Content-Type to a value of application/octet-stream
Question 120
Question
+
The input array of strings is processed by the batch job that processes, filters, and aggregates the values.
What is the last message logged by the Logger component after the batch job completes processing?
Question 121
Question
+
What DataWeave expression transforms the conductorIds array to the XML output?
Question 122
Question
+
By default, what happens to a file after it is read using an FTP connector Read operation?
Answer
-
The file is moved to a different folder
-
The file stays in the same folder unchanged
-
The file is renamed in the same folder
-
The file is deleted from the folder
Question 123
Question
+
A Mule event is composed of a hierarchy of objects.
Where in the hierarchy are variables stored?
Answer
-
Mule message attributes
-
Mule message
-
Mule message payload
-
Mule event
Question 124
Question
+
A web client sends a GET request to the HTTP Listener.
What response message is returned to the web client?
Answer
-
null
-
End
-
Start
-
String is not blank
Question 125
Question
+
A web client sends a GET request to the HTTP Listener and the HTTP Request throws an error.
What payload and status code are returned to the web client.
Answer
-
Response body: 'START' Default response status code: 200
-
Response body: 'ERROR1' Default response status code: 200
-
Response body: 'END' Default response status code: 200
-
Error response body: error.description Default error response status code: 500
Question 126
Question
+
What is the output type of the DataWeave map operator?
Question 127
Question
+
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?
Question 128
Question
+
What payload and quantity are logged at the end of the main flow?
Answer
-
[[order1, order2, order3, order4], 14]
-
[[1,2,3,4], 10]
-
[[1,2,3,4], 14]
-
[order1order2order3order4, 14]
Question 129
Question
+
What data is expected by the POST /accounts endpoint?
Question 130
Question
+
A web client sends a POST request with the payload {"oid": "1000", "itemid": "AC200", "qty": "4" } to the Mule application. The File Write operation throws a FILE:CONNECTIVITY error. What response message is returned to the web client?
Answer
-
FILE:CONNECTIVITY
-
ORDER:NOT_CREATED
-
OTHER ERROR
-
File written
Question 131
Question
+
The Set Payload transformer in the addItem 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 addItem child flow to add a router cal with the price of 100 to the order?
Answer
-
lookup( 'addItem', { price: '100', item: 'router', itemType: 'cable' } )
-
addItem( { payload: { price: '100', item: 'router'. itemType: 'cable' } } )
-
lookup( 'addItem', { payload: { price: '100', item: 'router', itemType: 'cable' } } )
-
addItem( { price: '100', item: 'router'. itemType: 'cable' } )
Question 132
Question
+
A JSON payload is set in the Set Payload transformer.
What is logged by the Logger?
Answer
-
"String"
-
"Object"
-
"Array"
-
"JSON"
Question 133
Question
+
A web client sends sale data in a POST request to the Mule application. The Transform Message component then enriches the payload by prepending a vendor name to the sale data.
What is written to the sales.csv file when the flow executes?
Answer
-
The enriched payload in JSON format
-
The enriched payload in XML format
-
The enriched payload in CSV format
-
An error message
Question 134
Question
+
An app team is developing a mobile banking app. It took them two months to create their own APIs to access transaction information from a central database. The app team later found out that another team had already built an API that accesses the transaction information they need.
According to MuleSoft, what organization structure could have saved the app team two months of development time?
Answer
-
Center for Enablement
-
Center of Excellence
-
Central API Review Board
-
MuleSoft Support Center
Question 135
Question
+
A Mule application contains an ActiveMQ JMS dependency. The Mule application was developed in Anypoint Studio and runs successfully in Anypoint Studio.
The Mule application must now be exported from Anypoint Studio and shared with another developer.
What export options create the smallest JAR file that can be imported into the other developer's Anypoint Studio and run successfully?
Question 136
Question
+
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?
Question 137
Question
+
The Database Select operation returns five rows from a database.
What is logged by the Logger component?
Answer
-
"Array"
-
"Object"
-
"LinkedHashMap"
-
"CaseSensitiveHashMap"
Question 138
Question
+
What asset cannot be created using Design Center?
Answer
-
Mule Applications
-
API fragments
-
API specifications
-
API portals
Question 139
Question
+
How we can scale deployed Mule application vertically on cloudhub?
Question 140
Question
+
Which Mule component provides a real-time, graphical representation of the APIs and mule
applications that are running and discoverable?
Answer
-
API Notebook
-
Runtime Manager
-
Anypoint Visualizer
-
API Manager
Question 141
Question
+
Which of the following is invalid type of event processor which can be used as a router ?
Answer
-
Choice
-
Round Robin
-
Pick First
-
First Successful
Question 142
Question
+
Refer to the exhibits.
As a mulesoft developer, what you would change in Database connector configuration to resolve this
error?
Answer
-
Configure the correct host URL
-
Configure the correct database name
-
Configure the correct table name
-
Configure the correct JDBC driver
Question 143
Question
+
A REST connect module is generated for a RAML specification. and then the rest connect
module is imported in mule application in Anypoint Studio. For each method of the RAML
specification , what does the REST connect module provide?
Answer
-
A scope
-
A flow
-
An operation
-
An event source
Question 144
Question
+
Refer to the exhibit. The Batch Job processes, filters and aggregates records, What is the
expected output from the Logger component?
Question 145
Question
+
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?
Answer
-
{
orderkey: "payload.order",
addresskey: "vars.address"
}
-
{
orderkey: "attributes.shippingaddress.order",
addresskey: "payload"
}
-
{
orderkey: "payload.order",
addresskey: "address"
}
-
{
orderkey: "attributes.order",
addresskey: "vars.address"
}
Question 146
Question
+
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?
Answer
-
In the organization's public API portal in Anypoint Exchange, from an approved client application for the API proxy
-
In Anypoint Studio, from components generated by APIkit for the API specification
-
In Anypoint Studio, from components generated by Rest Connect for API specification
-
In Runtime Manager, from the properties tab of the deployed approved API proxy
Question 147
Question
+
An organization's Center for enablement (C4E)has built foundational assets (API specifications
and implementation templates, common frameworks, and best practices guides) and published them to Anypoint Exchange.
What is a metric related to these foundational assets that helps the organization measure the success of it's C4E efforts?
Answer
-
Utilization counts of foundational assets in production applications
-
Correlation of each foundational asset with the counts of developers that download such asset
-
Correlation of key performance indicators (KPI) of production applications with foundational assets
-
Count how many Lines Of Business (LoBs) onsumed each foundational asset
Question 148
Question
+
How can you call a subflow from Dataweave?
Answer
-
Not possible in Mule 4
-
Import function
-
Lookup function
-
Include function
Question 149
Question
+
Which of the below is not a valid category for connector type?
Answer
-
Gold
-
Select
-
Premium
-
Community
Question 150
Question
+
What is the default port used by Mule application debugger configuration in Anypoint Studio?
Question 151
Question
+
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?
Answer
-
The API interfaces are specified as macroservices with one API representing all the business logic of an existing and proven end to end solution
-
The API interfaces are specified at a granularity intended for developers to consume specific aspect of integration processes
-
The API implementation are built with standards using common lifecycle and centralized configuration management tools
-
The APIO implementations are monitored with common tools, centralized monitoring and security systems
Question 152
Question
+
What of the below is not a feature of API Notebooks?
Answer
-
API documentation
-
Creates a client for an API
-
Creates a mock service for an API
-
Perform authenticated live calls on a real server
Question 153
Question
+
Which of the module is imported automatically in Dataweave scripts?
Answer
-
dw::core
-
dw::System
-
dw::Runtime
-
dw::Crypto
Question 154
Question
+
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?
Answer
-
"Blk"
-
"Green"
-
A timeout error
-
["Blue", "Red", "Blk"]
Question 155
Question
+
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?
Answer
-
white
-
red
-
blue
-
Error message
Question 156
Question
+
Refer to the exhibits.
All three of the conditions for the Choice router are true. What messages are written in the
application log?
Answer
-
Route1
-
Route2
-
Route1,Route2
-
Route1,Route2,Default
Question 157
Question
+
Which of the below is used by Mule application to manage dependencies which make
sharing the projects lightweight and easier?
Answer
-
Configuration file
-
Global element
-
POM.xml
-
Cloudhub
Question 158
Question
+
Which of the below activity doesn't support parallel execution?
Answer
-
Scatter-Gather Router
-
First Successful Router
-
Parallel For Each
-
Batch job
Question 159
Question
+
What is output of Dataweave flatten function?
Answer
-
Object
-
Map
-
Array
-
LInkedHashMap
Question 160
Question
+
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?
Answer
-
Process layer
-
System layer
-
Experience layer
-
Data layer
Question 161
Question
+
Refer to the below exhibit. A Mule application configures a property placeholder file named config.yaml to set some property placeholders for an HTTP connector.
What is the valid properties placeholder file to set these values?
Answer
-
http:
host = "localhost"
port = "8081"
-
http:
basepath: "api"
host : "localhost"
port : "8081"
-
http.host = localhost
http.port = 8081
-
{
http:
basePath: "api",
port: "8081",
host: " localhost"
Question 162
Question
+
The Mule application configures and uses two HTTP Listener global configuration elements.
Mule application is run in Anypoint Studio.
If the mule application starts correctly, what URI and port numbers can receive web client requests?
If the mule applications fails to start , what is the reason for the failure?
Answer
-
The mule application fails to start
There is URL path conflict because both HTTP Listeners are configured with same path
-
The mule application start successfully
Web client requests can only be received at URI on port 2222 but not on port 3333
-
The mule application fails to start because of the port binding conflict as HTTP request also use
same port i.e. 3333
-
The mule application start successfully
Web client requests can be received at URI on port 2222 and on port 3333.
Question 163
Question
+
What is not true about application properties?
Answer
-
Application properties can be encrypted
-
Application properties can be overridden with system properties
-
Application properties can be defined in .yaml file only
-
Application properties provide easier way to manage configurable values
Question 164
Question
+
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?
Answer
-
The HTTP Listener is listening on port 80
-
The HTTP Listener is listening on port 9090
-
The HTTP Listener is listening on port 8081
-
The HTTP Listener failed to bind to the port and is not listening for connections
Question 165
Question
+
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?
Answer
-
{amount=140}
{amount=102}
{step2amount=100}
-
{amount=140}
{amount=102}
{step2amount=100}
{step2amount=40}
-
{amount=140}
{amount=102}
{step2amount=100}
{step2amount=140}.
-
{amount=140}
{amount=102}
{step2amount=100}
{step2amount=140}
Question 166
Question
+
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?
Answer
-
Result INFOpayload
-
Result INFO{"student":{"name":"Anay","age":6}}
-
"You called the function '++' with these arguments:
String ("INFO")
Object ({student: {name: "Anay" as String {class: "java.lang.String"},age: 6 as Numbe...)
-
Error : You evaluated inline expression # without ++
Question 167
Question
+
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?
Answer
-
Change the method attribute value to "*"
-
Change the path attribute value to "/api/ship"
-
Change the allowed method attributes value to "POST"
-
Change the protocol attribute value to "HTTPS"
Question 168
Question
+
Refer to the exhibit. How should be the where clause written for the configured input parameters in such a way that it achieves below SQL query?
Answer
-
WHERE city := ${city} AND state := ${state}
-
WHERE city = attributes.city AND state = attributes.state
-
WHERE city = :city AND state = :state
-
WHERE city := city AND state := state
Question 169
Question
+
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?
Answer
-
"Domestic"
-
"International"
-
"US"
-
A dataweave syntax error
Question 170
Question
+
Where is metadata stored in a Mule project?
Answer
-
Config.yaml file
-
POM.xml file
-
application-types.xml
-
Global Element