Frage 1
Frage
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?
Frage 2
Frage
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?
Antworten
-
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"
Frage 3
Frage
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?
Antworten
-
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)
Frage 4
Frage
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?
Antworten
-
"END"
-
"ERROR1"
-
"ERROR2"
-
"Validation Error"
Frage 5
Frage
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?
Antworten
-
"String"
-
"Java"
-
"Object"
-
"XML"
Frage 6
Frage
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?
Frage 7
Frage
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?
Antworten
-
"Before"
-
"null"
-
"After"
-
"Validation Error"
Frage 8
Frage
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?
Antworten
-
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
Frage 9
Frage
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?
Antworten
-
application/xml
-
application/json
-
application/dw
-
application/java
Frage 10
Frage
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?
Antworten
-
%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")
Frage 11
Frage
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?
Antworten
-
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
Frage 12
Frage
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?
Frage 13
Frage
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?.
Antworten
-
{
"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",
}
Frage 14
Frage
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?
Frage 15
Frage
+
A web client sends a POST request to the HTTP Listener with the payload ג€Hello-ג€.
What response is returned to the web client?
Frage 16
Frage
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?
Antworten
-
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
Frage 17
Frage
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?
Antworten
-
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
Frage 18
Frage
+
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?
Frage 19
Frage
+
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?
Antworten
-
Error - private flow
-
Validation Error
-
Error - main flow
-
Success - main flow
Frage 20
Frage
+
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?
Antworten
-
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
Frage 21
Frage
+
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?
Antworten
-
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
Frage 22
Frage
+
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?
Frage 23
Frage
+
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?
Antworten
-
#[ 'MuleSoft' = = payload.'company' ]
-
#[ if ( '˜MuleSoft' = = payload.company ) ]
-
#[ company = 'MuleSoft' ]
-
#[ if( company = 'MuleSoft' ) ]
Frage 24
Frage
+
The Mule application contains a Choice router.
What is logged when the flow completes?
Antworten
-
'US'
-
'REGION'
-
EU
-
['US', 'EU']
Frage 25
Frage
+
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?
Antworten
-
#"[
{
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
]
]"
Frage 26
Frage
+
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?
Antworten
-
attributes.bookISBN
-
flowVars.bookISBN
-
vars.bookISBN
-
bookISBN
Frage 27
Frage
+
A web client sends a request to http://localhost:8081?dept=sales.
What is the correct DataWeave expression to access the value of dept?
Frage 28
Frage
+
A Set Variable component saves the current payload to a variable.
What is the DataWeave parent expression to access the variable?
Antworten
-
#[value]
-
#[vars]
-
#[var]
-
#[values]
Frage 29
Frage
An event contains a payload that is an array of objects.
How is the event routed in a Scatter-Gather?
Antworten
-
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
Frage 30
Frage
+
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?
Antworten
-
An Object containing all Mule event Objects.
-
An Array containing all Mule event Objects.
-
None of these.
-
The last Mule event object.
Frage 31
Frage
+
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?
Frage 32
Frage
+ 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?
Antworten
-
[
{
"attributes": ...,
"payload":"100"
},
{
"attributes": ...,
"payload":"200"
}
]
-
{
"0":"100",
"1":"200"
}
-
["100","200"]
-
{
"0":{
"attributes": ...,
"payload":"100"
},
"1":{
"attributes": ...,
"payload":"200"
}
}
Frage 33
Frage
+
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?
Frage 34
Frage
+
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?
Antworten
-
'The year is #[payload.year]'
-
'#[The year is $(payload.year)]'
-
'#["The year is ++ payload.year"]'
-
'#["The year is " + payload.year]"
Frage 35
Frage
+
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?
Frage 36
Frage
+
Where are values of query parameters stored in the Mule event by the HTTP Listener?
Antworten
-
Payload
-
Attributes
-
Inbound Properties
-
Variables
Frage 37
Frage
+
What is the correct way to format the decimal 200.1234 as a string to two decimal places?
Antworten
-
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#"
Frage 38
Frage
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?
Antworten
-
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
Frage 39
Frage
+
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?
Antworten
-
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
Frage 40
Frage
+
What is the value of the stepVar variable after the processing of records in a Batch Job?
Antworten
-
-1
-
0
-
null
-
Last value from flow
Frage 41
Frage
+
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?
Frage 42
Frage
+
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?
Antworten
-
/orders/{PO5555}
-
/orders/order=PO5555
-
/orders?order=PO5555
-
/orders/PO5555
Frage 43
Frage
+
What can be added to the flow to persist data across different flow executions?
Antworten
-
Properties of the Mule runtime app object
-
Key/value pairs in the ObjectStore
-
Session variables
-
Properties of the Mule runtime flow object
Frage 44
Frage
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?
Antworten
-
/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"
Frage 45
Frage
+
How would you debug Mule applications?
Frage 46
Frage
+
The new RAML spec has been published to Anypoint Exchange with client credentials.
What is the next step to gain access to the API?
Antworten
-
Email the owners of the API.
-
Create a new client application.
-
No additional steps needed.
-
Request access to the API in Anypoint Exchange.
Frage 47
Frage
+
What are the latest specification of RAML available?
Frage 48
Frage
+
What is the use of API Notebooks?
Antworten
-
None of these
-
Test Policies
-
Test API functions
-
Test RAML
Frage 49
Frage
+
What is the trait name you would use for specifying client credentials in RAML?
Frage 50
Frage
+
What is the main purpose of flow designer in Design Center?
Antworten
-
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.
Frage 51
Frage
+
What is the correct syntax to reference a fragment in RAML?
Antworten
-
examples: #include examples/BankAccountsExample.raml
-
examples: $include examples/BankAccountsExample.raml
-
examples: ?include examples/BankAccountsExample.raml
-
examples: !include examples/BankAccountsExample.raml
Frage 52
Frage
+
What is the purpose of the api:router element in APIkit?
Antworten
-
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.
Frage 53
Frage
+
What is the minimum required configuration in a flow for a Mule application to compile?
Antworten
-
An event source
-
RAML file
-
An event processor
-
Logger Component
Frage 54
Frage
+
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?
Antworten
-
accounts?account_type:retail&industry:finance
-
/accounts/retail/finance
-
/accounts/account_type=retail/industry=finance
-
/accounts?account_type=retail&industry=finance
Frage 55
Frage
+
An API specification is designed using RAML. What is the next step to create a REST Connector from this API specification?
Antworten
-
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
Frage 56
Frage
+
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?
Frage 57
Frage
+
How many private flows does APIkit generate from the RAML specification?
Frage 58
Frage
+
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?
Antworten
-
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
Frage 59
Frage
+
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?
Antworten
-
/departments:
/depId:
patch:
-
/departments:
patch:
/depId:
-
/departments:
patch:
queryParameters:
/depId:
-
/departments:
/{depId}:
patch:
Frage 60
Frage
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?
Antworten
-
Am empty array
-
The database response
-
The entire CSV file
-
100
Frage 61
Frage
+
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?
Antworten
-
0
-
"Processing"
-
"Start"
-
"Complete"
Frage 62
Frage
+
According to MuleSoft, what is the first step to create a Modern API?
Antworten
-
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
Frage 63
Frage
+
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?
Frage 64
Frage
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?
Frage 65
Frage
+
What are the features of CloudHub Fabric?
Antworten
-
Non-persistent queue
-
Horizontal Scaling
-
VPN Mock Services
-
None of these
Frage 66
Frage
+
How many Mule applications can run on a CloudHub worker?
Antworten
-
At most one
-
None of these
-
Depends
-
At least one
Frage 67
Frage
+
How does Runtime Manager Console connect with App Data and Logs of a Mule app?
Antworten
-
None of these
-
Integration Apps
-
CloudHub Workers
-
Rest API
Frage 68
Frage
+
Where does a deployed flow designer application run in Anypoint Platform?
Antworten
-
CloudHub worker
-
API Manager
-
Design Center
-
Exchange
Frage 69
Frage
+
What is the face of CloudHub and integrates with Platform Services?
Antworten
-
None of these
-
Runtime Manager Console
-
Integration Apps
-
CloudHub Workers
Frage 70
Frage
+
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?
Antworten
-
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
Frage 71
Frage
+
Why would a Mule application use the ${http.port} property placeholder for its HTTP Listener port when it is deployed to CloudHub?
Antworten
-
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
Frage 72
Frage
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?
Frage 73
Frage
+
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?
Antworten
-
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
Frage 74
Frage
What DataWeave expression transforms the example JSON input to the XML output?
Frage 75
Frage
+
What DataWeave expression transforms the example XML input to the CSV output?
Frage 76
Frage
+
What HTTP method in a RESTful web service is typically used to completely replace an existing resource?
Frage 77
Frage
Refer to the exhibit. This RAML files generates an error.
What needs to be done to make valid RAML?
Antworten
-
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
Frage 78
Frage
+
What does to the attributes of a Mule event happen in a flow after an outbound HTTP Request is made?
Antworten
-
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.
Frage 79
Frage
+
What is the difference between a subflow and a sync flow?
Antworten
-
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.
Frage 80
Frage
+
What is not an asset?
Antworten
-
Exchange
-
Template
-
Example
-
Connector
Frage 81
Frage
+
How to import Core (dw::Core) module into your DataWeave scripts?
Antworten
-
import dw::core
-
Not needed
-
None of these
-
import core
Frage 82
Frage
+
What is the object type returned by the File List operation?
Antworten
-
Object of String file names
-
Array of String file names
-
Object of Mule event objects
-
Array of Mule event objects
Frage 83
Frage
+
How can you call a flow from Dataweave?
Antworten
-
Not allowed
-
Include function
-
Look up function
-
Tag function
Frage 84
Frage
+
DataWeave is tightly integrated with ____________.
Antworten
-
Mule runtime
-
All APIs
-
Flow Designer
-
Exchange
Frage 85
Frage
+
In the Database On Table Row operation, what does the Watermark column enable the On Table Row operation to do?
Antworten
-
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.
Frage 86
Frage
+
An API has been created in Design Center.
What is the next step to make the API discoverable?
Antworten
-
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.
Frage 87
Frage
+
How is policy defined in terms of classloader of an API?
Antworten
-
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.
Frage 88
Frage
+
According to Mulesoft, how are Modern APIs treated as?
Antworten
-
products
-
code
-
soap services
-
organizations
Frage 89
Frage
+
According to Semantic Versioning, which version would you change for incompatible API changes?
Antworten
-
MINOR
-
PATCH
-
MAJOR
-
No change
Frage 90
Frage
+
What is the use of DevKit in Mule 4?
Antworten
-
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.
Frage 91
Frage
+
http://dev.acme.com/api/patients?year=2016
What should this endpoint return?
Antworten
-
Patient with id 2016
-
All patients
-
No patients
-
Patients from year 2016
Frage 92
Frage
+
According to MuleSoft, what is the Center for Enablement's role in the new IT operating model?
Antworten
-
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.
Frage 93
Frage
+
Which one of them is NOT a flow in Mule?
Antworten
-
sync flow
-
subflow
-
async flow
-
async sub flow
Frage 94
Frage
+
How are multiple conditions used in a Choice router to route events?
Antworten
-
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.
Frage 95
Frage
+
What asset can NOT be created by using Design Center?
Antworten
-
API
-
API Portals
-
Mule Apps
-
API Fragments
Frage 96
Frage
+
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?
Antworten
-
Publish consume: Synchronous. Publish: Asynchronous.
-
Publish consume: Asynchronous. Publish: Synchronous.
-
Publish consume: Asynchronous. Publish: Asynchronous.
-
Publish consume: Synchronous. Publish: Synchronous.
Frage 97
Frage
+
What is the DataWeave expression to log the Content-Type header using a Logger component?
Antworten
-
#["Content-Type: " ++ attributes.headers.'content-type']
-
#["Content-Type: " ++ headers.'content-type']
-
#["Content-Type: " + headers.'content-type']
-
#["Content-Type: " + attributes.headers.'content-type']
Frage 98
Frage
+
What is the purpose of API autodiscovery?
Antworten
-
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.
Frage 99
Frage
+
What is NOT part of a Mule 4 event?
Antworten
-
attributes
-
payload
-
inboundProperties
-
message
Frage 100
Frage
+
What DataWeave 2.0 type can be used as input to a mapObject operation?
Frage 101
Frage
+
Why would you use SOAP instead of http?
Antworten
-
If the architecture mandates.
-
It is up to the integration specialist.
-
Successful/retry logic for reliable messaging functionality.
-
It is part of agile methodology.
Frage 102
Frage
+
What statement is a part of MuleSoft's description of an application network?
Antworten
-
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.
Frage 103
Frage
+
What does the Mule runtime use to enforce policies and limit access to APIs?
Frage 104
Frage
+
Which keyword do you use to create a new function in DataWeave?
Antworten
-
function
-
fun
-
func
-
None of these
Frage 105
Frage
+
What module and operation will throw an error if a Mule event's payload is not a number?
Antworten
-
Validation module's Is number operation
-
Filter module's Is number operation
-
None of these
-
Validation module's Is not a number operation
Frage 106
Frage
+
What does the minus operator do in DataWeave?
Antworten
-
Decrements the value by one.
-
Removes items from a list.
-
Increments the value by one.
-
Removes characters from a string.
Frage 107
Frage
+
Does a root element need when creating a response using Dataweave?
Antworten
-
None of these
-
Sometimes
-
Never
-
Always
Frage 108
Frage
+
What MuleSoft API-led connectivity layer is intended to expose part of a backend database without business logic?
Antworten
-
Data
-
System
-
Process
-
Experience
Frage 109
Frage
+
Where would you create SLA Tiers for an API?
Antworten
-
Exchange
-
API Manager
-
Anypoint MQ
-
Within the API
Frage 110
Frage
+
What DataWeave 2.0 type can be used as input to a map operation?
Frage 111
Frage
+
What MuleSoft product enables publishing, sharing, and searching of APIs?
Antworten
-
Runtime Manager
-
Exchange
-
API Notebook
-
API Designer
Frage 112
Frage
+
What does the zip operator do in DataWeave?
Antworten
-
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.
Frage 113
Frage
+
What is a core characteristic of the Modern API?
Antworten
-
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.
Frage 114
Frage
+
Anypoint MQ FIFO queues are limited to how many in flight messages per queue?
Frage 115
Frage
+
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?
Antworten
-
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
Frage 116
Frage
+
What is the correct syntax to add a customer ID as a URI parameter in an HTTP Listener path?
Antworten
-
(customerID)
-
#[customerID]
-
{customerID}
-
${customerID}
Frage 117
Frage
+
What execution model is used by For Each and Batch Job scopes?
Frage 118
Frage
+
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?
Antworten
-
${training:host}
-
#[training.host]
-
${training.host}
-
#[training:host]
Frage 119
Frage
+
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?
Antworten
-
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
Frage 120
Frage
+
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?
Frage 121
Frage
+
What DataWeave expression transforms the conductorIds array to the XML output?
Frage 122
Frage
+
By default, what happens to a file after it is read using an FTP connector Read operation?
Antworten
-
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
Frage 123
Frage
+
A Mule event is composed of a hierarchy of objects.
Where in the hierarchy are variables stored?
Antworten
-
Mule message attributes
-
Mule message
-
Mule message payload
-
Mule event
Frage 124
Frage
+
A web client sends a GET request to the HTTP Listener.
What response message is returned to the web client?
Antworten
-
null
-
End
-
Start
-
String is not blank
Frage 125
Frage
+
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.
Antworten
-
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
Frage 126
Frage
+
What is the output type of the DataWeave map operator?
Frage 127
Frage
+
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?
Frage 128
Frage
+
What payload and quantity are logged at the end of the main flow?
Antworten
-
[[order1, order2, order3, order4], 14]
-
[[1,2,3,4], 10]
-
[[1,2,3,4], 14]
-
[order1order2order3order4, 14]
Frage 129
Frage
+
What data is expected by the POST /accounts endpoint?
Frage 130
Frage
+
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?
Antworten
-
FILE:CONNECTIVITY
-
ORDER:NOT_CREATED
-
OTHER ERROR
-
File written
Frage 131
Frage
+
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?
Antworten
-
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' } )
Frage 132
Frage
+
A JSON payload is set in the Set Payload transformer.
What is logged by the Logger?
Antworten
-
"String"
-
"Object"
-
"Array"
-
"JSON"
Frage 133
Frage
+
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?
Antworten
-
The enriched payload in JSON format
-
The enriched payload in XML format
-
The enriched payload in CSV format
-
An error message
Frage 134
Frage
+
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?
Antworten
-
Center for Enablement
-
Center of Excellence
-
Central API Review Board
-
MuleSoft Support Center
Frage 135
Frage
+
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?
Frage 136
Frage
+
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?
Frage 137
Frage
+
The Database Select operation returns five rows from a database.
What is logged by the Logger component?
Antworten
-
"Array"
-
"Object"
-
"LinkedHashMap"
-
"CaseSensitiveHashMap"
Frage 138
Frage
+
What asset cannot be created using Design Center?
Antworten
-
Mule Applications
-
API fragments
-
API specifications
-
API portals
Frage 139
Frage
+
How we can scale deployed Mule application vertically on cloudhub?
Frage 140
Frage
+
Which Mule component provides a real-time, graphical representation of the APIs and mule
applications that are running and discoverable?
Antworten
-
API Notebook
-
Runtime Manager
-
Anypoint Visualizer
-
API Manager
Frage 141
Frage
+
Which of the following is invalid type of event processor which can be used as a router ?
Antworten
-
Choice
-
Round Robin
-
Pick First
-
First Successful
Frage 142
Frage
+
Refer to the exhibits.
As a mulesoft developer, what you would change in Database connector configuration to resolve this
error?
Antworten
-
Configure the correct host URL
-
Configure the correct database name
-
Configure the correct table name
-
Configure the correct JDBC driver
Frage 143
Frage
+
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?
Antworten
-
A scope
-
A flow
-
An operation
-
An event source
Frage 144
Frage
+
Refer to the exhibit. The Batch Job processes, filters and aggregates records, What is the
expected output from the Logger component?
Frage 145
Frage
+
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?
Antworten
-
{
orderkey: "payload.order",
addresskey: "vars.address"
}
-
{
orderkey: "attributes.shippingaddress.order",
addresskey: "payload"
}
-
{
orderkey: "payload.order",
addresskey: "address"
}
-
{
orderkey: "attributes.order",
addresskey: "vars.address"
}
Frage 146
Frage
+
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?
Antworten
-
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
Frage 147
Frage
+
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?
Antworten
-
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
Frage 148
Frage
+
How can you call a subflow from Dataweave?
Antworten
-
Not possible in Mule 4
-
Import function
-
Lookup function
-
Include function
Frage 149
Frage
+
Which of the below is not a valid category for connector type?
Antworten
-
Gold
-
Select
-
Premium
-
Community
Frage 150
Frage
+
What is the default port used by Mule application debugger configuration in Anypoint Studio?
Frage 151
Frage
+
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?
Antworten
-
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
Frage 152
Frage
+
What of the below is not a feature of API Notebooks?
Antworten
-
API documentation
-
Creates a client for an API
-
Creates a mock service for an API
-
Perform authenticated live calls on a real server
Frage 153
Frage
+
Which of the module is imported automatically in Dataweave scripts?
Antworten
-
dw::core
-
dw::System
-
dw::Runtime
-
dw::Crypto
Frage 154
Frage
+
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?
Antworten
-
"Blk"
-
"Green"
-
A timeout error
-
["Blue", "Red", "Blk"]
Frage 155
Frage
+
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?
Antworten
-
white
-
red
-
blue
-
Error message
Frage 156
Frage
+
Refer to the exhibits.
All three of the conditions for the Choice router are true. What messages are written in the
application log?
Antworten
-
Route1
-
Route2
-
Route1,Route2
-
Route1,Route2,Default
Frage 157
Frage
+
Which of the below is used by Mule application to manage dependencies which make
sharing the projects lightweight and easier?
Antworten
-
Configuration file
-
Global element
-
POM.xml
-
Cloudhub
Frage 158
Frage
+
Which of the below activity doesn't support parallel execution?
Antworten
-
Scatter-Gather Router
-
First Successful Router
-
Parallel For Each
-
Batch job
Frage 159
Frage
+
What is output of Dataweave flatten function?
Antworten
-
Object
-
Map
-
Array
-
LInkedHashMap
Frage 160
Frage
+
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?
Antworten
-
Process layer
-
System layer
-
Experience layer
-
Data layer
Frage 161
Frage
+
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?
Antworten
-
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"
Frage 162
Frage
+
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?
Antworten
-
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.
Frage 163
Frage
+
What is not true about application properties?
Antworten
-
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
Frage 164
Frage
+
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?
Antworten
-
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
Frage 165
Frage
+
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?
Antworten
-
{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}
Frage 166
Frage
+
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?
Antworten
-
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 ++
Frage 167
Frage
+
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?
Antworten
-
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"
Frage 168
Frage
+
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?
Antworten
-
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
Frage 169
Frage
+
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?
Antworten
-
"Domestic"
-
"International"
-
"US"
-
A dataweave syntax error
Frage 170
Frage
+
Where is metadata stored in a Mule project?
Antworten
-
Config.yaml file
-
POM.xml file
-
application-types.xml
-
Global Element