시험덤프
매달, 우리는 1000명 이상의 사람들이 시험 준비를 잘하고 시험을 잘 통과할 수 있도록 도와줍니다.
  / MCD-Level 1 덤프  / MCD-Level 1 문제 연습

Mulesoft MCD-Level 1 시험

MuleSoft Certified Developer - Level 1 (Mule 4) 온라인 연습

최종 업데이트 시간: 2024년11월08일

당신은 온라인 연습 문제를 통해 Mulesoft MCD-Level 1 시험지식에 대해 자신이 어떻게 알고 있는지 파악한 후 시험 참가 신청 여부를 결정할 수 있다.

시험을 100% 합격하고 시험 준비 시간을 35% 절약하기를 바라며 MCD-Level 1 덤프 (최신 실제 시험 문제)를 사용 선택하여 현재 최신 59개의 시험 문제와 답을 포함하십시오.

 / 6

Question No : 1


What is the correct way to format the decimal 200.1234 as a string to two decimal places?

정답:
Explanation:
Correct answer is 200.1234 as String {format: ".0#"} . Rest all options are not syntactically correct.

Question No : 2


{step2amount=102}

정답: D
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}

Question No : 3


Refer to the exhibits. Client sends the request to ClientRequestFlow which calls ShippingFlow using HTTP Request activity.
During E2E testing it is found that that HTTP: METHOD_NOT_ALLOWED error is thrown whenever client sends request to this flow.
What attribute you would change in ClientRequestFlow to make this implementation work successfully?








정답:
Explanation:
Correct answer is Change the method attributes value to "POST".
It can be fixed in either of the two ways as below.
1) Changing method attribute to POST in ClientRequestFlow
2) Setting allowedMethods as PUT in ShippingFlow (but doesn't fit as question mentions about changing ClientRequestFlow)

Question No : 4


}

정답: A
Explanation:
For such questions always look for Syntax:
I call it "Wrap the Map"
trains:
{(
When mapping array elements (JSON or JAVA) to XML, wrap the map operations in {(..)} -{ } are defining the object
-( ) are transforming each element in the array as a key/value pair

Question No : 5


}

정답: A
Explanation:
Correct answer is as below. In this case address will be stored in a variable. Hence payload will not be overwritten and will contain order details {
orderkey: "payload.order",
addresskey: "vars.address"
}

Question No : 6


A Mule application contains a global error handler configured to catch any errors.
Where must the global error handler be specified so that the global error handler catches all errors from flows without their own error handlers?

정답:
Explanation:
Correct answer is A global element
Global error handlers are to be created in global element .
Quick note to remember here is Global error handlers come in to picture only when there are no error handlers specified as flow level.
Steps to create Global error handler
1) Click Global Elements to open Global Configuration Elements. Global Elements is located below the Studio canvas
2) In Global Configuration Elements, click Create to open the Choose Global Type dialog



Graphical user interface, text, application, chat or text message
Description automatically generated
3) From the dialog, select Global Configuration - Configuration, and then click OK to open the Configuration dialog.



Graphical user interface, text, application, email
Description automatically generated
4) From the select Configuration dialog, select allErrorHandler for the Default Error Handler field, and click OK.

Question No : 7


Refer to the exhibits.



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

정답:
Explanation:
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.



Diagram
Description automatically generated

Question No : 8


There are three routes configured for Scatter-Gather and incoming event has a payload is an Array of three objects .
How routing will take place in this scenario?

정답:
Explanation:
Entire event would be sent to each route in parallel.
Scatter-Gather works as follows:
- The Scatter-Gather component receives a Mule event and sends a reference of this Mule event to each processing route.
- Each of the processing routes starts executing in parallel. After all processors inside a route finish processing, the route returns a Mule event, which can be either the same Mule event without modifications or a new Mule event created by the processors in the route as a result of the modifications applied.
- After all processing routes have finished execution, the Scatter-Gather component creates a new Mule event that combines all resulting Mule events from each route, and then passes the new Mule event to the next component in the flow.



Diagram
Description automatically generated

Question No : 9


In an application network. If the implementation but not the interface of a product API changes, what needs to be done to the other APIs that consume the product API?

정답:
Explanation:
Correct answer is Nothing needs to be changed in the other APIs or their associated applications
This is the benefit of having separate interface layer. As there are no changes to interface, no changes are required on the API's which consumes this API in context

Question No : 10


Refer to the exhibits.



What is written to the records.csv file when the flow executes?

정답:
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.

Question No : 11


Refer to the exhibit.






The main flow is configured with their error handlers. A web client submit a request to the HTTP Listener and the HTTP Request throws an HTTP:NOT_FOUND error.
What response message is returned?’’
What response message is returned?

정답:
Explanation:
Correct answer is APP: API RESOURCE NOT FOUND
-------------------------------------------------------------------------------------------------------------------------
1) A web client submits the request to the HTTP Listener.
2) The HTTP Request throws an "HTTP: NOT_FOUND" error, execution halts.
3) The On Error Propagate error Handler handles the error. In this case, HTTP: NOT_FOUND error is mapped to custom error APP: API_RESOURCE_NOT_FOUND. This error processor sets payload to APP: API_RESOURCE_NOT_FOUND.
4) “APP: API_RESOURCE_NOT_FOUND. ” is the error message returned to the requestor in the body of the HTTP request with HTTP Status Code: 500
Reference Diagram:



Diagram
Description automatically generated with medium confidence

Question No : 12


Refer to the exhibits.



A company has defined this Book data type and Book example to be used in APIs .
What is valid RAML for an API that uses this Book data type and Book example?
A)



B)



C)



D)



정답:

Question No : 13


How does APIkit determine the number of flows to generate from a RAML specification?

정답:
Explanation:
APIKIt Creates a separate flow for each HTTP method

Question No : 14


Refer to the exhibit.



The Database Select operation returns five rows from a database .
What is logged by the Logger component?

정답:

Question No : 15


Where are values of query parameters stored in the Mule event by the HTTP Listener?

정답:
Explanation:
Correct answer is Attributes.
Query parameters, URI parameters and headers are some of examples which are part of attributes.



Diagram
Description automatically generated
Bottom of Form
Top of Form

 / 6
Mulesoft