Mulesoft Developer 1 🏆

Descripción

Test sobre Mulesoft Developer 1 🏆, creado por jamal dt el 15/04/2024.
jamal dt
Test por jamal dt, actualizado hace 2 meses
jamal dt
Creado por jamal dt hace 2 meses
137
0

Resumen del Recurso

Pregunta 1

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 2

Pregunta
What statement is a part of MuleSoft's description of an application network?
Respuesta
  • Creates and manages high availability and fault tolerant services and infrastructure.
  • Creates reusable APIs and assets designed to be consumed by other business units.
  • Creates and manages a collection of JMS messaging services and infrastructure.
  • Leverages Central IT to deliver complete point-to-point solutions with master data management.

Pregunta 3

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 4

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

Pregunta 5

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 6

Pregunta
What is NOT part of a Mule 4 event?
Respuesta
  • attributes
  • payload
  • inboundProperties
  • message

Pregunta 7

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 8

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 9

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 10

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

Pregunta 11

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 12

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

Pregunta 13

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 14

Pregunta
Which one of them is NOT a flow in Mule?
Respuesta
  • sync flow
  • subflow
  • async flow
  • async sub flow

Pregunta 15

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.
  • Creates and manages discoverable assets to be consumed by line of business developers.

Pregunta 16

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

Pregunta 17

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

Pregunta 18

Pregunta
A Scatter-Gather processes a number of separate HTTP requests. Each request returns a Mule event with a JSON payload. What is the final output of the Scatter-Gather?
Respuesta
  • An Object containing all Mule event Objects.
  • An Array containing all Mule event Objects.
  • None of these.
  • The last Mule event object.

Pregunta 19

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 20

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

Pregunta 21

Pregunta
According to Mulesoft, how are Modern APIs treated as?
Respuesta
  • products
  • code
  • soap services
  • organizations

Pregunta 22

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 23

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 24

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.
  • Publish the API from inside flow designer.
  • Publish the API to Anypoint Exchange.
  • Enable autodiscovery in API Manager.

Pregunta 25

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 26

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

Pregunta 27

Pregunta
How can you call a flow from Dataweave?
Respuesta
  • Not allowed
  • Include function
  • Look up function
  • Tag function

Pregunta 28

Pregunta
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 29

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 30

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

Pregunta 31

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

Pregunta 32

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 33

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 34

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 35

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

Pregunta 36

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 37

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 38

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 39

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 40

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

Pregunta 41

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 hard-coding 2020?
Respuesta
  • The year is #[payload.year]
  • #[The year is $(payload.year)]
  • #["The year is ++ payload.year"]
  • #["The year is " + payload.year]

Pregunta 42

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 43

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 44

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 the Set Payload transformer is called?
Respuesta
  • 0
  • 1
  • 5
  • 6

Pregunta 45

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 46

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 47

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 48

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 49

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 50

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 51

Pregunta
🏆 Refer to the exhibits. In the request Flow 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 52

Pregunta
🏆 Refer to the exhibit. In the execution of the Scatter_Gather, the flow1 route completes after 10 seconds and the flow2 route completes after 20 seconds. How many seconds does it take for the Scatter_Gather to complete?
Respuesta
  • 20
  • 10
  • 0
  • 30

Pregunta 53

Pregunta
🏆 Refer to the exhibit. How should the WHERE clause be changed to set the city and state values from the configured input parameters?
Respuesta
  • WHERE city = :city AND state = :state
  • WHERE city - attributes.city AND state - attributes.state
  • WHERE city := ${city} AND state := ${state}
  • WHERE city = #[city] AND state := #[state]

Pregunta 54

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

Pregunta 55

Pregunta
🏆 Refer to the exhibit. What DataWeave expression transforms the conductorlds array to the XML output?

Pregunta 56

Pregunta
🏆 A REST connect module is generated for a RAML specification. and then the rest connect module is imported in mule application in Anypoint Studio. For each method of the RAML specification , what does the REST connect module provide?
Respuesta
  • A scope
  • A flow
  • An operation
  • An event source

Pregunta 57

Pregunta
Refer to the exhibit. All three of the condition for the Choice router are true. What log messages are written?
Respuesta
  • Route 1
  • Route1, Route2
  • Route2
  • Route1, Route2, Default

Pregunta 58

Pregunta
What is not true about application properties?
Respuesta
  • Application properties can be encrypted
  • Application properties can be overridden with system properties
  • Application properties can be defined in .yaml file only
  • Application properties provide easier way to manage configurable values

Pregunta 59

Pregunta
What does C4E stands for in MuleSoft recommended IT operating model?
Respuesta
  • Centre for Empowerment
  • Centre for Engagement
  • Centre for Enablement
  • Centre for Excellence

Pregunta 60

Pregunta
What is the correct syntax for a Logger component to output a message with the content of a JSON Object payload?
Respuesta
  • The payload is: $(payload)
  • #["The payload is: " ++ payload]
  • The payload is: #[payload]
  • #["The payload is: " + payload]

Pregunta 61

Pregunta
Refer to exhibits. What message should be added to Logger component so that logger prints "The city is Pune" (Double quote should not be part of logged message)?
Respuesta
  • #["The city is" ++ payload.City]
  • The city is + #[payload.City]
  • The city is #[payload.City]
  • #[The city is ${payload.City}

Pregunta 62

Pregunta
As a part of requirement , application property defined below needs to be accessed as dataweave expression. What is the correct expression to map it to port value?
Respuesta
  • { port : p('db.port')}
  • { port : {db:port}}
  • { port : p['db.port']}
  • Application property cannot be accessed in Dataweave

Pregunta 63

Pregunta
Which of the below is not a valid category for connector type?
Respuesta
  • Gold
  • Select
  • Premium
  • Community

Pregunta 64

Pregunta
Refer to the exhibits. A web client submits a request to below flow. What is the output at the end of the flow?
Respuesta
  • String
  • Object
  • Java
  • XML

Pregunta 65

Pregunta
🏆 An API instance of type API endpoint with API proxy is created in API manager using an API specification from Anypoint Exchange. The API instance is also configured with an API proxy that is deployed and running in CloudHub. An SLA- based policy is enabled in API manager for this API instance. Where can an external API consumer obtain a valid client ID and client secret to successfully send requests to the API proxy?
Respuesta
  • In the organization's public API portal in Anypoint Exchange, from an approved client application for the API proxy
  • In Anypoint Studio, from components generated by APIkit for the API specification
  • In Anypoint Studio, from components generated by Rest Connect for API specification
  • In Runtime Manager, from the properties tab of the deployed approved API proxy

Pregunta 66

Pregunta
What is not the function of API Gateway ?
Respuesta
  • Determine which traffic is authorized to pass through the API to backend services
  • Meter the traffic flowing through
  • Logs all transactions , collecting and tracking analytics data
  • Specify throttling , security and other policies

Pregunta 67

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

Pregunta 68

Pregunta
🏆 Refer to the exhibits. A web client submits a request to http://localhQst:8081 /flights. What is the result at the end of the flow?
Respuesta
  • "string"
  • "XML"
  • "Java"
  • "object"

Pregunta 69

Pregunta
What should this endpoint return considering the API is build using standard practices? http://dev.acme.com/api/patients?year=2021
Respuesta
  • Patient with id 2021
  • Patients from year 2021
  • No patients
  • All patients

Pregunta 70

Pregunta
Refer to the exhibits. A web client sends sale data in a POST request to the Mule application. The Transform Message component then enrich 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 71

Pregunta
🏆 Refer to the exhibits. A Mule application has an HTTP Request that is configured with hardcoded values. To change this, the Mule application is configured to use a properties file named config.yaml. what valid expression can the HTTP Request host value be set to so that it is no longer hardcoded?
Respuesta
  • ${training.host}
  • ${training:host}
  • #[training:host]
  • #[training.host]

Pregunta 72

Pregunta
Refer to the exhibit. What should be changed to fix the 415 error?
Respuesta
  • set the response Content-Type header to text/plain
  • set the response Content-Type header to application/json
  • Set the request Content-Type header to application/json
  • set the request Content-Type header to text/plain

Pregunta 73

Pregunta
🏆 Refer to the exhibits . The Mule application does NOT define any global error handlers. A web client sends a POST request to the Multi application with this input payload The File Write operation throws a FILECONNECTIVITY error What response message is returned to the web client?
Respuesta
  • "OTHER ERROR"
  • "File written"
  • "FILECONNECTIVITY"
  • "ORDER NOT_CREATED"

Pregunta 74

Pregunta
🏆 In the execution of scatter gather, the "sleep 2 sec" Flow Reference takes about 2 sec to complete, and the "sleep 8 sec" Flow Reference takes about 8 sec to complete. About how many sec does it take from the Scatter-Gather is called until the "Set Payload" transformer is called?
Respuesta
  • 8
  • 0
  • 2
  • 10

Pregunta 75

Pregunta
Refer to the exhibit. What is the response to a web client request to http://localhost:8081?
Respuesta
  • After
  • before
  • Validation Error
  • null

Pregunta 76

Pregunta
Refer to the exhibit. How should be the where clause written for the configured input parameters in such a way that it achieves below SQL query?
Respuesta
  • WHERE city := ${city} AND state := ${state}
  • WHERE city = attributes.city AND state = attributes.state
  • WHERE city = :city AND state = :state
  • WHERE city := city AND state := state

Pregunta 77

Pregunta
🏆 Refer to the below exhibit. A Mule application configures a property placeholder file named config.yaml to set some property placeholders for an HTTP connector. What is the valid properties placeholder file to set these values?
Respuesta
  • { http: basePath: “api” port: “8081” host: “localhost” }
  • http.port = 8081 http.host = “localhost”
  • http: basePath: “api” port: “8081” host: “localhost"
  • http: port = “8081” host = “localhost”

Pregunta 78

Pregunta
🏆 A web client sends one GET request to the test flow's HTTP Listener, which causes the test flow to call the updateTemp flow After the test flow returns a response, the web client then sends a different GET request to trie getTemp flow's HTTP Listener The test flow is not called a second time. What response is returned from the request to the getTemp flow's HTTP Listener?
Respuesta
  • { "temp": [70,65,100,60,85] }
  • { "temp" : "100" }
  • { "temp" : "85" }
  • { "temp":70, "temp":65, "temp":100, "temp":60, "temp":85 }

Pregunta 79

Pregunta
Refer to the exhibit. What Database expression transforms the input to the output?

Pregunta 80

Pregunta
Refer to the exhibits. The Batch Job scope contains two Batch Steps scopes with different accept expression. The input payload is passed to the Batch Job scope. After the entire payload is processed by the batch job scope , what messages have been logged by the Logger component?
Respuesta
  • 1. {amount=140} 2. {amount=102} 3. {step2amount=100}
  • 1. {amount=140} 2. {amount=102} 3. {step2amount=100} 4. {step2amount=40}
  • 1. {amount=140} 2. {amount=102} 3. {step2amount=100} 4. {step2amount=140}
  • 1. {amount=140} 2. {amount=102} 3. {step2amount=100} 4. {step2amount=140} 5. {step2amount=102}

Pregunta 81

Pregunta
🏆 Refer to the exhibit. The Batch Job processes, filters and aggregates records, What is the expected output from the Logger component?
Respuesta
  • [10. 20, 30. 40, 50, 60]
  • [10. 20] [30, 40] [50, 60]
  • [20, 40, 60]
  • [20. 40] [60]

Pregunta 82

Pregunta
🏆 A company has defined two RAML fragments, Book Data Type and Book Example to be used in APIs. What would be valid RAML to use these fragments ?
Respuesta
  • 1. #%RAML 1.0 2. title: Books 3. types: 4. Book: ABC/Examples/bookDataType.raml 5. /books: 6. post: 7. body: 8. application/json: 9. type: Book 10. examples: 11. input: ABC/Examples/bookExample.raml 12. responses: 13. 201: 14. body: 15. application/json: 16. example: 17. message: Book added
  • 1. #%RAML 1.0 2. title: Books 3. Book: !include bookDataType.raml 4. /books: 5. post: 6. body: 7. application/json: 8. type: Book 9. examples: 10. input: !include bookExample.raml 11. responses: 12. 201: 13. body: 14. application/json: 15. example: 16. message: Book added
  • 1. #%RAML 1.0 2. title: Books 3. Book: bookDataType.raml 4. /books: 5. post: 6. body: 7. application/json: 8. type: Book 9. examples: 10. input: bookExample.raml 11. responses: 12. 201: 13. body: 14. application/json: 15. example: 16. message: Book added

Pregunta 83

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

Pregunta 84

Pregunta
What is minimal requirement in a flow for a Mule application to compile?
Respuesta
  • Event Source
  • Event Processors
  • Error handlers
  • Source and processors both

Pregunta 85

Pregunta
A web client submits a request to http://localhost:8081?flrstName=john. What is the correct DataWeave expression to access the firstName parameter?
Respuesta
  • #[message.queryParams.hrstName]
  • #[attributes.queryParams.firstName]
  • #[message.inboundProperties.'http.query.params'.firstName]
  • #[attributes.'http.query.params'.firstName]

Pregunta 86

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
  • System layer
  • Experience layer
  • Data layer

Pregunta 87

Pregunta
🏆 Which of the below is used by Mule application to manage dependencies which make sharing the projects lightweight and easier?
Respuesta
  • Configuration file
  • Global element
  • POM.xml
  • Cloudhub

Pregunta 88

Pregunta
Refer to the exhibit. What Database expression transforms the input to the output?

Pregunta 89

Pregunta
A function named toUpper needs to be defined that accepts a string named userName and returns the string in uppercase. What is the correct DataWeave code to define the toUpper function?
Respuesta
  • var toUpper(userName) -> upper(userName)
  • fun toUpper(userName) = upper(userName)
  • fun toUpper(userName) -> upper(userName)
  • var toUpper(userName) = upper(userName)

Pregunta 90

Pregunta
Refer to the exhibits. All three of the conditions for the Choice router are true. What messages are written in the application log?
Respuesta
  • Route1
  • Route2
  • Route1,Route2
  • Route1,Route2,Default

Pregunta 91

Pregunta
🏆 An API implementation has been deployed to CloudHub and now needs to be governed. IT will not allocate additional vCore for a new Mule application to act as an API proxy. What is the next step to preseive the current vCore usage, but still allow the Mule application to be managed by API Manager?
Respuesta
  • Register the same API implementation in Runtime Manager to connect to API Manager
  • Modify the API implementation to use auto-discovery to register with API Manager
  • Upload the Mule application's JAR file to the API instance in API Manager
  • Deploy the same API implementation behind a VPC and configure the VPC to connect to API Manager

Pregunta 92

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.dept
  • message.queryParams.dept
  • vars.dept
  • attributes.queryParams.dept

Pregunta 93

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 submits a request to the main flow's HTTP Listener that includes query parameters for the pedigree of the 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 94

Pregunta
🏆 What is the correct syntax to define and call a function in Database?
Respuesta
  • fun addKV (object: Object, key: String , value: Any) = object ++ { (key) : value } ------- addKV ({hello: "world"}, "hola","mundo")
  • %function addKV (object: Object, key: String , value: Any) = object ++ { (key) : value } ------- addKV ({hello: "world"} , "hola","mundo")
  • %function addKV (object: Object, key: String , value: Any) = object ++ { (key) : value } ------- {hello: "world"} addKV ("hola","mundo")
  • fun addKV (object: Object, key: String , value: Any) = object ++ { (key) : value} ------- {hello: "world"} addKV ("hola","mundo")

Pregunta 95

Pregunta
🏆 Refer to the exhibits. Set paylaod transformer is set the firstName and lastName of the customer as shown in below images. What is the correct Dataweave expression which can be added in message attribute of a Logger activity to access firstName (which in this case is Madhav) from the incoming event?
Respuesta
  • firstName
  • customer.firstName
  • vars."customer.firstName"
  • vars."customer"."firstName"

Pregunta 96

Pregunta
Does a root element required when creating a XML response using Dataweave?
Respuesta
  • Depends on requirement
  • Not required
  • Always required
  • None of these

Pregunta 97

Pregunta
Which of the module is imported automatically in Dataweave scripts?
Respuesta
  • dw::core
  • dw::System
  • dw::Runtime
  • dw::Crypto

Pregunta 98

Pregunta
🏆 Refer to the exhibits. { "name" : "Rohan Kulkarni" "order" : [ {"product": "laptop", "amount":"25000","currency":"INR"} ] } This main mule application calls a separate flow called as ShippingAddress which returns the address corresponding to the name of the user sent to it as input. Output of this ShippingAddress is stored in a target variable named address. Next set of requirement is to have a setPayload transformer which will set below two values 1) orderkey which needs to set to be equal to the order element received in the original request payload. 2) addressKey which needs to be set to be equal to the address received in response of ShippingAddress flow What is the straightforward way to properly configure the Set Payload transformer with the required data?
Respuesta
  • { orderkey: "payload.order", addresskey: "vars.address" }
  • { orderkey: "attributes.shippingaddress.order", addresskey: "payload" }
  • { orderkey: "payload.order", addresskey: "address" }
  • { orderkey: "attributes.order", addresskey: "vars.address" }

Pregunta 99

Pregunta
Where is metadata stored in a Mule project
Respuesta
  • Config.yaml file
  • POM.xml file
  • application-types.xml
  • Global Element

Pregunta 100

Pregunta
🏆 What is output of Dataweave flatten function?
Respuesta
  • Object
  • Map
  • Array
  • LInkedHashMap

Pregunta 101

Pregunta
A web client submits a request to http://localhost:8081?accountType=personal. The query parameter is captured using a Set Variable transformer to a variable named accountType. What is the correct DataWeave expression to log accountType?
Respuesta
  • Account Type: #[flowVars.accountType]
  • Account Type: #[message.inboundProperties.accountType]
  • Account Type: # [attributes.accountType]
  • Account Type: #[vars.accountType]

Pregunta 102

Pregunta
🏆 A Mule project contains a DataWeave module like WebStore.dwl that defines a function named loginUser. The module file is located in the project's src/main/resources/libs/etl folder. What is correct DataWeave code to import all of the WebStore.dwl file's functions and then call the loginUser function for the login "Todd.Pal@mulesoft.com"?
Respuesta
  • import libs.etl --- WebStore.loginUser("Todd.Pal@mulesoft.com")
  • import * from libs::etl --- WebStore::loginUser("Todd.Pal@mulesoft.com")
  • import libs.etl.WebStore --- loginUser("Todd.Pal@mulesoft.com")
  • import * from libs::etl::WebStore --- loginUser("Todd.Pal@mulesoft.com")

Pregunta 103

Pregunta
Why would a Mule application use the ${http.port} property placeholder for its HTTP Listener port when it is deployed to CloudHub?
Respuesta
  • Allows CloudHub to automatically change the HTTP port to allow external clients to connect to the HTTP Listener
  • Allows CloudHub to automatically register the application with API Manager
  • Allows MuleSoft Support to troubleshoot the application by connecting directly to the HTTP Listener
  • Allows clients to VPN directly to the application at the Mule application's configured HTTP port

Pregunta 104

Pregunta
From which application , Organization Administrators can approve/revoke/delete SLA tier access requests
Respuesta
  • API Exchange
  • API Portal
  • API Gateway
  • API Manager

Pregunta 105

Pregunta
What payload is returned by a Database SELECT operation that does not match any rows in the database?
Respuesta
  • false
  • null
  • Exception
  • Empty Array

Pregunta 106

Pregunta
Refer to the exhibit. What is the output of logger component?
Respuesta
  • String
  • Object
  • Array
  • Map

Pregunta 107

Pregunta
🏆 An organization's Center for enablement (C4E)has built foundational assets (API specifications and implementation templates, common frameworks, and best practices guides) and published them to Anypoint Exchange. What is a metric related to these foundational assets that helps the organization measure the success of it's C4E efforts?
Respuesta
  • Utilization counts of foundational assets in production applications
  • Correlation of each foundational asset with the counts of developers that download such asset
  • Correlation of key performance indicators (KPI) of production applications with foundational assets
  • Count how many Lines Of Business (LoBs) onsumed each foundational asset

Pregunta 108

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

Pregunta 109

Pregunta
🏆 A Mule application contains an ActiveMQ JMS dependency. The Mule application was developed in Anypoint Studio and runs successfully in Anypoint Studio. The Mule application must now be exported from Anypoint Studio and shared with another developer. What export options create the smallest JAR file that can be imported into the other developer's Anypoint Studio and run successfully?

Pregunta 110

Pregunta
🏆 Refer to the exhibits. In the Choice router, the When expression for the domestic Shipping route is set to "#[payload = 'FR']". What is logged after the Choice router completes?
Respuesta
  • A DataVVeave syntax error
  • The result of the intemationalShipping flow
  • A string with value "FR"
  • The result of the domesticShipoing flow

Pregunta 111

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 112

Pregunta
🏆 Refer to the exhibit. The main flow contains a Flow Reference for the child flow. What values are accessible in the child flow after a web client submits a request to http://localhost:8Q81/order? color=red?
Respuesta
  • payload
  • payload quantity var
  • payload color query param
  • payload quantity var color query param

Pregunta 113

Pregunta
Refer to exhibits. In the execution of the Scatter-Gather , the flow route completes after 10 seconds and the flow2 route completes in 40 seconds. How many seconds does it take for the Scatter-Gather to complete?
Respuesta
  • 10
  • 50
  • 40
  • 20

Pregunta 114

Pregunta
Refer to the exhibits. The Validation component in the Try scope throws an error. What response message is returned to a client request to the main flow's HTTP Listener?
Respuesta
  • Success - main flow
  • Error - main flow
  • Error - Try scope
  • Validation Error

Pregunta 115

Pregunta
How would you debug Mule applications?
Respuesta
  • By Deploying apps on production
  • Checking RAML specifications
  • Using debugger component
  • Use third party debugger application

Pregunta 116

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 117

Pregunta
🏆 Refer to the exhibit. What expression correctly specifies input parameters to pass the city and state values to the SQL query?
Respuesta
  • #[ { city:"San Francisco", state:"CA" } ]
  • #[ [ "San Francisco", "CA" ] ]
  • #[ inputParams:{ city:"San Francisco", state:"CA" } ]
  • #[ inputParams:{ "san Francisco", "CA" } ]

Pregunta 118

Pregunta
Where would you create SLA Tiers for an API?
Respuesta
  • Exchange
  • API Manager
  • Anypoint Studio
  • In RAML specifications

Pregunta 119

Pregunta
🏆 Refer to the exhibits. The Batch job processes an array of strings. What information is logged by the logger component after the batch job scope completes processing of the input payload?
Respuesta
  • Total Records Processed: 3 Successful Records: 3 Failed Records: 0 payload: ["A","B","C"]
  • ["A","B","C"]
  • Total Records Processed: 3 Successful Records: 3 Failed Records: 0 payload: ["a", "b", "c"]
  • Total Records Processed: 3 Successful Records: 3 Failed Records: 0

Pregunta 120

Pregunta
Refer to the exhibit. What payload is returned from a request to http//localhost.8081/ Refer to the exhibits, what payload is returned from a request to http://localhost;8081/?
Respuesta
  • 1
  • 2
  • 3
  • 4

Pregunta 121

Pregunta
A RAML example fragment named StudentExample.raml is placed in the examples folder in an API specification project. What is the correct syntax to reference the fragment?
Respuesta
  • examples: !include StudentExample.raml
  • examples: #import StudentExample.raml
  • examples: !include examples/StudentExample.raml
  • examples: #import examples/StudentExample.raml

Pregunta 122

Pregunta
🏆 What DataWeave expression transforms the example XML input to the CSV output?

Pregunta 123

Pregunta
🏆 A mule project contains MySQL database dependency . The project is exported from Anypoint Studio so that it can be deployed to Cloudhub. What export options needs to be selected to create the smallest deployable archive that will successfully deploy to Cloudhub?

Pregunta 124

Pregunta
🏆 Refer to the exhibits. The input array of strings is processed by the batch job that processes, fitters, and aggregates the values. What is the last message logged by the Logger component after the batch job completes processing?
Respuesta
  • [ { "attributes": ..., "payload" : "100" }, { "attributes": ..., "payload" : "200" } ]
  • { "0" : "100", "1" : "200" }
  • ["100","200"]
  • { "0":{ "attributes": ..., "payload" : "100" }, "1":{ "attributes": ..., "payload" : "200" } }

Pregunta 125

Pregunta
🏆 A shopping API contains a method to look up store details by department. To get information for a particular store, web clients will submit requests with a query parameter named department and a URI parameter named storeId. What is a valid RAML snippet that supports requests from web clients to get data for a specific storeId and department name?
Respuesta
  • /department: get: uriParameter: storeId:
  • get: uriParameter: {storeId}: queryParameters: department:
  • /{storedId}: get: queryParameters: department:
  • get: queryParameters: department: uriParameter: storeId:

Pregunta 126

Pregunta
🏆 Refer to the exhibits. In the choice router, the When expression for the domestic shipping route is set to "#[payload= "FR"]". What is the output of logger after the execution of choice router is completed?
Respuesta
  • "Domestic"
  • "International"
  • "US"
  • A dataweave syntax error

Pregunta 127

Pregunta
🏆 A Mule application’s HTTP Listener is configured with the HTTP protocol. The HTTP Listener's port attribute is configured with a property placeholder named http.port. The Mule application sets the http.port property placeholder’s value to 9090. Tho Mule application’s deployed to CloudHub without setting any properties in the Runtime Manager Properties tab, and a log message reports the status of the HTTP Listener after the Mule application deployment completes. After the Mule application is deployed, what information is reported in the worker logs related to the port on which the Mule application’s HTTP Listener listens?
Respuesta
  • The HTTP Listener is listening on port 8081.
  • The HTTP Listener is listening on port 9090.
  • The HTTP Listener failed to bind to the port and is not listening for connections.
  • The HTTP Listener is listening on port 80.

Pregunta 128

Pregunta
🏆 Refer to the payload. The Set payload transformer sets the payload to an object. The logger component's message attribute is configured with the string "Result #["INFO"++ payload]" What is the output of logger when this flow executes?
Respuesta
  • Result INFOpayload
  • Result INFO{"student":{"name":"Anay","age":6}}
  • 1. 1. "You called the function '++' with these arguments: 2. 2. 1: String ("INFO") 3. 3: Object ({student: {name: "Anay" as String {class: "java.lang.String"},age: 6 as Numbe...)
  • Error : You evaluated inline expression # without ++

Pregunta 129

Pregunta
🏆 Refer to the exhibits. The mule application implements a REST API that accepts GET request from two URL's which are as follows 1) http://acme.com/order/status 2) http://acme.com/customer/status What path value should be set in HTTP listener configuration so that requests can be accepted for both these URL's using a single HTTP listener event source?
Respuesta
  • *[order,customer]/status
  • ?[order,customer]/status
  • */status
  • *status

Pregunta 130

Pregunta
🏆 Refer to the exhibit. The Mule application's connectors are configured with property placeholders whose values are set in the config.yaml file What must be added to the Mule application to link the config.yaml file's values with the property placeholders?
Respuesta
  • A configuration-properties element in the acme-app xml file
  • A dependency element in the pom xml file
  • A file-config element in the acrne-app xml file
  • A propertiesFile key/value pair in the mule-artifact json file

Pregunta 131

Pregunta
🏆 Refer to the exhibits. The Set Variable transformer is set with value #[ [ first "Max" last "Mule"} ]. What is a valid DataWeave expression to set as the message attribute of the Logger to access the value "Max" from the Mule event?
Respuesta
  • vars "customer first"
  • "customer first"
  • customer first
  • vars "customer" "first"

Pregunta 132

Pregunta
🏆 Refer to the exhibits. The Batch Job scope contains two Batch Step scopes with different accept expressions. The input payload is passed to the Batch Job scope. After the entire payload is processed by the Batch Job scope, what messages have been logged by the Logger components?
Respuesta
  • { "amount":500 } { "amount":101 } { "step2amount":1000 }
  • { "amount":500 } { "amount":601 } { "step2amount":1000 } { "step2amount":500 } { "step2amount":601 }
  • { "amount":500 } { "amount":101 } { "step2amount":1000 } { "step2amount":500 }
  • { "amount":500 } { "amount":101 } { "step2amount":1000 } { "step2amount":400 }

Pregunta 133

Pregunta
🏆 A Mule project contains a DataWeave module file WebStore dvA that defines a function named loginUser The module file is located in the projects src/main/resources/libs/dw folder. What is correct DataWeave code to import all of the WebStore.dwl file's functions and then call the loginUser function for the login "cindy.park@example.com"?
Respuesta
  • import libs.dw --- WebStore.loginUser("cindy.park@example.com")
  • import * from libs::dw --- WebStore::loginUser("cindy.park@example.com")
  • import libs.dw.WebStore --- loginUser("cindy.park@example.com")
  • import * from libs::dw::WebStore --- loginUser("cindy.park@example.com")

Pregunta 134

Pregunta
🏆 Refer to the exhibits. The main flow contains a Flow Reference component configured to call the child flow What part(s) of a Mule event passed to the Flow Reference component are available in the child flow?
Respuesta
  • The payload and all attributes
  • The payload and all variables
  • The entire Mule event
  • The payload

Pregunta 135

Pregunta
🏆 Refer to the exhibits. A Mule application is being developed to process web client POST requests with payloads containing order information including the user name and purchased items The Shipping connector returns a shipping address for the input payloads user name The Shipping connector's Shipping Address operation is configured with a target named shippingAddress. The Set Payload transformer needs to set an item key equal to the items value from the original received payload and a shippinglnfo key equal to the the ShippingAddress operation's response What is a straightforward way to property configure the Set Payload transformer with the required data?
Respuesta
  • { items: attributes.shippingAddress.items shippingInfo: payload }
  • { items: payload.items, shippingInfo: vars.shippingAddress }
  • { items: payload.items, shippingInfo: shippingAddress }
  • { items: vars.shippingAddress.items, shippingInfo: payload }

Pregunta 136

Pregunta
🏆 Refer to the exhibits. The my-app xml file contains an Error Handier scope named "global-error-handler" The Error Handler scope needs to be set to be the default error handler for every flow in the Mule application Where and how should the value "global-error-handler" be added in the Mule project so that the Error Handler scope is the default error handler of the Mule application?
Respuesta
  • In the mule-artifact json file, as the value of a key-value pair
  • In the Validation folder as the value of a global element in the error-handling yaml file
  • In the pom.xml file, as the value of a global element
  • In the my-app.xml file, as an attribute of a configuration element

Pregunta 137

Pregunta
🏆 Refer to the exhibits. The Mule application does NOT define any global error handlers. 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
  • "Child error"
  • "Parent error"
  • "Validation Error"
  • "Parent completed"

Pregunta 138

Pregunta
🏆 Refer to the exhibits. Client sends the request to ClientRequestFlow which calls ShippingFlow using HTTP Request activity. During E2E testing it is found that that HTTP:METHOD_NOT_ALLOWED error is thrown whenever client sends request to this flow. What attribute you would change in ClientRequestFlow to make this implementation work successfully?
Respuesta
  • Change the method attribute value to "*’’
  • Change the path attribute value to "/api/ship"
  • Change the allowed method attributes value to "POST"
  • Change the protocol attribute value to "HTTPS"

Pregunta 139

Pregunta
🏆 An organization is beginning to follow Mulesoft's recommended API led connectivity approach to use modern API to support the development and lifecycle of the integration solutions and to close the IT delivery gap. What distinguishes between how modern API's are organized in a MuleSoft recommended API-led connectivity approach as compared to other common enterprise integration solutions?
Respuesta
  • The API interfaces are specified as macroservices with one API representing all the business logic of an existing and proven end to end solution
  • The API interfaces are specified at a granularity intended for developers to consume specific aspect of integration processes
  • The API implementation are built with standards using common lifecycle and centralized configuration management tools
  • The APIO implementations are monitored with common tools, centralized monitoring and security systems

Pregunta 140

Pregunta
🏆 Refer to the exhibits. APIKit router is used to generate the flow components for RAML specification. The Mule application must be available to REST clients using the two URL's http://localhost:8081/internal and http://localhost:8081/external How many APIKit Router components are generated to handle requests to every endpoint defined in RAML specification? Library.raml /books get: post: /order: get patch /members get:
Respuesta
  • 1
  • 2
  • 3
  • 5

Pregunta 141

Pregunta
🏆 Refer to the exhibits. In the color flow , both the variable named color and payload are set to "red". An HTTP POST request is then sent to the decideColor flow's HTTP Listener. What is the payload value at the Logger component after the HTTP request completes?
Respuesta
  • white
  • red
  • blue
  • Error message

Pregunta 142

Pregunta
🏆 Refer to the exhibits. What payload and variable are logged at the end of the main flow?
Respuesta
  • [[5, 10, 15, 20], 1]
  • [[5, 10, 15, 20], 5]
  • [[Req5, Req10, Req15, Req20], 5]
  • [Req5Req10,Req15Req20, 5]

Pregunta 143

Pregunta
🏆 Refer to the exhibits. As a mulesoft developer, what you would change in Database connector configuration to resolve this error?
Respuesta
  • Configure the correct host URL
  • Configure the correct database name
  • Configure the correct table name
  • Configure the correct JDBC driver

Pregunta 144

Pregunta
🏆 Refer to the exhibit. The default scope in choice router recursively calls the color flow. A web client sends a PUT request to the HTTP listener with payload Blue. What response is returned to the web client?
Respuesta
  • "Blk"
  • "Green"
  • A timeout error
  • ["Blue", "Red", "Blk"]

Pregunta 145

Pregunta
🏆 Refer to the exhibits. The Mule application configures and uses two HTTP Listener global configuration elements. Mule application is run in Anypoint Studio. If the mule application starts correctly, what URI and port numbers can receive web client requests? If the mule applications fails to start , what is the reason for the failure?
Respuesta
  • The mule application fails to start There is URL path conflict because both HTTP
  • Listeners are configured with same path The mule application start successfully Web client requests can only be received at URI on port 2222 but not on port 3333
  • The mule application fails to start because of the port binding conflict as HTTP request also use same port i.e. 3333
  • The mule application start successfully Web client requests can be received at URI on port 2222 and on port 3333.

Pregunta 146

Pregunta
🏆 Pick the component with which DataWeave is tightly integrated.
Respuesta
  • All APIs
  • Mule runtime
  • Exchange
  • Flow Designer

Pregunta 147

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 148

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 149

Pregunta
🏆 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?

Pregunta 150

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 a valid RAML to specify a method to update the details for a specific department?
Respuesta
  • A
  • B
  • C
  • D

Pregunta 151

Pregunta
🏆 Refer to the exhibits. Mule application has an HTTP request configuration where host name is hardcoded. Organization is looking to move host and port values to configuration file. What valid expression can be used to so that HTTP configuration can pick the value from configuration file?
Respuesta
  • #[training.host]
  • ${http.host}
  • #{training.host}
  • ${training.host}

Pregunta 152

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

Pregunta 153

Pregunta
🏆 Refer to the exhibit! What is the output payload in the On Complete phase?
Respuesta
  • Summary statistics with NO record data
  • The records processed by the last batch step: [StepTwo1, StepTwo2, StepTwo3]
  • The records processed by all batch steps: [StepTwostepOne1, stepTwostepOne2] [StepTwoStepOne3]
  • The original payload: [1,2,3]

Pregunta 154

Pregunta
🏆 Refer to the exhibits. The input array of strings is processed by the batch job that processes, fitters, 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 155

Pregunta
🏆 Refer to the exhibits. The Mule Application is being debugged in Anypoint Studio and stops at breakpoint. What is the value of payload displayed in debugger at this breakpoint?
Respuesta
  • Processing
  • Begin
  • Finished

Pregunta 156

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

Pregunta 157

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 158

Pregunta
🏆 Refer to the exhibits. The main flow is configured with their error handlers. A web client submit a request to the HTTP Listener and the HTTP Request throws an HTTP: NOT_FOUND error . What response message is returned?’
Respuesta
  • APP: API RESOURCE NOT FOUND
  • HTTP: NOT FOUND
  • other error
  • success - main flow

Pregunta 159

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( "addItem", { price: "100", item: "router", itemType: "cable" } )
  • addItem( { payload: { price: "100", item: "router". itemType: "cable" } } )
  • lookup( "addItem", { payload: { price: "100", item: "router", itemType: "cable" } } )
  • addItem( { price: "100", item: "router", itemType: "cable" } )

Pregunta 160

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

Pregunta 161

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

Pregunta 162

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

Pregunta 163

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 164

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

Pregunta 165

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 166

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

Pregunta 167

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 168

Pregunta
🏆 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 169

Pregunta
🏆 How many private flows does APIkit generate from the RAML specification?
Respuesta
  • 1
  • 2
  • 3
  • 5

Pregunta 170

Pregunta
🏆 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 171

Pregunta
🏆 What valid RAML retrieves details on a specific order by its orderId as a URI parameter?
Respuesta
  • Option A
  • Option B
  • Option C
  • Option D

Pregunta 172

Pregunta
🏆 Refer to the exhibit. What data is expected by the POST /accounts endpoint?

Pregunta 173

Pregunta
🏆 Refer to the exhibits. What is written to the records.csv file when the flow executes?
Respuesta
  • The JSON payload
  • An error message
  • Nothing
  • The payload convert to CVS

Pregunta 174

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 175

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

Pregunta 176

Pregunta
🏆 The error occurs when a project is run in Anypoint Studio. The project, which has a dependency that is not in the MuleSoft Maven repository, was created and successfully run on a different computer. What is the next step to fix the error to get the project to run successfully?
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 177

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 178

Pregunta
🏆 A web client sends a GET request that includes a destination query parameter to the flow’s HTTP Listener. The Web Service Consumer throws a WSC:BAD_REQUEST error. What is the next step to fix this error?
Respuesta
  • Set a header in the Consume operation equal to the destination query parameter
  •  Set a SOAP payload before the Consume operation that contains the destination query parameter
  •  Set a property in the Consume operation equal to the destination query parameter
  •  Set a JSON payload before the Consume operation that contains the destination query parameter

Pregunta 179

Pregunta
🏆 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 180

Pregunta
🏆 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 181

Pregunta
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 182

Pregunta
What is the correct syntax to reference a fragment in RAML?
Respuesta
  •  examples: #include examples/BankAccountsExample.raml
  •  examples: $include examples/BankAccountsExample.raml
  •  examples: ?include examples/BankAccountsExample.raml
  •  examples: !include examples/BankAccountsExample.raml

Pregunta 183

Pregunta
Refer to the exhibits. The two Mule configuration files belong to the same Mule project. Each HTTP Listener is configured with the same host string and the port number, path, and operation values are shown in the display names. What is the minimum number of global elements that must be defined to support all these HTTP Listeners?
Respuesta
  • 1
  • 2
  • 3
  • 4

Pregunta 184

Pregunta
An app team is developing a mobile banking app. It took them two months to create their own APIs to access transaction information from a central database. The app team later found out that another team had already built an API that accesses the transaction information they need. According to MuleSoft, what organization structure could have saved the app team two months of development time?
Respuesta
  • Center for Enablement
  • Center of Excellence
  • Central API Review Board
  • MuleSoft Support Center

Pregunta 185

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?

Pregunta 186

Pregunta
A Utility.dwl file is located in a Mule project at src/main/resources/modules. The Utility.dwl hie defines a function named pascalize that reformats strings to pascal case. What is the correct DataWeave to call the pascalize function in a Transform Message component?
Respuesta
  • %dw 2.0 output application/json import modules.Utility --- pascalize("max mule")
  • %dw 2.0 output application/json import modules::Utility --- pascalize("max mule")
  • %dw 2.0 output application/json import modules::Utility --- Utility::pascalize("max mule")
  • %dw 2.0 output application/json import modules.Utility --- Utility.pascalize("max mule")
Mostrar resumen completo Ocultar resumen completo

Similar

Cualidades de la Voz y Variedad Vocal "Expresión Oral"
jairosernabernal
ANATOMÍA TOPOGRÁFICA DEL ABDÓMEN
Marcela Pazmiño
Capas de la Tierra
Diego Santos
PMP Prep
jorgeat
SISTEMA DE COSTOS POR ORDENES DE PRODUCCIÓN
azua1424
Vocabulario Inglés (I y II) para la Selectividad
maya velasquez
La Segunda República: Parte 1
Diego Santos
Test Ortografía
Omar Vazquez Flores
5 Maneras de Usar las Redes Sociales en el Aula
Diego Santos
Literatura: Obras y Autores
Diego Santos
Bloque 1 Clase Resto Materias
Alvaro Valladares