MuleSoft Certified Developer - Level 1 (Mule 4)

Beschreibung

Digital Technologies Quiz am MuleSoft Certified Developer - Level 1 (Mule 4), erstellt von Laura Sánchez am 13/12/2021.
Laura Sánchez
Quiz von Laura Sánchez, aktualisiert more than 1 year ago
Laura Sánchez
Erstellt von Laura Sánchez vor fast 3 Jahre
4969
0

Zusammenfassung der Ressource

Frage 1

Frage
How would you debug Mule applications?
Antworten
  • Using breakpoints
  • Checking RAML
  • By Deploying apps on production
  • Cannot do it

Frage 2

Frage
What does to the attributes of a Mule event happen in a flow after an outbound HTTP Request is made?
Antworten
  • Attributes do not change.
  • Previous attributes are passed unchanged.
  • Attributes are replaced with new attributes from the HTTP Request response.
  • New attributes may be added from the HTTP response headers, but no headers are ever removed.

Frage 3

Frage
The new RAML spec has been published to Anypoint Exchange with client credentials. What is the next step to gain access to the API?
Antworten
  • Email the owners of the API.
  • Create a new client application.
  • No additional steps needed.
  • Request access to the API in Anypoint Exchange.

Frage 4

Frage
What is the difference between a subflow and a sync flow?
Antworten
  • Sync flow has no error handling of its own and subflow does.
  • Subflow has no error handling of its own and sync flow does.
  • Subflow is synchronous and sync flow is asynchronous.
  • No difference.

Frage 5

Frage
What is not an asset?
Antworten
  • Exchange
  • Template
  • Example
  • Connector

Frage 6

Frage
How to import Core (dw::Core) module into your DataWeave scripts?
Antworten
  • import dw::core
  • Not needed
  • None of these
  • import core

Frage 7

Frage
What is the value of the stepVar variable after the processing of records in a Batch Job?
Antworten
  • -1
  • 0
  • Null
  • Last value from flow

Frage 8

Frage
Refer to the exhibit. What is the object type returned by the File List operation?
Antworten
  • Object of String file names
  • Array of String file names
  • Object of Mule event objects
  • Array of Mule event objects

Frage 9

Frage
Where are values of query parameters stored in the Mule event by the HTTP Listener?
Antworten
  • Payload
  • Attributes
  • Inbound Properties
  • Variables

Frage 10

Frage
DataWeave is tightly integrated with ____________.
Antworten
  • Mule runtime
  • All APIs
  • Flow Designer
  • Exchange

Frage 11

Frage
In the Database On Table Row operation, what does the Watermark column enable the On Table Row operation to do?
Antworten
  • To save the most recent records retrieved from a database to enable database caching.
  • To enable duplicate processing of records in a database.
  • To avoid duplicate processing of records in a database.
  • To delete the most recent records retrieved from a database to enable database caching.

Frage 12

Frage
What is the correct way to format the decimal 200.1234 as a string to two decimal places?
Antworten
  • 200.1234 as string {format: ".0#"}
  • 200.1234 as string as format: ".0#"
  • 200.1234 as String {format: ".0#"}
  • 200.1234 as String as format: ".0#"

Frage 13

Frage
How is policy defined in terms of classloader of an API?
Antworten
  • Classloader isolation does not exist between the application, the runtime and connectors, and policies.
  • Classloader isolation exists between the application, the runtime and connectors, and policies.
  • None of these.
  • Classloader isolation partially exists between the application, the runtime and connectors, and policies.

Frage 14

Frage
According to Mulesoft, how are Modern APIs treated as?
Antworten
  • Products
  • Code
  • SOAP services
  • Organizations

Frage 15

Frage
According to Semantic Versioning, which version would you change for incompatible API changes?
Antworten
  • MINOR
  • PATCH
  • MAJOR
  • No change

Frage 16

Frage
What is the use of DevKit in Mule 4?
Antworten
  • Facilitates communication between third-party systems and Mule applications.
  • No use.
  • Offers connector end user support in a few aspects of Mule app design.
  • Enables the development of Anypoint Connectors.

Frage 17

Frage
A 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?
Antworten
  • An Object containing three Mule event Objects.
  • An Array of three Mule event Objects.
  • An Object containing three JSON payload Objects.
  • An array of three JSON payload Objects.

Frage 18

Frage
What are the latest specification of RAML available?
Antworten
  • 0.8
  • 1
  • 2
  • 1.8

Frage 19

Frage
http://dev.acme.com/api/patients?year=2021 What should this endpoint return?
Antworten
  • Patient with id 2021
  • All patients
  • No patients
  • Patients from year 2021

Frage 20

Frage
According to MuleSoft, what is the Center for Enablement's role in the new IT operating model?
Antworten
  • Implements line of business projects to enforce common security requirements.
  • Centrally manages partners and consultants to implement line of business projects.
  • Produces and manages API policies for line of business deployments
  • Creates and manages discoverable assets to be consumed by line of business developers.

Frage 21

Frage
Which one of them is NOT a flow in Mule?
Antworten
  • Sync flow
  • Subflow
  • Async flow
  • Async sub flow

Frage 22

Frage
How are multiple conditions used in a Choice router to route events?
Antworten
  • To route the same event to the matched route of EVERY true condition.
  • None of these.
  • To find the FIRST true condition, then distribute the event to the ONE matched route.
  • To find the FIRST true condition, then route the same event to the matched route and ALL FOLLOWING routes.

Frage 23

Frage
What asset can NOT be created by using Design Center?
Antworten
  • API
  • API Portals
  • Mule Apps
  • API Fragments

Frage 24

Frage
A flow has a JMS Publish consume operation followed by a JMS Publish operation. Both of these operations have the default configurations. Which operation is asynchronous and which one is synchronous?
Antworten
  • Publish consume: Synchronous. Publish: Asynchronous.
  • Publish consume: Asynchronous. Publish: Synchronous.
  • Publish consume: Asynchronous. Publish: Asynchronous.
  • Publish consume: Synchronous. Publish: Synchronous.

Frage 25

Frage
What is the use of API Notebooks?
Antworten
  • None of these
  • Test Policies
  • Test API functions
  • Test RAML

Frage 26

Frage
What is the DataWeave expression to log the Content-Type header using a Logger component?
Antworten
  • #["Content-Type: " ++ attributes.headers.'content-type']
  • #["Content-Type: " ++ headers.'content-type']
  • #["Content-Type: " + headers.'content-type']
  • #["Content-Type: " + attributes.headers.'content-type']

Frage 27

Frage
What is the trait name you would use for specifying client credentials in RAML?
Antworten
  • headers
  • client-id
  • client-id-required
  • we do not specify in RAML

Frage 28

Frage
What is the purpose of API autodiscovery?
Antworten
  • Enables API Manager to discover the published API on Anypoint Exchange.
  • Allows a deployed Mule application to connect with API Manager to download policies and act as its own API proxy.
  • Enables an API to be directly managed in API Manager.
  • Allows the Mule application to be automatically discovered on Anypoint Exchange.

Frage 29

Frage
What is NOT part of a Mule 4 event?
Antworten
  • Attributes
  • Payload
  • inboundProperties
  • Message

Frage 30

Frage
What is the main purpose of flow designer in Design Center?
Antworten
  • To design and develop fully functional Mule applications in a hosted development environment.
  • To design API RAML files in a graphical way.
  • To design and mock Mule application templates that must be implemented using Anypoint Studio.
  • To define API lifecycle management in a graphical way.

Frage 31

Frage
What DataWeave 2.0 type can be used as input to a mapObject operation?
Antworten
  • Array
  • Object
  • String
  • Map

Frage 32

Frage
Why would you use SOAP instead of HTTP?
Antworten
  • If the architecture mandates.
  • It is up to the integration specialist.
  • Successful/retry logic for reliable messaging functionality.
  • It is part of agile methodology.

Frage 33

Frage
What does the Mule runtime use to enforce policies and limit access to APIs?
Antworten
  • API Manager
  • The proxy created by API Manager
  • The Mule runtime's embedded API Gateway
  • Anypoint Access Control

Frage 34

Frage
Which keyword do you use to create a new function in DataWeave?
Antworten
  • function
  • fun
  • func
  • None of these

Frage 35

Frage
What are the features of CloudHub Fabric?
Antworten
  • Non-persistent queue
  • Horizontal Scaling
  • VPN Mock Services
  • None of these

Frage 36

Frage
How many Mule applications can run on a CloudHub worker?
Antworten
  • At most one
  • None of these
  • Depends
  • At least one

Frage 37

Frage
What is the purpose of the api:router element in APIkit?
Antworten
  • Serves as an API implementation.
  • Validates requests against RAML API specifications and routes them to API implementations.
  • Creates native connectors using a 3rd party Java library.
  • Validates responses returned from API requests and routes them back to the caller.

Frage 38

Frage
When 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?
Antworten
  • GET
  • PATCH
  • POST
  • PUT

Frage 39

Frage
What module and operation will throw an error if a Mule event's payload is not a number?
Antworten
  • Validation module's Is number operation
  • Filter module's Is number operation
  • None of these
  • Validation module's Is not a number operation

Frage 40

Frage
A Set Variable component saves the current payload to a variable. What is the DataWeave parent expression to access the variable?
Antworten
  • #[value]
  • #[vars]
  • #[var]
  • #[values]

Frage 41

Frage
A 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?
Antworten
  • The Batch Job scope stops processing all records
  • The second Batch Step scope is retried with the same data
  • All existing in-flight records are discardeed, but new records are still passed to the first Batch Step scope and processed.
  • The second Batch Step scope’s error is reversed and the repaired records are passed to the third Batch Step scpoe for processing.

Frage 42

Frage
What does the minus operator do in DataWeave?
Antworten
  • Decrements the value by one.
  • Removes items from a list.
  • Increments the value by one.
  • Removes characters from a string.

Frage 43

Frage
What MuleSoft API-led connectivity layer is intended to expose part of a backend database without business logic?
Antworten
  • Data layer
  • System layer
  • Process layer
  • Experience layer

Frage 44

Frage
How does Runtime Manager Console connect with App Data and Logs of a Mule app?
Antworten
  • None of these
  • Integration Apps
  • CloudHub Workers
  • Rest API

Frage 45

Frage
Where does a deployed flow designer application run in Anypoint Platform?
Antworten
  • CloudHub worker
  • API Manager
  • Design Center
  • Exchange

Frage 46

Frage
What is the minimum required configuration in a flow for a Mule application to compile?
Antworten
  • An event source
  • RAML file
  • An event processor
  • Logger Component

Frage 47

Frage
Where would you create SLA Tiers for an API?
Antworten
  • Exchange
  • API Manager
  • Anypoint MQ
  • Within the API

Frage 48

Frage
What DataWeave 2.0 type can be used as input to a map operation?
Antworten
  • Object
  • Array
  • String
  • Map

Frage 49

Frage
What MuleSoft product enables publishing, sharing, and searching of APIs?
Antworten
  • Runtime Manager
  • Exchange
  • API Notebook
  • API Designer

Frage 50

Frage
What does the zip operator do in DataWeave?
Antworten
  • Minifies the size of value using encoding.
  • None of these.
  • Merges elements of two objects into a single object.
  • Merges elements of two lists (arrays) into a single list.

Frage 51

Frage
What is the face of CloudHub and integrates with Platform Services?
Antworten
  • None of these
  • Runtime Manager Console
  • Integration Apps
  • CloudHub Workers

Frage 52

Frage
What is a core characteristic of the Modern API?
Antworten
  • API is rapidly prototyped following AGILE methodology.
  • API follows the RESTful architecture.
  • API is designed first using an API specification for rapid feedback.
  • API has a mechanism to accept feedback and suggestions for improvement.

Frage 53

Frage
Anypoint MQ FIFO queues are limited to how many in flight messages per queue?
Antworten
  • 120000
  • 10
  • 100
  • 1000

Frage 54

Frage
A Database On Table Row listener retrieves data from a CUSTOMER table that contains a primary key user_id column and an increasing login_date_time column. Neither column allows duplicate values. How should the listener be configured so it retrieves each row at most one time?
Antworten
  • Set the watermark column to the login_date_time column
  • Set the target value to the last retrieved login_date_time value
  • Set the target value to the last retrieved user_id value
  • Set the watermark column to the user_id column

Frage 55

Frage
Refer 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?
Antworten
  • Ass the dependency to the MULE_HOME/bin folder
  • Edit the dependency in the Mule project’s pom.xml file
  • Deploy the dependency to MuleSoft’s Maven repository
  • Install the dependency to the computer’s local Maven repository

Frage 56

Frage
A company has an API to manage purchase orders, with each record identified by a unique purchase order ID. The API was built with RAML according to MuleSoft best practices. What URI should a web client use to request order PO5555?
Antworten
  • /orders/{PO5555}
  • /orders/order=PO5555
  • /orders?order=PO5555
  • /orders/PO5555

Frage 57

Frage
A web client sends a request to http://localhost:8081?dept=sales. What is the correct DataWeave expression to access the value of dept?
Antworten
  • attributes.queryParams.dept
  • attributes.dept
  • message.queryParams.dept
  • vars.dept

Frage 58

Frage
By default, what happens to a file after it is read using an FTP connector Read operation?
Antworten
  • The file is moved to a different folder
  • The file stays in the same folder unchanged
  • The file is renamed in the same folder
  • The file is deleted from the folder

Frage 59

Frage
Refer to the exhibits. In the requestFlow an HTTP Request operation is configured to send an HTTP request with an XML payload. The request is sent to the HTTP Listener in the 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?
Antworten
  • A non-empty Java object
  • The original XML payload
  • The returned JSON response
  • null

Frage 60

Frage
What execution model is used by For Each and Batch Job scopes?
Antworten
  • Both are multi-threaded
  • Both are single-threaded
  • Batch Job is single-threaded and For Each is multi-threaded
  • For each is single-threaded and Batch Job is multi-threaded

Frage 61

Frage
A function named newProdCode needs to be defined that accepts two input parameters, an integer value for ItemID and a string value for productCategory, and returns a new product code. What is the correct DataWeave code to define the newProdCode function?
Antworten
  • fun newProdCode(itemID: Number, productCategory: String) = "PC?" ++ productCategory ++ (itemID as String)
  • var newProdCode(itemID: Number, productCategory: String) -> "PC-" ++ productCategory ++ (itemID as String)
  • fun newProdCode(itemID: Number, productCategory: String) -> "PC-" ++ productCategory ++ (itemID as String)
  • function newProdCode(itemID: Number, productCategory: String) = "PC-" ++ productCategory ++ (itemID as String)

Frage 62

Frage
Refer to the exhibit. What can be added to the flow to persist data across different flow executions?
Antworten
  • Properties of the Mule runtime app object
  • Key-value pairs in the ObjectStore
  • Session variables
  • Properties of the Mule runtime flow object

Frage 63

Frage
Refer 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?
Antworten
  • "#[ { oid: payload.oid, custId: payload.custId, status: payload.status } ]"
  • "#[ { orderId: payload.oid, customerName: payload.custId, status: payload.status } ]"
  • "#[ inputParams: [ payload.oid, payload.custId, payload.status ] ]"
  • "#[ [ payload.oid, payload.custId, payload.status ] ]"

Frage 64

Frage
Refer 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?
Antworten
  • payload
  • payload modelName query param
  • payload planeModel var
  • payload modelName query param planeModel var

Frage 65

Frage
Refer 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?
Antworten
  • 0
  • 1
  • 5
  • 6

Frage 66

Frage
Refer 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?
Antworten
  • 1
  • 2
  • 3
  • 4

Frage 67

Frage
To avoid hard-coding values, a flow uses some property placeholders and the corresponding values are stored in a configuration file. Where does the configuration file's location need to be specified in the Mule application?
Antworten
  • A global element
  • The mule-artifact.json file
  • A flow attribute
  • The pom.xml file

Frage 68

Frage
Refer 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?
Antworten
  • ‘The year is #[payload.year]’
  • ‘#[The year is $(payload.year)]’
  • ‘#[‘The year is ++ payload.year’]’
  • ‘#[‘The year is ‘ + payload.year]’

Frage 69

Frage
Refer to the exhibit. What is the correct syntax to add a customer ID as a URI parameter in an HTTP Listener path?
Antworten
  • (customerID)
  • #[customerID]
  • {customerID}
  • ${customerID}

Frage 70

Frage
Refer 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?
Antworten
  • Validation Error
  • 'END''
  • ''ERROR1''
  • ''ERROR2''

Frage 71

Frage
In a RAML specification, what attribute defines a query parameter to be optional for a resource?
Antworten
  • required: false
  • optional: true
  • provided: false
  • mandatory: false

Frage 72

Frage
Refer 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?
Antworten
  • Hello-HTTP-JMS2-Three
  • HTTP-JMS2-Three
  • Hello-JMS1-HTTP-JMS2-Three
  • Hello-HTTP-Three

Frage 73

Frage
A 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?
Antworten
  • Modify the Mule application to use autodiscovery to register with API Manager
  • Deploy the Mule application behind a VPC and configure the VPC to connect to API Manager
  • Upload the Mule application’s JAR file to the API instance in API Manager
  • Register the same Mule application in Runtime Manager to connect to API Manager

Frage 74

Frage
Refer 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?
Antworten
  • /accounts?account_type:retail&industry:finance
  • /accounts/retail/finance
  • /accounts/account_type=retail/industry=finance
  • /accounts?account_type=retail&industry=finance

Frage 75

Frage
Refer 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?
Antworten
  • ${training:host}
  • #[training:host]
  • ${training.host}
  • #[training.host]

Frage 76

Frage
Refer 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?
Antworten
  • payload
  • payload pedigree query params
  • payload producer var
  • payload pedigree query params producer var

Frage 77

Frage
Refer 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?
Antworten
  • Set a request header with the name Content-Type to a value of application/octet-stream
  • Set a request header with the name Content-Type to a value of application/xml
  • Set a response header with the name Content-Type to a value of application/xml
  • Set a response header with the name Content-Type to a value of application/octet-stream

Frage 78

Frage
Refer 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?
Antworten
  • [ { "attributes": ..., "payload": "100" }, { "attributes": ..., "payload": "200" } ]
  • { "0": "100", "1": "200" }
  • ["100", "200"]
  • { "0": { "attributes": ..., "payload": "100" }, "1": { "attributes": ..., "payload": "200" } }

Frage 79

Frage
Refer 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?
Antworten
  • [["A", "C", "D"], ["E"]]
  • [''E'']
  • [''D", "E"]
  • ["A", "C, "D", "E"]

Frage 80

Frage
Refer 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?
Antworten
  • 0
  • "Processing"
  • "Start"
  • "Complete"

Frage 81

Frage
Refer 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?
Antworten
  • A header in the Consume operation equal to the destination query parameter
  • A SOAP payload before the Consume operation that contains the destination query parameter
  • A property in the Consume operation equal to the destination query parameter
  • A JSON payload before the Consume operation that contains the destination query parameter

Frage 82

Frage
An 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?
Antworten
  • Restart the API proxy to clear the API policy cache
  • Add new property placeholders and redeploy the API proxy
  • Add required headers to the RAML specification and redeploy the new API proxy
  • Add new environment variables and restart the API proxy

Frage 83

Frage
A 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?
Antworten
  • Inbound Properties
  • Variables
  • Attributes
  • Payload

Frage 84

Frage
Refer to the exhibit. What DataWeave expression transforms the conductorIds array to the XML output?
Antworten
  • { trains: conductorIds map ( (engId, index) -> train: { engineerId: engId } ) )}
  • trains: {( conductorIds map ( (engId, index) -> train: { engineerId: engId } ) )}
  • {( trains: conductorIds map ( (engId, index) -> train: { engineerId: engId } ) )}
  • trains: conductorIds map ( (engId, index) -> train: { engineerId: engId } )

Frage 85

Frage
Refer to the exhibit. The input array of strings is passed to the batch job, which does NOT do any filtering or aggregating. What payload is logged by the Logger component?
Antworten
  • Summary report of processed records
  • ["Apple", "Banana"]
  • ["Apple12", "Banana12"]
  • ["Apple1", "Banana1", 2]

Frage 86

Frage
Refer 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?
Antworten
  • #[ ‘MuleSoft’ == payload.’company’ ]
  • #[ if ( ‘MuleSoft’ == payload.company ) ]
  • #[ company = "MuleSoft" ]
  • #[ if( company = "MuleSoft" ) ]

Frage 87

Frage
Refer to the exhibit. A Mule event is composed of a hierarchy of objects. Where in the hierarchy are variables stored?
Antworten
  • Mule message attributes
  • Mule message
  • Mule message payload
  • Mule event

Frage 88

Frage
Refer 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?
Antworten
  • #%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
  • #%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
  • #%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
  • #%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

Frage 89

Frage
Refer to the exhibits. A web client sends a GET request to the HTTP Listener. What response message is returned to the web client?
Antworten
  • ""
  • "End"
  • "Start"
  • "String is not blank"

Frage 90

Frage
What asset can NOT be created using Anypoint Platform Design Center?
Antworten
  • API Specifications
  • Mule Applications
  • API Fragments
  • API Portals

Frage 91

Frage
What message processor can set the HTTP response status code to 200?
Antworten
  • Variable
  • Set Payload
  • Property
  • Record Variable
  • Attachment

Frage 92

Frage
Refer to the exhibit. How many private flows does APIkit generate from the RAML specification?
Antworten
  • 1
  • 2
  • 3
  • 5

Frage 93

Frage
A Mule application properties file named training-DEV.properties has been defined. How is the properties file referenced in the Mule application?
Antworten
  • In an attribute in the main mule element
  • In a Property Placeholder element
  • As a -M-D placeholder when starting the Mule runtime
  • In an attribute in the HTTP Listener element

Frage 94

Frage
A 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?
Antworten
  • Center for Enablement
  • Center of Excellence
  • Central API Review Board
  • MuleSoft Support Center

Frage 95

Frage
Refer 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.
Antworten
  • Response body: "START" Default response status code: 200
  • Response body: "ERROR1" Default response status code: 200
  • Response body: "END" Default response status code: 200
  • Error response body: error.description Default error response status code: 500

Frage 96

Frage
According to MuleSoft, what is the first step to create a Modern API for use in an application network?
Antworten
  • Performance tune and optimize the backend systems and network
  • Create an API specification and get feedback from stakeholders
  • Create a prototype of the API implementation
  • Gather a list of requirements to secure the API

Frage 97

Frage
What is the format of documents exchanged in a SOAP request/response interaction?
Antworten
  • RAML
  • JSON
  • WSDL
  • YAML

Frage 98

Frage
A Mule project contains a DataWeave module called MyModule.dwl that defines a function named formatString. The module is located in the project's src/main/ resources/modules folder. What is the correct way in DataWeave code to import MyModule using a wildcard and then call the module's formatString function?
Antworten
  • %dw 2.0 output application/json import * from modules::MyModule --- MyModule::formatString("annie point")
  • %dw 2.0 output application/json import * from modules.MyModule --- MyModule.formatString("annie point")
  • %dw 2.0 output application/json import * from modules::MyModule --- MyModule.formatString("annie point")
  • %dw 2.0 output application/json import * from modules.MyModule --- formatString("annie point")

Frage 99

Frage
What is the maximum number of Mule applications that can run in a Cloud Hub Worker?
Antworten
  • 1
  • 2
  • 4
  • 8

Frage 100

Frage
Refer 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?
Antworten
  • “Error - private flow”
  • “Validation Error”
  • ”Error – main flow”
  • “Success - main flow”

Frage 101

Frage
Refer to the exhibits. What payload and quantity are logged at the end of the main flow?
Antworten
  • [[order1, order2, order3, order4], 14]
  • [[1,2,3,4], 10]
  • [[1,2,3,4], 14]
  • [order1order2order3order4, 14]

Frage 102

Frage
A web client submits a request to http://localhost:8081/books/0471767840. The value “0471767840” is captured by a Set Variable transformer to a variable named bookISBN. What is the DataWeave expression to access bookISBN later in the flow?
Antworten
  • attributes.bookISBN
  • flowVars.bookISBN
  • vars.bookISBN
  • bookISBN

Frage 103

Frage
In what file does the Mule project keep track of all of its dependencies?
Antworten
  • mule-artifact.json
  • Pom.xml
  • mule-app.properties
  • global.xml

Frage 104

Frage
Refer to the exhibit. What data is expected by the POST /accounts endpoint?
Antworten
  • <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>
  • <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>
  • { "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" }
  • { "id": "48292", "name": "Geordi La Forge", "address": "1 Forge Way, Midgard, CA 95928", "customer_since": "2014-01-04", "balance": 4829.29 }

Frage 105

Frage
Refer 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?
Antworten
  • "FILE:CONNECTIVITY"
  • "ORDER:NOT_CREATED"
  • "OTHER ERROR"
  • "File written"

Frage 106

Frage
What statement is part of MuleSoft's description network?
Antworten
  • Create reusable APIs and assets designed to be consumed by other business units
  • Create and manage high availability and fault tolerent services and infrastructure
  • Central IT delivers complete point-to-point solutions with master data management
  • Create and manage a collection of JMS messaging services and infrastructure

Frage 107

Frage
Refer 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?
Antworten
  • lookup( "addltem", { price: "100", item: "router", itemType: "cable" } )
  • lookup( "addltem", { payload: { price: "100", item: "router", itemType: "cable" } > )
  • addltem( { payload: { price: "100", item: "router", itemType: "cable" > } )
  • addltem( { price: "100", item: "router", itemType: "cable" } )

Frage 108

Frage
Refer to the exhibits. A JSON payload is set in the Set Payload transformer. What is logged by the Logger?
Antworten
  • "String"
  • "Object"
  • "Array"
  • "JSON"

Frage 109

Frage
Refer 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?
Antworten
  • The enriched payload in JSON format
  • The enriched payload in XML format
  • The enriched payload in CSV format
  • An error message

Frage 110

Frage
Refer to the exhibit. What DataWeave expression transforms the example XML input to the CSV output?
Antworten
  • payload.sale.*item map ( (value,index) -> { index: index, sale: value.@saleId, itemName: value.desc, itemPrice: (value.price) * (value.quantity), item: value.@itemId })
  • payload.sale.*item map ( (value,index) -> { index: index, sale: value.@saleId, itemName: value.desc, itemPrice: (value.price) * (value.quantity), item: value.itemId })
  • payload.sale.item map ( (value,index) -> { index: index, sale: value.@saleId, itemName: value.desc, itemPrice: (value.price) * (value.quantity), item: value.@itemId })
  • payload.sale.item map ( (value,index) -> { index: index, sale: value.saleId, itemName: value.desc, itemPrice: (value.price) * (value.quantity), item: value.itemId })

Frage 111

Frage
An inbound Database connector is configured to select rows from a MySQL database. What is the format of results returned from the database query?
Antworten
  • Java
  • JSON
  • XML
  • CSV

Frage 112

Frage
Refer to the exhibits. The Mule application contains a Choice router. What is logged when the flow completes?
Antworten
  • US
  • "REGION"
  • EU
  • ["US", "EU"]

Frage 113

Frage
A 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?
Antworten
  • example: !include BankAccountsExample.raml
  • example: #import BankAccountsExample.raml
  • example: !include examples/BankAccountsExample.raml
  • example: #import examples/BankAccountsExample.raml

Frage 114

Frage
Determine 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?
Antworten
  • New outbound properties are added from the HTTP response headers
  • Previous outbound properties are passed through unchanged
  • Outbound properties are replaced with all the previous inbound properties
  • All previous outbound properties are removed

Frage 115

Frage
Refer 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?
Antworten
  • payload
  • payload make query param
  • payload model var
  • payload make query param model var

Frage 116

Frage
Refer to the exhibit. The Database Select operation returns five rows from a database. What is logged by the Logger component?
Antworten
  • "Array"
  • "Object"
  • "LinkedHashMap"
  • "CaseInsensitiveHashMap"

Frage 117

Frage
A company has an API to manage departments, with each department identified by a unique deptId. The API was built with RAML according to MuleSoft best practices. What is valid RAML to specify a method to update the details for a specific department?
Antworten
  • /departments: /deptId: patch:
  • /departments: patch: /deptId:
  • /departments: patch: queryParameters: deptId:
  • /departments: /{deptId}: patch:

Frage 118

Frage
What is the purpose of the router element in APIkit?
Antworten
  • Routes requests to API implementations, but does not validate them against RAML API specifications
  • Routes responses to the caller, but does not validate them against RAML API specifications
  • Validates requests against RAML API specifications and routes them to API implementations
  • Validates responses returned from API requests and routes them to the caller.

Frage 119

Frage
What out-of-the-box policy can safeguard against Denial of Service type attacks?
Antworten
  • Rate limiting
  • Throttling
  • Cross-origin resource sharing
  • LDAP security manager

Frage 120

Frage
What file type is required to configure a Web Service Consumer to consume a SOAP web service?
Antworten
  • RAML
  • WSDL
  • JSON
  • OAS

Frage 121

Frage
Refer 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?
Antworten
  • https://www.searchworld.org/s/api.php?action=search&query=einstein&format=xml (GET - AUTH)
  • https://www.searchworld.org/s/api.php?query=einstein&format=xml (GET - AUTH)
  • https://www.searchworld.org/s/api.php?action=search&query=einstein&format=xml (GET)
  • https://www.searchworld.org/s/api.php?action=search&query=einstein&format=xml (POST - AUTH)

Frage 122

Frage
Refer to the exhibit. What is the correct URL to submit a GET request to /patients?
Antworten
  • http://dev.acme.com/patients?year=2016
  • http://dev.acme.com/api/patients
  • http://dev.acme.com/patients
  • http://dev.acme.com/api/patients?year=2016

Frage 123

Frage
Refer 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?
Antworten
  • Remove the blank line on row 7
  • Enclose the {flight_id} resource in parentheses () instead of curly braces {}
  • Indent the get method under {flight_id} resource
  • Outdent the {flight_id} resource

Frage 124

Frage
Refer to the exhibits. What is the syntax to define this datatype in RAML?
Antworten
  • music: collection: Classic Rock artists: - Deep Purple - Rainbow
  • music: collection: Classic Rock artists: Deep Purple Rainbow
  • music: collection: Classic Rock artists: Deep Purple, Rainbow
  • music: collection: Classic Rock artists: artist: Deep Purple artist: Rainbow

Frage 125

Frage
What 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?
Antworten
  • ${ssl.port}
  • ${ssl.listener.port}
  • ${https.listener.port}
  • ${https.port}

Frage 126

Frage
What port number is used to expose the domain URL of a Mule application deployed to CloudHub?
Antworten
  • 8081
  • 81
  • 80
  • 8080

Frage 127

Frage
What is NOT a role of an API proxy application running in a Mule runtime?
Antworten
  • Determine which request message is allowed to pass through to the API backend service
  • Apply runtime policies to enforce governance
  • Measure the traffic flowing through to the API backend service
  • Determine which response message is allowed to pass back from the API backend service

Frage 128

Frage
A 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?
Antworten
  • #[message.payload.inboundProperties.'http.uri.params'.state]
  • #[attributes.uriParams.state]
  • #[attributes.'http.uri.params'.state]
  • #[message.inboundProperties.'http.uri.params'.state]
  • #[state]

Frage 129

Frage
What is the correct MEL expression to retrieve the value CA?
Antworten
  • #[message.payload.inboundProperties.'http.query.params'.state]
  • #[message.inboundProperties.'http.uri.params'.state]
  • #[message.payload.inboundProperties].
  • #[message.inboundProperties.state]

Frage 130

Frage
What property of a Mule message is immutable?
Antworten
  • Attachments
  • Outbound properties
  • Session variables
  • Payload
  • Inbound properties
  • Flow variables

Frage 131

Frage
A 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?
Antworten
  • The flow variable is accessible in childFlow but is immutable
  • The flow variable is accessible in childFlow, can be changed, and changes are seen back in parentFlow
  • The flow variable is NOT accessible in childFlow
  • The flow variable is accessible in childFlow, can be changed, but changes are NOT seen back in parentFlow

Frage 132

Frage
What is true for a Mule subflow?
Antworten
  • It can have its own exception strategy
  • It is executed synchronously
  • An external client can send messages directly to it
  • It must be in the same configuration file as the parent flow

Frage 133

Frage
What is the default processing strategy of a one-way flow?
Antworten
  • Queued-asynchronous
  • Synchronous
  • Non-blocking
  • Thread-per-processor
  • Queued-thread-per-processor

Frage 134

Frage
What is required for two Mule applications to share data using a VM connector component?
Antworten
  • Put the Mule applications in the same Anypoint Platform environment
  • Put the Mule applications in the same Anypoint Platform business group
  • Put the Mule applications in the same non-default Mule domain
  • Put the Mule applications in the same default Mule domain

Frage 135

Frage
A 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?
Antworten
  • In two flow variables
  • As outbound properties
  • As inbound properties
  • In the message payload
  • As attachments

Frage 136

Frage
What is NOT a way to pass data to a RESTful web service in a flow using an outbound HTTP Request component?
Antworten
  • Set URI parameters in the HTTP Request component
  • Set inbound properties before the HTTP Request component
  • Set query parameters in the HTTP Request component
  • Set outbound properties before the HTTP Request component

Frage 137

Frage
An exception is caught by a choice exception strategy. How is the exception routed?
Antworten
  • To all exceptions whose conditions evaluate to true
  • To the first exception strategy whose condition evaluates to true
  • To the first exception strategy whose condition evaluates to true and to the default exception strategy
  • To the first exception strategy whose condition evaluates to true and to the global exception strategy

Frage 138

Frage
How is a default exception strategy set in a Mule application?
Antworten
  • In a configuration global element in any Mule configuration XML file
  • In the mule-app.properties file
  • As an attribute of one or more flow configuration elements in one or more Mule configuration XML files
  • As an attribute of a global exception strategy
  • As a JVM system environment variable

Frage 139

Frage
How are conditions used in a Choice flow control?
Antworten
  • To find the first true condition, then routes the message to that and all subsequent target message processors.
  • To select a set of target message processors to which to route the same message
  • To find the first true condition, then routes the message to the matched Choice target message processor
  • To select from the responses after routing the message to every Choice target message processor

Frage 140

Frage
A 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?
Antworten
  • An array of JSON objects
  • An array of array objects
  • An object that contains JSON objects
  • The last JSON object

Frage 141

Frage
How is a data collection routed in a Scatter-Gather flow control?
Antworten
  • The entire message is sent to each route and processed sequentially
  • The message is split and different pieces are routed and processed in parallel
  • The message is split and different pieces are routed and processed sequentially
  • The entire message is sent to each route and processed in parallel

Frage 142

Frage
A Payload filter is configured to test for type java.lang.String. What happens when the filter is passed a message with the payload null?
Antworten
  • The Mule application stops
  • The message is replayed from the start of the flow
  • The message is passed to subsequent message processors
  • All subsequent message processors are skipped

Frage 143

Frage
What message processor will throw an exception if a message payload is not a number?
Antworten
  • Is Number validator
  • Is Not Number validator
  • Is Number filter
  • Is Not Number filter

Frage 144

Frage
A Mule flow has a JMS queue listener as the message source. Where can the next message processor access a JMS message's header?
Antworten
  • Outbound property
  • Inbound property
  • Payload
  • Attachment
  • Flow variable

Frage 145

Frage
What part of a Mule flow can contain a Poll scope?
Antworten
  • Async scope
  • Message source
  • For Each scope
  • Message Enricher scope

Frage 146

Frage
How is a Poll scope's watermark accessed from a message processor in a flow?
Antworten
  • In a session variable
  • In an outbound property
  • In an inbound property
  • In a flow variable
  • In a header

Frage 147

Frage
A 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?
Antworten
  • The file is moved to /mule/output
  • The file is deleted from the input directory, but is not moved anywhere
  • The file is moved to /tmp
  • The file stays in the input directory

Frage 148

Frage
What phase of a batch job using a Batch scope must contain at least one message processor?
Antworten
  • Input
  • Load and Dispatch
  • Process Records
  • On Complete

Frage 149

Frage
A 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?
Antworten
  • The payload is changed to the modified payload
  • The modified payload is stored in a flow variable
  • The modified payload is stored as an inbound property
  • The payload returns to the original payload
  • The modified payload is stored as an outbound property

Frage 150

Frage
A 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?
Antworten
  • Continues to the third batch step
  • Stops processing the entire batch job
  • Retries the second batch step
  • Retries the first batch step

Frage 151

Frage
What is the scope of a record variable in a Batch scope?
Antworten
  • In a single batch step, but not in the other batch steps
  • In all batch steps, but not in the On Complete phase
  • In the message source, each batch step, and the On Complete phase
  • In all batch steps, and the On Complete phase

Frage 152

Frage
An API has been created in Design Center. What is the next step to make the API discoverable?
Antworten
  • Deploy the API to a Maven repository
  • Enable autodiscovery in API Manager
  • Publish the API from inside flow designer
  • Publish the API to Anypoint Exchange

Frage 153

Frage
What is NOT part of a Mule 4 event?
Antworten
  • Message
  • Payload
  • OutboundProperties
  • Attributes

Frage 154

Frage
How does APIkit determine the number of flows to generate from a RAML specification?
Antworten
  • Creates a separate flow for each resource
  • Creates a separate flow for each resource that contains child resources
  • Creates a separate flow for each HTTP method
  • Creates one flow for the entire API spec
  • Creates a separate flow for each response status code

Frage 155

Frage
API 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?
Antworten
  • POST a JSON object to the /api/register endpoint of the API proxy
  • Request access to the API in Anypoint Exchange
  • Email the organization administrators to request access to the API
  • Add a client application to the Anypoint Platform organization

Frage 156

Frage
What happens to the attributes of a Mule event in a flow after an outbound HTTP Request is made?
Antworten
  • New attributes may be added from the HTTP response headers, but no headers are ever removed
  • Previous attributes are passed unchanged
  • Attributes do not change
  • Attributes are replaced with new attributes from the HTTP Request response (which might be null)

Frage 157

Frage
A Set Variable component saves the current payload to a variable with the name: images. What is the DataWeave expression to access the images variable?
Antworten
  • #[payload.images]
  • #[images]
  • #[flowVars.images]
  • #[vars.images]

Frage 158

Frage
A flow contains an HTTP Listener as the event source. What is the DataWeave expression to log the Content-Type header using a Logger component?
Antworten
  • #["Content-Type: " ++ attributes.headers.'content-type']
  • #["Content-Type: " + headers.'content-type']
  • #["Content-Type: " + attributes.headers.'content-type']
  • #["Content-Type: " ++ headers.'content-type']

Frage 159

Frage
A 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?
Antworten
  • The variable is accessible. All the attributes passed to childFlow are removed or replaced.
  • The variable is NOT accessible. All the attributes passed to childFlow are removed or replaced.
  • The variable is NOT accessible. All the attributes passed to childFlow are preserved.
  • The variable is accessible. All the attributes passed to childFlow are preserved.

Frage 160

Frage
A 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?
Antworten
  • The variable is accessible in the server but is immutable
  • The variable is accessible in the server, can be changed, and changes are seen back in parentFlow
  • The variable is NOT accessible in the server
  • The variable is accessible in the server, can be changed, but changes are NOT seen back in parentFlow

Frage 161

Frage
A 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?
Antworten
  • The variable is accessible in childFlow but is immutable
  • The variable is accessible in childFlow, can be changed, and changes are seen back in parentFlow
  • The variable is NOT accessible in childFlow
  • The variable is accessible in childFlow, can be changed, but changes are NOT seen back in parentFlow

Frage 162

Frage
Refer 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?
Antworten
  • error: ${env}.properties cannot be opened because it does not exist
  • The property files were NOT saved at the root level of the deployable archive
  • The env property is NOT set in the Runtime Manager in the Mule application's Pro-perties tab
  • A file named ${env}.properties is NOT included in the deployable archive file
  • The dev.properties and prod.properties files were NOT uploaded to Runtime Manager

Frage 163

Frage
Why must a Mule application's deployable archive package all its dependencies in order to be deployed to CloudHub?
Antworten
  • The online logging service requires access to ALL project dependencies to log the appropriate Java classes used in the Mule application
  • CloudHub workers CANNOT download ALL possible project dependencies a pro-ject may contain
  • CloudHub workers needs to compare the current dependencies with the LATEST project dependencies from the MuleSoft repository
  • MuleSoft support requires access to ALL project dependencies for future online troubleshooting

Frage 164

Frage
What can ONLY be done with VM connectors, and NOT with Flow References, in a single Mule application?
Antworten
  • Preserve variables as the Mule event gets passed to another flow
  • Allow a flow to pass events to another flow synchronously
  • Preserve the original payload when the VM connector returns a response from a flow
  • Allow a flow to pass events to another flow asynchronously

Frage 165

Frage
How are query parameters dynamically passed to an outbound REST request using an HTTP Request operation?
Antworten
  • As query parameters in the HTTP Request operation
  • As URI parameters in the HTTP Request operation
  • In the Mule event's payload
  • As flow variables
  • As attributes in a Transform Message component before the HTTP Request operation
  • As attributes in the HTTP Listener operation

Frage 166

Frage
Refer 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?
Antworten
  • Set Property
  • Build SOAP
  • Transform Message
  • JSON to XML
  • Set Attachment

Frage 167

Frage
An 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?
Antworten
  • Add the Account object metadata to the output and use the drag-and-drop feature to transform the incoming JSON data
  • Change the output type to the Java Account object type
  • Add the Account object metadata to the input and the Transform Message component will automatically convert the JSON objects to Account objects
  • Change the input type to the Java Account object type

Frage 168

Frage
What is the process to create a connector using REST Connect?
Antworten
  • Develop the API in flow designer and publish the API to Exchange
  • Design the API in Anypoint Studio and upload the API to Runtime Manager
  • Design the API in Design Center and publish the API to Exchange
  • Develop the API in Anypoint Studio and export the connector as a jar file

Frage 169

Frage
An event contains a payload that is an nothing needs. How is the event routed in a Scatter-Gather?
Antworten
  • The ENTIRE event is sent to each route and processed SEQUENTIALLY
  • The event is SPLIT and different SMALLER events are routed and processed in PARALLEL
  • The event is SPLIT and different SMALLER events are routed and processed SEQUENTIALLY
  • The ENTIRE event is sent to each route and processed in PARALLEL

Frage 170

Frage
Refer to the exhibits. What happens to this flow when the Validation module's Is not null operator throws an error?
Antworten
  • The flow silently stops processing its Mule event
  • The flow stops processing its Mule event and returns an error message to the HTTP Listener operation
  • The flow logs the error message in the console and continues processing its Mule event
  • The flow continues processing its Mule event and appends the error message to the end of the payload

Frage 171

Frage
On error continue/consume
Antworten
  • The last message of the payload will continue to be used through the error catch
  • N/A

Frage 172

Frage
On error propagate
Antworten
  • The last payload message is not used, the current message after error is used
  • N/A

Frage 173

Frage
On error propagate inside of a private flow uses what error message
Antworten
  • The global one
  • N/A

Frage 174

Frage
How can an error scope be configured to catch all errors in the HTTP namespace?
Antworten
  • Type: HTTP When:
  • Type: HTTP* When:
  • Type: When: #[ error.errorType.namespace == "HTTP" ]
  • Type: When: #[ contains "HTTP" ]

Frage 175

Frage
What is the correct way to format the decimal 20.3844 as a string to two decimal places?
Antworten
  • 20.3844 as String ({format: ".0#"})
  • 20.3844 {format: ".0#" as String}
  • 20.3844 as String {format: ".0#"}
  • 20.3844 format (String: ".0#")

Frage 176

Frage
Refer 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?
Antworten
  • payload groupBy $.toAirport filter $.price < 500 orderBy $.price
  • payload groupBy $.toAirport filter $.price > 500 orderBy $.price
  • payload filter $.price < 500 orderBy $.price groupBy $.toAirport
  • payload filter $.price > 500 orderBy $.price groupBy $.toAirport

Frage 177

Frage
A 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?
Antworten
  • #[ dw::Flow::lookup( "combineNames", vars.fullName ) ]
  • #[ dw::Runtime::lookup( "combineNames", vars.fullName ) ]
  • #[ lookup( "combineNames", vars.fullName ) ]
  • #[ combineNames( vars.fullName ) ]
  • #[ lookup( combineNames( vars.fullName ) ) ]

Frage 178

Frage
What is NOT part of a Mule 3 message?
Antworten
  • Payload
  • Inbound properties
  • Outbound properties
  • Variables
  • Attachments

Frage 179

Frage
A 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?
Antworten
  • The payload is the XML response body
  • The payload is a non-empty Java object
  • The payload is the original JSON object
  • The payload is null

Frage 180

Frage
A 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?
Antworten
  • Save the max recordID from the set of recordIDs in an ObjectStore and reference this recordID in subsequent database requests
  • Enable automatic watermarking in the Database Select operation
  • Set the Watermark column in the Scheduler endpoint to the recordID
  • Save the max recordID from the set of recordIDs in a variable and reference this variable in subsequent database requests

Frage 181

Frage
What does an API proxy application NOT do?
Antworten
  • Determine which request Mule event is allowed to pass through to the API backend service
  • Apply runtime policies to enforce governance
  • Determine which response Mule event is allowed to pass through to the API backend service
  • Meters the traffic flowing through the proxy

Frage 182

Frage
A 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?
Antworten
  • Put the Database Select operation in a Try scope configured with a transaction.
  • Save the payload from the Database Select operation to a variable.
  • Set the combinedPayloads attribute to true in the Database Select operation configuration.
  • Put the Database Select operation inside a Cache scope

Frage 183

Frage
Refer 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 },
Antworten
  • #[payload[2].city]
  • #[payload[1].city]
  • #[payload.city[1]]
  • #[payload.city[2]]

Frage 184

Frage
A 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?
Antworten
  • /apis/
  • /apis/?
  • /apis/orders|customers
  • /apis/*

Frage 185

Frage
Refer 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?
Antworten
  • %dw 2.0 output application/xml --- employees: employee @( firstName: payload[0].employee1.firstName[0], lastName: payload[0].employee1.firstName[0] ) : null
  • %dw 2.0 output application/xml --- employees: employee ( firstName: payload[0].employee1.firstName[0], lastName: payload[0].employee1.firstName[0] ) : ""
  • %dw 2.0 output application/xml --- employees: employee @( firstName: payload[0].employee1.firstName[0], lastName: payload[0].employee1.firstName[0] ) : null
  • %dw 2.0 output application/xml --- employees: employee ( firstName: payload[0].employee1.firstName[0], lastName: payload[0].employee1.firstName[0] ) : ""

Frage 186

Frage
A 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?
Antworten
  • /customers/1234
  • /customers?operation=get&custid=1234
  • /customers/custid=1234
  • /customers?custid=true&custid=1234

Frage 187

Frage
Refer 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?
Antworten
  • /stores/${23}?store_id=23&department=”pharmacy”
  • /stores/23?store_id=23&department="pharmacy”
  • /stores/{23}?store_id=23&department=”pharmacy”
  • /stores/${23}/store_id=23&department=”pharmacy”

Frage 188

Frage
An 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?
Antworten
  • application/xml
  • application/dw
  • application/json
  • application/java

Frage 189

Frage
Following Mulesoft's recommended API-led connectivity approach, an organization has created an application network. The organization now needs to create API's to transform, orchestrate and aggregate the data provided by the other API's in the application network. This API should be flexible enought ot handle the data from additional API's in future. According to Mulesoft's recommended API-led connectivity approach , what is the best layer for this new API?
Antworten
  • Process layer
  • Experience layer
  • Data layer
  • System layer

Frage 190

Frage
Refer 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?
Antworten
  • Validation Error
  • Error - Try Scope
  • Error - main flow
  • Success - main flow

Frage 191

Frage
Refer 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?
Antworten
  • payload
  • payload quantity var
  • payload color query param
  • payload quantity var color query param
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

01 Types of Computers
mc_2871
Explore EV3
Rebbecca Stanley
RoboCup Challenge: Assessment
Rebbecca Stanley
Golf Putter
Ysabelle Glori
Untitled
lb_
Digital Technologies
lb_
10 Mind Mapping Strategien für Lehrer
AntonS
A1 Das Modalverb können
Anna Kania
Vetie-KPrim Fragen 2017 Innere
Ju Pi
Vetie- Berufsrecht-Fragensammlung 2013-2017
Ju Pi