MuleSoft Certified Developer - Level 1 (Mule 4) (Part 2)

Descripción

Digital Technologies Test sobre MuleSoft Certified Developer - Level 1 (Mule 4) (Part 2), 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
417
0

Resumen del Recurso

Pregunta 1

Pregunta
Refer to the exhibits. The Set Payload component sets the payload to a Map object (not an Array). The File Write operation writes out files based on this Map object. How many files are written to the file system when the flow executes?
Respuesta
  • 0
  • 1
  • 2
  • 3

Pregunta 2

Pregunta
Refer to the exhibit. The payload [1,2,3] is passed to the Batch Job scope. In Batch_Step_1, a variable named batchStepPayload is set to the current payload. What is the value of the last log message after one batch job completes?
Respuesta
  • 13
  • [11,12,13]
  • 33
  • 30
  • 10

Pregunta 3

Pregunta
Refer to the exhibit. What are the values of the counter and stepVar variables in the On Complete pase/after the Batch Job?
Respuesta
  • counter: 31, stepVar: 31
  • counter: 1, stepVar: 31
  • counter: 31, stepVar: null
  • counter: 1, stepVar: null

Pregunta 4

Pregunta
Refer to the exhibits. What is the output of the Logger component in the Batch Job?
Respuesta
  • [.333] [1]
  • [.333, 1]
  • [.333, .667, 1, 1.333]
  • [.333] [.667] [1] [1.333]

Pregunta 5

Pregunta
Refer to the exhibit. The main Flow contains a Flow Reference for the child Flow. After a web client submits a request to http://localhost:8081/order?color=red, what values are accesible in the child Flow?
Respuesta
  • Payload
  • Payload quantity var color query param
  • Payload quantity var
  • Payload color query param

Pregunta 6

Pregunta
Refer to the exhibits. The orders.csv file is read and then processed to look up the orders in a database. The Mule application is debugged in Anypoint Studio and stops at the breakpoint. What payload is shown in the debugger at this breakpoint?
Respuesta
  • 100
  • The entire CSV file
  • An empty array
  • The database response

Pregunta 7

Pregunta
Refer to the exhibits. The Set Payload transformer in the For Each scope and the Set Payload transformer in the Batch Job scope’s Batch expresión to sleep (pause processing) for the number of milliseconds in the current payload. The Batch Job scope’s block size is set to. In what order are the payloads logged in the For Each scope and in the Batch Step scope?
Respuesta
  • For Each scope: 100, 200, 1000, 2000 Batch Step scope: 40, 300, 3000, 4000
  • For Each scope: 2000, 200, 1000, 100 Batch Step scope: 40, 300, 3000, 4000
  • For Each scope: 100, 200, 1000, 2000 Batch Step scope: 4000, 40, 3000, 300
  • For Each scope: 2000, 200, 1000, 100 Batch Step scope: 4000, 40, 3000, 300

Pregunta 8

Pregunta
Refer to the exhibit. An HTTP Listener is being configured to accept requests from web clients on URLs like htttp://localhost:8081/accounts/10, where the number 10 can change to other numbers. In order to capture the number in a parameter named ID, to what must the path of the HTTP Listener component be set?
Respuesta
  • /accounts/ID
  • #[/accounts/ID]
  • /accounts/{ID}
  • /accounts/#[ID]

Pregunta 9

Pregunta
Refer to the exhibits. The /daily folder exists, is currently empty, and files can be read and written to this folder by Anypoint Studio.This Mule application is run in Anypoint Studio, and then a file named productUpdate.txt containing the text “START” is written to the /daily folder. What is in the /daily folder after the readUpdates Flow completes for the first time?
Respuesta
  • A file named productUpdates.txt.bak containing the text “START”
  • A file named productUpdates.txt.bak containing the text “FINISHED”
  • A file named productUpdates.txt containing the text “START” A file named productUpdates.txt.bak containing the text “FINISHED”
  • A file named productUpdates.txt containing the text “START” A file named productUpdates.txt.bak containing the text “START”

Pregunta 10

Pregunta
Refer to the exhibit. The RAML file defines a method to create users. What is the correct way to create a user in a web client?
Respuesta
  • http://localhost:8081/api/users (POST username = max password = mule)
  • http://localhost:8081/api/users?username=max&password=mule (POST)
  • http://localhost:8081/api/users/max/mule (POST)
  • http://localhost:8081/api/users?username=headers&password=headers (POST username = username:max password = password:mule)

Pregunta 11

Pregunta
A Utility.dwl file is located in a Mule Project at src/main/resources/modules. The Utility.dwl file defines a function named pascalize that reformats strings to pascal case. What is valid DataWeave code to call the pascalize function in a Transform Message component?
Respuesta
  • %dw 2.0 output application/json import modules::Utility --- 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 --- pascalize("max mule")
  • %dw 2.0 output application/json import modules.Utility --- Utility.pascalize("max mule")

Pregunta 12

Pregunta
Refer to the exhibits. The Mule application does NOT define any global error handler elements. What is the response to a web client request to http://localhost:8081?
Respuesta
  • “Before”
  • Null
  • Validation Error
  • “After”

Pregunta 13

Pregunta
Refer to the exhibits. When the Flow executes, the now() function in the Transform Message component returns “2021-08-26T13:32:10.64-07:00”. What is written to the records.csv file when the flow executes?
Respuesta
  • { "transaction_id": "SS-4848-44KK-4YQ", "account_id": "KA-382-SKD44" "name": "Max Mule", "position": "sell", "write_date": "2021-08-26T13:32:10.64-07:00" }
  • "transaction_id", account_id, name, position "SS-4848-44KK-4YQ", "KA-382-SKD44", "Max Mule","sell"
  • "transaction_id", account_id, name, position, write_date "SS-4848-44KK-4YQ", "KA-382-SKD44", "Max Mule","sell", "2021-08-26T13:32:10.64-07:00"
  • { "transaction_id": "SS-4848-44KK-4YQ", "account_id": "KA-382-SKD44" "name": "Max Mule", "position": "sell", }

Pregunta 14

Pregunta
Refer to the exhibits. The Mule application does NOT Define any global handlers. The main flow is configured with three error handlers. A web client submits a request to the HTTP listener and the HTTP request throws an HTTP:NOT_FOUND error. What response is returned?
Respuesta
  • “Other error”
  • “APP: API RESOURCE NOT FOUND”
  • “HTTP: NOT FOUND”
  • “Success – main flow”

Pregunta 15

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

Pregunta 16

Pregunta
Refer to the exhibits. A web client submits a request to http://localhost:8081/flights What is the result at the end of the flow?
Respuesta
  • “String”
  • “Java”
  • “XML”
  • “Object”

Pregunta 17

Pregunta
Refer to the exhibits. The main flow of this Mule application uses an HTTP connector operation and two JMS connector operations. The Mule application is run and stars succesfully, and then a web client send a request to http://localhost:8081. What payload is then returned to the web client from the Mule application?
Respuesta
  • 1
  • 2
  • 3
  • 4

Pregunta 18

Pregunta
Refer to the exhibits. A web client makes an HTTP GET request to the flow’s HTTP Listener. The Validation component throws an error with message “Validate - Payload is an Integer”. What response message is returned to the web client?
Respuesta
  • “Error – main flow”
  • “Success – Begin main flow”
  • “Success – End main flow”
  • “Validate – Payload is an Integer”

Pregunta 19

Pregunta
Refer to the exhibits. In this Mule application files are written from inside a For Each scope. What is written to the file system when the Flow executes, and what payload is returned in the response to the web client?
Respuesta
  • One file is written with an error message The response payload is the error message
  • Two files are created, each containing a different object of one or two account objects The response payload is a JSON formatted of two objects, where each object is a duplicate copy of the object of account written to each file.
  • Three files are created, one for each account object The response payload is a success message without any account objects
  • Two files are created, each containing a differrent array of one or two account objects. The response payload is a JSON formatted object of account objects that is created in the Set Payload transformer

Pregunta 20

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" host: "localhost" port: "8081"
  • http.host = localhost http.port = 8081
  • http: host = "localhost" port = "8081"
  • { http: basePath: "api", port: "8081", host: "localhost" }

Pregunta 21

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

Pregunta 22

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
  • "US"
  • "Domestic"
  • A Dataweave sintax error
  • "International"

Pregunta 23

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

Pregunta 24

Pregunta
Refer to the exhibits. The mule application implements a REST API that accepts GET request from two URL's which are as follows. 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 25

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. 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 26

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

Pregunta 27

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 28

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 29

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 30

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 31

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 32

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 33

Pregunta
Refer to the exhibits. The main Flow has an On Error Continue scope with type set to HTTP:NOT_FOUND. The Mule application configures globalErrorHandler as it’s default error handler. A web client posts a request to the HTTP Listener. The Transform Message component then throws a MULE:EXPRESSION error trying to convert the payload to application/xml. What response message is returned to the web client?
Respuesta
  • “HTTP:NOT_FOUND error”
  • “MAIN”
  • “Global Error Handler”
  • The MULE:EXPRESSION error’s message

Pregunta 34

Pregunta
Which of the below is not the mandatory configurations for HTTP Listener?
Respuesta
  • Path
  • Allowed methods
  • HTTP port in Connector Configuration
  • HTTP host in Connector Configuration

Pregunta 35

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
  • Route 1
  • Route 2
  • Route1,Route 2
  • Route1,Route 2,Default

Pregunta 36

Pregunta
Refer to the exhibit. Client received HTTP 415 error while trying to invoke Mule API. What should be changed on the client side to fix the 415 error?
Respuesta
  • Set the response Content-Type header to text/plain
  • Set the request Content-Type header to text/plain
  • Set the response Content-Type header to application/json
  • Set the request Content-Type header to application/json

Pregunta 37

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

Pregunta 38

Pregunta
Refer to the exhibits. The Batch Job processes, filters, and aggregates records. What is the outcome from the Logger component when the flow is executed?
Respuesta
  • [10,20] [30,40] [50,60]
  • [10,20,30,40,50,60]
  • [20,40] [60]
  • [20,40,60]

Pregunta 39

Pregunta
Refer to the exhibits. What is valid expression for the Choice router's When expression to route the events to the domesticShipping flow?
Respuesta
  • #[payload == 'US']
  • #[payload = 'US']
  • #[ if(payload == 'US')]
  • #[ if(payload = 'US')]

Pregunta 40

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

Pregunta 41

Pregunta
Refer to exhibits. A web client submits a request to http://localhost:8081. What the structure of the payload at the end of the flow?
Respuesta
  • [ 'Banana', 'Apple']
  • { "0": "Banana", "1": "Apple" }
  • "attributes": ---, "payload": ['Banana', 'Apple'] }
  • { "0": { "attributes": ---, "payload": "Banana" } "1": { "attributes": ---, "payload": "Apple" } }

Pregunta 42

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 43

Pregunta
A Utility.dwl is located in a Mule project at src/main/resources/modules. The Utility.dwl file defines a function named encryptString that encrypts a String What is the correct DataWeave to call the encryptString function in a Transform Message component?
Respuesta
  • %dw 2.0 output application/json import modules::Utility --- Utility::encryptString("John Smith")
  • %dw 2.0 output application/json import modules::Utility --- encryptString("John Smith")
  • %dw 2.0 output application/json import modules.Utility --- encryptString("John Smith")
  • %dw 2.0 output application/json import modules.Utility --- Utility.encryptString("John Smith")

Pregunta 44

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. Port number , path and operation values are shown in 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 45

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?
Respuesta
  • Select both the options 1) Attach project sources 2) Include project module and dependencies
  • No need to select any of the below options 1) Attach project sources 2) Include project module and dependencies
  • Select only below option 2) Include project module and dependencies
  • Select only below option 1) Attach project sources

Pregunta 46

Pregunta
What path setting is required for an HTTP Listener endpoint to route all requests to an APIKit router?
Respuesta
  • /*
  • /
  • /{}
  • /{*}

Pregunta 47

Pregunta
What should this endpoint return? http://dev.acme.com/api/patients?name=John&surname=Bell
Respuesta
  • Patient with name as John
  • Patient with surname as bell
  • Patients with either name as John or surname as Bell
  • Patients with name as John and surname as Bell

Pregunta 48

Pregunta
There are three routes configured for Scatter-Gather and incoming event has a payload is an Array of three objects. How routing will take place in this scenario?
Respuesta
  • Incoming array objects would be split into three and each part would be sent to one route each in sequential manner
  • Incoming array objects would be split into three and each part would be sent to one route each in parallel
  • Entire event would be sent to each route sequentially
  • Entire event would be sent to each route in parallel

Pregunta 49

Pregunta
What is the default port used by Mule application debugger configuration in Anypoint Studio?
Respuesta
  • 8082
  • 8080
  • 7777
  • 6666

Pregunta 50

Pregunta
As a part of project requirement, you want to build an API for a legacy client. Legacy client can only consume SOAP webservices. Which type the interface documentation can be prepared to meet the requirement?
Respuesta
  • RAML file to define SOAP services
  • WSDL file
  • JSON file
  • plain text file documenting API's

Pregunta 51

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 52

Pregunta
What valid RAML retrieves details on a specific customer by its customerId as a URI parameter?
Respuesta
  • /customers: /get: /customerId:
  • /customers: /{customerId}: get:
  • /customers: /customerId: get:
  • /customers: get: /{customerId}:

Pregunta 53

Pregunta
Which of the below activity doesn't support parallel execution?
Respuesta
  • Scatter Gather Router
  • First Successful Router
  • Parallel For Each
  • Batch Job

Pregunta 54

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

Pregunta 55

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

Pregunta 56

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 57

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 58

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

Pregunta 59

Pregunta
Refer to the exhibits. Which of the Dataweave expression amongst the options transforms the input to the output?
Respuesta
  • payload.order.*item map {(value, index) -> { index: index, orderId: value.@orderId, itemName: value.item, lineItemPrice: (value.price as :number) * (value.quantity as :number) } }
  • payload.order.*item map {(value, index) -> { index: index, orderId: value.@orderId, itemName: value.item, lineItemPrice: (value.price as Number) * (value.quantity as Number) } }
  • payload.order.*item map {(value, index) -> { index: index, orderId: value.orderId, itemName: value.item, lineItemPrice: (value.price as :number) * (value.quantity as :number) } }
  • payload.order.*item map {(value, index) -> { index: index, orderId: value.orderId, itemName: value.item, lineItemPrice: (value.price as :number) * (value.quantity as Number) } }

Pregunta 60

Pregunta
The API needs to be updated using the company wide standard for the Plan data type. The Object data type has already been published to Anypoint Exchange with the global reference mentioned below. ACME/DataTypes/PlanData.raml What is valid RAML specification that reuses the Plan Data type?
Respuesta
  • #%RAML 1.0 title: ACME Telecom API types: Plan: !include ACME/DataTypes/PlanDataType.raml /plans: get: responses: 200: body: application/json: type:Plan[] example: !include ACME/Examples/PlanExamples.raml
  • #%RAML 1.0 title: ACME Telecom API types: Plan: !reference ACME/DataTypes/PlanDataType.raml /plans: get: responses: 200: body: application/json: type:Plan[] example: !reference ACME/Examples/PlanExamples.raml
  • #%RAML 1.0 title: ACME Telecom API dataTypes: Plan: !reference ACME/DataTypes/PlanDataType.raml /plans: get: responses: 200: body: application/json: type:Plan[] example: !reference ACME/Examples/PlanExamples.raml
  • #%RAML 1.0 title: ACME Telecom API dataTypes: Plan: !include ACME/DataTypes/PlanDataType.raml /plans: get: responses: 200: body: application/json: type:Plan[] example: !include ACME/Examples/PlanExamples.raml

Pregunta 61

Pregunta
Refer to the exhibits. What is written to the records.csv when the flow executes?
Respuesta
  • Nothing
  • JSON payload
  • payload converted to csv
  • An error message

Pregunta 62

Pregunta
Refer to the exhibit. What is the output of Logger activity named payload in the On Complete phase?
Respuesta
  • The records are processed by all batch steps
  • The records are processed by last batch step
  • The original payload: [1,2,3]
  • Summary stadistics with No record data

Pregunta 63

Pregunta
What is the correct syntax to define and and call a function in Dataweave script?
Respuesta
  • fun addKV (object: Object, key: String, value: Any) = object ++ {(key):(value)} --- {hello: "world"} addKV ("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)} --- addKV ({"hello": "world"}, "hola", "mundo")
  • %function addKV (object: Object, key: String, value: Any) = object ++ {(key):(value)} --- {"hello": "world"} addKV ("hola", "mundo")

Pregunta 64

Pregunta
What the correct RAML syntax which retrieves details on a specific order by its orderId as a URI parameter?
Respuesta
  • /orders: /{orderId}: get:
  • /orders: /get: /orderId
  • /orders: /orderId: get:
  • /orders: get: /{orderId}:

Pregunta 65

Pregunta
Refer to the exhibits. What is valid text to set the user field in the Database connector configuration to the username value specified in the config.yaml file?
Respuesta
  • #[db:username>
  • #[db.username]
  • ${db.username}
  • ${db:username}

Pregunta 66

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

Pregunta 67

Pregunta
Refer to the exhibit. What is the correct DataWeave expression for the Set Payload transformer to call the createCustomerObject flow with values for the first and last names of a new customer?
Respuesta
  • lookup( "createCustomerObject", {first: "Alice, last: "Green"})
  • createCustomerObject({first: "Alice", last' "Green"})
  • createCustomerObject("Alice", "Green")
  • lookup( "createCustomerObject", ("Alice", "Green"))

Pregunta 68

Pregunta
Mule application contains ActiveMQ JMS dependency. Mule application was compiled and run successfully in Anypoint Studio. The mule application must now be exported from Anypoint Studio and shared with other developer. What export options should be selected to create the smallest JAR file that can be imported into other developer's Anypoint Studio and run successfully?
Respuesta
  • Select only Attach Project Sources only
  • Select both Attach Project Sources and Include project modules and dependencies
  • Select the Include project modules and dependencies option only
  • De-select both Attach Project Sources and Include project modules and dependencies

Pregunta 69

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 70

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 71

Pregunta
How can we scale deployed Mule application vertically on Cloudhub?
Respuesta
  • Changing worker size
  • Adding multiple workers
  • Mule applications can be scaled only horizontally
  • Option 1 and 2 both can be used

Pregunta 72

Pregunta
Which of the below 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 73

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

Pregunta 74

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 75

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 76

Pregunta
In which of the below files, metadata stored in a Mule project?
Respuesta
  • Config.yaml file
  • POM.xml file
  • application-types.xml
  • Global Element

Pregunta 77

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

Pregunta 78

Pregunta
Which file is used to define the interface contract to invoke a web service implemented as a SOAP service?
Respuesta
  • RAML
  • WSDL
  • JSON
  • OAS

Pregunta 79

Pregunta
Which of the following is invalid type of event processor which can be used as a router?
Respuesta
  • Choice
  • Round Robin
  • Pick First
  • First Successful

Pregunta 80

Pregunta
There are three routs configured for Scatter-Gather and incoming event has a payload is an Array of three objects. How routing will take place in this scenario?
Respuesta
  • Incoming array objects would be split into three and each part would be sent to one route each in parallel
  • Incoming array objects would be split into three and each part would be sent to one route each in sequential manner
  • Entire event would be sent to each route in parallel
  • Entire event would be sent to each route sequentially

Pregunta 81

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

Pregunta 82

Pregunta
A Batch Job scope has five batch steps. An event processor throws an error in the second batch step because the input data is incomplete. What is the default behavior of the batch job after the error is thrown?
Respuesta
  • All processing of the batch job stops
  • Event processing continues to the next batch step
  • Error is ignored
  • Batch is retried

Pregunta 83

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 84

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 85

Pregunta
What of the below is not a feature of API Notebooks?
Respuesta
  • API documentation
  • Creates a client for an API
  • Creates a mock service for an API
  • Performed authenticated live calls on a real server

Pregunta 86

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

Pregunta 87

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

Pregunta 88

Pregunta
Refer to the exhibits. A mule application is being developed which will process POST requests coming from clients containing the name and order information. Sample request is as below 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.adress" }
  • { orderkey: "attributes.shippingaddress.order", addresskey: "payload" }
  • { orderkey: "payload.order", addresskey: "address" }
  • { orderkey: "attributes.order", addresskey: "vars.address" }

Pregunta 89

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 component when this flow executes?
Respuesta
  • Result INFOpayload
  • Result INFO{"student":{"name":"Anay","age":6}}
  • You called the function '++' with these arguments: 1: String ("INFO") 2: Object ({student: {name: "Anay" as String {class: "java.lang.String"},age: 6 as Numbe...)
  • Error: You evaluated inline expression # without ++

Pregunta 90

Pregunta
An API specification is designed using RAML . What is the next step to create a REST Connector from this API specification?
Respuesta
  • Add the specification to a Mule project's src/main/resources/api folder
  • Download the API specification and build the interface using APIkit
  • Implement the API specification using flow designer in Design Center
  • Publish the API specification to Anypoint Exchange

Pregunta 91

Pregunta
A Mule flow has three Set Variable transformers. What global data structure can be used to access the variables?
Respuesta
  • Mule event attributes
  • Mule application properties
  • Mule event message
  • Mule event

Pregunta 92

Pregunta
What is the minimum Cloudhub worker size that can be specified while deploying mule application?
Respuesta
  • 0.2 vCores
  • 0.5 vCores
  • 1.0 vCores
  • 0.1 vCores

Pregunta 93

Pregunta
Which Mule component provides a real-time, graphical representation of the APIs and mule applications that are running and discoverable?
Respuesta
  • API Notebook
  • Runtime Manager
  • Anypoint Visualizer
  • API Manager

Pregunta 94

Pregunta
What is the output of Dataweave Map operator?
Respuesta
  • Map
  • Object
  • String
  • Array

Pregunta 95

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 preserve the current vCore usage, but still allow the Mule application to be managed by API Manager?
Respuesta
  • Modify the API implementation to use auto-discovery to register with API Manager
  • Register the same API implementation in Runtime Manager to connect to API Manager
  • Deploy the same API implementation 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

Pregunta 96

Pregunta
A flow needs to combine and return data from two different data sources. It contains a Database SELECT operation followed by an HTTP Request operation. What is the method to capture both payloads so the payload from second request does not overwrite that from the first?
Respuesta
  • Put the Database SELECT operation inside a cache scope
  • Put the Database SELECT operation inside a Message Enricher scope
  • Save the payload from the Database SELECT operation to a variable
  • Nothing as previous payloads are combined into the next payload

Pregunta 97

Pregunta
How can you call a subflow from Dataweave?
Respuesta
  • Not possible in Mule 4
  • Import function
  • Lookup function
  • Include function

Pregunta 98

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 clients to VPN directly to the application at the Mule application's configured HTTP port
  • 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

Pregunta 99

Pregunta
In an application network. If the implementation but not the interface of a product API changes, what needs to be done to the other APIs that consume the product API?
Respuesta
  • The applications associated with the other APIs must be recoded
  • The other APIs must be updated to consume the updated product API
  • Nothing needs to be changed in the other APIs or their associated applications
  • The applications associated with the other APIs must be restarted

Pregunta 100

Pregunta
A mule application contains a global error handler configured to catch any errors. Where must the global error handler be specified so that global error handler catches all errors from flows without their own error handlers?
Respuesta
  • Nowhere as global error handler is automatically used
  • The POM.xml file
  • A global element
  • A configuration properties file

Pregunta 101

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

Pregunta 102

Pregunta
How can you call a flow from Dataweave?
Respuesta
  • include function
  • not allowed
  • tag function
  • lookup function

Pregunta 103

Pregunta
A Mule application configured with Autodiscovery implements an API. Where is governance enforced for policies defined for this Mule application?
Respuesta
  • In Runtime Manager
  • In API Exchange
  • In the Mule application
  • In API manager

Pregunta 104

Pregunta
A Mule project contains a DataWeave module like WebStore.dwl that defines a function named loginUser which accepts login id (String) as an argument. 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 purpose of login for the below user? "Todd.Pal@mulesoft.com"
Respuesta
  • import libs.etl --- WebStore.loginUser("Todd.Pal@mulesoft.com")
  • import * 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 105

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 106

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 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 Busness (LoBs) onsumed each foundational asset

Pregunta 108

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 109

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 110

Pregunta
Refer to the exhibits. Set Variable 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 111

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 112

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
  • {amount=140} {amount=102} {step2amount=100}
  • {amount=140} {amount=102} {step2amount=100} {step2amount=40}
  • {amount=140} {amount=102} {step2amount=100} {step2amount=140}
  • {amount=140} {amount=102} {step2amount=100} {step2amount=140} {step2amount=102}

Pregunta 113

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? SELECT * from accounts WHERE city=attributes.queryParams.city and state=attributes.queryParams.state
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 114

Pregunta
What DataWeave expression transforms the array a to the XML output?
Respuesta
  • trains: {( a map ((engId, index) -> train: { TrainNumber: engId } ) )}
  • trains: a map ((engId, index) -> train: { TrainNumber: engId } )
  • {( trains: a map ((engId, index) -> train: { TrainNumber: engId } ) )}
  • { trains: a map ((engId, index) -> train: { TrainNumber: engId } ) }

Pregunta 115

Pregunta
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
  • 0
  • 20
  • 30
  • 10

Pregunta 116

Pregunta
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: [StepTwol, StepTwo2, StepTwo3]
  • The records processed by all batch steps: [StepTwostepOnel, stepTwostepOne2, StepTwoStepOne3]
  • The original payload: [1,2,31]
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_
Biomoleculas
Saul Herrera
Mapa Conceptual
Laura Laguna
Texto del FCE para Rellenar Espacios
Diego Santos
¡Test de nivel de francés oficial!
Diego Santos
Medicina Forense
Alfonso Tester