EMT Practice Test

1. Question Content...


Question List

Question1: Refer to the exhibit. The Batch Job processes, filters and aggregates records, What is the expected output from the Logger component?

Question2: 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?

Question3: 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/?

Question4: 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?

Question5: What is minimal requirement in a flow for a Mule application to compile?

Question6: 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?

Question7: 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?

Question8: Where is metadata stored in a Mule project

Question9: Refer to the exhibit.

What DataWeave expression transforms the conductorlds array to the XML output?
A)

B)

C)

D)

Question10: What module and operation will throw an error if a Mule events payload is not number ?

Question11: Where would you create SLA Tiers for an API?

Question12: 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?

Question13: Refer to the exhibits.
A web client sends a GET request to the HTTP Listener.
What response message is returned to the web client?

Question14: 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)

B)

C)

D)

Question15: 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?

Question16: 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?

Question17: 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?

Question18: 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?

Question19: 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?

Question20: What payload is returned by a Database SELECT operation that does not match any rows in the database?

Question21: Refer to the exhibits.


The Batch Job scope processes the array of strings
After the Batch Job scope completes processing the input payload what information is logged by the Logger component?
A)

B)

C)

D)

Question22: Correct answer is {customerID}.

Question23: Refer to the exhibits.

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?


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

Question24: Refer to the exhibit.
How should the WHERE clause be changed to set the city and state values from the configured input parameters?

A)

B)

C)

D)

Question25: 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?

Question26: 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?

Question27: 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?

Question28: Refer to the exhibits.
A web client submits a request to below flow. What is the output at the end of the flow?


Question29: Why would a Mule application use the ${http.port} property placeholder for its HTTP Listener port when it is deployed to CloudHub?

Question30: Which out of below is not an asset?

Question31: 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)

B)

C)

D)

Question32: Which keyword do you use to create a new function in DataWeave?

Question33: Which of the below is used by Mule application to manage dependencies which make sharing the projects lightweight and easier?

Question34: Which of the module is imported automatically in Dataweave scripts?

Question35: 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?

Question36: Refer to the exhibits.

All three of the conditions for the Choice router are true. What messages are written in the application log?

Question37: What should this endpoint return considering the API is build using standard practices?
http://dev.acme.com/api/patients?year=2021

Question38: In the Database On Table Row operation, what does the Watermark column enable the On Table Row operation to do?

Question39: 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 "
[email protected]"?

Question40: What statement is a part of MuleSoft's description of an application network?

Question41: Does a root element required when creating a XML response using Dataweave?

Question42: 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?

Question43: Refer to the exhibit.

What Database expression transforms the input to the output?
A)

B)

C)

D)

Question44: From which application , Organization Administrators can approve/revoke/delete SLA tier access requests

Question45: Refer to the exhibit.

All three of the condition for the Choice router are true. What log messages are written?

Question46: 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?

Question47: What is the correct syntax to define and call a function in Database?
A)

B)

C)

D)

Question48: Refer to the exhibit.

What should be changed to fix the 415 error?

Question49: 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?

Question50: Which of the below is not a valid category for connector type?

Question51: 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?

Question52: What is not the function of API Gateway ?

Question53: Refer to the exhibit.

What expression correctly specifies input parameters to pass the city and state values to the SQL query?
A)

B)

C)

D)

Question54: What is output of Dataweave flatten function?

Question55: Refer to the exhibit.

What Database expression transforms the input to the output?
A)

B)

C)

D)

Question56: 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)

B)

C)

D)

Question57: 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 ?

Question58: 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?

Question59: Refer to the exhibit. What is the output of logger component?

Question60: 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?

Question61: 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)?

Question62: 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?

Question63: 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?

Question64: What is not true about application properties?

Question65: According to MuleSoft, what is the Center for Enablement's role in the new IT operating model?

Question66: 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?

Question67: Refer to the exhibits.


In the Choice router, the When expression for the domesticShipping route is set to "#[payload = 'FR']". What is logged after the Choice router completes?

Question68: How are multiple conditions used in a Choice router to route events?

Question69: 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?

Question70: What DataWeave expression transforms the example XML input to the CSV output?

A)

B)

C)

D)

Question71: 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?

Question72: Refer to the exhibits.


A Mule application contains a Choice router. What is logged when the flow completes?

Question73: What is the correct syntax for a Logger component to output a message with the contents of a 3SON Object payload?

Question74: 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?

Question75: Refer to the exhibit.

What is the response to a web client request to http://localhost:8081?

Question76: 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?

Question77: A web client sends a request to http;//localhost:8081?dept=sales. What is the correct DataWeave expression to access the value of dept?

Question78: A web client submits a request to http://localhost:8081?flrstName=john. What is the correct DataWeave expression to access the firstName parameter?

Question79: What is the correct Syntax to add a customer ID as a URI parameter in the HTTP listener's path attribute?

Question80: 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?

Question81: 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?

Question82: How would you debug Mule applications?

Question83: What does C4E stands for in MuleSoft recommended IT operating model?

Question84: 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?

Question85: Refer to the exhibits.

What DataWeave expression transforms the conductorIds array to the XML output?