MuleSoft Certified Developer - Level 1 (Mule 4)

Descripción

Digital Technologies Test sobre MuleSoft Certified Developer - Level 1 (Mule 4), creado por Laura Sánchez el 13/12/2021.
Laura Sánchez
Test por Laura Sánchez, actualizado hace más de 1 año
Laura Sánchez
Creado por Laura Sánchez hace más de 2 años
4623
0

Resumen del Recurso

Pregunta 1

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

Pregunta 2

Pregunta
What does to the attributes of a Mule event happen in a flow after an outbound HTTP Request is made?
Respuesta
  • 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.

Pregunta 3

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

Pregunta 4

Pregunta
What is the difference between a subflow and a sync flow?
Respuesta
  • 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.

Pregunta 5

Pregunta
What is not an asset?
Respuesta
  • Exchange
  • Template
  • Example
  • Connector

Pregunta 6

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

Pregunta 7

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

Pregunta 8

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

Pregunta 9

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

Pregunta 10

Pregunta
DataWeave is tightly integrated with ____________.
Respuesta
  • Mule runtime
  • All APIs
  • Flow Designer
  • Exchange

Pregunta 11

Pregunta
In the Database On Table Row operation, what does the Watermark column enable the On Table Row operation to do?
Respuesta
  • 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.

Pregunta 12

Pregunta
What is the correct way to format the decimal 200.1234 as a string to two decimal places?
Respuesta
  • 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#"

Pregunta 13

Pregunta
How is policy defined in terms of classloader of an API?
Respuesta
  • 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.

Pregunta 14

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

Pregunta 15

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

Pregunta 16

Pregunta
What is the use of DevKit in Mule 4?
Respuesta
  • 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.

Pregunta 17

Pregunta
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?
Respuesta
  • 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.

Pregunta 18

Pregunta
What are the latest specification of RAML available?
Respuesta
  • 0.8
  • 1
  • 2
  • 1.8

Pregunta 19

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

Pregunta 20

Pregunta
According to MuleSoft, what is the Center for Enablement's role in the new IT operating model?
Respuesta
  • 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.

Pregunta 21

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

Pregunta 22

Pregunta
How are multiple conditions used in a Choice router to route events?
Respuesta
  • 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.

Pregunta 23

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

Pregunta 24

Pregunta
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?
Respuesta
  • Publish consume: Synchronous. Publish: Asynchronous.
  • Publish consume: Asynchronous. Publish: Synchronous.
  • Publish consume: Asynchronous. Publish: Asynchronous.
  • Publish consume: Synchronous. Publish: Synchronous.

Pregunta 25

Pregunta
What is the use of API Notebooks?
Respuesta
  • None of these
  • Test Policies
  • Test API functions
  • Test RAML

Pregunta 26

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

Pregunta 27

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

Pregunta 28

Pregunta
What is the purpose of API autodiscovery?
Respuesta
  • 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.

Pregunta 29

Pregunta
What is NOT part of a Mule 4 event?
Respuesta
  • Attributes
  • Payload
  • inboundProperties
  • Message

Pregunta 30

Pregunta
What is the main purpose of flow designer in Design Center?
Respuesta
  • 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.

Pregunta 31

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

Pregunta 32

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

Pregunta 33

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

Pregunta 34

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

Pregunta 35

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

Pregunta 36

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

Pregunta 37

Pregunta
What is the purpose of the api:router element in APIkit?
Respuesta
  • 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.

Pregunta 38

Pregunta
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?
Respuesta
  • GET
  • PATCH
  • POST
  • PUT

Pregunta 39

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

Pregunta 40

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

Pregunta 41

Pregunta
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?
Respuesta
  • 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.

Pregunta 42

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

Pregunta 43

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

Pregunta 44

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

Pregunta 45

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

Pregunta 46

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

Pregunta 47

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

Pregunta 48

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

Pregunta 49

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

Pregunta 50

Pregunta
What does the zip operator do in DataWeave?
Respuesta
  • 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.

Pregunta 51

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

Pregunta 52

Pregunta
What is a core characteristic of the Modern API?
Respuesta
  • 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.

Pregunta 53

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

Pregunta 54

Pregunta
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?
Respuesta
  • 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

Pregunta 55

Pregunta
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?
Respuesta
  • 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

Pregunta 56

Pregunta
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?
Respuesta
  • /orders/{PO5555}
  • /orders/order=PO5555
  • /orders?order=PO5555
  • /orders/PO5555

Pregunta 57

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

Pregunta 58

Pregunta
By default, what happens to a file after it is read using an FTP connector Read operation?
Respuesta
  • 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

Pregunta 59

Pregunta
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?
Respuesta
  • A non-empty Java object
  • The original XML payload
  • The returned JSON response
  • null

Pregunta 60

Pregunta
What execution model is used by For Each and Batch Job scopes?
Respuesta
  • 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

Pregunta 61

Pregunta
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?
Respuesta
  • 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)

Pregunta 62

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

Pregunta 63

Pregunta
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?
Respuesta
  • "#[ { 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 ] ]"

Pregunta 64

Pregunta
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?
Respuesta
  • payload
  • payload modelName query param
  • payload planeModel var
  • payload modelName query param planeModel var

Pregunta 65

Pregunta
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?
Respuesta
  • 0
  • 1
  • 5
  • 6

Pregunta 66

Pregunta
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?
Respuesta
  • 1
  • 2
  • 3
  • 4

Pregunta 67

Pregunta
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?
Respuesta
  • A global element
  • The mule-artifact.json file
  • A flow attribute
  • The pom.xml file

Pregunta 68

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

Pregunta 69

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

Pregunta 70

Pregunta
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?
Respuesta
  • Validation Error
  • 'END''
  • ''ERROR1''
  • ''ERROR2''

Pregunta 71

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

Pregunta 72

Pregunta
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?
Respuesta
  • Hello-HTTP-JMS2-Three
  • HTTP-JMS2-Three
  • Hello-JMS1-HTTP-JMS2-Three
  • Hello-HTTP-Three

Pregunta 73

Pregunta
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?
Respuesta
  • 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

Pregunta 74

Pregunta
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?
Respuesta
  • /accounts?account_type:retail&industry:finance
  • /accounts/retail/finance
  • /accounts/account_type=retail/industry=finance
  • /accounts?account_type=retail&industry=finance

Pregunta 75

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

Pregunta 76

Pregunta
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?
Respuesta
  • payload
  • payload pedigree query params
  • payload producer var
  • payload pedigree query params producer var

Pregunta 77

Pregunta
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?
Respuesta
  • 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

Pregunta 78

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

Pregunta 79

Pregunta
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?
Respuesta
  • [["A", "C", "D"], ["E"]]
  • [''E'']
  • [''D", "E"]
  • ["A", "C, "D", "E"]

Pregunta 80

Pregunta
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?
Respuesta
  • 0
  • "Processing"
  • "Start"
  • "Complete"

Pregunta 81

Pregunta
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?
Respuesta
  • 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

Pregunta 82

Pregunta
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?
Respuesta
  • 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

Pregunta 83

Pregunta
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?
Respuesta
  • Inbound Properties
  • Variables
  • Attributes
  • Payload

Pregunta 84

Pregunta
Refer to the exhibit. What DataWeave expression transforms the conductorIds array to the XML output?
Respuesta
  • { 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 } )

Pregunta 85

Pregunta
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?
Respuesta
  • Summary report of processed records
  • ["Apple", "Banana"]
  • ["Apple12", "Banana12"]
  • ["Apple1", "Banana1", 2]

Pregunta 86

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

Pregunta 87

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

Pregunta 88

Pregunta
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?
Respuesta
  • #%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

Pregunta 89

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

Pregunta 90

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

Pregunta 91

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

Pregunta 92

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

Pregunta 93

Pregunta
A Mule application properties file named training-DEV.properties has been defined. How is the properties file referenced in the Mule application?
Respuesta
  • 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

Pregunta 94

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

Pregunta 95

Pregunta
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.
Respuesta
  • 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

Pregunta 96

Pregunta
According to MuleSoft, what is the first step to create a Modern API for use in an application network?
Respuesta
  • 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

Pregunta 97

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

Pregunta 98

Pregunta
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?
Respuesta
  • %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")

Pregunta 99

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

Pregunta 100

Pregunta
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?
Respuesta
  • “Error - private flow”
  • “Validation Error”
  • ”Error – main flow”
  • “Success - main flow”

Pregunta 101

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

Pregunta 102

Pregunta
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?
Respuesta
  • attributes.bookISBN
  • flowVars.bookISBN
  • vars.bookISBN
  • bookISBN

Pregunta 103

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

Pregunta 104

Pregunta
Refer to the exhibit. What data is expected by the POST /accounts endpoint?
Respuesta
  • <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 }

Pregunta 105

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

Pregunta 106

Pregunta
What statement is part of MuleSoft's description network?
Respuesta
  • 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

Pregunta 107

Pregunta
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?
Respuesta
  • 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" } )

Pregunta 108

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

Pregunta 109

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

Pregunta 110

Pregunta
Refer to the exhibit. What DataWeave expression transforms the example XML input to the CSV output?
Respuesta
  • 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 })

Pregunta 111

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

Pregunta 112

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

Pregunta 113

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

Pregunta 114

Pregunta
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?
Respuesta
  • 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

Pregunta 115

Pregunta
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?
Respuesta
  • payload
  • payload make query param
  • payload model var
  • payload make query param model var

Pregunta 116

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

Pregunta 117

Pregunta
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?
Respuesta
  • /departments: /deptId: patch:
  • /departments: patch: /deptId:
  • /departments: patch: queryParameters: deptId:
  • /departments: /{deptId}: patch:

Pregunta 118

Pregunta
What is the purpose of the router element in APIkit?
Respuesta
  • 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.

Pregunta 119

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

Pregunta 120

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

Pregunta 121

Pregunta
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?
Respuesta
  • 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)

Pregunta 122

Pregunta
Refer to the exhibit. What is the correct URL to submit a GET request to /patients?
Respuesta
  • 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

Pregunta 123

Pregunta
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?
Respuesta
  • 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

Pregunta 124

Pregunta
Refer to the exhibits. What is the syntax to define this datatype in RAML?
Respuesta
  • 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

Pregunta 125

Pregunta
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?
Respuesta
  • ${ssl.port}
  • ${ssl.listener.port}
  • ${https.listener.port}
  • ${https.port}

Pregunta 126

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

Pregunta 127

Pregunta
What is NOT a role of an API proxy application running in a Mule runtime?
Respuesta
  • 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

Pregunta 128

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

Pregunta 129

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

Pregunta 130

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

Pregunta 131

Pregunta
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?
Respuesta
  • 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

Pregunta 132

Pregunta
What is true for a Mule subflow?
Respuesta
  • 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

Pregunta 133

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

Pregunta 134

Pregunta
What is required for two Mule applications to share data using a VM connector component?
Respuesta
  • 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

Pregunta 135

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

Pregunta 136

Pregunta
What is NOT a way to pass data to a RESTful web service in a flow using an outbound HTTP Request component?
Respuesta
  • 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

Pregunta 137

Pregunta
An exception is caught by a choice exception strategy. How is the exception routed?
Respuesta
  • 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

Pregunta 138

Pregunta
How is a default exception strategy set in a Mule application?
Respuesta
  • 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

Pregunta 139

Pregunta
How are conditions used in a Choice flow control?
Respuesta
  • 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

Pregunta 140

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

Pregunta 141

Pregunta
How is a data collection routed in a Scatter-Gather flow control?
Respuesta
  • 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

Pregunta 142

Pregunta
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?
Respuesta
  • 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

Pregunta 143

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

Pregunta 144

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

Pregunta 145

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

Pregunta 146

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

Pregunta 147

Pregunta
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?
Respuesta
  • 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

Pregunta 148

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

Pregunta 149

Pregunta
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?
Respuesta
  • 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

Pregunta 150

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

Pregunta 151

Pregunta
What is the scope of a record variable in a Batch scope?
Respuesta
  • 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

Pregunta 152

Pregunta
An API has been created in Design Center. What is the next step to make the API discoverable?
Respuesta
  • 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

Pregunta 153

Pregunta
What is NOT part of a Mule 4 event?
Respuesta
  • Message
  • Payload
  • OutboundProperties
  • Attributes

Pregunta 154

Pregunta
How does APIkit determine the number of flows to generate from a RAML specification?
Respuesta
  • 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

Pregunta 155

Pregunta
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?
Respuesta
  • 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

Pregunta 156

Pregunta
What happens to the attributes of a Mule event in a flow after an outbound HTTP Request is made?
Respuesta
  • 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)

Pregunta 157

Pregunta
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?
Respuesta
  • #[payload.images]
  • #[images]
  • #[flowVars.images]
  • #[vars.images]

Pregunta 158

Pregunta
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?
Respuesta
  • #["Content-Type: " ++ attributes.headers.'content-type']
  • #["Content-Type: " + headers.'content-type']
  • #["Content-Type: " + attributes.headers.'content-type']
  • #["Content-Type: " ++ headers.'content-type']

Pregunta 159

Pregunta
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?
Respuesta
  • 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.

Pregunta 160

Pregunta
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?
Respuesta
  • 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

Pregunta 161

Pregunta
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?
Respuesta
  • 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

Pregunta 162

Pregunta
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?
Respuesta
  • 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

Pregunta 163

Pregunta
Why must a Mule application's deployable archive package all its dependencies in order to be deployed to CloudHub?
Respuesta
  • 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

Pregunta 164

Pregunta
What can ONLY be done with VM connectors, and NOT with Flow References, in a single Mule application?
Respuesta
  • 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

Pregunta 165

Pregunta
How are query parameters dynamically passed to an outbound REST request using an HTTP Request operation?
Respuesta
  • 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

Pregunta 166

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

Pregunta 167

Pregunta
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?
Respuesta
  • 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

Pregunta 168

Pregunta
What is the process to create a connector using REST Connect?
Respuesta
  • 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

Pregunta 169

Pregunta
An event contains a payload that is an nothing needs. How is the event routed in a Scatter-Gather?
Respuesta
  • 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

Pregunta 170

Pregunta
Refer to the exhibits. What happens to this flow when the Validation module's Is not null operator throws an error?
Respuesta
  • 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

Pregunta 171

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

Pregunta 172

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

Pregunta 173

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

Pregunta 174

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

Pregunta 175

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

Pregunta 176

Pregunta
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?
Respuesta
  • 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

Pregunta 177

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

Pregunta 178

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

Pregunta 179

Pregunta
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?
Respuesta
  • 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

Pregunta 180

Pregunta
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?
Respuesta
  • 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

Pregunta 181

Pregunta
What does an API proxy application NOT do?
Respuesta
  • 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

Pregunta 182

Pregunta
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?
Respuesta
  • 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

Pregunta 183

Pregunta
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 },
Respuesta
  • #[payload[2].city]
  • #[payload[1].city]
  • #[payload.city[1]]
  • #[payload.city[2]]

Pregunta 184

Pregunta
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?
Respuesta
  • /apis/
  • /apis/?
  • /apis/orders|customers
  • /apis/*

Pregunta 185

Pregunta
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?
Respuesta
  • %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] ) : ""

Pregunta 186

Pregunta
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?
Respuesta
  • /customers/1234
  • /customers?operation=get&custid=1234
  • /customers/custid=1234
  • /customers?custid=true&custid=1234

Pregunta 187

Pregunta
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?
Respuesta
  • /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”

Pregunta 188

Pregunta
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?
Respuesta
  • application/xml
  • application/dw
  • application/json
  • application/java

Pregunta 189

Pregunta
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?
Respuesta
  • Process layer
  • Experience layer
  • Data layer
  • System layer

Pregunta 190

Pregunta
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?
Respuesta
  • Validation Error
  • Error - Try Scope
  • Error - main flow
  • Success - main flow

Pregunta 191

Pregunta
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?
Respuesta
  • payload
  • payload quantity var
  • payload color query param
  • payload quantity var color query param
Mostrar resumen completo Ocultar resumen completo

Similar

01 Types of Computers
mc_2871
Explore EV3
Rebbecca Stanley
RoboCup Challenge: Assessment
Rebbecca Stanley
Golf Putter
Ysabelle Glori
Untitled
lb_
Digital Technologies
lb_
PRUEBAS DE CONCENTRACIÓN YDILUCIÓN URINARIAS
gncd.26
Fórmulas Geométricas (Áreas)
Diego Santos
Diapositivas
Samuel Flores
Fichas 39/2015
Sero Tonina
CAUSAS Y CONSECUENCIAS DE TRATA Y TRAFICO DE PERSONAS
claudia layme