A Mule project contains a DataWeave module like WebStore.dwl that defines a function
named loginUser. The module file is located in the project's src/main/resources/libs/etl
folder.
What is correct DataWeave code to import all of the WebStore.dwl file's functions and then
call the loginUser function for the login "Todd.Pal@mulesoft.com"?
A. 1. 1. import libs.etl
2. 2. ---
3. 3. WebStore.loginUser("Todd.Pal@mulesoft.com")
B. 1. 1. import * from libs::etl
2. 2. ---
3. 3. WebStore::loginUser("Todd.Pal@mulesoft.com")
C. 1. 1. import libs.etl.WebStore
2. 2. ---
3. 3. loginUser("Todd.Pal@mulesoft.com")
D. 1. 1. import * from libs::etl::WebStore
2. 2. ---
3. 3. loginUser("Todd.Pal@mulesoft.com")
Explanation:
* To use custom modules, you need to import the module or functions you want to use by
adding the import directive to the head of your DataWeave script, for example:
1) Does not identify any functions to import from the String module:
import dw::core::Strings
2) To identify a specific function to import from the String module:
import camelize, capitalize from dw::core::Strings
3) To import all functions from the String module:
import * from dw::core::Strings
The way you import a module impacts the way you need to call its functions from a
DataWeave script. If the directive does not list specific functions to import or use * from to
import all functions from a function module, you need to specify the module when you call
the function from your script.
* In given scenario, it's mentioned to import all of the WebStore.dwl
So correct answer is:
Reference: https://docs.mulesoft.com/mule-runtime/4.3/dw-functions
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 completesprocessing?
A.
[ ["A", "C", "D" ], ["E"] ]
B.
[''E'']
C.
[''D", "E"]
D.
[ "A", "C, "D", "E" ]
[ ["A", "C", "D" ], ["E"] ]
What payload is returned by a Database SELECT operation that does not match any rows
in the database?
A.
false
B.
null
C.
Exception
D.
Empty Array
Empty Array
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?
A. Utilization counts of foundational assets in production applications
B. Correlation of each foundational asset with the counts of developers that download such asset
C. Correlation of key performance indicators (KPI) of production applications with foundational assets
D. Count how many Lines Of Business (LoBs) onsumed each foundational asset
Explanation:
Below are the Key performance indicators (KPIs), to measure and track the and success of
the C4E and its activities, as well as the growth and health of the application network. Most
of the metrics can be extracted automatically, through REST APIs, from Anypoint Platform.
• # of assets published to Anypoint Exchange
• # of interactions with Anypoint Exchange assets
• # of APIs managed by Anypoint Platform
• # of System APIs managed by Anypoint Platform
• # of API clients registered for access to APIs
• # of API implementations deployed to Anypoint Platform
• # of API invocations
• # or fraction of lines of code covered by automated tests in CI/CD pipeline
• Ratio of info/warning/critical alerts to number of API invocations
How would you debug Mule applications?
A. By Deploying apps on production
B. Checking RAML specifications
C. Using debugger component
D. Use third party debugger application
Debugger can be used to debug applications to see event data movine from one flow to other.
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 secondsto
complete.
About how many seconds does it take from the time the Scatter-Gather is called until the
Set Payload transformer is called?
A.
0
B.
1
C.
5
D.
6
5
Refer to the exhibit.
How should the WHERE clause be changed to set the city and state values from the
configured input parameters?
A. Option A
B. Option B
C. Option C
D. Option D
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?
A. In the organization's public API portal in Anypoint Exchange, from an approved client application for the API proxy
B. In Anypoint Studio, from components generated by APIkit for the API specification
C. In Anypoint Studio, from components generated by Rest Connect for API specification
D. In Runtime Manager, from the properties tab of the deployed approved API proxy
Explanation:
* When a client application is registered in Anypoint Platform, a pair of credentials
consisting of a client ID and client secret is generated.
* When the client application requests access to an API, a contract is created between the
application and that API.
* An API that is protected with a Client ID Enforcement policy is accessible only to
applications that have an approved contract.
-------------------------------------------------------------------------------------------------------------------------
Correct Answer: In the organization's public API portal in Anypoint Exchange, from an
approved client application for the API proxy.
| Page 1 out of 29 Pages |