WorksheetsSalesforce Certified MuleSoft Developer I Exam Set 2
Total questions: 140
Worksheet time: 1hrs 10mins
Name
Class
Date
1.
1. A Database On Table Row listener retrieves data from a CUSTOMER table that contains a primary key userjd column and an increasing kxjin_date_time column. Neither column allows duplicate values.
How should the listener be configured so it retrieves each row at most one time?
a)
A. Set the watermark column to the bgin_date_time column
b)
B. Set the target value to the last retrieved login_date_time value
c)
C. Set the target value to the last retrieved user_jd value
d)
D. Set the watermark column to the user_Id column
2.
2. Which out of below is not an asset?
a)
A. Template
b)
B. Connector
c)
C. Exchange
d)
D. Example
3.
3. Refer to the exhibit. What is the output of logger component?
a)
A. String
b)
B. Object
c)
C. Array
d)
D. Map
4.
4. Why would a Mule application use the ${http.port} property placeholder for its HTTP Listener port when it is deployed to CloudHub?
a)
A. Allows CloudHub to automatically change the HTTP port to allow external clients to connect to the HTTP Listener
b)
B. Allows CloudHub to automatically register the application with API Manager
c)
C. Allows MuleSoft Support to troubleshoot the application by connecting directly to the HTTP Listener
d)
D. Allows clients to VPN directly to the application at the Mule application's configured HTTP port
5.
5. Which of the below is used by Mule application to manage dependencies which make sharing the projects lightweight and easier?
a)
A. Configuration file
b)
B. Global element
c)
C. POM.xml
d)
D. Cloudhub
6.
6. Refer to the exhibit.
How many private flows does APIKIT generate from the RAML specification?
a)
A. 3
b)
B. 2
c)
C. 1
d)
D. 4
7.
7. Refer to the exhibits.
A web client sends a GET request to the HTTP Listener.
What response message is returned to the web client?
a)
A. ""
b)
B. "End"
c)
C. "Start"
d)
D. "String is not blank"
8.
8. 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?
a)
A. "object"
b)
B. "string"
c)
C. "XML"
d)
D. "Java"
9.
9. According to Semantic Versioning, which version would you change for incompatible API changes?
a)
A. No change
b)
B. MINOR
c)
C. MAJOR
d)
D. PATCH
10.
10. Refer to the exhibits.
A web client submits a request to http://localhost:8081/fliqhts?destination=SFO and the Web Service Consumer throws a WSC:BAD_REQUEST error.
What is the next step to fix this error?
a)
A. Set a header In the Consume operation equal to the destination query parameter
b)
B. set a SOAP payload before the Consume operation that contains the destination query parameter
c)
C. set a property m the Consume operation equal to the destination query parameter
d)
D. set a JSON payload before the Consume operation that contains the destination query parameter
11.
11. A Mule project contains a MySQL Database dependency. The project is exported from Anypoint Studio so it can be deployed to CloudHub.
What export options create the smallest deployable archive that will successfully deploy to CloudHub?
What export option create their smallest deployable archive that will successfully deploy to CloudHub?
a)
A.
b)
B.
c)
C.
d)
D.
12.
12. Refer to the exhibits.
What payload and quantity are togged at the end of the main flow?
a)
A. [[order1, order2, order3, order4], 14]
b)
B. [[1,2,3,4], 14]
c)
C. [[1,2,3,4], 10]
d)
D. [orderlorder2order3order4, 14]
13.
13. 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?
a)
A. The applications associated with the other APIs must be restarted
b)
B. The applications associated with the other APIs must be recoded
c)
C. The other APIs must be updated to consume the updated product API
d)
D. Nothing needs to be changed in the other APIs or their associated applications
14.
14. What are the latest specification of RAML available?
a)
A. 1.2
b)
B. 1
c)
C. 0.8
d)
D. 2
15.
15. Refer to the exhibit.
What is the correct syntax to add an employee ID as a URI parameter in an HTTP Listener path?
a)
A. (employeelD)
b)
B. ${emp!oyeelD}
c)
C. {employeelD}
d)
D. # [employeelD]
16.
16. A Mule flow has three Set Variable transformers. What global data structure can be used to access the variables?
a)
A. Mule event attributes
b)
B. Mule event message
c)
C. Mule application properties
d)
D. Mule event
17.
17. What is the trait name you would use for specifying client credentials in RAML?
a)
A. headers
b)
B. client-id
c)
C. client-id-required
d)
D. cannot be specified in RAML
18.
18. Refer to the exhibit.
The Batch Job processes, filters and aggregates records, What is the expected output from the Logger component?
a)
A. [10. 20, 30. 40, 50, 60]
b)
B. [10. 20] [30, 40] [50, 60]
c)
C. [20, 40, 60]
d)
D. [20. 40] [60]
19.
19. Where are values of query parameters stored in the Mule event by the HTTP Listener?
a)
A. Inbound Properties
b)
B. Variables
c)
C. Attributes
d)
D. Payload
20.
20. What statement is a part of MuleSoft's description of an application network?
a)
A. Creates and manages high availability and fault tolerant services and infrastructure
b)
B. Creates reusable APIs and assets designed to be consumed by other business units
c)
C. Creates and manages a collection of JMS messaging services and infrastructure
d)
D. Leverages Central IT to deliver complete point-to-point solutions with master data management
21.
21. Refer to the exhibits.
The Mule application does NOT define any global error handler elements. A web client sends a GET request to the HTTP Listener. What response message is returned to the web client?
a)
A. -...
b)
B. "Start"
c)
C. "Siring is not blank"
d)
D. "End"
22.
22. Refer to the exhibit.
The Mule application Is debugged in Any point Studio and stops at the breakpoint What is the value of the payload displayed In the debugger at this breakpoint?
a)
A. Complete"
b)
B. "Start"
c)
C. 0
d)
D. "Processing"
23.
23. 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?
a)
A. /accounts/retail/finance
b)
B. /accounts?account_type=retail&industry=finance
c)
C. /accounts/account_type=retail/industry=finance
d)
D. /accounts?account_type:retail&industry:finance
24.
24. 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?
a)
A.
b)
B.
c)
C.
d)
D.
25.
25. The new RAML spec has been published to Anypoint Exchange with client credentials.
What is the next step to gain access to the API?
a)
A. Request access to the API in Anypoint Exchange
b)
B. Email the owners of the API
c)
C. Create a new client application
d)
D. No additional steps needed
26.
26. 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?
a)
A.
b)
B.
c)
C.
d)
D.
27.
27. Refer to the exhibit.
A Mule event is composed of a hierarchy of objects. Where in the hierarchy are variables stored?
a)
A. Mule event
b)
B. Mule message payload
c)
C. Mule message
d)
D. Mule message attributes
28.
28. Refer to the exhibit.
What is the response to a web client request to http://localhost:8081?
a)
A. After
b)
B. before
c)
C. Validation Error
d)
D. null
29.
29. 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?
a)
A
b)
B
c)
C
d)
D
30.
30. 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?
a)
payload, model var
b)
payload
c)
payload, make query param model var
d)
payload, make query param
31.
31. What is the output type of the DataWeave map operator?
a)
A. Object
b)
B. String
c)
C. Array
d)
D. Map
32.
32. Refer to the exhibits.
a)
A. "Parent error"
b)
B. ''Child error"
c)
C. "Validation Error"
d)
D. "Parent completed"
33.
33. Refer to the exhibit.
What should be changed to fix the 415 error?
a)
A. set the response Content-Type header to text/plain
b)
B. set the response Content-Type header to application/json
c)
C. Set the request Content-Type header to application/json
d)
D. set the request Content-Type header to text/plain
34.
34. Refer to the exhibits.
The main flow contains an HTTP Request. The HTTP Listeners and HTTP Request use default configurations.
What values are accessible in the child flow after a web client submits a request to http://localhost:8081/order? col or = red?
a)
payload, quantity var color query param
b)
payload, color query param
c)
payload
d)
payload, quantity var
35.
35. What is the output type of the DataWeave map operator?
a)
A. Object
b)
B. String
c)
C. Array
d)
D. Map
36.
36. By default, what happens to a file after it is read using an FTP connector Read operation?
a)
A. The file is deleted from the folder
b)
B. The file is moved to a different folder
c)
C. The file stays in the same folder unchanged
d)
D. The file is renamed in the same folder
37.
37. Refer to the exhibits.
In the requestFlow an HTTP Request operation is configured to send an HTTP request with an XML payload. The request is sent to the HTTP Listener in the transform Flow.
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 the Result.
What is the payload at the Logger component after the HTTP Request?
a)
A. The returned JSON response
b)
B. A non-empty Java object
c)
C. The original XML payload
d)
D. null
38.
38. 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?
a)
A. payload
b)
B. payload, pedigree query params
c)
C. payload, producer var
d)
D. payload, pedigree query params producer var
39.
39. Refer to the exhibits.
All three of the conditions for the Choice router are true. What messages are written in the application log?
a)
A. Route1
b)
B. Route2
c)
C. Route1,Route2
d)
D. Route1,Route2,Default
40.
40. Which Mule component provides a real-time, graphical representation of the APIs and mule applications that are running and discoverable?
a)
A. Runtime Manager
b)
B. API Notebook
c)
C. Anypoint Visualizer
d)
D. API Manager
41.
41. 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?
a)
A. "ORDER:NOT_CREATED"
b)
B. "OTHER ERROR"
c)
C. ''FILE:CONNECnvnY'
d)
D. "File written"
42.
42. What is the main purpose of flow designer in Design Center?
a)
A. To design and develop fully functional Mule applications in a hosted development environment
b)
B. To design API RAML files in a graphical way
c)
C. To design and mock Mule application templates that must be implemented using Anypoint Studio
d)
D. To define API lifecycle management in a graphical way
43.
43. How does APIkit determine the number of flows to generate from a RAML specification?
a)
A. Creates a separate flow for each resource
b)
B. Creates a separate flow for each HTTP method
c)
C. Creates a separate flow for each response status code
d)
D. Creates a separate flow for each resource that contains child resources
44.
44. Refer to the exhibit.
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?
a)
A. Edit the dependency in the Mule project's pom.xml file
b)
B. Install the dependency to the computer's local Maven repository
c)
C. Deploy the dependency to MuleSoft's Maven repository
d)
D. Add the dependency to the MULE_HOME/bin folder
45.
45. Refer to the exhibits.
IMAGE 1
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?
IMAGE 2
IMAGE 3
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
a)
A.
b)
B.
c)
C.
d)
D.
46.
46. Refer to the exhibits.
What payload and quantity are logged at the end of the main flow?
a)
A. [[order1, order2, order3, order4], 14]
b)
B. [orderlorder2order3order4,14]
c)
C. [[1,2,3,4], 14]
d)
D. [[1,2,3,4], 10]
47.
47. Which one of them is NOT a flow in Mule?
a)
A. sync flow
b)
B. subflow
c)
C. async sub flow
d)
D. async flow
48.
48. 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?
a)
A.
b)
B.
c)
C.
d)
D.
49.
49. Refer to the exhibits.
A web client submits a request to the HTTP Listener and the HTTP Request throws an error.
What payload and status code are returned to the web client?
Refer to the exhibits. A web client submits a request to the HTTP Listener and the HTTP Request throws an error.
What payload and status code are returned to the web client?
a)
A. Response body: "Error" Default response status code: 200
b)
B. Response body: "Success - Begin* Default response status code: 200
c)
C. Error response body: error, description Default error response status code: 500
d)
D. Response body: "Success - End" Default response status code: 200
50.
50. An SLA based policy has been enabled in API Manager. What is the next step to configure the API proxy to enforce the new SLA policy?
a)
A. Add new property placeholders and redeploy the API proxy
b)
B. Add new environment variables and restart the API proxy
c)
C. Restart the API proxy to clear the API policy cache
d)
D. Add required headers to the RAML specification and redeploy the new API proxy
51.
51. Refer to the exhibit.
In the execution of the Scatter-Gather, the "steep 1 sec" Flow Reference takes about 1 second to complete, and the "sleep 5 sees" Row 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?
a)
A. 6
b)
B. 1
c)
C. 5
d)
D. 0
52.
52. Refer to the exhibit.
All three of the condition for the Choice router are true. What log messages are written?
a)
A. Route2
b)
B. Route 1
c)
C. Route1, Route2, Default
d)
D. Route1, Route2
53.
53. Refer to the exhibit.
What data is expected by the POST /accounts endpoint?
a)
A
b)
B
c)
C
d)
D
54.
54. What payload is returned by a Database SELECT operation that does not match any rows in the database?
a)
A. false
b)
B. null
c)
C. Exception
d)
D. Empty Array
55.
55. 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?
a)
A. "Domestic"
b)
B. "International"
c)
C. "US"
d)
D. A dataweave syntax error
56.
56. Refer to the exhibits. A database Address table contains a ZIPCODE column and an increasing ID column.
The Address table currently contains tour (4) records.
The On Table Row Database listener is configured with its watermark set to the Address table's ZIPCODE column and then the Mule application is run in Anypoint Studio tor the first time, and the On Table Row Database listener polls the Address table.
Anew row is added to the database with 1D=5 and ZIPCODE-90006, and then the On Table Row Database listener polls the database again.
Alter the next execution of the On Table Row Database listener polling, what database rows have been processed by the Mule flow since the Mule application was started?
a)
A
b)
B
c)
C
d)
D
57.
57. 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?
a)
A. Incoming array objects would be split into three and each part would be sent to one route each in sequential manner
b)
B. Incoming array objects would be split into three and each part would be sent to one route each in parallel
c)
C. Entire event would be sent to each route sequentially
d)
D. Entire event would be sent to each route in parallel
58.
58. Refer to the exhibits.
A web client submits a request to http://localhQst:8081. What is the structure of the payload at the end of the flow?
a)
A
b)
B
c)
C
d)
D
59.
59. Which of the following is invalid type of event processor which can be used as a router ?
a)
A. Choice
b)
B. Round Robin
c)
C. Pick First
d)
D. First Successful
60.
60. Refer to the exhibits. The webClient flow sends requests to the mockServer Row's HTTP Listener.
An HTTP: METHOD_NOT ALLOWED error is thrown each time the webClient flow executes.
What attribute value must be changed in the webClient flow's HTTP Request operation to prevent this error from being thrown?
a)
A. Change the method attribute's value to "POSL
b)
B. Change the protocol attribute's value to "HTTPS"
c)
C. Change the path attribute's value to 7api/partners/fastShopping"
d)
D. Change the method attribute's value to "*"
61.
61. 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?
a)
A. Select only Attach Project Sources only
b)
B. Select both Attach Project Sources and Include project modules and dependencies option
c)
C. Select the Include project modules and dependencies option only
d)
D. De-select both Attach Project Sources and Include project modules and dependencies option
62.
62. Refer to the exhibits.
A JSON payload is set in the Set Payload transformer.
What is logged by the Logger?
a)
A. "Object"
b)
B. "JSON"
c)
C. "Array"
d)
D. "String"
63.
63. An API has been created in Design Center. What is the next step to make the API discoverable?
a)
A. Publish the API to Anypoint Exchange
b)
B. Publish the API from inside flow designer
c)
C. Deploy the API to a Maven repository
d)
D. Enable autodiscovery in API Manager
64.
64. From which application , Organization Administrators can approve/revoke/delete SLA tier access requests
a)
A. API Exchange
b)
B. API Portal
c)
C. API Gateway
d)
D. API Manager
65.
65. What is minimal requirement in a flow for a Mule application to compile?
a)
A. Event Source
b)
B. Event Processors
c)
C. Error handlers
d)
D. Source and processors both
66.
66. What MuleSoft product enables publishing, sharing, and searching of APIs?
a)
A. Runtime Manager
b)
B. API Notebook
c)
C. API Designer
d)
D. Anypoint Exchange
67.
67. Refer to the exhibits. A company has defined this Book data type and Book example to be used in APIs. What is valid RAML for an API that uses this Book data type and Book example?
a)
A
b)
B
c)
C
d)
D
68.
68. 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?
a)
A. Select both the options 1) Attach project sources 2) Include project module and dependencies
b)
B. No need to select any of the below options 1) Attach project sources 2) Include project module and dependencies
c)
C. Select only below option 2) Include project module and dependencies
d)
D. Select only below option 1) Attach project sources
69.
69. 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?
a)
A
b)
B. ["A","B","C"]
c)
C
d)
D
70.
70. 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?
a)
A. examples: !include StudentExample.raml
b)
B. examples: #import StudentExample.raml
c)
C. examples: !include examples/StudentExample.raml
d)
D. examples: #import examples/StudentExample.raml
71.
71. 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?
a)
A. "Blk"
b)
B. "Green"
c)
C. A timeout error
d)
D. ["Blue", "Red", "Blk"]
72.
72. 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?
a)
A. #[training.host]
b)
B. ${http.host}
c)
C. #{training.host}
d)
D. ${training.host}
73.
73. How many Mule applications can run on a CloudHub worker?
a)
A. None of these
b)
B. At most one
c)
C. At least one
d)
D. Depends
74.
74. 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?
a)
A. 8
b)
B. 0
c)
C. 2
d)
D. 10
75.
75. 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?
a)
A. { port : p('db.port')}
b)
B. { port : {db:port}}
c)
C. { port : p['db.port']}
d)
D. Application property cannot be accessed in Dataweave
76.
76. How would you debug Mule applications?
a)
A. By Deploying apps on production
b)
B. Checking RAML specifications
c)
C. Using debugger component
d)
D. Use third party debugger application
77.
77. 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)?
a)
A. #["The city is" ++ payload.City]
b)
B. The city is + #[payload.City]
c)
C. The city is #[payload.City]
d)
D. #[The city is ${payload.City}
78.
78. Refer to the exhibit.
The Database Select operation returns five rows from a database. What is logged by the Logger component?
a)
A. "Object"
b)
B. "Array"
c)
C. "LinkedHashMap"
d)
D. "CaselnsensitrveHashMap"
79.
79. What of the below is not a feature of API Notebooks?
a)
A. API documentation
b)
B. Creates a client for an API
c)
C. Creates a mock service for an API
d)
D. Perform authenticated live calls on a real server
80.
80. How can you call a subflow from Dataweave?
a)
A. Not possible in Mule 4
b)
B. Import function
c)
C. Lookup function
d)
D. Include function
81.
81. 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?
a)
A
b)
B
c)
C
d)
D
82.
82. 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?
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?
a)
A. Success - main flow
b)
B. Error - main flow
c)
C. Error - Try scope
d)
D. Validation Error
83.
83. 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?
a)
A. RAML file to define SOAP services
b)
B. WSDL file
c)
C. JSON file
d)
D. plain text file documenting API's
84.
84. Refer to the exhibits.
As a mulesoft developer, what you would change in Database connector configuration to resolve this error?
a)
A. Configure the correct host URL
b)
B. Configure the correct database name
c)
C. Configure the correct table name
d)
D. Configure the correct JDBC driver
85.
85. A web client submits a request to http://localhost:8081/books/0471767840. The value "0471767840" is captured by a Set Variable transformer to a variable named booklSBN.
What is the DataWeave expression to access booklSBN later in the flow?
a)
A. attributes.booklSBN
b)
B. vars. booklSBN
c)
C. flowVars.booklSBN
d)
D. booklSBN
86.
86. Refer to the exhibit.
The API needs to be updated using the company-wide standard for the Plan data type. The Object data type has already been published in Anypoint Exchange with the global reference . ACME/DataTypes/PlanDataType.raml.
What is a valid RAML specification that reuses the Plan data type?
a)
A
b)
B
c)
C
d)
D
87.
87. A company has an API to manage departments, with each department identified by a unique deptld. The API was built with RAML according to MuleSoft best practices.
What is valid RAML to specify a method to update the details for a specific department?
a)
A
b)
B
c)
C
d)
D
88.
88. What module and operation will throw an error if a Mule events payload is not number ?
a)
A. Filter modules Is Number operation
b)
B. Validation modules Is Number operation
c)
C. Validation modules Is not Number operation
d)
D. None of these
89.
89. Refer to the exhibit.
What is the correct syntax to add a customer ID as a URI parameter in an HTTP Listener's path attribute?
a)
A. (customerlD)
b)
B. {customerlD}
c)
C. ${ customerID}
d)
D. #[customerlD]
90.
90. 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?
a)
A. Result INFOpayload
b)
B. Result INFO{"student":{"name":"Anay","age":6}}
c)
C.
d)
D. Error : You evaluated inline expression # without ++
91.
91. What is the difference between a subflow and a sync flow?
a)
A. No difference
b)
B. Subflow has no error handling of its own and sync flow does
c)
C. Sync flow has no error handling of its own and subflow does
d)
D. Subflow is synchronous and sync flow is asynchronous
92.
92. Refer to the exhibit.
What Database expression transforms the input to the output?
a)
A
b)
B
c)
C
d)
D
93.
93. 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?
a)
A. In the pom.xml file, as the value of a global element
b)
B. In the Validation folder as the value of a global element in the error-handling yaml file
c)
C. In the mule-artifact json file, as the value of a key-value pair
d)
D. In the my-app.xml file, as an attribute of a configuration element
94.
94. Refer to the exhibits.
What is the response when a client submits a request to http://localhost:8081?
a)
A. After
b)
B. null
c)
C. Before
d)
D. Validation error
95.
95. How we can scale deployed Mule application vertically on cloudhub?
a)
A. Changing worker size
b)
B. Adding multiple workers
c)
C. Mule applications can be scaled only horizontally
d)
D. Option 1 and 2 both can be used
96.
96. Refer to the exhibits.
The Mule application implements a REST API that accepts GET requests from web clients on the URLs: http://acme com/order/status and http:Vacme.com/customer/status.
What path value can be set in the HTTP GE~ event source to accept web client requests from both of these URLs?
a)
A. *status
b)
B. ?[order,customer]/status
c)
C. *[order,customer]/status
d)
D. */status
97.
97. A Utlility.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?
a)
A
b)
B
c)
C
d)
D
98.
98. Refer to the exhibits.
The Set Payload transformer's value is set to {'year': '2020'}.
What message value should be added to the Logger component to output the message 'The year is 2020', without hardcoding 2020?
a)
A. '#[The year is $(pay load .year)]*
b)
B. #["The year is "++ payload.year].
c)
C. The year is #[payload.year]'
d)
D. '#[The year is " + paytoad.year]'
99.
99. What should this endpoint return considering the API is build using standard practices?
http://dev.acme.com/api/patients?year=2021
a)
A. Patient with id 2021
b)
B. Patients from year 2021
c)
C. No patients
d)
D. All patients
100.
100. 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?
a)
A. The enriched payload in JSON format
b)
B. The enriched payload in CSV format
c)
C. The enriched payload in XML format
d)
D. An error message
101.
101. Refer to the exhibits. What payload is logged at the end of the main flow?
a)
A. [order1, order2, order3, order4]
b)
B. [1, 2, 3, 4]
c)
C. order4
d)
D. order1order2order3order4
102.
102. Refer to the exhibits.
How many private flows does APIKIt generate from RAML specification?
a)
A. 1
b)
B. 2
c)
C. 3
d)
D. 4
103.
103. 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?
a)
A. Set a request header with the name Content-Type to a value of applicatron/octet-stream
b)
B. Set a request header with the name Content-Type to a value of application/xml
c)
C. Set a response header with the name Content-Type to a value of applkation/xml
d)
D. Set a response header with the name Content-Type to a value of application/octet-stream
104.
104. What is not true about application properties?
a)
A. Application properties can be encrypted
b)
B. Application properties can be overridden with system properties
c)
C. Application properties can be defined in .yaml file only
d)
D. Application properties provide easier way to manage configurable values
105.
105. What is the object type returned by the File List operation?
a)
A. Object of String file names
b)
B. Array of String file names
c)
C. Object of Mule event objects
d)
D. Array of Mule event objects
106.
106. A flow contains an HTTP Listener as the event source. What is the DataWeave expression to log the Content-Type header using a Logger component?
a)
A. #["Content-Type: " ++ attributes.headers.'content-type']
b)
B. #["Content-Type: " + headers.'content-type']
c)
C. #["Content-Type: " + attributes.headers.'content-type']
d)
D. #["Content-Type: " ++ headers.'content-type']
107.
107. Refer to the exhibit.
How should the WHERE clause be changed to set the city and state values from the configured input parameters?
a)
A
b)
B
c)
C
d)
D
108.
108. Which of the below is not the mandatory configurations for HTTP Listener?
a)
A. Path
b)
B. Allowed methods
c)
C. HTTP port in Connector Configuration
d)
D. HTTP host in Connector Configuration
109.
109. 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?
a)
A. A propertiesFile key/value pair in the mule-artifact json file
b)
B. A dependency element in the pom xml file
c)
C. A configuration-properties element in the acme-app xml file
d)
D. A file-config element in the acrne-app xml file
110.
110. Refer to the exhibits.
The input array of strings is processed by the batch job that processes, filters, and aggregates the values. What is the last message logged by the Logger component after the batch job completes processing?
a)
A. [ ["A", "C", "D" ], ["E"] ]
b)
B. [''E'']
c)
C. [''D", "E"]
d)
D. [ "A", "C, "D", "E" ]
111.
111. Refer to the exhibits.
The Mule application does NOT define any global error handlers.
A web client sends a POST request to the Mule application with this input payload. The File Write operation throws a FILE: CONNECTIVITY error.
What response message is returned to the web client?
a)
A. "OTHER ERROR"
b)
B. "FILE: CONNECTMTV
c)
C. "ORDER: NOT CREATED"
d)
D. "File written"
112.
112. A Mule application contains a global error handler configured to catch any errors.
Where must the global error handler be specified so that the global error handler catches all errors from flows without their own error handlers?
a)
A. A configuration properties file
b)
B. Nowhere, the global error handler is automatically used
c)
C. A global element
d)
D. The pom.xml file
113.
113. What is the correct way to format the decimal 200.1234 as a string to two decimal places?
a)
A. 200.1234 as string as format: ".0#"
b)
B. 200.1234 as String {format: ".0#"}
c)
C. 200.1234 as String as format: ".0#"
d)
D. 200.1234 as string {format: ".0#"}
114.
114. A web client submits a request to http://localhost:8081?flrstName=john. What is the correct DataWeave expression to access the firstName parameter?
a)
A. #[message.queryParams.hrstName]
b)
B. #[message.inboundProperties.'http.query.params'.firstName]
c)
C. #[attributes.'http.query.params'.firstName]
d)
D. #[attributes.queryParams.firstName]
115.
115. A RAML specification is defined to manage customers with a unique identifier for each customer record. What URI does MuleSoft recommend to uniquely access the customer identified with the unique ID 1234?
a)
A. /customers?custid=true&custid=1234
b)
B. /customers/1234
c)
C. /customers/custid=1234
d)
D. /customers?operation=get&custid=1234
116.
116. What path setting is required for an HTTP Listener endpoint to route all requests to an APIkit router?
a)
A. /(*)
b)
B. /
c)
C. /()
d)
D. "/*"
117.
117. What valid RAML retrieves details on a specific customer by its customerId as a URI parameter?
a)
A
b)
B
c)
C
d)
D
118.
118. Refer to the exhibits.
The mule application is debugged in Anypoint Studio and stops at the breakpoint as shown in below exhibit.
What is the value of the payload displayed in the debugger at this breakpoint?
a)
A. Start
b)
B. Process
c)
C. Finished
d)
D. Payload is always empty at the breakpoint
119.
119. Refer to the exhibit.
What Database expression transforms the input to the output?
a)
A
b)
B
c)
C
d)
D
120.
120. Refer to the exhibit.
What DataWeave expression transforms the conductorlds array to the XML output?
a)
A
b)
B
c)
C
d)
D
121.
121. 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?
a)
A. The HTTP Listener is listening on port 80
b)
B. The HTTP Listener is listening on port 9090
c)
C. The HTTP Listener is listening on port 8081
d)
D. The HTTP Listener failed to bind to the port and is not listening for connections
122.
122. 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 the second request does not overwrite that from the first?
a)
A. Put the Database SELECT operation inside a Cache scope
b)
B. Put the Database SELECT operation inside a Message Enricher scope
c)
C. Nothing, previous payloads are combined into the next payload
d)
D. Save the payload from the Database SELECT operation to a variable
123.
123. 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?
a)
A
b)
B
c)
C
d)
D
124.
124. Refer to the exhibit.
What expression correctly specifies input parameters to pass the city and state values to the SQL query?
a)
A
b)
B
c)
C
d)
D
125.
125. Refer to the exhibits.
The expression for the Choice router needs to be written.
What is a valid expression to route Mule events to the non-default flow?
a)
A. #[ if( 'MuleSoff == payload.company) ]
b)
B. #['MuleSoft' == paytoad.company]
c)
C. #[ if( company = "MuleSoft") ]
d)
D. #[ company = "MuleSoft" ]
126.
126. 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?
a)
A. customer first
b)
B. "customer first"
c)
C. vars "customer first"
d)
D. vars "customer" "first"
127.
127. What should this endpoint return? http://dev.acme.com/api/patients?name=John&surname=Bell
a)
A. Patient with name as John
b)
B. Patient with surname as bell
c)
C. Patients with either name as John or surname as Bell
d)
D. Patients with name as John and surname as Bell
128.
128. 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?
a)
A. Publish consume: Synchronous. Publish: Asynchronous.
b)
B. Publish consume: Asynchronous. Publish: Synchronous
c)
C. Publish consume: Asynchronous. Publish: Asynchronous
d)
D. Publish consume: Synchronous. Publish: Synchronous
129.
129. Where is metadata stored in a Mule project
a)
A. Config.yaml file
b)
B. POM.xml file
c)
C. application-types.xml
d)
D. Global Element
130.
130. 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?
a)
A. 10
b)
B. 50
c)
C. 40
d)
D. 20
131.
131. 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?
a)
A. fun newProdCode(itemID: Number, productCategory: String) = "PC-" ++ productCategory ++ (itemID as String)
b)
B. fun newProdCode{itemID: Number, productCategory: String) -> "PC-" ++ productCategory ++ (itemID as String)
c)
C. var newProdCode(itemID: Number, productCategory: String) ->
d)
"PC-" ++ productCategory ++ (itemID as String)
e)
D. function newProdCode(itemID: Number, productCategory: String) =
132.
132. 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?
a)
A. The payload and all variables
b)
B. The payload and all attributes
c)
C. The entire Mule event
d)
D. The payload
133.
133. 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?
a)
A
b)
B
c)
C
d)
D
134.
134. How are query parameters dynamically passed to an outbound REST request using an HTTP Request operation?
a)
A. As query parameters in the HTTP Request operation
b)
B. As URI parameters in the HTTP Request operation
c)
C. In the Mule event's payload
d)
D. As flow variables
135.
135. What happens to the attributes of a Mule event in a flow after an outbound HTTP Request is made?
a)
A. Attributes are replaced with new attributes from the HTTP Request response (which might be null)
b)
B. New attributes may be added from the HTTP response headers, but no headers are ever removed
c)
C. Attributes do not change
d)
D. Previous attributes are passed unchanged
136.
136. What HTTP method in a RESTful web service is typically used to completely replace an existing resource?
a)
A. GET
b)
B. PATCH
c)
C. PUT
d)
D. POST
137.
137. What is the minimum Cloudhub worker size that can be specified while deploying mule application?
a)
A. 0.2 vCores
b)
B. 0.5 vCores
c)
C. 1.0 vCores
d)
D. 0.1 vCores
138.
138. 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?
a)
A. Center of Excellence
b)
B. Center for Enablement
c)
C. MuleSoft Support Center
d)
D. Central API Review Board
139.
139. An API specification is designed using RAML. What is the next step to create a REST Connector from this API specification?
a)
A. Download the API specification and build the interface using APIkit
b)
B. Publish the API specification to Any point Exchange
c)
C. Implement the API specification using flow designer in Design Center
d)
D. Add the specification to a Mule project's src/main/resources/api folder
140.
140. What valid RAML retrieves details on a specific by its orderld as a URL parameter?
a)
A
b)
B
c)
C
d)
D
100 %
