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 fromthe first?
A.
Put the Database SELECT operation inside a Cache scope
B.
Put the Database SELECT operation inside a Message Enricher scope
C.
Nothing, previous payloads are combined into the next payload
D.
Save the payload from the Database SELECT operation to a variable
Save the payload from the Database SELECT operation to a variable
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.
What does C4E stands for in MuleSoft recommended IT operating model?
A. Centre for Empowerment
B. Centre for Engagement
C. Centre for Enablement
D. Centre for Excellence
Centre for Enablement (C4E) is an IT operating model that enables an enterprise to build reusable assets, accumulate API’s, leverage best practices and knowledge to enable self service and efficient delivery in the organization and implement new solutions faster.
Refer tothe 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.
0
B.
"Processing"
C.
"Start"
D.
Complete"
"Start"
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.
"string"
B.
"Java"
C.
"object"
D.
"XML"
"object"
Refer to the exhibits.
A. *[order,customer]/status
B. */status
C. ?[order,customer]/status
D. *status
Refer to the exhibits.
The Set Payload transformer In the addltem subflow usesDataWeave to create an order
object. What is the correct DataWeave code for the Set Payload transformer in the createOrder
A.
addltemf { payload: { price: "100", item: "router", itemType: "cable" } > )
B.
lookupf "addltem", { payload: { price: "100", item: "router", itemType: "cable" } } )
C.
addltemf { price: "100", item: "router", itemType: "cable" })
D.
lookupf "addltem", { price: "100", item: "router", itemType: "cable" } )
lookupf "addltem", { payload: { price: "100", item: "router", itemType: "cable" } } )
Refer to the exhibits.
All three of the conditions for the Choice router are true. What messages are written in the
application log?
A. Route1
B. Route2
C. Route1,Route2
D. Route1,Route2,Default
Only one of the routes in the Choice router executes, meaning that the first expression that
evaluates to true triggers that route1 execution and the others are not checked. If none of
the expressions are true, then the default route executes. Hence only Route1 will be
executed as it is the first expression. hence output of logger is Route1.
MuleSoft Doc Ref : https://docs.mulesoft.com/mule-runtime/4.3/choice-router-concept
The Choice router dynamically routes messages through a flow according to a set of
DataWeave expressions that evaluate message content. Each expression is associated
with a different routing option. The effect is to add conditional processing to a flow, similar
to an if/then/else code block in most programming languages.
Only one of the routes in the Choice router executes, meaning that the first expression that
evaluates to true triggers that route’s execution and the others are not checked. If none of
the expressions are true, then the default route executes.
Page 8 out of 29 Pages |
Mulesoft MCD-Level-1 Exam Questions Home | Previous |