MuleSoft Certified Developer - Level 1 (Mule 4) MCD-LEVEL-1 Dumps in PDF

Free MuleSoft MCD-LEVEL-1 Real Questions (page: 5)

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 from the first?

  1. Put the Database SELECT operation inside a Cache scope
  2. Put the Database SELECT operation inside a Message Enricher scope
  3. Nothing, previous payloads are combined into the next payload
  4. Save the payload from the Database SELECT operation to a variable

Answer(s): D

Explanation:

Correct answer is Save the payload from the Database SELECT operation to a variable Response from HTTP request will override the payload and hence response of database SELECT can be lost. Best way to preserve is to assign payload of first operation to variable using TransformMessage.



A Mule project contains a MySQL Database dependency. The project is exported from Anypoint Studio so it can be deployed to CloudHub.

What export options create the smallest deployable archive that will successfully deploy to CloudHub?
What export option create their smallest deployable archive that will successfully deploy to CloudHub?





Answer(s): B



Why would a Mule application use the ${http.port} property placeholder for its HTTP Listener port when it is deployed to CloudHub?

  1. Allows CloudHub to automatically change the HTTP port to allow external clients to connect to the HTTP Listener
  2. Allows CloudHub to automatically register the application with API Manager
  3. Allows MuleSoft Support to troubleshoot the application by connecting directly to the HTTP Listener
  4. Allows clients to VPN directly to the application at the Mule application's configured HTTP port

Answer(s): A

Explanation:

This helps CloudHub to dynamically allocates a port at deployment time. MuleSoft Doc Ref : https://docs.mulesoft.com/mule-runtime/4.3/deploy-to-cloudhub#prerequisites


Reference:

https://docs.mulesoft.com/runtime-manager/developing-applications-for-cloudhub



Refer to the exhibit.

The error occurs when a project is run in Anypoint Studio. The project, which has a dependency that is not in the MuleSoft Maven repository, was created and successfully run on a different computer.
What is the next step to fix the error to get the project to run successfully?

  1. Edit the dependency in the Mule project's pom.xml file
  2. Install the dependency to the computer's local Maven repository
  3. Deploy the dependency to MuleSoft's Maven repository
  4. Add the dependency to the MULE_HOME/bin folder

Answer(s): B

Explanation:

As dependency is not present in Mulesoft Maven repository, we need to install the dependency on computer's local Maven repository.
https://docs.mulesoft.com/mule-runtime/4.3/maven-reference



A web client submits a request to http://localhost:8081?flrstName=john.
What is the correct DataWeave expression to access the firstName parameter?

  1. #[attributes.queryParams.firstName]
  2. #[message.queryParams.hrstName]
  3. #[message.inboundProperties.'http.query.params'.firstName]
  4. #[attributes.'http.query.params'.firstName]

Answer(s): A



By default, what happens to a file after it is read using an FTP connector Read operation?

  1. The file is deleted from the folder
  2. The file is moved to a different folder
  3. The file stays in the same folder unchanged
  4. The file is renamed in the same folder

Answer(s): C

Explanation:

File is not updated when FTP read operations is performed. MuleSoft Doc Ref : https://docs.mulesoft.com/file-connector/1.3/file-read



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?

  1. Success - main flow
  2. Error - main flow
  3. Error - Try scope
  4. Validation Error

Answer(s): 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.



Refer to the exhibit.



What is a valid expression for the Choice router's when expression to route events to the documenticShipping flow?

  1. 0#[ payload = 'US' ]
  2. #[ payload == 'US' J
  3. #[ if(payload = 'US') J
  4. #[ if(payload == "US") ]

Answer(s): B

Explanation:

Choice Router
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.

Properties of <when>
PropertyDescription
Expression (expression)
Expression in DataWeave language to evaluate input.
If the expression evaluates to true, this routing option is used:
<when expression="#[vars.language == 'Spanish']" >

Mulesoft Doc Ref : https://docs.mulesoft.com/mule-runtime/4.3/choice-router-concept With respect to above information ,
Option 1 is the correct syntax as others are incorrect because of below reasons
* Single = is not the correct syntax to validate the condition. It should be ==
* If keyword is not required in when condition.



Share your comments for MuleSoft MCD-LEVEL-1 exam with other users:

H
hanaa
10/3/2023 6:57:00 PM

is this dump still valid???

G
Georgio
1/19/2024 8:15:00 AM

question 205 answer is b

M
Matthew Dievendorf
5/30/2023 9:37:00 PM

question 39, should be answer b, directions stated is being sudneted from /21 to a /23. a /23 has 512 ips so 510 hosts. and can make 4 subnets out of the /21

A
Adhithya
8/11/2022 12:27:00 AM

beautiful test engine software and very helpful. questions are same as in the real exam. i passed my paper.

S
SuckerPumch88
4/25/2022 10:24:00 AM

the questions are exactly the same in real exam. just make sure not to answer all them correct or else they suspect you are cheating.

S
soheib
7/24/2023 7:05:00 PM

question: 78 the right answer i think is d not a

S
srija
8/14/2023 8:53:00 AM

very helpful

T
Thembelani
5/30/2023 2:17:00 AM

i am writing this exam tomorrow and have dumps

A
Anita
10/1/2023 4:11:00 PM

can i have the icdl excel exam

B
Ben
9/9/2023 7:35:00 AM

please upload it

A
anonymous
9/20/2023 11:27:00 PM

hye when will post again the past year question for this h13-311_v3 part since i have to for my test tommorow…thank you very much

R
Randall
9/28/2023 8:25:00 PM

on question 22, option b-once per session is also valid.

T
Tshegofatso
8/28/2023 11:51:00 AM

this website is very helpful

P
philly
9/18/2023 2:40:00 PM

its my first time exam

B
Beexam
9/4/2023 9:06:00 PM

correct answers are device configuration-enable the automatic installation of webview2 runtime. & policy management- prevent users from submitting feedback.

R
RAWI
7/9/2023 4:54:00 AM

is this dump still valid? today is 9-july-2023

A
Annie
6/7/2023 3:46:00 AM

i need this exam.. please upload these are really helpful

S
Shubhra Rathi
8/26/2023 1:08:00 PM

please upload the oracle 1z0-1059-22 dumps

S
Shiji
10/15/2023 1:34:00 PM

very good questions

R
Rita Rony
11/27/2023 1:36:00 PM

nice, first step to exams

A
Aloke Paul
9/11/2023 6:53:00 AM

is this valid for chfiv9 as well... as i am reker 3rd time...

C
Calbert Francis
1/15/2024 8:19:00 PM

great exam for people taking 220-1101

A
Ayushi Baria
11/7/2023 7:44:00 AM

this is very helpfull for me

A
alma
8/25/2023 1:20:00 PM

just started preparing for the exam

C
CW
7/10/2023 6:46:00 PM

these are the type of questions i need.

N
Nobody
8/30/2023 9:54:00 PM

does this actually work? are they the exam questions and answers word for word?

S
Salah
7/23/2023 9:46:00 AM

thanks for providing these questions

R
Ritu
9/15/2023 5:55:00 AM

interesting

R
Ron
5/30/2023 8:33:00 AM

these dumps are pretty good.

S
Sowl
8/10/2023 6:22:00 PM

good questions

B
Blessious Phiri
8/15/2023 2:02:00 PM

dbua is used for upgrading oracle database

R
Richard
10/24/2023 6:12:00 AM

i am thrilled to say that i passed my amazon web services mls-c01 exam, thanks to study materials. they were comprehensive and well-structured, making my preparation efficient.

J
Janjua
5/22/2023 3:31:00 PM

please upload latest ibm ace c1000-056 dumps

M
Matt
12/30/2023 11:18:00 AM

if only explanations were provided...

AI Tutor 👋 I’m here to help!