Oct-2024 Latest Actualtests4sure MCD-Level-1 Exam Dumps with PDF and Exam Engine Free Updated Today!
Following are some new MCD-Level-1 Real Exam Questions!
NEW QUESTION # 122
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 Runtime Manager, from the properties tab of the deployed approved API proxy
- B. In Anypoint Studio, from components generated by Rest Connect for API specification
- C. In Anypoint Studio, from components generated by APIkit for the API specification
- D. In the organization's public API portal in Anypoint Exchange, from an approved client application for the API proxy
Answer: D
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.
---------------------------------------------------------------------------------------------------------------------------------------- answer: In the organization's public API portal in Anypoint Exchange, from an approved client application for the API proxy
NEW QUESTION # 123
Refer to the exhibit.
A Mule event is composed of a hierarchy of objects. Where in the hierarchy are variables stored?
- A. Mule message attributes
- B. Mule message payload
- C. Mule message
- D. Mule event
Answer: D
Explanation:
Variables are stored under Mule event. Please refer to below image for the hierarchy .

NEW QUESTION # 124
Refer to the exhibits.
The Mule application does NOT define any global error handlers.
The Validation component in the private flow throws an error
What response message is returned to a web client request to the main flow's HTTP Listener?
- A. "Parent error"
- B. "Parent completed"
- C. ''Child error"
- D. "Validation Error"
Answer: D
NEW QUESTION # 125
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)
- A. Option A
- B. Option B
- C. Option C
- D. Option D
Answer: A
NEW QUESTION # 126
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. null
- B. A non-empty Java object
- C. The returned JSON response
- D. The original XML payload
Answer: D
NEW QUESTION # 127
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. Publish consume: Asynchronous. Publish: Synchronous
- B. Publish consume: Synchronous. Publish: Asynchronous.
- C. Publish consume: Synchronous. Publish: Synchronous
- D. Publish consume: Asynchronous. Publish: Asynchronous
Answer: B
Explanation:
Publish consume: Synchronous. Publish: Asynchronous.
NEW QUESTION # 128
Refer to the exhibit.
All three of the condition for the Choice router are true. What log messages are written?
- A. Route1, Route2, Default
- B. Route2
- C. Route1, Route2
- D. Route 1
Answer: D
NEW QUESTION # 129
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. -...
- B. "Siring is not blank"
- C. "Start"
- D. "End"
Answer: B
NEW QUESTION # 130
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. set a SOAP payload before the Consume operation that contains the destination query parameter
- B. set a property m the Consume operation equal to the destination query parameter
- C. set a JSON payload before the Consume operation that contains the destination query parameter
- D. Set a header In the Consume operation equal to the destination query parameter
Answer: A
Explanation:
As can be seen in error message , SOAP service findFlights expects the SOAP paylaod. This can be set using transform message processor which forms SOAP payload before the Consume operation that contains the destination query parameter
NEW QUESTION # 131
What is the correct syntax to define and call a function in Database?
- A.

- B.

- C.

- D.

Answer: D
Explanation:
Keyword to ad function in Dataweave transformation is fun. Hence option 2 and 4 are invalid. Also parameters needs to be passed exactly in same order as defined in function definition. Hence correct answer is' fun addKV( object: Object, key: String, value: Any) = object ++ {(key):(value)}
---
addKV ( {"hello': "world"}, "hola", "mundo" )
MuleSoft Documentation Reference : https://docs.mulesoft.com/mule-runtime/4.3/dataweave-functions DataWeave Function Definition Syntax To define a function in DataWeave use the following syntax:
fun myFunction(param1, param2, ...) = <code to execute>
The fun keyword starts the definition of a function.
myFunction is the name you define for the function.
Function names must be valid identifiers.
(param1, param2, ... , paramn) represents the parameters that your function accepts.
You can specify from zero to any number of parameters, separated by commas (,) and enclosed in parentheses.
The = sign marks the beginning of the code block to execute when the function is called.
<code to execute> represents the actual code that you define for your function.
NEW QUESTION # 132
Refer to the exhibits.

The <when> expression for the Choice router needs to be written.
What is a valid <when> expression to route Mule events to the non-default flow?
- A. #[ if( 'MuteSoff == paytoad.company) ]
- B. #[ company = "MuleSoft" ]
- C. #[ if( company = "MuleSoft") ]
- D. #['MuleSoft' == paytoad'company']
Answer: A
NEW QUESTION # 133
Refer to the exhibit.
What DataWeave expression transforms the conductorlds array to the XML output?
A)
B)
C)
D)
- A. Option A
- B. Option B
- C. Option C
- D. Option D
Answer: A
NEW QUESTION # 134
Refer to the exhibits.
Larger image
Larger image
Larger image
The Mule application configures and uses two HTTP Listener global configuration elements.
Mule application is run in Anypoint Studio.
If the mule application starts correctly, what URI and port numbers can receive web client requests? If the mule applications fails to start , what is the reason for the failure?
- A. The mule application start successfully
Web client requests can be received at URI on port 2222 and on port 3333. - B. The mule application start successfully
Web client requests can only be received at URI on port 2222 but not on port 3333 - C. The mule application fails to start
There is URL path conflict because both HTTP Listeners are configured with same path - D. The mule application fails to start because of the port binding conflict as HTTP request also use same port i.e. 3333
Answer: A
Explanation:
In this case both the flows can start without any error and requests can be received on both ports. Flow names
httpListener1 can call other flow using HTTP request without any issues.
Hence correct answer is
The mule application start successfully
Web client requests can be received at URI on port 2222 and on port 3333.
Lets check why other options are incorrect
1) The mule application fails to start. There is URL path conflict because both HTTP Listeners are configured with same path ---- This is incorrect as port value is different in both listeners
2) The mule application start successfully. Web client requests can only be received at URI on port 2222 but not on port 3333 --- This is incorrect as there is no reason for not receiving requests on port 3333
3) The mule application fails to start because of the port binding conflict as HTTP request also use same port i.e. 3333 --- Port binding conflict will not happen in this case. It would have if both listener configurations would have been on same port . But that is not the case here.
Mule Ref Doc : HTTP Listener Reference - Mule 4 | MuleSoft Documentation
NEW QUESTION # 135
Refer to the exhibit.
What data is expected by the POST /accounts endpoint?
A)
B)
C)
D)
- A. Option B
- B. Option C
- C. Option D
- D. Option A
Answer: C
NEW QUESTION # 136
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. "XML"
- C. "object"
- D. "Java"
Answer: A
NEW QUESTION # 137
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. In the pom.xml file, as the value of a global element
- B. In the Validation folder as the value of a global element in the error-handling yaml file
- C. In the mule-artifact json file, as the value of a key-value pair
- D. In the my-app.xml file, as an attribute of a configuration element
Answer: D
NEW QUESTION # 138
Refer to the exhibits.
What is written to the records.csv file when the flow executes?
- A. The JSON payload
- B. An error message
- C. The payload convert to CVS
- D. Nothing
Answer: A
Explanation:
Transform Message Add write_date is coverting payload in JSON format and same JSON payload is avaialble to file write processor. However, if the payload is a different format (for example, not CSV) , you can place the transformation inside the Write operation to generate content that will be written without producing a side effect on the message in transit. This is not done in this case. By default, the connector writes whatever is in the message payload. Hence JSON payload will be written to file.
NEW QUESTION # 139
Refer to the exhibit. The main flow contains an HTTP Request in the middle of the flow. The HTTP Listeners and HTTP request use default configurations.
What values are accessible to the Logger at the end of the flow after a web client submit request to
http://local:801/order?color=red?
- A. payload
- B. payload quantity var color query param
- C. payload quantity var
- D. payload color query param
Answer: C
NEW QUESTION # 140
What is the correct way to format the decimal 200.1234 as a string to two decimal places?
- A. 200.1234 as String {format: ".0#"}
- B. 200.1234 as string as format: ".0#"
- C. 200.1234 as String as format: ".0#"
- D. 200.1234 as string {format: ".0#"}
Answer: A
Explanation:
Correct answer is 200.1234 as String {format: ".0#"} . Rest all options are not syntactically correct.
NEW QUESTION # 141
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}
4. {step2amount=40} - B. 1. {amount=140}
2. {amount=102}
3. {step2amount=100}
4. {step2amount=140} - C. 1. {amount=140}
2. {amount=102}
3. {step2amount=100} - D. 1. {amount=140}
2. {amount=102}
3. {step2amount=100}
4. {step2amount=140}
Answer: B
Explanation:
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}
NEW QUESTION # 142
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)
B)

D)
- A. Option C
- B. Option B
- C. Option D
- D. Option A
Answer: A
NEW QUESTION # 143
......
Resources From:
- 2024 Latest Actualtests4sure MCD-Level-1 Exam Dumps (PDF & Exam Engine) Free Share: https://examtorrent.actualtests4sure.com/MCD-Level-1-practice-quiz.html
Free Resources from Actualtests4sure, We Devoted to Helping You 100% Pass All Exams!

