Frage 1
Frage
Refer to the exhibits. The Set Payload component sets the payload to a Map object (not an Array). The File Write operation writes out files based on this Map object.
How many files are written to the file system when the flow executes?
Frage 2
Frage
Refer to the exhibit. The payload [1,2,3] is passed to the Batch Job scope. In Batch_Step_1, a variable named batchStepPayload is set to the current payload. What is the value of the last log message after one batch job completes?
Frage 3
Frage
Refer to the exhibit. What are the values of the counter and stepVar variables in the On Complete pase/after the Batch Job?
Antworten
-
counter: 31, stepVar: 31
-
counter: 1, stepVar: 31
-
counter: 31, stepVar: null
-
counter: 1, stepVar: null
Frage 4
Frage
Refer to the exhibits. What is the output of the Logger component in the Batch Job?
Frage 5
Frage
Refer to the exhibit. The main Flow contains a Flow Reference for the child Flow. After a web client submits a request to http://localhost:8081/order?color=red, what values are accesible in the child Flow?
Frage 6
Frage
Refer to the exhibits. The orders.csv file 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 breakpoint. What payload is shown in the debugger at this breakpoint?
Antworten
-
100
-
The entire CSV file
-
An empty array
-
The database response
Frage 7
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 expresión to sleep (pause processing) for the number of milliseconds in the current payload. The Batch Job scope’s block size is set to.
In what order are the payloads logged in the For Each scope and in the Batch Step scope?
Antworten
-
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
-
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
Frage 8
Frage
Refer to the exhibit. An HTTP Listener is being configured to accept requests from web clients on URLs like htttp://localhost:8081/accounts/10, where the number 10 can change to other numbers.
In order to capture the number in a parameter named ID, to what must the path of the HTTP Listener component be set?
Antworten
-
/accounts/ID
-
#[/accounts/ID]
-
/accounts/{ID}
-
/accounts/#[ID]
Frage 9
Frage
Refer to the exhibits. The /daily folder exists, is currently empty, and files 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 folder.
What is in the /daily folder after the readUpdates Flow completes for the first time?
Antworten
-
A file named productUpdates.txt.bak containing the text “START”
-
A file named productUpdates.txt.bak containing the text “FINISHED”
-
A file named productUpdates.txt containing the text “START”
A file named productUpdates.txt.bak containing the text “FINISHED”
-
A file named productUpdates.txt containing the text “START”
A file named productUpdates.txt.bak containing the text “START”
Frage 10
Frage
Refer to the exhibit. The RAML file defines a method to create users.
What is the correct way to create a user in a web client?
Antworten
-
http://localhost:8081/api/users
(POST
username = max
password = mule)
-
http://localhost:8081/api/users?username=max&password=mule
(POST)
-
http://localhost:8081/api/users/max/mule
(POST)
-
http://localhost:8081/api/users?username=headers&password=headers
(POST
username = username:max
password = password:mule)
Frage 11
Frage
A Utility.dwl file is located in a Mule Project at src/main/resources/modules. The Utility.dwl file defines a function named pascalize that reformats strings to pascal case.
What is valid DataWeave code 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
---
pascalize("max mule")
-
%dw 2.0
output application/json
import modules.Utility
---
Utility.pascalize("max mule")
Frage 12
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
-
Validation Error
-
“After”
Frage 13
Frage
Refer to the exhibits. When the Flow executes, the now() function in the Transform Message 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-SKD44"
"name": "Max Mule",
"position": "sell",
"write_date": "2021-08-26T13:32:10.64-07:00"
}
-
"transaction_id", account_id, name, position
"SS-4848-44KK-4YQ", "KA-382-SKD44", "Max Mule","sell"
-
"transaction_id", account_id, name, position, write_date
"SS-4848-44KK-4YQ", "KA-382-SKD44", "Max Mule","sell", "2021-08-26T13:32:10.64-07:00"
-
{
"transaction_id": "SS-4848-44KK-4YQ",
"account_id": "KA-382-SKD44"
"name": "Max Mule",
"position": "sell",
}
Frage 14
Frage
Refer to the exhibits. The Mule application does NOT Define any global handlers. The main flow is configured with three error handlers. A web client submits a request to the HTTP listener and the HTTP request throws an HTTP:NOT_FOUND error.
What response is returned?
Frage 15
Frage
Refer to the exhibit. How many private flows does APIkit generate from the RAML specification?
Frage 16
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”
-
“XML”
-
“Object”
Frage 17
Frage
Refer to the exhibits. The main flow of this Mule application uses an HTTP connector operation and two JMS connector operations. The Mule application is run and stars succesfully, and then a web client send a request to http://localhost:8081.
What payload is then returned to the web client from the Mule application?
Frage 18
Frage
Refer to the exhibits. A web client makes an HTTP GET request to the flow’s HTTP Listener. The Validation component throws an error with message “Validate - Payload is an Integer”.
What response message is returned to the web client?
Antworten
-
“Error – main flow”
-
“Success – Begin main flow”
-
“Success – End main flow”
-
“Validate – Payload is an Integer”
Frage 19
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
-
One file is written with an error message
The response payload is the error message
-
Two files are created, each containing a different object of one or two account objects
The response payload is a JSON formatted of two objects, where each object is a duplicate copy of the object of account written to each file.
-
Three files are created, one for each account object
The response payload is a success message without any account objects
-
Two files are created, each containing a differrent array of one or two account objects.
The response payload is a JSON formatted object of account objects that is created in the Set Payload transformer
Frage 20
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:
basepath: "api"
host: "localhost"
port: "8081"
-
http.host = localhost
http.port = 8081
-
http:
host = "localhost"
port = "8081"
-
{
http:
basePath: "api",
port: "8081",
host: "localhost"
}
Frage 21
Frage
A shopping API contains a method to look up store details by department.
To get the information for a particular store, web clients will submit requests with a query parameter named department and uri parameter named storeId What is valid RAML snippet that supports requests from a web client to get a data for a specific storeId and department name?
Antworten
-
/{storeID}:
get:
queryParameter:
department:
-
get:
queryParameter:
department:
uriParameter:
{storeID}:
-
get:
uriParameter:
{storeID}:
queryParameter:
department:
-
/department:
get:
uriParameter:
storeID:
Frage 22
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
-
"US"
-
"Domestic"
-
A Dataweave sintax error
-
"International"
Frage 23
Frage
Pick the component with which DataWeave is tightly integrated.
Antworten
-
All APIs
-
Mule runtime
-
Exchange
-
Flow Designer
Frage 24
Frage
Refer to the exhibits.
The mule application implements a REST API that accepts GET request from two URL's which are as follows.
What path value should be set in HTTP listener configuration so that requests can be accepted for both these URL's using a single HTTP listener event source?
Antworten
-
*[order,customer]/status
-
?[order,customer]/status
-
*/status
-
*status
Frage 25
Frage
Refer to the exhibits. APIKit router is used to generate the flow components for RAML specification.
The Mule application must be available to REST clients using the two URL's. How many APIKit Router components are generated to handle requests to every endpoint defined in RAML specification?
Library.raml
/books
get:
post:
/order
get:
patch:
/members
get:
Frage 26
Frage
What is output of Dataweave flatten function?
Antworten
-
Object
-
Map
-
Array
-
LinkedHashMap
Frage 27
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 28
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 29
Frage
Refer to the exhibits. What payload and variable are logged at the end of the main flow?
Antworten
-
[[5, 10, 15, 20], 1]
-
[[5, 10, 15, 20], 5]
-
[[Req5, Req10, Req15, Req20], 5]
-
[Req5Req10,Req15Req20, 5]
Frage 30
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 31
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 32
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 33
Frage
Refer to the exhibits. The main Flow has an On Error Continue scope with type set to HTTP:NOT_FOUND. The Mule application configures globalErrorHandler as it’s default error handler. A web client posts a request to the HTTP Listener. The Transform Message component then throws a MULE:EXPRESSION error trying to convert the payload to application/xml.
What response message is returned to the web client?
Frage 34
Frage
Which of the below is not the mandatory configurations for HTTP Listener?
Frage 35
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
-
Route 1
-
Route 2
-
Route1,Route 2
-
Route1,Route 2,Default
Frage 36
Frage
Refer to the exhibit. Client received HTTP 415 error while trying to invoke Mule API. What should be changed on the client side to fix the 415 error?
Antworten
-
Set the response Content-Type header to text/plain
-
Set the request Content-Type header to text/plain
-
Set the response Content-Type header to application/json
-
Set the request Content-Type header to application/json
Frage 37
Frage
Refer to the exhibits. What payload is logged at the end of the main flow?
Frage 38
Frage
Refer to the exhibits. The Batch Job processes, filters, and aggregates records. What is the outcome from the Logger component when the flow is executed?
Antworten
-
[10,20] [30,40] [50,60]
-
[10,20,30,40,50,60]
-
[20,40] [60]
-
[20,40,60]
Frage 39
Frage
Refer to the exhibits. What is valid expression for the Choice router's When expression to route the events to the domesticShipping flow?
Antworten
-
#[payload == 'US']
-
#[payload = 'US']
-
#[ if(payload == 'US')]
-
#[ if(payload = 'US')]
Frage 40
Frage
Refer to the exhibit . What is the correct syntax to add an employee ID as URI parameter in an HTTP Listener path?
Antworten
-
${employeeID}
-
{employeeID}
-
(employeeID)
-
#[employeeID]
Frage 41
Frage
Refer to exhibits. A web client submits a request to http://localhost:8081. What the structure of the payload at the end of the flow?
Antworten
-
[ 'Banana', 'Apple']
-
{
"0": "Banana",
"1": "Apple"
}
-
"attributes": ---,
"payload": ['Banana', 'Apple']
}
-
{
"0": {
"attributes": ---,
"payload": "Banana"
}
"1": {
"attributes": ---,
"payload": "Apple"
}
}
Frage 42
Frage
Refer to exhibits. In the execution of the Scatter-Gather, the flow route completes after 10 seconds and the flow2 route completes in 40 seconds. How many seconds does it take for the Scatter-Gather to complete?
Frage 43
Frage
A Utility.dwl is located in a Mule project at src/main/resources/modules. The Utility.dwl file defines a function named encryptString that encrypts a String What is the correct DataWeave to call the encryptString function in a Transform Message component?
Antworten
-
%dw 2.0
output application/json
import modules::Utility
---
Utility::encryptString("John Smith")
-
%dw 2.0
output application/json
import modules::Utility
---
encryptString("John Smith")
-
%dw 2.0
output application/json
import modules.Utility
---
encryptString("John Smith")
-
%dw 2.0
output application/json
import modules.Utility
---
Utility.encryptString("John Smith")
Frage 44
Frage
Refer to the exhibits. The two Mule configuration files belong to the same Mule project. Each HTTP Listener is configured with the same host string. Port number , path and operation values are shown in display names. What is the minimum number of global elements that must be defined to support all these HTTP Listeners?
Frage 45
Frage
A mule project contains MySQL database dependency. The project is exported from Anypoint Studio so that it can be deployed to Cloudhub. What export options needs to be selected to create the smallest deployable archive that will successfully deploy to Cloudhub?
Antworten
-
Select both the options
1) Attach project sources
2) Include project module and dependencies
-
No need to select any of the below options
1) Attach project sources
2) Include project module and dependencies
-
Select only below option
2) Include project module and dependencies
-
Select only below option
1) Attach project sources
Frage 46
Frage
What path setting is required for an HTTP Listener endpoint to route all requests to an APIKit router?
Frage 47
Frage
What should this endpoint return? http://dev.acme.com/api/patients?name=John&surname=Bell
Antworten
-
Patient with name as John
-
Patient with surname as bell
-
Patients with either name as John or surname as Bell
-
Patients with name as John and surname as Bell
Frage 48
Frage
There are three routes configured for Scatter-Gather and incoming event has a payload is an Array of three objects. How routing will take place in this scenario?
Antworten
-
Incoming array objects would be split into three and each part would be sent to one route each in sequential manner
-
Incoming array objects would be split into three and each part would be sent to one route each in parallel
-
Entire event would be sent to each route sequentially
-
Entire event would be sent to each route in parallel
Frage 49
Frage
What is the default port used by Mule application debugger configuration in Anypoint Studio?
Frage 50
Frage
As a part of project requirement, you want to build an API for a legacy client. Legacy client can only consume SOAP webservices. Which type the interface documentation can be prepared to meet the requirement?
Frage 51
Frage
What does C4E stands for in MuleSoft recommended IT operating model?
Antworten
-
Centre for Empowerment
-
Centre for Engagement
-
Centre for Enablement
-
Centre for Excellence
Frage 52
Frage
What valid RAML retrieves details on a specific customer by its customerId as a URI parameter?
Antworten
-
/customers:
/get:
/customerId:
-
/customers:
/{customerId}:
get:
-
/customers:
/customerId:
get:
-
/customers:
get:
/{customerId}:
Frage 53
Frage
Which of the below activity doesn't support parallel execution?
Antworten
-
Scatter Gather Router
-
First Successful Router
-
Parallel For Each
-
Batch Job
Frage 54
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 55
Frage
What is correct syntax for a Logger component to output a message with the contents of a JSON Object payload?
Antworten
-
#["The payload is " + payload]
-
#["The payload is " ++ payload]
-
The payload is: #[payload]
-
The payload is: $(payload)
Frage 56
Frage
As a part of requirement , application property defined below needs to be accessed as Dataweave expression. What is the correct expression to map it to port value?
Frage 57
Frage
What module and operation will throw an error if a Mule events payload is not number?
Antworten
-
Filter modules Is Number operation
-
Validation modules Is Number operation
-
Validation modules Is not Number operation
-
None of these
Frage 58
Frage
A web client submits a request to http://localhost:8081?accountType=personal.
The query parameter is captured using a Set Variable transformer and stored to a variable named accountType. What is the correct Dataweave expression to log accountType?
Antworten
-
Account Type : #[message.inboundProperties.accountType]
-
Account Type : #[attributes.accountType]
-
Account Type : #[flowvars.accountType]
-
Account Type : #[vars.accountType]
Frage 59
Frage
Refer to the exhibits. Which of the Dataweave expression amongst the options transforms the input to the output?
Antworten
-
payload.order.*item map {(value, index) -> {
index: index,
orderId: value.@orderId,
itemName: value.item,
lineItemPrice: (value.price as :number) * (value.quantity as :number)
}
}
-
payload.order.*item map {(value, index) -> {
index: index,
orderId: value.@orderId,
itemName: value.item,
lineItemPrice: (value.price as Number) * (value.quantity as Number)
}
}
-
payload.order.*item map {(value, index) -> {
index: index,
orderId: value.orderId,
itemName: value.item,
lineItemPrice: (value.price as :number) * (value.quantity as :number)
}
}
-
payload.order.*item map {(value, index) -> {
index: index,
orderId: value.orderId,
itemName: value.item,
lineItemPrice: (value.price as :number) * (value.quantity as Number)
}
}
Frage 60
Frage
The API needs to be updated using the company wide standard for the Plan data type. The Object data type has already been published to Anypoint Exchange with the global reference mentioned below. ACME/DataTypes/PlanData.raml
What is valid RAML specification that reuses the Plan Data type?
Antworten
-
#%RAML 1.0
title: ACME Telecom API
types:
Plan: !include ACME/DataTypes/PlanDataType.raml
/plans:
get:
responses:
200:
body:
application/json:
type:Plan[]
example: !include ACME/Examples/PlanExamples.raml
-
#%RAML 1.0
title: ACME Telecom API
types:
Plan: !reference ACME/DataTypes/PlanDataType.raml
/plans:
get:
responses:
200:
body:
application/json:
type:Plan[]
example: !reference ACME/Examples/PlanExamples.raml
-
#%RAML 1.0
title: ACME Telecom API
dataTypes:
Plan: !reference ACME/DataTypes/PlanDataType.raml
/plans:
get:
responses:
200:
body:
application/json:
type:Plan[]
example: !reference ACME/Examples/PlanExamples.raml
-
#%RAML 1.0
title: ACME Telecom API
dataTypes:
Plan: !include ACME/DataTypes/PlanDataType.raml
/plans:
get:
responses:
200:
body:
application/json:
type:Plan[]
example: !include ACME/Examples/PlanExamples.raml
Frage 61
Frage
Refer to the exhibits. What is written to the records.csv when the flow executes?
Antworten
-
Nothing
-
JSON payload
-
payload converted to csv
-
An error message
Frage 62
Frage
Refer to the exhibit. What is the output of Logger activity named payload in the On Complete phase?
Antworten
-
The records are processed by all batch steps
-
The records are processed by last batch step
-
The original payload: [1,2,3]
-
Summary stadistics with No record data
Frage 63
Frage
What is the correct syntax to define and and call a function in Dataweave script?
Antworten
-
fun addKV (object: Object, key: String, value: Any) =
object ++ {(key):(value)}
---
{hello: "world"} addKV ("hola, "mundo")
-
%function addKV (object: Object, key: String, value: Any) =
object ++ {(key):(value)}
---
({"hello": "world"}, addKV "hola", "mundo")
-
%fun addKV (object: Object, key: String, value: Any) =
object ++ {(key):(value)}
---
addKV ({"hello": "world"}, "hola", "mundo")
-
%function addKV (object: Object, key: String, value: Any) =
object ++ {(key):(value)}
---
{"hello": "world"} addKV ("hola", "mundo")
Frage 64
Frage
What the correct RAML syntax which retrieves details on a specific order by its orderId as a URI parameter?
Frage 65
Frage
Refer to the exhibits. What is valid text to set the user field in the Database connector configuration to the username value specified in the config.yaml file?
Antworten
-
#[db:username>
-
#[db.username]
-
${db.username}
-
${db:username}
Frage 66
Frage
Refer to the exhibits. What expression correctly specifies input parameters to pass the city and state values to SQL query?
Antworten
-
#[inputParams: {
city: "San Francisco",
state: "CA"
}]
-
#[inputParams: [
"San Francisco",
"CA"
]]
-
#[[
"San Francisco",
"CA"
]]
-
#[{
city: "San Francisco",
state: "CA"
}]
Frage 67
Frage
Refer to the exhibit. What is the correct DataWeave expression for the Set Payload transformer to call the createCustomerObject flow with values for the first and last names of a new customer?
Antworten
-
lookup( "createCustomerObject", {first: "Alice, last: "Green"})
-
createCustomerObject({first: "Alice", last' "Green"})
-
createCustomerObject("Alice", "Green")
-
lookup( "createCustomerObject", ("Alice", "Green"))
Frage 68
Frage
Mule application contains ActiveMQ JMS dependency. Mule application was compiled and run successfully in Anypoint Studio. The mule application must now be exported from Anypoint Studio and shared with other developer. What export options should be selected to create the smallest JAR file that can be imported into other developer's Anypoint Studio and run successfully?
Antworten
-
Select only Attach Project Sources only
-
Select both Attach Project Sources and Include project modules and dependencies
-
Select the Include project modules and dependencies option only
-
De-select both Attach Project Sources and Include project modules and dependencies
Frage 69
Frage
Refer to exhibits. What message should be added to Logger component so that logger prints "The city is Pune" (Double quote should not be part of logged message)?
Antworten
-
#["The city is" ++ payload.City]
-
The city is + #[payload.City]
-
The city is #[payload.City]
-
#[The city is ${payload.City}
Frage 70
Frage
What is minimal requirement in a flow for a Mule application to compile?
Frage 71
Frage
How can we scale deployed Mule application vertically on Cloudhub?
Frage 72
Frage
Which of the below is not the function of API Gateway?
Antworten
-
Determine which traffic is authorized to pass through the API to backend services
-
Meter the traffic flowing through
-
Logs all transactions, collecting and tracking analytics data
-
Specify throttling, security and other policies
Frage 73
Frage
From which application Organization Administrators can approve/revoke/delete SLA tier access requests?
Antworten
-
API Exchange
-
API Portal
-
API Gateway
-
API Manager
Frage 74
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 75
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 76
Frage
In which of the below files, metadata stored in a Mule project?
Antworten
-
Config.yaml file
-
POM.xml file
-
application-types.xml
-
Global Element
Frage 77
Frage
Which of the below is not a valid category for connector type?
Antworten
-
Gold
-
Select
-
Premium
-
Community
Frage 78
Frage
Which file is used to define the interface contract to invoke a web service implemented as a SOAP service?
Frage 79
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 80
Frage
There are three routs configured for Scatter-Gather and incoming event has a payload is an Array of three objects. How routing will take place in this scenario?
Antworten
-
Incoming array objects would be split into three and each part would be sent to one route each in parallel
-
Incoming array objects would be split into three and each part would be sent to one route each in sequential manner
-
Entire event would be sent to each route in parallel
-
Entire event would be sent to each route sequentially
Frage 81
Frage
What module and operation will throw an error if a Mule events payload is not null?
Antworten
-
Filter module's Is Null operation
-
Validation module's Is Null operation
-
Validation module's Is not null operation
-
None of these
Frage 82
Frage
A Batch Job scope has five 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 83
Frage
Does a root element required when creating a XML response using Dataweave?
Antworten
-
Depends on requirement
-
Not required
-
Always required
-
None of these
Frage 84
Frage
How would you debug Mule applications?
Antworten
-
By deploying apps on production
-
Checking RAML specifications
-
Using debugger component
-
Use third party debugger application
Frage 85
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
-
Performed authenticated live calls on a real server
Frage 86
Frage
Which of the module is imported automatically in Dataweave scripts?
Antworten
-
dw::core
-
dw::System
-
dw::Runtime
-
dw::Crypto
Frage 87
Frage
A Database On Table Row listener retrieves data from a CUSTOMER table that contains a primary key user_id column and an increasing time_stamp column . Neither column allows duplicate values.
How should the listener be configured so it retrieves each row at most one time?
Antworten
-
Set the Target value to the last retrived date_time value
-
Set the watermark column to the user_id column
-
Set the Target value to the last retrived user_id value
-
Set the watermark column to the date_time value
Frage 88
Frage
Refer to the exhibits. A mule application is being developed which will process POST requests coming from clients containing the name and order information. Sample request is as below
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.adress"
}
-
{
orderkey: "attributes.shippingaddress.order",
addresskey: "payload"
}
-
{
orderkey: "payload.order",
addresskey: "address"
}
-
{
orderkey: "attributes.order",
addresskey: "vars.address"
}
Frage 89
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 component when this flow executes?
Antworten
-
Result INFOpayload
-
Result INFO{"student":{"name":"Anay","age":6}}
-
You called the function '++' with these arguments:
1: String ("INFO")
2: Object ({student: {name: "Anay" as String {class: "java.lang.String"},age: 6 as Numbe...)
-
Error: You evaluated inline expression # without ++
Frage 90
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
-
Download the API specification and build the interface using APIkit
-
Implement the API specification using flow designer in Design Center
-
Publish the API specification to Anypoint Exchange
Frage 91
Frage
A Mule flow has three Set Variable transformers. What global data structure can be used to access the variables?
Frage 92
Frage
What is the minimum Cloudhub worker size that can be specified while deploying mule application?
Antworten
-
0.2 vCores
-
0.5 vCores
-
1.0 vCores
-
0.1 vCores
Frage 93
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 94
Frage
What is the output of Dataweave Map operator?
Frage 95
Frage
An API implementation has been deployed to CloudHub and now needs to be governed. IT will not allocate additional vCore 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
-
Register the same API implementation in Runtime Manager to connect to 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
Frage 96
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 second request does not overwrite that from the first?
Antworten
-
Put the Database SELECT operation inside a cache scope
-
Put the Database SELECT operation inside a Message Enricher scope
-
Save the payload from the Database SELECT operation to a variable
-
Nothing as previous payloads are combined into the next payload
Frage 97
Frage
How can you call a subflow from Dataweave?
Antworten
-
Not possible in Mule 4
-
Import function
-
Lookup function
-
Include function
Frage 98
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 clients to VPN directly to the application at the Mule application's configured HTTP port
-
Allows CloudHub to automatically change the HTTP port to allow external clients to connect to the HTTP Listener
-
Allows CloudHub to automatically register the application with API Manager
-
Allows MuleSoft Support to troubleshoot the application by connecting directly to the HTTP Listener
Frage 99
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 recoded
-
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 restarted
Frage 100
Frage
A mule application contains a global error handler configured to catch any errors. Where must the global error handler be specified so that global error handler catches all errors from flows without their own error handlers?
Frage 101
Frage
What payload is returned by a Database SELECT operation that does not match any rows in database?
Antworten
-
Exception
-
Empty array
-
FALSE
-
null
Frage 102
Frage
How can you call a flow from Dataweave?
Antworten
-
include function
-
not allowed
-
tag function
-
lookup function
Frage 103
Frage
A Mule application configured with Autodiscovery implements an API. Where is governance enforced for policies defined for this Mule application?
Antworten
-
In Runtime Manager
-
In API Exchange
-
In the Mule application
-
In API manager
Frage 104
Frage
A Mule project contains a DataWeave module like WebStore.dwl that defines a function named loginUser which accepts login id (String) as an argument. The module file is located in the project's src/main/resources/libs/etl folder.
What is correct DataWeave code to import all of the WebStore.dwl file's functions and then call the loginUser function for the purpose of login for the below user?
"Todd.Pal@mulesoft.com"
Antworten
-
import libs.etl
---
WebStore.loginUser("Todd.Pal@mulesoft.com")
-
import * libs::etl
---
WebStore::loginUser("Todd.Pal@mulesoft.com")
-
import libs.etl.WebStore
---
loginUser("Todd.Pal@mulesoft.com")
-
import * from libs::etl::WebStore
---
loginUser("Todd.Pal@mulesoft.com")
Frage 105
Frage
In the execution of scatter gather, the "sleep 2 sec" Flow Reference takes about 2 sec to complete, and the "sleep 8 sec" Flow Reference takes about 8 sec to complete.
About how many sec does it take from the Scatter-Gather is called until the Set Payload transformer is called?
Frage 106
Frage
Refer to the exhibits. 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 107
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 Busness (LoBs) onsumed each foundational asset
Frage 108
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 109
Frage
Refer to the exhibits. The Batch job processes an array of strings.
What information is logged by the logger component after the batch job scope completes processing of the input payload?
Antworten
-
Total Records Processed: 3
Successful Records: 3
Failed Records: 0
payload: ["A","B","C"]
-
["A","B","C"]
-
Total Records Processed: 3
Successful Records: 3
Failed Records: 0
payload: ["a","b","c"]
-
Total Records Processed: 3
Successful Records: 3
Failed Records: 0
Frage 110
Frage
Refer to the exhibits. Set Variable transformer is set the firstName and lastName of the customer as shown in below images.
What is the correct Dataweave expression which can be added in message attribute of a Logger activity to access firstName (which in this case is Madhav) from the incoming event?
Frage 111
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 112
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}
{step2amount=102}
Frage 113
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?
SELECT * from accounts WHERE city=attributes.queryParams.city and state=attributes.queryParams.state
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 114
Frage
What DataWeave expression transforms the array a to the XML output?
Antworten
-
trains:
{(
a map ((engId, index) ->
train: {
TrainNumber: engId
}
)
)}
-
trains:
a map ((engId, index) ->
train: {
TrainNumber: engId
}
)
-
{(
trains:
a map ((engId, index) ->
train: {
TrainNumber: engId
}
)
)}
-
{
trains:
a map ((engId, index) ->
train: {
TrainNumber: engId
}
)
}
Frage 115
Frage
In the execution of the Scatter_Gather, the flow1 route completes after 10 seconds and the flow2 route completes after 20 seconds.
How many seconds does it take for the Scatter_Gather to complete?
Frage 116
Frage
What is the output payload in the On Complete phase
Antworten
-
Summary statistics with NO record data
-
The records processed by the last batch step: [StepTwol, StepTwo2, StepTwo3]
-
The records processed by all batch steps: [StepTwostepOnel, stepTwostepOne2, StepTwoStepOne3]
-
The original payload: [1,2,31]