Use Real MuleSoft Achieve the MCD-Level-1 Dumps - 100% Exam Passing Guarantee
Verified MCD-Level-1 Q&As - Pass Guarantee MCD-Level-1 Exam Dumps
Understanding functional and technical aspects of MuleSoft Certified Developer - Level 1 Debugging and troubleshooting Mule applications
The following will be asked from you in the exam:
- Debugging and troubleshooting Mule applications
- Install missing Maven dependencies
- Use breakpoints to inspect a Mule event during runtime
- Read and decipher Mule log error messages
NEW QUESTION 11
What valid RAML retrieves details on a specific by its orderld as a URL parameter?
A)
B)
C)
D)
- A. Option D
- B. Option A
- C. Option B
- D. Option C
Answer: C
NEW QUESTION 12
A flow contains an HTTP Listener as the event source. What is the DataWeave expression to log the Content-Type header using a Logger component?
- A. #["Content-Type: " + attributes.headers.'content-type']
- B. #["Content-Type: " ++ headers.'content-type']
- C. #["Content-Type: " + headers.'content-type']
- D. #["Content-Type: " ++ attributes.headers.'content-type']
Answer: D
Explanation:
Option 1 is the only correct choice due to two reasons. 1) Concatenation is always with ++ sign and not with + sign which makes option 2 and 3 wrong 2) hearders can be accessed with attributes. headers and not with only headers which makes option 4 incorrect
NEW QUESTION 13
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 B
- B. Option D
- C. Option C
- D. Option A
Answer: D
NEW QUESTION 14
Refer to the exhibits.

A web client submits a request to the HTTP Listener and the HTTP Request throws an error.
What payload and status code are returned to the web client?
Refer to the exhibits. A web client submits a request to the HTTP Listener and the HTTP Request throws an error.
What payload and status code are returned to the web client?
- A. Response body: "Success - End" Default response status code: 200
- B. Error response body: error, description Default error response status code: 500
- C. Response body: "Success - Begin* Default response status code: 200
- D. Response body: "Error" Default response status code: 200
Answer: D
NEW QUESTION 15
Refer to the exhibits.
The input array of strings is processed by the batch job that processes, fitters, and aggregates the values.
What is the last message logged by the Logger component after the batch job completes processing?
A)
B)
C)
D)
- A. Option B
- B. Option A
- C. Option C
- D. Option D
Answer: D
NEW QUESTION 16
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)
- A. Option B
- B. Option A
- C. Option C
- D. Option D
Answer: D
NEW QUESTION 17
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. Nothing
- D. The payload convert to CVS
Answer: A
NEW QUESTION 18
Refer to the exhibits.
What DataWeave expression transforms the conductorIds array to the XML output?
- A. 1. 1. trains:
2. 2. {(
3. 3. conductorIds map ((engId, index) ->
4. 4. train: {
5. 5. engineerId: engId
6. 6. }
7. 7. )
8. 8. )} - B. 1. 1. trains:
2. 2. conductorIds map ((engId, index) ->
3. 3. train: {
4. 4. engineerId: engId
5. 5. }
6. 6. ) - C. 1. 1. {( trains:
2. 2.
3. 3. conductorIds map ((engId, index) ->
4. 4. train: {
5. 5. engineerId: engId
6. 6. }
7. 7. )
8. 8. )} - D. 1. 1. { trains:
2. 2.
3. 3. conductorIds map ((engId, index) ->
4. 4. train: {
5. 5. engineerId: engId
6. 6. }
7. 7. )
8. 8. }
Answer: A
Explanation:
Points to remember:
* XML must have a root element.
* XML only allows one root element
* To avoid multiple root issues, you must create a root element for the XML output, whenever we transform output
* 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
* The transformation to XML would fail if the above mentioned considerations were not taken into account.
* Thus the transformation script declares a root element as trains and wraps the data in "{( )}".
Whenever you see such type of question, always look out for root element followed by {( )} wrapping map.
I call this a "Wrap The Map" scenario. Hope it would help you remember !
NEW QUESTION 19
What does C4E stands for in MuleSoft recommended IT operating model?
- A. Centre for Enablement
- B. Centre for Engagement
- C. Centre for Excellence
- D. Centre for Empowerment
Answer: A
Explanation:
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
NEW QUESTION 20
An On Table Row Database listener retrieves data from a table that contains record_id, an increasing numerical column.
How should the listener be configured so it retrieves new rows at most one time?
- A. Set the ObjectStore to store the last retrieved record_id value
- B. Set the target to store the last retrieved record_id value
- C. Set the watermark column to the record id column
- D. Set the target to the record_id column
Answer: C
NEW QUESTION 21
Refer to the exhibit.
What is the output payload in the On Complete phase
- A. The records processed by all batch steps: [StepTwostepOnel, stepTwostepOne2, StepTwoStepOne3]
- B. The original payload: [1,2,31
- C. summary statistics with NO record data
- D. The records processed by the last batch step: [StepTwol, StepTwo2, StepTwo3]
Answer: C
NEW QUESTION 22
Refer to the exhibits.
The main flow contains an HTTP Request. The HTTP Listeners and HTTP Request use default configurations.
What
values are accessible in the child flow after a web client submits a request to http://localhost:8081/order? col or
= red?
- A. payload
color query param - B. payload
quantity var - C. payload
quantity var color query param - D. payload
Answer: D
NEW QUESTION 23
A Mule project contains a DataWeave module called MyModule.dwl that defines a function named formatString. The module is located in the project's src/main/resources/modules folder.
What is the correct way in DataWeave code to import MyModule using a wildcard and then call the module's formatString function?
A)
B)
C)
D)
- A. Option B
- B. Option A
- C. Option C
- D. Option D
Answer: D
NEW QUESTION 24
Refer to the exhibit.
This RAML specification includes a resource and method to retrieve accounts by account_type and industry.
What is the correct URI to get all retail finance accounts?
- A. /accounts?account_type=retail&industry=finance
- B. /accounts/retail/finance
- C. /accounts/account_type=retail/industry=finance
- D. /accounts?account_type:retail&industry:finance
Answer: A
Explanation:
Correct answer is /accounts?account_type=retail&industry=finance
NEW QUESTION 25
Refer to the 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 - Try scope
- C. Validation Error
- D. Error - main flow
Answer: A
Explanation:
Note that private flow has error scope defined as On Error Continue . So when error occurs in private flow , it is handled by this On Error Continue scope which sends success response back to main flow and does not throw back an error. So main continues normally and payload is set to Success - main flow.
Hence correct answer is Success - main flow
1) HTTP listener received request
2) The Flow Reference calls the child flow
3) The Is Number validator creates an Error Object because the payload isn't an integer. Child Flow execution stops
#[error.description] = "payload is not a valid INTEGER value"
#[error.errorType] = VALIDATION:INVALID_NUMBER
4) The On Error Continue handles the errorThe payload is set to "Error - Sub Flow"
5) "Error - Sub Flow" is returned to the main flow as if the child flow was a success. The Set Payload is executed. The payload is reset to "Success - Finished Main Flow"
6) "Success - Main Flow" is returned to the requestor in the body of the HTTP request. HTTP Status Code: 200 As you can see, in the above example, because the error was caught by an On Error Continue scope in the child flow (RED in, GREEN out) when the Mule Message returns to the parent flow, the parent flow knows none-the-different that there was a failure because the on error continue returns a 200 success message. Note that because, to the mainFlow, the childFlow appeared to succeed, the processing of mainFlow resumed after the flow reference.
NEW QUESTION 26
Refer to the exhibits.
The main flow contains an HTTP Request. The HTTP Listeners and HTTP Request use default configurations.
What values are accessible in the child flow after a web client submits a request to http://localhost:8081/order? col or = red?
- A. payload
color query param - B. payload
quantity var - C. payload
quantity var color query param - D. payload
Answer: D
NEW QUESTION 27
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?


- A. Change the path attribute value to "/api/ship"
- B. Change the method attribute value to "*"
- C. Change the allowed method attributes value to "POST"
- D. Change the protocol attribute value to "HTTPS"
Answer: C
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)
NEW QUESTION 28
Refer to the exhibits.

A web client sends a POST request to the HTTP Listener with the payload "Hello-". What response is returned to the web client?
What response is returned to the web client?
- A. HTTP-JMS2-Three
- B. Hello-HTTP-Three
- C. Hello- HTTP-] MS2-Three
- D. Helb-JMS1-HTTP-JMS2 -Three
Answer: C
NEW QUESTION 29
What is the correct syntax to define and call a function in Database?
A)
B)
C)
D)
- A. Option B
- B. Option D
- C. Option C
- D. Option A
Answer: D
NEW QUESTION 30
Refer to the exhibits.

A Mule application contains a Choice router. What is logged when the flow completes?
- A. US
- B. EU
- C. "REGION"
- D. ["US", "EU"]
Answer: A
NEW QUESTION 31
Refer to the exhibits.

A web client submits a request to the HTTP Listener and the HTTP Request throws an error.
What payload and status code are returned to the web client?
Refer to the exhibits. A web client submits a request to the HTTP Listener and the HTTP Request throws an error.
What payload and status code are returned to the web client?
- A. Response body: "Success - End" Default response status code: 200
- B. Error response body: error, description Default error response status code: 500
- C. Response body: "Success - Begin* Default response status code: 200
- D. Response body: "Error" Default response status code: 200
Answer: D
Explanation:
Correct answer: Response body: "Error" Default response status code: 200.
-------------------------------------------------------------------------------------------------------------------------------------------------
1) Payload is successfully set to "Success - Started Flow"
2) When HTTP Request throws an error, execution halts
#[error.description] = "ABC"
#[error.errorType] = "XYZ"
3) The On Error Continue scope handles the error. When On Error Continue scope is invoked, all the processors in error block are executed and success response is sent back to the client with payload which is set in error flow. In this case payload is set to "Error" value in error block.
4) "Error" is returned to the requestor in the body of the HTTP request with HTTP Status Code: 200 as On error continue always sends success error code.
Reference Diagram:
NEW QUESTION 32
......
Check the Free demo of our MCD-Level-1 Exam Dumps with 226 Questions: https://www.realexamfree.com/MCD-Level-1-real-exam-dumps.html

