Test
MuleSoft Certified Developer - Level 1 (Mule 4)
Este test tiene tiempo límite, así que se abre en el reproductor de siempre.
Preguntas del test (191)
1How would you debug Mule applications?
- AUsing breakpoints
- BChecking RAML
- CBy Deploying apps on production
- DCannot do it
2What 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.
3The 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.
4What 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.
5What is not an asset?
- AExchange
- BTemplate
- CExample
- DConnector
6How to import Core (dw::Core) module into your DataWeave scripts?
- Aimport dw::core
- BNot needed
- CNone of these
- Dimport core
7What is the value of the stepVar variable after the processing of records in a Batch Job?
- A-1
- B0
- CNull
- DLast value from flow
8Refer to the exhibit. 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
9Where are values of query parameters stored in the Mule event by the HTTP Listener?
- APayload
- BAttributes
- CInbound Properties
- DVariables
10DataWeave is tightly integrated with ____________.
- AMule runtime
- BAll APIs
- CFlow Designer
- DExchange
11In 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.
12What 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#"
13How is policy defined in terms of classloader of an API?
- AClassloader isolation does not exist between the application, the runtime and connectors, and policies.
- BClassloader isolation exists between the application, the runtime and connectors, and policies.
- CNone of these.
- DClassloader isolation partially exists between the application, the runtime and connectors, and policies.
14According to Mulesoft, how are Modern APIs treated as?
- AProducts
- BCode
- CSOAP services
- DOrganizations
15According to Semantic Versioning, which version would you change for incompatible API changes?
- AMINOR
- BPATCH
- CMAJOR
- DNo change
16What 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.
17A Scatter-Gather processes three separate HTTP requests. Each request returns a Mule event with a JSON payload. What is the final output of the Scatter-Gather?
- AAn Object containing three Mule event Objects.
- BAn Array of three Mule event Objects.
- CAn Object containing three JSON payload Objects.
- DAn array of three JSON payload Objects.
18What are the latest specification of RAML available?
- A0.8
- B1
- C2
- D1.8
19http://dev.acme.com/api/patients?year=2021
What should this endpoint return?- APatient with id 2021
- BAll patients
- CNo patients
- DPatients from year 2021
20According 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.
- CProduces and manages API policies for line of business deployments
- DCreates and manages discoverable assets to be consumed by line of business developers.
21Which one of them is NOT a flow in Mule?
- ASync flow
- BSubflow
- CAsync flow
- DAsync sub flow
22How 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.
23What asset can NOT be created by using Design Center?
- AAPI
- BAPI Portals
- CMule Apps
- DAPI Fragments
24A 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.
25What is the use of API Notebooks?
- ANone of these
- BTest Policies
- CTest API functions
- DTest RAML
26What 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']
27What 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
28What 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.
29What is NOT part of a Mule 4 event?
- AAttributes
- BPayload
- CinboundProperties
- DMessage
30What 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.
31What DataWeave 2.0 type can be used as input to a mapObject operation?
- AArray
- BObject
- CString
- DMap
32Why 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.
33What 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
34Which keyword do you use to create a new function in DataWeave?
- Afunction
- Bfun
- Cfunc
- DNone of these
35What are the features of CloudHub Fabric?
- ANon-persistent queue
- BHorizontal Scaling
- CVPN Mock Services
- DNone of these
36How many Mule applications can run on a CloudHub worker?
- AAt most one
- BNone of these
- CDepends
- DAt least one
37What 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.
38When using MuleSoft’s API-led connectivity approach, what HTTP method in a RESTful web service is generally recommended to be used to completely replace an existing resource?
- AGET
- BPATCH
- CPOST
- DPUT
39What 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
40A 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]
41A batch job is defined by a Batch Job scope that contains three batch steps. The Batch Job scope and Batch Step scopes are configured with default acceptPolicy values. An event processor in the second Batch Step scope throws an error because the input data is incomplete. What is the default behavior of the batch job after the error is thrown?
- AThe Batch Job scope stops processing all records
- BThe second Batch Step scope is retried with the same data
- CAll existing in-flight records are discardeed, but new records are still passed to the first Batch Step scope and processed.
- DThe second Batch Step scope’s error is reversed and the repaired records are passed to the third Batch Step scpoe for processing.
42What 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.
43What MuleSoft API-led connectivity layer is intended to expose part of a backend database without business logic?
- AData layer
- BSystem layer
- CProcess layer
- DExperience layer
44How does Runtime Manager Console connect with App Data and Logs of a Mule app?
- ANone of these
- BIntegration Apps
- CCloudHub Workers
- DRest API
45Where does a deployed flow designer application run in Anypoint Platform?
- ACloudHub worker
- BAPI Manager
- CDesign Center
- DExchange
46What is the minimum required configuration in a flow for a Mule application to compile?
- AAn event source
- BRAML file
- CAn event processor
- DLogger Component
47Where would you create SLA Tiers for an API?
- AExchange
- BAPI Manager
- CAnypoint MQ
- DWithin the API
48What DataWeave 2.0 type can be used as input to a map operation?
- AObject
- BArray
- CString
- DMap
49What MuleSoft product enables publishing, sharing, and searching of APIs?
- ARuntime Manager
- BExchange
- CAPI Notebook
- DAPI Designer
50What 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.
51What is the face of CloudHub and integrates with Platform Services?
- ANone of these
- BRuntime Manager Console
- CIntegration Apps
- DCloudHub Workers
52What 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.
53Anypoint MQ FIFO queues are limited to how many in flight messages per queue?
- A120000
- B10
- C100
- D1000
54A 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
55Refer to the exhibit.
The error occurs when a Mule project is imported into and run in Anypoint Studio. The Mule project has a dependency that is not in a MuleSoft Maven repository, but the Mule Project succesfully ran on the original computer where the Mule Project was developed.
What is the next step to fix the error to get the project to run successfully?- AAss the dependency to the MULE_HOME/bin folder
- BEdit the dependency in the Mule project’s pom.xml file
- CDeploy the dependency to MuleSoft’s Maven repository
- DInstall the dependency to the computer’s local Maven repository
56A 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
57A 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
58By 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
59Refer 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 transformFlow. 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 theResult. What is the payload at the Logger component after the HTTP Request?- AA non-empty Java object
- BThe original XML payload
- CThe returned JSON response
- Dnull
60What 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
61A 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)
- Bvar newProdCode(itemID: Number, productCategory: String) -> "PC-" ++ productCategory ++ (itemID as String)
- Cfun newProdCode(itemID: Number, productCategory: String) -> "PC-" ++ productCategory ++ (itemID as String)
- Dfunction newProdCode(itemID: Number, productCategory: String) = "PC-" ++ productCategory ++ (itemID as String)
62Refer to the exhibit.
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
63Refer to the exhibits.
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"#[
{
orderId: payload.oid,
customerName: payload.custId,
status: payload.status
}
]" - C"#[
inputParams: [
payload.oid,
payload.custId,
payload.status
]
]" - D"#[
[
payload.oid,
payload.custId,
payload.status
]
]"
- A"#[
64Refer to the exhibits.
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
65Refer to the exhibit.
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
66Refer to the exhibits.
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
67To 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
68Refer to the exhibits.
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]’
69Refer to the exhibit.
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}
70Refer to the exhibits.
A web client sends a POST request to the HTTP Listener and the Validation component in the Try scope throws an error. What response message is returned to the web client?- AValidation Error
- B'END''
- C''ERROR1''
- D''ERROR2''
71In a RAML specification, what attribute defines a query parameter to be optional for a resource?
- Arequired: false
- Boptional: true
- Cprovided: false
- Dmandatory: false
72Refer to the exhibits.
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
73A Mule application 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 should be done to or with the Mule application to preserve the current vCore usage while still allowing the Mule application to be managed by API Manager?
- AModify the Mule application to use autodiscovery to register with API Manager
- BDeploy the Mule application 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 Mule application in Runtime Manager to connect to API Manager
74Refer to the exhibit.
This RAML specification includes a resource and method to retrieve accounts by account_type and industry. What is the correct URI to get all retail finance accounts?- A/accounts?account_type:retail&industry:finance
- B/accounts/retail/finance
- C/accounts/account_type=retail/industry=finance
- D/accounts?account_type=retail&industry=finance
75Refer to the exhibits.
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. To 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]
76Refer to the exhibits.
The main flow contains an HTTP Request in the middle of the flow. The HTTP Listeners and HTTP Request use default configurations. A web client 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
77Refer to the exhibits.
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
78Refer to the exhibits.
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[
79Refer to the exhibits.
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"]
80Refer to the exhibit.
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"
81Refer to the exhibits.
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 should be set in the getFlights Flow to fix this error?- AA header in the Consume operation equal to the destination query parameter
- BA SOAP payload before the Consume operation that contains the destination query parameter
- CA property in the Consume operation equal to the destination query parameter
- DA JSON payload before the Consume operation that contains the destination query parameter
82An SLA-based policy has been enabled in API Manager. What should now be changed in the RAML specification and/or the API proxy to enforce the new SLA-based 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
83A client submits a GET request to a Mule 4 application to the endpoint /customers?id=48493. Where is the ID in the Mule event by the HTTP Listener?
- AInbound Properties
- BVariables
- CAttributes
- DPayload
84Refer to the exhibit.
What DataWeave expression transforms the conductorIds array to the XML output?- A{
trains: conductorIds map ( (engId, index) ->
train: {
engineerId: engId
}
)
)} - Btrains:
{(
conductorIds map ( (engId, index) ->
train: {
engineerId: engId
}
)
)} - C{(
trains: conductorIds map ( (engId, index) ->
train: {
engineerId: engId
}
)
)} - Dtrains:
conductorIds map ( (engId, index) ->
train: {
engineerId: engId
}
)
- A{
85Refer 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["Apple12", "Banana12"]
- D["Apple1", "Banana1", 2]
86Refer to the exhibits.
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" ) ]
87Refer to the exhibit.
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
88Refer to the exhibits.
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#%RAML 1.0
title: Books
Book: BookDataType.raml
/books:
post:
body:
application/json:
type: Book
examples:
input: BookExample.raml
responses:
201:
body:
application/json:
example:
message: Book added - B#%RAML 1.0
title: Books
Book: !include BookDataType.raml
/books:
post:
body:
application/json:
type: Book
examples:
input: !include BookExample.raml
responses:
201:
body:
application/json:
example:
message: Book added - C#%RAML 1.0
title: Books
types:
Book: ABC/DataTypes/BookDataType.raml
/books:
post:
body:
application/json:
type: Book
examples:
input: ABC/examples/BookExample.raml
responses:
201:
body:
application/json:
example:
message: Book added - D#%RAML 1.0
title: Books
types:
Book: !include BookDataType.raml
/books:
post:
body:
application/json:
type: Book
examples:
input: !include BookExample.raml
responses:
201:
body:
application/json:
example:
message: Book added
- A#%RAML 1.0
89Refer to the exhibits.
A web client sends a GET request to the HTTP Listener. What response message is returned to the web client?- A""
- B"End"
- C"Start"
- D"String is not blank"
90What asset can NOT be created using Anypoint Platform Design Center?
- AAPI Specifications
- BMule Applications
- CAPI Fragments
- DAPI Portals
91What message processor can set the HTTP response status code to 200?
- AVariable
- BSet Payload
- CProperty
- DRecord Variable
- EAttachment
92Refer to the exhibit.
How many private flows does APIkit generate from the RAML specification?- A1
- B2
- C3
- D5
93A Mule application properties file named training-DEV.properties has been defined. How is the properties file referenced in the Mule application?
- AIn an attribute in the main mule element
- BIn a Property Placeholder element
- CAs a -M-D placeholder when starting the Mule runtime
- DIn an attribute in the HTTP Listener element
94A development 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
95Refer to the exhibits.
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
96According to MuleSoft, what is the first step to create a Modern API for use in an application network?
- 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
97What is the format of documents exchanged in a SOAP request/response interaction?
- ARAML
- BJSON
- CWSDL
- DYAML
98A 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%dw 2.0
output application/json
import * from modules::MyModule
---
MyModule::formatString("annie point") - B%dw 2.0
output application/json
import * from modules.MyModule
---
MyModule.formatString("annie point") - C%dw 2.0
output application/json
import * from modules::MyModule
---
MyModule.formatString("annie point") - D%dw 2.0
output application/json
import * from modules.MyModule
---
formatString("annie point")
- A%dw 2.0
99What is the maximum number of Mule applications that can run in a Cloud Hub Worker?
- A1
- B2
- C4
- D8
100Refer to the exhibits.
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?- A“Error - private flow”
- B“Validation Error”
- C”Error – main flow”
- D“Success - main flow”
101Refer to the exhibits.
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]
102A 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
103In what file does the Mule project keep track of all of its dependencies?
- Amule-artifact.json
- BPom.xml
- Cmule-app.properties
- Dglobal.xml
104Refer to the exhibit.
What data is expected by the POST /accounts endpoint?- A<item>
<id>48292</id>
<name>Geordi La Forge</name>
<address>1 Forge Way, Midgard, CA 95928</address>
<customer_since>2014-01-04</customer_since>
<balance>4829.29</balance>
</item> - B<item>
<name>Geordi La Forge</name>
<address>1 Forge Way, Midgard, CA 95928</address>
<customer_since>2014-01-04</customer_since>
<balance>4829.29</balance>
<bank_agent_id>48SJT-282924-KL</bank_agent_id>
</item> - C{
"name": "Geordi La Forge",
"address": "1 Forge Way, Midgard, CA 95928",
"customer_since": "2014-01-04",
"balance": 4829.29,
"bank_agent_id": "48SJT-282924-KL"
} - D{
"id": "48292",
"name": "Geordi La Forge",
"address": "1 Forge Way, Midgard, CA 95928",
"customer_since": "2014-01-04",
"balance": 4829.29
}
- A<item>
105Refer to the exhibits.
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?- A"FILE:CONNECTIVITY"
- B"ORDER:NOT_CREATED"
- C"OTHER ERROR"
- D"File written"
106What statement is part of MuleSoft's description network?
- ACreate reusable APIs and assets designed to be consumed by other business units
- BCreate and manage high availability and fault tolerent services and infrastructure
- CCentral IT delivers complete point-to-point solutions with master data management
- DCreate and manage a collection of JMS messaging services and infrastructure
107Refer to the exhibits.
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( "addltem", { price: "100", item: "router", itemType: "cable" } )
- Blookup( "addltem", { payload: { price: "100", item: "router", itemType: "cable" } > )
- Caddltem( { payload: { price: "100", item: "router", itemType: "cable" > } )
- Daddltem( { price: "100", item: "router", itemType: "cable" } )
108Refer to the exhibits.
A JSON payload is set in the Set Payload transformer. What is logged by the Logger?- A"String"
- B"Object"
- C"Array"
- D"JSON"
109Refer to the exhibits.
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
110Refer to the exhibit.
What DataWeave expression transforms the example XML input to the CSV output?- Apayload.sale.*item map ( (value,index) -> {
index: index,
sale: value.@saleId,
itemName: value.desc,
itemPrice: (value.price) * (value.quantity),
item: value.@itemId
}) - Bpayload.sale.*item map ( (value,index) -> {
index: index,
sale: value.@saleId,
itemName: value.desc,
itemPrice: (value.price) * (value.quantity),
item: value.itemId
}) - Cpayload.sale.item map ( (value,index) -> {
index: index,
sale: value.@saleId,
itemName: value.desc,
itemPrice: (value.price) * (value.quantity),
item: value.@itemId
}) - Dpayload.sale.item map ( (value,index) -> {
index: index,
sale: value.saleId,
itemName: value.desc,
itemPrice: (value.price) * (value.quantity),
item: value.itemId
})
- Apayload.sale.*item map ( (value,index) -> {
111An inbound Database connector is configured to select rows from a MySQL database. What is the format of results returned from the database query?
- AJava
- BJSON
- CXML
- DCSV
112Refer to the exhibits.
The Mule application contains a Choice router. What is logged when the flow completes?- AUS
- B"REGION"
- CEU
- D["US", "EU"]
113A RAML example fragment named BankAccountsExample.raml is placed in the examples folder in an API specification project. What is the correct syntax for to reference the fragment?
- Aexample: !include BankAccountsExample.raml
- Bexample: #import BankAccountsExample.raml
- Cexample: !include examples/BankAccountsExample.raml
- Dexample: #import examples/BankAccountsExample.raml
114Determine which response message is allowed to pass back from the API backend service. What happens to the outbound properties of a Mule message after completing an outbound HTTP Request?
- ANew outbound properties are added from the HTTP response headers
- BPrevious outbound properties are passed through unchanged
- COutbound properties are replaced with all the previous inbound properties
- DAll previous outbound properties are removed
115Refer to the exhibits.
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
116Refer to the exhibit.
The Database Select operation returns five rows from a database. What is logged by the Logger component?- A"Array"
- B"Object"
- C"LinkedHashMap"
- D"CaseInsensitiveHashMap"
117A 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:
/deptId:
patch: - B/departments:
patch:
/deptId: - C/departments:
patch:
queryParameters:
deptId: - D/departments:
/{deptId}:
patch:
- A/departments:
118What is the purpose of the router element in APIkit?
- ARoutes requests to API implementations, but does not validate them against RAML API specifications
- BRoutes responses to the caller, but does not validate them against RAML API specifications
- CValidates requests against RAML API specifications and routes them to API implementations
- DValidates responses returned from API requests and routes them to the caller.
119What out-of-the-box policy can safeguard against Denial of Service type attacks?
- ARate limiting
- BThrottling
- CCross-origin resource sharing
- DLDAP security manager
120What file type is required to configure a Web Service Consumer to consume a SOAP web service?
- ARAML
- BWSDL
- CJSON
- DOAS
121Refer to the exhibit. The API specification supports searching for articles on the searchworld.org site. What is the most idiomatic (used for its intended purpose) URL and method to retrieve articles about "einstein" in XML format?
- Ahttps://www.searchworld.org/s/api.php?action=search&query=einstein&format=xml
(GET - AUTH) - Bhttps://www.searchworld.org/s/api.php?query=einstein&format=xml
(GET - AUTH) - Chttps://www.searchworld.org/s/api.php?action=search&query=einstein&format=xml
(GET) - Dhttps://www.searchworld.org/s/api.php?action=search&query=einstein&format=xml
(POST - AUTH)
- Ahttps://www.searchworld.org/s/api.php?action=search&query=einstein&format=xml
122Refer to the exhibit. What is the correct URL to submit a GET request to /patients?
- Ahttp://dev.acme.com/patients?year=2016
- Bhttp://dev.acme.com/api/patients
- Chttp://dev.acme.com/patients
- Dhttp://dev.acme.com/api/patients?year=2016
123Refer to the exhibit.
#%RAML 1.0
version: v1
title: American Flight API
/flights:
get:
/{flight_id}:
get:
This RAML file generates an error. What needs to be done to make this valid RAML?- ARemove the blank line on row 7
- BEnclose the {flight_id} resource in parentheses () instead of curly braces {}
- CIndent the get method under {flight_id} resource
- DOutdent the {flight_id} resource
124Refer to the exhibits. What is the syntax to define this datatype in RAML?
- Amusic: collection: Classic Rock artists: - Deep Purple - Rainbow
- Bmusic: collection: Classic Rock artists: Deep Purple Rainbow
- Cmusic: collection: Classic Rock artists: Deep Purple, Rainbow
- Dmusic: collection: Classic Rock artists: artist: Deep Purple artist: Rainbow
125What reserved property can be used in a Mule application to allow an HTTPS Listener to be accessed by external web clients after the Mule application is deployed to CloudHub?
- A${ssl.port}
- B${ssl.listener.port}
- C${https.listener.port}
- D${https.port}
126What port number is used to expose the domain URL of a Mule application deployed to CloudHub?
- A8081
- B81
- C80
- D8080
127What is NOT a role of an API proxy application running in a Mule runtime?
- ADetermine which request message is allowed to pass through to the API backend service
- BApply runtime policies to enforce governance
- CMeasure the traffic flowing through to the API backend service
- DDetermine which response message is allowed to pass back from the API backend service
128A web service implements an API to handle requests to http://acme.com/customers/{state}. A web client makes a request to this API implementation at http://acme.com/customers/CA. What is the correct DataWeave expression to retrieve the value CA?
- A#[message.payload.inboundProperties.'http.uri.params'.state]
- B#[attributes.uriParams.state]
- C#[attributes.'http.uri.params'.state]
- D#[message.inboundProperties.'http.uri.params'.state]
- E#[state]
129What is the correct MEL expression to retrieve the value CA?
- A#[message.payload.inboundProperties.'http.query.params'.state]
- B#[message.inboundProperties.'http.uri.params'.state]
- C#[message.payload.inboundProperties].
- D#[message.inboundProperties.state]
130What property of a Mule message is immutable?
- AAttachments
- BOutbound properties
- CSession variables
- DPayload
- EInbound properties
- FFlow variables
131A Mule application has two flows named parentFlow and childFow. A flow variable is defined in parentFlow. What is the scope of the flow variable when the parentFlow calls childFlow using a flow reference?
- AThe flow variable is accessible in childFlow but is immutable
- BThe flow variable is accessible in childFlow, can be changed, and changes are seen back in parentFlow
- CThe flow variable is NOT accessible in childFlow
- DThe flow variable is accessible in childFlow, can be changed, but changes are NOT seen back in parentFlow
132What is true for a Mule subflow?
- AIt can have its own exception strategy
- BIt is executed synchronously
- CAn external client can send messages directly to it
- DIt must be in the same configuration file as the parent flow
133What is the default processing strategy of a one-way flow?
- AQueued-asynchronous
- BSynchronous
- CNon-blocking
- DThread-per-processor
- EQueued-thread-per-processor
134What is required for two Mule applications to share data using a VM connector component?
- APut the Mule applications in the same Anypoint Platform environment
- BPut the Mule applications in the same Anypoint Platform business group
- CPut the Mule applications in the same non-default Mule domain
- DPut the Mule applications in the same default Mule domain
135A WSDL defines a conversionRate operation with an input message that requires two parts: fromCurrency and toCurrency. How are fromCurrency and toCurrency set in the flow in order to call the conversionRate operation using a Web Service Consumer component?
- AIn two flow variables
- BAs outbound properties
- CAs inbound properties
- DIn the message payload
- EAs attachments
136What is NOT a way to pass data to a RESTful web service in a flow using an outbound HTTP Request component?
- ASet URI parameters in the HTTP Request component
- BSet inbound properties before the HTTP Request component
- CSet query parameters in the HTTP Request component
- DSet outbound properties before the HTTP Request component
137An exception is caught by a choice exception strategy. How is the exception routed?
- ATo all exceptions whose conditions evaluate to true
- BTo the first exception strategy whose condition evaluates to true
- CTo the first exception strategy whose condition evaluates to true and to the default exception strategy
- DTo the first exception strategy whose condition evaluates to true and to the global exception strategy
138How is a default exception strategy set in a Mule application?
- AIn a configuration global element in any Mule configuration XML file
- BIn the mule-app.properties file
- CAs an attribute of one or more flow configuration elements in one or more Mule configuration XML files
- DAs an attribute of a global exception strategy
- EAs a JVM system environment variable
139How are conditions used in a Choice flow control?
- ATo find the first true condition, then routes the message to that and all subsequent target message processors.
- BTo select a set of target message processors to which to route the same message
- CTo find the first true condition, then routes the message to the matched Choice target message processor
- DTo select from the responses after routing the message to every Choice target message processor
140A Scatter-Gather flow control sends the inbound message to three separate HTTP re-quests. Each request returns a JSON object. What is the final output of the Scatter-Gather flow control?
- AAn array of JSON objects
- BAn array of array objects
- CAn object that contains JSON objects
- DThe last JSON object
141How is a data collection routed in a Scatter-Gather flow control?
- AThe entire message is sent to each route and processed sequentially
- BThe message is split and different pieces are routed and processed in parallel
- CThe message is split and different pieces are routed and processed sequentially
- DThe entire message is sent to each route and processed in parallel
142A Payload filter is configured to test for type java.lang.String. What happens when the filter is passed a message with the payload null?
- AThe Mule application stops
- BThe message is replayed from the start of the flow
- CThe message is passed to subsequent message processors
- DAll subsequent message processors are skipped
143What message processor will throw an exception if a message payload is not a number?
- AIs Number validator
- BIs Not Number validator
- CIs Number filter
- DIs Not Number filter
144A Mule flow has a JMS queue listener as the message source. Where can the next message processor access a JMS message's header?
- AOutbound property
- BInbound property
- CPayload
- DAttachment
- EFlow variable
145What part of a Mule flow can contain a Poll scope?
- AAsync scope
- BMessage source
- CFor Each scope
- DMessage Enricher scope
146How is a Poll scope's watermark accessed from a message processor in a flow?
- AIn a session variable
- BIn an outbound property
- CIn an inbound property
- DIn a flow variable
- EIn a header
147A File connector is configured to read files from a /mule/input directory. All other File connector settings are the default settings. What happens to a file after it is processed by the File connector?
- AThe file is moved to /mule/output
- BThe file is deleted from the input directory, but is not moved anywhere
- CThe file is moved to /tmp
- DThe file stays in the input directory
148What phase of a batch job using a Batch scope must contain at least one message processor?
- AInput
- BLoad and Dispatch
- CProcess Records
- DOn Complete
149A message payload is modified using a Message Enricher scope with an empty target. What is true about the message payload that leaves the Message Enricher scope?
- AThe payload is changed to the modified payload
- BThe modified payload is stored in a flow variable
- CThe modified payload is stored as an inbound property
- DThe payload returns to the original payload
- EThe modified payload is stored as an outbound property
150A Batch scope has three batch steps. A message processor in the second batch step throws an exception because the input data is incomplete. What is the default behavior after the exception is thrown?
- AContinues to the third batch step
- BStops processing the entire batch job
- CRetries the second batch step
- DRetries the first batch step
151What is the scope of a record variable in a Batch scope?
- AIn a single batch step, but not in the other batch steps
- BIn all batch steps, but not in the On Complete phase
- CIn the message source, each batch step, and the On Complete phase
- DIn all batch steps, and the On Complete phase
152An API has been created in Design Center. What is the next step to make the API discoverable?
- ADeploy the API to a Maven repository
- BEnable autodiscovery in API Manager
- CPublish the API from inside flow designer
- DPublish the API to Anypoint Exchange
153What is NOT part of a Mule 4 event?
- AMessage
- BPayload
- COutboundProperties
- DAttributes
154How does APIkit determine the number of flows to generate from a RAML specification?
- ACreates a separate flow for each resource
- BCreates a separate flow for each resource that contains child resources
- CCreates a separate flow for each HTTP method
- DCreates one flow for the entire API spec
- ECreates a separate flow for each response status code
155API Manager has been configured to enforce an SLA policy and the RAML spec has been updated with the required client_id and client_secret header requirements. The new RAML spec has been published to Anypoint Exchange. What is the next step to gain access to the API?
- APOST a JSON object to the /api/register endpoint of the API proxy
- BRequest access to the API in Anypoint Exchange
- CEmail the organization administrators to request access to the API
- DAdd a client application to the Anypoint Platform organization
156What happens to the attributes of a Mule event in a flow after an outbound HTTP Request is made?
- ANew attributes may be added from the HTTP response headers, but no headers are ever removed
- BPrevious attributes are passed unchanged
- CAttributes do not change
- DAttributes are replaced with new attributes from the HTTP Request response (which might be null)
157A Set Variable component saves the current payload to a variable with the name: images. What is the DataWeave expression to access the images variable?
- A#[payload.images]
- B#[images]
- C#[flowVars.images]
- D#[vars.images]
158A flow contains an HTTP Listener as the event source. 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: " + attributes.headers.'content-type']
- D#["Content-Type: " ++ headers.'content-type']
159A Mule application has two flows named parentFlow and childFlow. The childFlow begins with an HTTP Listener. A variable is defined in parentFlow, then an HTTP Request is made to childFlow's HTTP Listener with some headers set. What is the scope of the variable and attributes in the parentFlow after childFlow returns a response?
- AThe variable is accessible. All the attributes passed to childFlow are removed or replaced.
- BThe variable is NOT accessible. All the attributes passed to childFlow are removed or replaced.
- CThe variable is NOT accessible. All the attributes passed to childFlow are preserved.
- DThe variable is accessible. All the attributes passed to childFlow are preserved.
160A Mule application has a flow named parentFlow. The parentFlow contains an HTTP Re-quest operation at the end of the flow. The parentFlow also contains a Set Variable operation right before the HTTP Request operation. What is the scope of the variable to the ser-ver receiving the HTTP Request from parentFlow?
- AThe variable is accessible in the server but is immutable
- BThe variable is accessible in the server, can be changed, and changes are seen back in parentFlow
- CThe variable is NOT accessible in the server
- DThe variable is accessible in the server, can be changed, but changes are NOT seen back in parentFlow
161A Mule application has two flows named parentFlow and childFlow. A variable is defined in parentFlow. What is the scope of the variable when the parentFlow calls childFlow using a Flow Reference?
- AThe variable is accessible in childFlow but is immutable
- BThe variable is accessible in childFlow, can be changed, and changes are seen back in parentFlow
- CThe variable is NOT accessible in childFlow
- DThe variable is accessible in childFlow, can be changed, but changes are NOT seen back in parentFlow
162Refer to the exhibit. In the deployable archive's /classes folder, there are two properties files named dev.properties and prod.properties. The Mule application fails to deploy to CloudHub through Runtime Manager with the following error message. What could be causing this error?
- Aerror: ${env}.properties cannot be opened because it does not exist
- BThe property files were NOT saved at the root level of the deployable archive
- CThe env property is NOT set in the Runtime Manager in the Mule application's Pro-perties tab
- DA file named ${env}.properties is NOT included in the deployable archive file
- EThe dev.properties and prod.properties files were NOT uploaded to Runtime Manager
163Why must a Mule application's deployable archive package all its dependencies in order to be deployed to CloudHub?
- AThe online logging service requires access to ALL project dependencies to log the appropriate Java classes used in the Mule application
- BCloudHub workers CANNOT download ALL possible project dependencies a pro-ject may contain
- CCloudHub workers needs to compare the current dependencies with the LATEST project dependencies from the MuleSoft repository
- DMuleSoft support requires access to ALL project dependencies for future online troubleshooting
164What can ONLY be done with VM connectors, and NOT with Flow References, in a single Mule application?
- APreserve variables as the Mule event gets passed to another flow
- BAllow a flow to pass events to another flow synchronously
- CPreserve the original payload when the VM connector returns a response from a flow
- DAllow a flow to pass events to another flow asynchronously
165How are query parameters dynamically passed to an outbound REST request using an HTTP Request operation?
- AAs query parameters in the HTTP Request operation
- BAs URI parameters in the HTTP Request operation
- CIn the Mule event's payload
- DAs flow variables
- EAs attributes in a Transform Message component before the HTTP Request operation
- FAs attributes in the HTTP Listener operation
166Refer to the exhibit. The flow calls a SOAP endpoint using the Consume operation of the Web Service Consumer. The SOAP service has a required input parameter. What event processor can be used to build the SOAP envelope with the required argument to pass to the SOAP service?
- ASet Property
- BBuild SOAP
- CTransform Message
- DJSON to XML
- ESet Attachment
167An HTTP Request operation returns a JSON array of objects. In the Transform Message component, what is the process to convert the array of objects to an array of custom Java Account objects?
- AAdd the Account object metadata to the output and use the drag-and-drop feature to transform the incoming JSON data
- BChange the output type to the Java Account object type
- CAdd the Account object metadata to the input and the Transform Message
component will automatically convert the JSON objects to Account objects - DChange the input type to the Java Account object type
168What is the process to create a connector using REST Connect?
- ADevelop the API in flow designer and publish the API to Exchange
- BDesign the API in Anypoint Studio and upload the API to Runtime Manager
- CDesign the API in Design Center and publish the API to Exchange
- DDevelop the API in Anypoint Studio and export the connector as a jar file
169An event contains a payload that is an nothing needs. How is the event routed in a Scatter-Gather?
- AThe ENTIRE event is sent to each route and processed SEQUENTIALLY
- BThe event is SPLIT and different SMALLER events are routed and processed in PARALLEL
- CThe event is SPLIT and different SMALLER events are routed and processed SEQUENTIALLY
- DThe ENTIRE event is sent to each route and processed in PARALLEL
170Refer to the exhibits. What happens to this flow when the Validation module's Is not null operator throws an error?
- AThe flow silently stops processing its Mule event
- BThe flow stops processing its Mule event and returns an error message to the HTTP Listener operation
- CThe flow logs the error message in the console and continues processing its Mule event
- DThe flow continues processing its Mule event and appends the error message to the end of the payload
171On error continue/consume
- AThe last message of the payload will continue to be used through the error catch
- BN/A
172On error propagate
- AThe last payload message is not used, the current message after error is used
- BN/A
173On error propagate inside of a private flow uses what error message
- AThe global one
- BN/A
174How can an error scope be configured to catch all errors in the HTTP namespace?
- AType: HTTP When:
- BType: HTTP* When:
- CType: When: #[ error.errorType.namespace == "HTTP" ]
- DType: When: #[ contains "HTTP" ]
175What is the correct way to format the decimal 20.3844 as a string to two decimal places?
- A20.3844 as String ({format: ".0#"})
- B20.3844 {format: ".0#" as String}
- C20.3844 as String {format: ".0#"}
- D20.3844 format (String: ".0#")
176Refer to the exhibit. An event payload contains an unordered array of flight objects, where every object has a price key and a toAirport key. What is valid DataWeave code to return flights with price under 500, grouped by toAirport in ascending order, with the lowest price first?
- Apayload groupBy $.toAirport filter $.price < 500 orderBy $.price
- Bpayload groupBy $.toAirport filter $.price > 500 orderBy $.price
- Cpayload filter $.price < 500 orderBy $.price groupBy $.toAirport
- Dpayload filter $.price > 500 orderBy $.price groupBy $.toAirport
177A Mule application has a main flow and a combineNames flow. In the main flow, a varia-ble named fullName is set to the object {firstName: "Max", lastName: "Mule"}. What is valid DataWeave code to call the combineNames flow with the input object stored in the fullName variable?
- A#[ dw::Flow::lookup( "combineNames", vars.fullName ) ]
- B#[ dw::Runtime::lookup( "combineNames", vars.fullName ) ]
- C#[ lookup( "combineNames", vars.fullName ) ]
- D#[ combineNames( vars.fullName ) ]
- E#[ lookup( combineNames( vars.fullName ) ) ]
178What is NOT part of a Mule 3 message?
- APayload
- BInbound properties
- COutbound properties
- DVariables
- EAttachments
179A Flow Reference component sends a non-empty JSON object payload to another flow named childFlow, which then returns an XML body. A Flow Reference component saves the payload returned from childFlow to its target attribute named payload. Refer to the ex-hibit. What is true about the Mule event's payload at the next event processor after the Flow Reference component?
- AThe payload is the XML response body
- BThe payload is a non-empty Java object
- CThe payload is the original JSON object
- DThe payload is null
180A database table contains a recordID column that increases as new records get added to the table. A Mule application is created to read from this database table.
What is the key process to enable manual watermarking for requests to this database using the Scheduler endpoint and a Database Select operation?- ASave the max recordID from the set of recordIDs in an ObjectStore and reference this recordID in subsequent database requests
- BEnable automatic watermarking in the Database Select operation
- CSet the Watermark column in the Scheduler endpoint to the recordID
- DSave the max recordID from the set of recordIDs in a variable and reference this variable in subsequent database requests
181What does an API proxy application NOT do?
- ADetermine which request Mule event is allowed to pass through to the API backend service
- BApply runtime policies to enforce governance
- CDetermine which response Mule event is allowed to pass through to the API backend service
- DMeters the traffic flowing through the proxy
182A flow contains a Database Select operation followed by an HTTP Request operation. The Flow must combine and return data received from these two connector operations.
What is a valid and idiomatic (used for it’s intended purpose) way to capture both payloads so the payload output from the second HTTP Request operation does not overwrite the payload output from the first Database Select operation?- APut the Database Select operation in a Try scope configured with a transaction.
- BSave the payload from the Database Select operation to a variable.
- CSet the combinedPayloads attribute to true in the Database Select operation configuration.
- DPut the Database Select operation inside a Cache scope
183Refer to the exhibit. What is the correct DataWeave expression for accessing the city Cleveland from JSON payload?
[
{
"orderID": 592,
"shipping": "international",
"city": Tokyo,
"price": 5922345
},
{
"orderID": 678,
"shipping": "domestic",
"city": Cleveland,
"price": 5123456
},
{
"orderID": 253,
"shipping": "international",
"city": Berlin,
"price": 57654543
},- A#[payload[2].city]
- B#[payload[1].city]
- C#[payload.city[1]]
- D#[payload.city[2]]
184A Mule application contains two HTTP Listeners, each configured for different API endpoints: http://trainingdemo.com/apis/orders and http://trainingdemo.com/apis/customers. What base path value should be set in an HTTP Listener config element so that it can be used to receive requests for both the API endpoints mentioned above?
- A/apis/
- B/apis/?
- C/apis/orders|customers
- D/apis/*
185Refer to the exhibit. DataWeave code needs to be written to transform the input payload to the output payload. What is valid DataWeave code to perform this transformation?
- A%dw 2.0
output application/xml
---
employees:
employee
@(
firstName: payload[0].employee1.firstName[0],
lastName: payload[0].employee1.firstName[0]
) : null - B%dw 2.0
output application/xml
---
employees:
employee
(
firstName: payload[0].employee1.firstName[0],
lastName: payload[0].employee1.firstName[0]
) : "" - C%dw 2.0
output application/xml
---
employees:
employee
@(
firstName: payload[0].employee1.firstName[0],
lastName: payload[0].employee1.firstName[0]
) : null - D%dw 2.0
output application/xml
---
employees:
employee
(
firstName: payload[0].employee1.firstName[0],
lastName: payload[0].employee1.firstName[0]
) : ""
- A%dw 2.0
186A RAML specification is defined to manage customers with a unique identifier for each customer record.
What URI does MuleSoft recommend to uniquely Access the customer identified with the unique ID 1234?- A/customers/1234
- B/customers?operation=get&custid=1234
- C/customers/custid=1234
- D/customers?custid=true&custid=1234
187Refer to the exhibit. A shopping API contains a method to look up store details by department. According to this RAML specification, what is a valid URL for a web client to submit a GET request for etails about the pharmacy department at the store with storeID 23?
- A/stores/${23}?store_id=23&department=”pharmacy”
- B/stores/23?store_id=23&department="pharmacy”
- C/stores/{23}?store_id=23&department=”pharmacy”
- D/stores/${23}/store_id=23&department=”pharmacy”
188An HTTP Request operation sends an HTTP Request with a non-empty JSON-formatted object payload to an external HTTP endpoint. The respons from the external HTTP endpoint returns an XML-formatted body. The result is stores in a target named theResult.
What is the format of the payload that is input to the next event processor after the HTTP Request?- Aapplication/xml
- Bapplication/dw
- Capplication/json
- Dapplication/java
189Following 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
- BExperience layer
- CData layer
- DSystem layer
190Refer to the exhibits. The validation component in the Try scope block throws an error. What response message is returned to a client request sent to the main flow's HTTP Listener?

- AValidation Error
- BError - Try Scope
- CError - main flow
- DSuccess - main flow
191Refer to the exhibits. The main flow contains an HTTP Request in the middle of the flow. The HTTP Listeners and HTTP Request use default configurations. What values are accessible to the Logger at the end of the main flow after a web client submits the request to http://localhost:8080/order?color=red?

- Apayload
- Bpayload quantity var
- Cpayload color query param
- Dpayload quantity var color query param
Información
- Descripción
- Digital Technologies Test sobre MuleSoft Certified Developer - Level 1 (Mule 4), creado por Laura Sánchez el 13/12/2021.
- Autor
- Laura Sánchez
- Idioma
- English
- Visitas
- 5.384
- Etiquetas
- Valoración
- 1,0 de 5 · 1 valoración Valora este test