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"
How are query parameters dynamically passed to an outbound REST request using an HTTP Request operation?
A. As query parameters in the HTTP Request operation
B. As URI parameters in the HTTP Request operation
C. In the Mule event's payload
D. As flow variables
Explanation:
In General > Request > Query Parameters, click the plus icon (+) to add a parameter to a
request. Type a name and value for the parameter or use a DataWeave expression to
define the name and value.
Refer tothe 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.
Success - main flow
B.
Error - main flow
C.
Error - Try scope
D.
Validation Error
Error - main flow
What should this endpoint return?
http://dev.acme.com/api/patients?name=John&surname=Bell
A. Patient with name as John
B. Patient with surname as bell
C. Patients with either name as John or surname as Bell
D. Patients with name as John and surname as Bell
Explanation:
Query parameters are a defined set of parameters attached to the end of a url. They are
extensions of the URL that are used to help define specific content or actions based on the
data being passed. To append query params to the end of a URL, a ‘?’ Is added followed
immediately by a query parameter.
To add multiple parameters, an ‘&’ is added in between each.
Hence coming back to question, endpoint would return Patients with name as John and
(and is very important here) surname as Bell.
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
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. 1.{amount=140}
2.{amount=102}
3.{step2amount=100}
B. 1.{amount=140}
2.{amount=102}
3.{step2amount=100}
4.{step2amount=40}
C. 1.{amount=140}
2.{amount=102}
3.{step2amount=100}
4.{step2amount=140}
D. 1.{amount=140}
2.{amount=102}
3.{step2amount=100}
4.{step2amount=140}
5.{step2amount=102}
Explanation:
Lets understand this solution step by step.
1) Batch Step (Less than 50)
Accept expression for this batch step is less than 50. Hence elements which will go in this
batch step are amount value 40 and 2. Hence output of logger in first batch step is
{amount=140}
{amount=102}
2) Batch Step (Greater than 20)
Accept condition for this batch step is greater than 20. Note that input amount values for
this batch step are 100 , 140 and 102 (last two values have been updated in batch step
less than 50)
As all values satisfy this condition out put of second logger is
{step2amount=100}
{step2amount=140}
{step2amount=102}
Hence correct answer to this question is
{amount=140}
{amount=102}
{step2amount=100}
{step2amount=140}
{step2amount=102}
Refer to the exhibit.
What should be changed to fix the 415 error?
A.
set the response Content-Type header to text/plain
B.
set the response Content-Type header to application/json
C.
Set the request Content-Type header toapplication/] son
D.
set the request Content-Type header to text/plain
Set the request Content-Type header toapplication/] son
Page 2 out of 29 Pages |
Mulesoft MCD-Level-1 Exam Questions Home |