Quiz
MCD Mule 1
Dieses Quiz hat ein Zeitlimit und öffnet sich deshalb im gewohnten Player.
Fragen in diesem Quiz (170)
1Refer 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?- Anull
- BThe returned JSON response
- CThe original XML payload
- DA non-empty Java object
2Refer 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?- AA file named productUpdates.txt.back containing the text "START"
- BA file named productUpdates.txt containing the text "START".
A file named productUpdates.txt.back containing the text "FINISHED" - CA file named productUpdates.txt.back containing the text "FINISHED"
- DA file named productUpdates.txt containing the text "START".
A file named productUpdates.txt.back containing the text "STAR"
3A 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?- Afun newProdCode{itemID: Number, productCategory: String) -> "PC-" ++ productCategory ++ (itemID as String)
- Bfun newProdCode(itemID: Number, productCategory: String) = "PC-" ++ productCategory ++ (itemID as String)
- Cfunction newProdCode(itemID: Number, productCategory: String) = "PC-" ++ productCategory ++ (itemID as String)
- Dvar newProdCode(itemID: Number, productCategory: String) -> "PC-" ++ productCategory ++ (itemID as String)
4Refer 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?- A"END"
- B"ERROR1"
- C"ERROR2"
- D"Validation Error"
5Refer to the exhibits. A web client submits a request to http://localhost:8081/flights. What is the result at the end of the flow?
- A"String"
- B"Java"
- C"Object"
- D"XML"
6Refer 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?
- ASummary report of processed records
- B[ "Apple", "Banana" ]
- C["Apple2", "Banana2" ]
- D[ "Apple", "Banana", 2 ]
7Refer 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?- A"Before"
- B"null"
- C"After"
- D"Validation Error"
8Refer 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?- AFor Each scope: 100, 200, 1000, 2000
Batch Step scope: 4000, 40, 3000, 300 - BFor Each scope: 2000, 200, 1000, 100
Batch Step scope: 4000, 40, 3000, 300 - CFor Each scope: 100, 200, 1000, 2000
Batch Step scope: 40, 300, 3000, 4000 - DFor Each scope: 2000, 200, 1000, 100
Batch Step scope: 40, 300, 3000, 4000
- AFor Each scope: 100, 200, 1000, 2000
9An 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?- Aapplication/xml
- Bapplication/json
- Capplication/dw
- Dapplication/java
10A Utility.dwl file is located in a Mule project at src/main/resources/modules. The Utility.dwl hie defines a function named pascalize that reformats strings to pascal case.
What is the correct DataWeave to call the pascalize function in a Transform Message component?- A%dw 2.0
output application/json
import modules.Utility
---
Utility.pascalize("max mule") - B%dw 2.0
output application/json
import modules.Utility
---
pascalize("max mule") - C%dw 2.0
output application/json
import modules::Utility
---
Utility::pascalize("max mule") - D%dw 2.0
output application/json
import modules::Utility
---
pascalize("max mule")
- A%dw 2.0
11Refer 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?- AEdit the dependency in the Mule project's pom.xml file
- BInstall the dependency to the computer's local Maven repository
- CDeploy the dependency to MuleSoft's Maven repository
- DAdd the dependency to the MULE_HOME/bin folder
12Refer 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?- Apayload
- Bpayload
quantity var - Cpayload
quantity var
color query param - Dpayload
color query param
13Refer 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?.- A{
"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"
} - Btransaction_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" - Ctransaction_id, account_id, name, position
"SS-4848-44KK-4YQ","KA-382-SKD344","Max Mule","sell" - D{
"transaction_id":"SS-4848-44KK-4YQ",
"account_id":"KA-382-SKD344",
"name":"Max Mule",
"position":"sell",
}
- A{
14Refer 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?- A"Error - Main Flow"
- B"Succes - Begin main flow"
- C"Validate - Payload is an Integer"
- D"Succes - End main flow"
15+
A web client sends a POST request to the HTTP Listener with the payload ג€Hello-ג€.
What response is returned to the web client?- AHello-HTTP-JMS2-Three
- BHTTP-JMS2-Three
- CHello-JMS1-HTTP-JMS2-Three
- DHello-HTTP-Three
16Refer 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?- AThree files are created, one for each account object.
The response payload is a succes messages without any account objects. - BTwo 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 - COne file is written with an error message.
The response payload is the error messages - DTwo 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
- AThree files are created, one for each account object.
17Refer 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?- Apayload filter $.price < 500 ordeyBy $.price groupBy $.toAirport
- Bpayload filter $.price > 500 ordeyBy $.price groupBy $.toAirport
- Cpayload groupBy $.toAirport filter $.price < 500 orderBy $.price
- Dpayload groupBy $.toAirport filter $.price > 500 orderBy $.price
18+
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?- Apayload
- Bpayload modelName query param
- Cpayload planeModel var
- Dpayload modelName query param planeModel var
19+
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?- AError - private flow
- BValidation Error
- CError - main flow
- DSuccess - main flow
20+
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?- ASave the payload from the Database SELECT operation to a variable.
- BPut the Database SELECT operation inside a Cache scope
- CPut the Database SELECT operation inside a Message Enricher scope
- DNothing, previous payloads are combined into the next payload
21+
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?- ASet a header in the Consume operation equal to the destination query parameter
- BSet a SOAP payload before the Consume operation that contains the destination query parameter
- CSet a property in the Consume operation equal to the destination query parameter
- DSet a JSON payload before the Consume operation that contains the destination query parameter
22+
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?- A1
- B2
- C3
- D4
23+
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?- A#[ 'MuleSoft' = = payload.'company' ]
- B#[ if ( '˜MuleSoft' = = payload.company ) ]
- C#[ company = 'MuleSoft' ]
- D#[ if( company = 'MuleSoft' ) ]
24+
The Mule application contains a Choice router.
What is logged when the flow completes?- A'US'
- B'REGION'
- CEU
- D['US', 'EU']
25+
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?- A#"[
{
oid: payload.oid,
custId: payload.custId,
status: payload.status
}
]" - B"#[
{
oid: payload.oid,
custId: payload.custId,
status: payload.status
}
]" - C"#[
inputparameters: [
payload.oid,
payload.custId,
payload.status
]
]" - D"#[
[
payload.oid,
payload.custId,
payload.status
]
]"
- A#"[
26+
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?- Aattributes.bookISBN
- BflowVars.bookISBN
- Cvars.bookISBN
- DbookISBN
27+
A web client sends a request to http://localhost:8081?dept=sales.
What is the correct DataWeave expression to access the value of dept?- Aattributes.queryParams.dept
- Battributes.dept
- Cmessage.queryParams.dept
- Dvars.dept
28+
A Set Variable component saves the current payload to a variable.
What is the DataWeave parent expression to access the variable?- A#[value]
- B#[vars]
- C#[var]
- D#[values]
29An event contains a payload that is an array of objects.
How is the event routed in a Scatter-Gather?- AThe entire event sent to each route and processed sequentially
- BThe entire event sent to each route and processed in parallel
- CThe event is split and events with different smaller payloads are routed and processed in parallel
- DThe event is split and events with different smaller payloads are routed and processed sequentially
30+
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?- AAn Object containing all Mule event Objects.
- BAn Array containing all Mule event Objects.
- CNone of these.
- DThe last Mule event object.
31+
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?- A0
- B1
- C5
- D6
32+ 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?- A[
{
"attributes": ...,
"payload":"100"
},
{
"attributes": ...,
"payload":"200"
}
] - B{
"0":"100",
"1":"200"
} - C["100","200"]
- D{
"0":{
"attributes": ...,
"payload":"100"
},
"1":{
"attributes": ...,
"payload":"200"
}
}
- A[
33+
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?- AA global element
- BThe mule-artifact.json file
- CA flow attribute
- DThe pom.xml file
34+
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?- A'The year is #[payload.year]'
- B'#[The year is $(payload.year)]'
- C'#["The year is ++ payload.year"]'
- D'#["The year is " + payload.year]"
35+
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?- Apayload
- Bpayload pedigree query params
- Cpayload producer var
- Dpayload pedigree query params producer var
36+
Where are values of query parameters stored in the Mule event by the HTTP Listener?- APayload
- BAttributes
- CInbound Properties
- DVariables
37+
What is the correct way to format the decimal 200.1234 as a string to two decimal places?- A200.1234 as string {format: ".0#"}
- B200.1234 as string as format: ".0#"
- C200.1234 as String {format: ".0#"}
- D200.1234 as String as format: ".0#"
38A 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?
- AEnable automating watermakin in the database select operation
- BSave the max recorID from the set of recordIDs in an Object Store and reference this recorID in subsequent database request
- CSave the max recorID from the set of recordIDs in an variable and reference this variable in subsequent database request
- DSet the Watermark column in the Scheduler to the recorID
39+
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?- ASave the payload from the Database SELECT operation to a variable.
- BPut the Database SELECT operation inside a Cache scope
- CPut the Database SELECT operation inside a Message Enricher scope
- DNothing, previous payloads are combined into the next payload
40+
What is the value of the stepVar variable after the processing of records in a Batch Job?- A-1
- B0
- Cnull
- DLast value from flow
41+
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?- AAll processing of the batch job stops.
- BNone of these.
- CError is ignored.
- DEvent processing continues to the next batch step.
42+
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?- A/orders/{PO5555}
- B/orders/order=PO5555
- C/orders?order=PO5555
- D/orders/PO5555
43+
What can be added to the flow to persist data across different flow executions?- AProperties of the Mule runtime app object
- BKey/value pairs in the ObjectStore
- CSession variables
- DProperties of the Mule runtime flow object
44Refer 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?- A/strores/${23}?store_id=23&department="pharmacy"
- B/strores/${23}/store_id=23&department="pharmacy"
- C/strores/{23}?store_id=23&department="pharmacy"
- D/strores/23?store_id=23&department="pharmacy"
45+
How would you debug Mule applications?- AUsing breakpoints
- BChecking RAML
- CBy Deploying apps on production
- DCannot do it
46+
The new RAML spec has been published to Anypoint Exchange with client credentials.
What is the next step to gain access to the API?- AEmail the owners of the API.
- BCreate a new client application.
- CNo additional steps needed.
- DRequest access to the API in Anypoint Exchange.
47+
What are the latest specification of RAML available?- A0.8
- B1
- C2
- D1.8
48+
What is the use of API Notebooks?- ANone of these
- BTest Policies
- CTest API functions
- DTest RAML
49+
What is the trait name you would use for specifying client credentials in RAML?- Aheaders
- Bclient-id
- Cclient-id-required
- Dwe do not specify in RAML
50+
What is the main purpose of flow designer in Design Center?- ATo design and develop fully functional Mule applications in a hosted development environment.
- BTo design API RAML files in a graphical way.
- CTo design and mock Mule application templates that must be implemented using Anypoint Studio.
- DTo define API lifecycle management in a graphical way.
51+
What is the correct syntax to reference a fragment in RAML?- Aexamples: #include examples/BankAccountsExample.raml
- Bexamples: $include examples/BankAccountsExample.raml
- Cexamples: ?include examples/BankAccountsExample.raml
- Dexamples: !include examples/BankAccountsExample.raml
52+
What is the purpose of the api:router element in APIkit?- AServes as an API implementation.
- BValidates requests against RAML API specifications and routes them to API implementations.
- CCreates native connectors using a 3rd party Java library.
- DValidates responses returned from API requests and routes them back to the caller.
53+
What is the minimum required configuration in a flow for a Mule application to compile?- AAn event source
- BRAML file
- CAn event processor
- DLogger Component
54+
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?- Aaccounts?account_type:retail&industry:finance
- B/accounts/retail/finance
- C/accounts/account_type=retail/industry=finance
- D/accounts?account_type=retail&industry=finance
55+
An API specification is designed using RAML. What is the next step to create a REST Connector from this API specification?- AAdd the specification to a Mule project's src/main/resources/api folder
- BImplement the API specification using flow designer in Design Center
- CDownload the API specification and build the interface using APIkit
- DPublish the API specification to Anypoint Exchange
56+
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?- A.
- B..
- C:
- D;
- A.
57+
How many private flows does APIkit generate from the RAML specification?- A1
- B2
- C3
- D5
58+
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?- ARestart the API proxy to clear the API policy cache
- BAdd new property placeholders and redeploy the API proxy
- CAdd required headers to the RAML specification and redeploy the new API proxy
- DAdd new environment variables and restart the API proxy
59+
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?- A/departments:
/depId:
patch: - B/departments:
patch:
/depId: - C/departments:
patch:
queryParameters:
/depId: - D/departments:
/{depId}:
patch:
- A/departments:
60Refer 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?- AAm empty array
- BThe database response
- CThe entire CSV file
- D100
61+
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?- A0
- B"Processing"
- C"Start"
- D"Complete"
62+
According to MuleSoft, what is the first step to create a Modern API?- APerformance tune and optimize the backend systems and network
- BCreate an API specification and get feedback from stakeholders
- CCreate a prototype of the API implementation
- DGather a list of requirements to secure the API
63+
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?- AA global element
- BThe pom.xml file
- CNowhere, the global error handler is automatically used
- DA configuration properties file
64A 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?- A.
- B..
- C...
- D....
- A.
65+
What are the features of CloudHub Fabric?- ANon-persistent queue
- BHorizontal Scaling
- CVPN Mock Services
- DNone of these
66+
How many Mule applications can run on a CloudHub worker?- AAt most one
- BNone of these
- CDepends
- DAt least one
67+
How does Runtime Manager Console connect with App Data and Logs of a Mule app?- ANone of these
- BIntegration Apps
- CCloudHub Workers
- DRest API
68+
Where does a deployed flow designer application run in Anypoint Platform?- ACloudHub worker
- BAPI Manager
- CDesign Center
- DExchange
69+
What is the face of CloudHub and integrates with Platform Services?- ANone of these
- BRuntime Manager Console
- CIntegration Apps
- DCloudHub Workers
70+
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?- AModify the API implementation to use auto-discovery to register with API Manager
- BDeploy the same API implementation behind a VPC and configure the VPC to connect to API Manager
- CUpload the Mule applicationג€™s JAR file to the API instance in API Manager
- DRegister the same API implementation in Runtime Manager to connect to API Manager
71+
Why would a Mule application use the ${http.port} property placeholder for its HTTP Listener port when it is deployed to CloudHub?- AAllows CloudHub to automatically change the HTTP port to allow external clients to connect to the HTTP Listener
- BAllows clients to VPN directly to the application at the Mule applicationג€™s configured HTTP port
- CAllows MuleSoft Support to troubleshoot the application by connecting directly to the HTTP Listener
- DAllows CloudHub to automatically register the application with API Manager
72Refer 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?- A"Other error"
- B"APP: API RESOURSE NOT FOUND"
- C"Success - main flow"
- D"HTTP: NOT_FOUND"
73+
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?- AThe applications associated with the other APIs must be restarted
- BThe other APIs must be updated to consume the updated product API
- CNothing needs to be changed in the other APIs or their associated applications
- DThe applications associated with the other APIs must be recoded
74What DataWeave expression transforms the example JSON input to the XML output?
- A.
- B..
- C...
- D-
- A.
75+
What DataWeave expression transforms the example XML input to the CSV output?- A.
- B..
- C...
- D-
- A.
76+
What HTTP method in a RESTful web service is typically used to completely replace an existing resource?- AGET
- BPOST
- CPATH
- DPUT
77Refer to the exhibit. This RAML files generates an error.
What needs to be done to make valid RAML?- AIndent the get method under the {flight_id} resource
- BRemove the blank line on row 7
- CEnclose the {flight_id} resource in parentheses () instead of curly braces {}
- DOutdent the {flight_id} resource
78+
What does to the attributes of a Mule event happen in a flow after an outbound HTTP Request is made?- AAttributes do not change.
- BPrevious attributes are passed unchanged.
- CAttributes are replaced with new attributes from the HTTP Request response.
- DNew attributes may be added from the HTTP response headers, but no headers are ever removed.
79+
What is the difference between a subflow and a sync flow?- ASync flow has no error handling of its own and subflow does.
- BSubflow has no error handling of its own and sync flow does.
- CSubflow is synchronous and sync flow is asynchronous.
- DNo difference.
80+
What is not an asset?- AExchange
- BTemplate
- CExample
- DConnector
81+
How to import Core (dw::Core) module into your DataWeave scripts?- Aimport dw::core
- BNot needed
- CNone of these
- Dimport core
82+
What is the object type returned by the File List operation?- AObject of String file names
- BArray of String file names
- CObject of Mule event objects
- DArray of Mule event objects
83+
How can you call a flow from Dataweave?- ANot allowed
- BInclude function
- CLook up function
- DTag function
84+
DataWeave is tightly integrated with ____________.- AMule runtime
- BAll APIs
- CFlow Designer
- DExchange
85+
In the Database On Table Row operation, what does the Watermark column enable the On Table Row operation to do?- ATo save the most recent records retrieved from a database to enable database caching.
- BTo enable duplicate processing of records in a database.
- CTo avoid duplicate processing of records in a database.
- DTo delete the most recent records retrieved from a database to enable database caching.
86+
An API has been created in Design Center.
What is the next step to make the API discoverable?- ADeploy the API to a Maven repository.
- BPublish the API from inside flow designer.
- CPublish the API to Anypoint Exchange.
- DEnable autodiscovery in API Manager.
87+
How is policy defined in terms of classloader of an API?- AClassloader isolation does not exist between the application, the runtime and connectors, and policies.
- BB. Classloader isolation exists between the application, the runtime and connectors, and policies.
- CC. None of these.
- DD. Classloader isolation partially exists between the application, the runtime and connectors, and policies.
88+
According to Mulesoft, how are Modern APIs treated as?- Aproducts
- Bcode
- Csoap services
- Dorganizations
89+
According to Semantic Versioning, which version would you change for incompatible API changes?- AMINOR
- BPATCH
- CMAJOR
- DNo change
90+
What is the use of DevKit in Mule 4?- AFacilitates communication between third-party systems and Mule applications.
- BNo use.
- COffers connector end user support in a few aspects of Mule app design.
- DEnables the development of Anypoint Connectors.
91+
http://dev.acme.com/api/patients?year=2016
What should this endpoint return?- APatient with id 2016
- BAll patients
- CNo patients
- DPatients from year 2016
92+
According to MuleSoft, what is the Center for Enablement's role in the new IT operating model?- AImplements line of business projects to enforce common security requirements.
- BCentrally manages partners and consultants to implement line of business projects.
- CImplements line of business projects to enforce common security requirementss.
- DCreates and manages discoverable assets to be consumed by line of business developers.
93+
Which one of them is NOT a flow in Mule?- Async flow
- Bsubflow
- Casync flow
- Dasync sub flow
94+
How are multiple conditions used in a Choice router to route events?- ATo route the same event to the matched route of EVERY true condition.
- BNone of these.
- CTo find the FIRST true condition, then distribute the event to the ONE matched route.
- DTo find the FIRST true condition, then route the same event to the matched route and ALL FOLLOWING routes.
95+
What asset can NOT be created by using Design Center?- AAPI
- BAPI Portals
- CMule Apps
- DAPI Fragments
96+
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?- APublish consume: Synchronous. Publish: Asynchronous.
- BPublish consume: Asynchronous. Publish: Synchronous.
- CPublish consume: Asynchronous. Publish: Asynchronous.
- DPublish consume: Synchronous. Publish: Synchronous.
97+
What is the DataWeave expression to log the Content-Type header using a Logger component?- A#["Content-Type: " ++ attributes.headers.'content-type']
- B#["Content-Type: " ++ headers.'content-type']
- C#["Content-Type: " + headers.'content-type']
- D#["Content-Type: " + attributes.headers.'content-type']
98+
What is the purpose of API autodiscovery?- AEnables API Manager to discover the published API on Anypoint Exchange.
- BAllows a deployed Mule application to connect with API Manager to download policies and act as its own API proxy.
- CEnables an API to be directly managed in API Manager.
- DAllows the Mule application to be automatically discovered on Anypoint Exchange.
99+
What is NOT part of a Mule 4 event?- Aattributes
- Bpayload
- CinboundProperties
- Dmessage
100+
What DataWeave 2.0 type can be used as input to a mapObject operation?- AArray
- BObject
- CString
- DMap
101+
Why would you use SOAP instead of http?- AIf the architecture mandates.
- BIt is up to the integration specialist.
- CSuccessful/retry logic for reliable messaging functionality.
- DIt is part of agile methodology.
102+
What statement is a part of MuleSoft's description of an application network?- ACreates and manages high availability and fault tolerant services and infrastructure.
- BCreates reusable APIs and assets designed to be consumed by other business units.
- CCreates and manages a collection of JMS messaging services and infrastructure.
- DLeverages Central IT to deliver complete point-to-point solutions with master data management.
103+
What does the Mule runtime use to enforce policies and limit access to APIs?- AAPI Manager
- BThe proxy created by API Manager
- CThe Mule runtime's embedded API Gateway
- DAnypoint Access Control
104+
Which keyword do you use to create a new function in DataWeave?- Afunction
- Bfun
- Cfunc
- DNone of these
105+
What module and operation will throw an error if a Mule event's payload is not a number?- AValidation module's Is number operation
- BFilter module's Is number operation
- CNone of these
- DValidation module's Is not a number operation
106+
What does the minus operator do in DataWeave?- ADecrements the value by one.
- BRemoves items from a list.
- CIncrements the value by one.
- DRemoves characters from a string.
107+
Does a root element need when creating a response using Dataweave?- ANone of these
- BSometimes
- CNever
- DAlways
108+
What MuleSoft API-led connectivity layer is intended to expose part of a backend database without business logic?- AData
- BSystem
- CProcess
- DExperience
109+
Where would you create SLA Tiers for an API?- AExchange
- BAPI Manager
- CAnypoint MQ
- DWithin the API
110+
What DataWeave 2.0 type can be used as input to a map operation?- AObject
- BArray
- CString
- DMap
111+
What MuleSoft product enables publishing, sharing, and searching of APIs?- ARuntime Manager
- BExchange
- CAPI Notebook
- DAPI Designer
112+
What does the zip operator do in DataWeave?- AMinifies the size of value using encoding.
- BNone of these.
- CMerges elements of two objects into a single object.
- DMerges elements of two lists (arrays) into a single list.
113+
What is a core characteristic of the Modern API?- AAPI is rapidly prototyped following AGILE methodology.
- BAPI follows the RESTful architecture.
- CAPI is designed first using an API specification for rapid feedback.
- DAPI has a mechanism to accept feedback and suggestions for improvement.
114+
Anypoint MQ FIFO queues are limited to how many in flight messages per queue?- A120000
- B10
- C100
- D1000
115+
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?- ASet the watermark column to the login_date_time column
- BSet the target value to the last retrieved login_date_time value
- CSet the target value to the last retrieved user_id value
- DSet the watermark column to the user_id column
116+
What is the correct syntax to add a customer ID as a URI parameter in an HTTP Listener path?- A(customerID)
- B#[customerID]
- C{customerID}
- D${customerID}
117+
What execution model is used by For Each and Batch Job scopes?- ABoth are multi-threaded
- BBoth are single-threaded
- CBatch Job is single-threaded and For Each is multi-threaded
- DFor each is single-threaded and Batch Job is multi-threaded
118+
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?- A${training:host}
- B#[training.host]
- C${training.host}
- D#[training:host]
119+
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?- ASet a request header with the name Content-Type to a value of application/octet-stream
- BSet a request header with the name Content-Type to a value of application/xml
- CSet a response header with the name Content-Type to a value of application/xml
- DSet a response header with the name Content-Type to a value of application/octet-stream
120+
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?- A[ ['A', 'C', 'D'], ['E'] ]
- B[ 'E' ]
- C[ 'D', 'E' ]
- D[ 'A', 'C', 'D', 'E' ]
121+
What DataWeave expression transforms the conductorIds array to the XML output?- A.
- B..
- C...
- D:
- A.
122+
By default, what happens to a file after it is read using an FTP connector Read operation?- AThe file is moved to a different folder
- BThe file stays in the same folder unchanged
- CThe file is renamed in the same folder
- DThe file is deleted from the folder
123+
A Mule event is composed of a hierarchy of objects.
Where in the hierarchy are variables stored?- AMule message attributes
- BMule message
- CMule message payload
- DMule event
124+
A web client sends a GET request to the HTTP Listener.
What response message is returned to the web client?- Anull
- BEnd
- CStart
- DString is not blank
125+
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.- AResponse body: 'START' Default response status code: 200
- BResponse body: 'ERROR1' Default response status code: 200
- CResponse body: 'END' Default response status code: 200
- DError response body: error.description Default error response status code: 500
126+
What is the output type of the DataWeave map operator?- AObject
- BArray
- CMap
- DString
127+
A Mule project contains a DataWeave module called MyModule.dwl that defines a function named formatString. The module is located in the project's src/main/ resources/modules folder.
What is the correct way in DataWeave code to import MyModule using a wildcard and then call the module's formatString function?- A.
- B..
- C;
- D:
- A.
128+
What payload and quantity are logged at the end of the main flow?- A[[order1, order2, order3, order4], 14]
- B[[1,2,3,4], 10]
- C[[1,2,3,4], 14]
- D[order1order2order3order4, 14]
129+
What data is expected by the POST /accounts endpoint?- A.
- B..
- C:
- D;
- A.
130+
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?- AFILE:CONNECTIVITY
- BORDER:NOT_CREATED
- COTHER ERROR
- DFile written
131+
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?- Alookup( 'addItem', { price: '100', item: 'router', itemType: 'cable' } )
- BaddItem( { payload: { price: '100', item: 'router'. itemType: 'cable' } } )
- Clookup( 'addItem', { payload: { price: '100', item: 'router', itemType: 'cable' } } )
- DaddItem( { price: '100', item: 'router'. itemType: 'cable' } )
132+
A JSON payload is set in the Set Payload transformer.
What is logged by the Logger?- A"String"
- B"Object"
- C"Array"
- D"JSON"
133+
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?- AThe enriched payload in JSON format
- BThe enriched payload in XML format
- CThe enriched payload in CSV format
- DAn error message
134+
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?- ACenter for Enablement
- BCenter of Excellence
- CCentral API Review Board
- DMuleSoft Support Center
135+
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?- A.
- B..
- C:
- D;
- A.
136+
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?- Apayload
- Bpayload make query param
- Cpayload model var
- Dpayload make query param model var
137+
The Database Select operation returns five rows from a database.
What is logged by the Logger component?- A"Array"
- B"Object"
- C"LinkedHashMap"
- D"CaseSensitiveHashMap"
138+
What asset cannot be created using Design Center?- AMule Applications
- BAPI fragments
- CAPI specifications
- DAPI portals
139+
How we can scale deployed Mule application vertically on cloudhub?- AChanging worker size
- BAdding multiple workers
- CMule applications can be scaled only horizontally
- DOption 1 and 2 both can be used
140+
Which Mule component provides a real-time, graphical representation of the APIs and mule
applications that are running and discoverable?- AAPI Notebook
- BRuntime Manager
- CAnypoint Visualizer
- DAPI Manager
141+
Which of the following is invalid type of event processor which can be used as a router ?- AChoice
- BRound Robin
- CPick First
- DFirst Successful
142+
Refer to the exhibits.
As a mulesoft developer, what you would change in Database connector configuration to resolve this
error?- AConfigure the correct host URL
- BConfigure the correct database name
- CConfigure the correct table name
- DConfigure the correct JDBC driver
143+
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?- AA scope
- BA flow
- CAn operation
- DAn event source
144+
Refer to the exhibit. The Batch Job processes, filters and aggregates records, What is the
expected output from the Logger component?- A[10. 20, 30. 40, 50, 60]
- B[10. 20] [30, 40] [50, 60]
- C[20, 40, 60]
- D[20. 40] [60]
145+
Refer to the exhibits.
This main mule application calls a separate flow called as ShippingAddress which returns the address
corresponding to the name of the user sent to it as input. Output of this ShippingAddress is stored in
a target variable named address.
Next set of requirement is to have a setPayload transformer which will set below two values
1) orderkey which needs to set to be equal to the order element received in the original request
payload.
2) addressKey which needs to be set to be equal to the address received in response of
ShippingAddress flow What is the straightforward way to properly configure the Set Payload
transformer with the required data?- A{
orderkey: "payload.order",
addresskey: "vars.address"
} - B{
orderkey: "attributes.shippingaddress.order",
addresskey: "payload"
} - C{
orderkey: "payload.order",
addresskey: "address"
} - D{
orderkey: "attributes.order",
addresskey: "vars.address"
}
- A{
146+
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?- AIn the organization's public API portal in Anypoint Exchange, from an approved client application for the API proxy
- BIn Anypoint Studio, from components generated by APIkit for the API specification
- CIn Anypoint Studio, from components generated by Rest Connect for API specification
- DIn Runtime Manager, from the properties tab of the deployed approved API proxy
147+
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?- AUtilization counts of foundational assets in production applications
- BCorrelation of each foundational asset with the counts of developers that download such asset
- CCorrelation of key performance indicators (KPI) of production applications with foundational assets
- DCount how many Lines Of Business (LoBs) onsumed each foundational asset
148+
How can you call a subflow from Dataweave?- ANot possible in Mule 4
- BImport function
- CLookup function
- DInclude function
149+
Which of the below is not a valid category for connector type?- AGold
- BSelect
- CPremium
- DCommunity
150+
What is the default port used by Mule application debugger configuration in Anypoint Studio?- A8082
- B8080
- C7777
- D6666
151+
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?- AThe API interfaces are specified as macroservices with one API representing all the business logic of an existing and proven end to end solution
- BThe API interfaces are specified at a granularity intended for developers to consume specific aspect of integration processes
- CThe API implementation are built with standards using common lifecycle and centralized configuration management tools
- DThe APIO implementations are monitored with common tools, centralized monitoring and security systems
152+
What of the below is not a feature of API Notebooks?- AAPI documentation
- BCreates a client for an API
- CCreates a mock service for an API
- DPerform authenticated live calls on a real server
153+
Which of the module is imported automatically in Dataweave scripts?- Adw::core
- Bdw::System
- Cdw::Runtime
- Ddw::Crypto
154+
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?- A"Blk"
- B"Green"
- CA timeout error
- D["Blue", "Red", "Blk"]
155+
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?- Awhite
- Bred
- Cblue
- DError message
156+
Refer to the exhibits.
All three of the conditions for the Choice router are true. What messages are written in the
application log?- ARoute1
- BRoute2
- CRoute1,Route2
- DRoute1,Route2,Default
157+
Which of the below is used by Mule application to manage dependencies which make
sharing the projects lightweight and easier?- AConfiguration file
- BGlobal element
- CPOM.xml
- DCloudhub
158+
Which of the below activity doesn't support parallel execution?- AScatter-Gather Router
- BFirst Successful Router
- CParallel For Each
- DBatch job
159+
What is output of Dataweave flatten function?- AObject
- BMap
- CArray
- DLInkedHashMap
160+
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?- AProcess layer
- BSystem layer
- CExperience layer
- DData layer
161+
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?- Ahttp:
host = "localhost"
port = "8081" - Bhttp:
basepath: "api"
host : "localhost"
port : "8081" - Chttp.host = localhost
http.port = 8081 - D{
http:
basePath: "api",
port: "8081",
host: " localhost"
- Ahttp:
162+
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?- AThe mule application fails to start
There is URL path conflict because both HTTP Listeners are configured with same path - BThe mule application start successfully
Web client requests can only be received at URI on port 2222 but not on port 3333 - CThe mule application fails to start because of the port binding conflict as HTTP request also use
same port i.e. 3333 - DThe mule application start successfully
Web client requests can be received at URI on port 2222 and on port 3333.
- AThe mule application fails to start
163+
What is not true about application properties?- AApplication properties can be encrypted
- BApplication properties can be overridden with system properties
- CApplication properties can be defined in .yaml file only
- DApplication properties provide easier way to manage configurable values
164+
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?- AThe HTTP Listener is listening on port 80
- BThe HTTP Listener is listening on port 9090
- CThe HTTP Listener is listening on port 8081
- DThe HTTP Listener failed to bind to the port and is not listening for connections
165+
Refer to the exhibits. The Batch Job scope contains two Batch Steps scopes with different accept expression.
The input payload is passed to the Batch Job scope.
After the entire payload is processed by the batch job scope , what messages have been logged by the Logger component?- A{amount=140}
{amount=102}
{step2amount=100} - B{amount=140}
{amount=102}
{step2amount=100}
{step2amount=40} - C{amount=140}
{amount=102}
{step2amount=100}
{step2amount=140}. - D{amount=140}
{amount=102}
{step2amount=100}
{step2amount=140}
- A{amount=140}
166+
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?- AResult INFOpayload
- BResult INFO{"student":{"name":"Anay","age":6}}
- C"You called the function '++' with these arguments:
String ("INFO")
Object ({student: {name: "Anay" as String {class: "java.lang.String"},age: 6 as Numbe...) - DError : You evaluated inline expression # without ++
167+
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?- AChange the method attribute value to "*"
- BChange the path attribute value to "/api/ship"
- CChange the allowed method attributes value to "POST"
- DChange the protocol attribute value to "HTTPS"
168+
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?- AWHERE city := ${city} AND state := ${state}
- BWHERE city = attributes.city AND state = attributes.state
- CWHERE city = :city AND state = :state
- DWHERE city := city AND state := state
169+
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?- A"Domestic"
- B"International"
- C"US"
- DA dataweave syntax error
170+
Where is metadata stored in a Mule project?- AConfig.yaml file
- BPOM.xml file
- Capplication-types.xml
- DGlobal Element
Informationen
- Beschreibung
- 1 eramirez Quiz am MCD Mule 1, erstellt von Edward Yesid Ramírez am 10/11/2021.
- Autor
- Edward Yesid Ramírez
- Sprache
- Español
- Aufrufe
- 17.396
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz