[Sep 21, 2021] MCD-Level-1 Dumps Full Questions - Exam Study Guide
MuleSoft Certified Developer Free Certification Exam Material from Exam4Docs with 100 Questions
NEW QUESTION 42
Refer to the exhibits.
The Set Payload transformer In the addltem subflow uses DataWeave to create an order object.
What is the correct DataWeave code for the Set Payload transformer in the createOrder flow to use the addltem subflow to add a router cable with the price of 100 to the order?
- A. lookupf "addltem", { payload: { price: "100", item: "router", itemType: "cable" } } )
- B. addltemf { price: "100", item: "router", itemType: "cable" })
- C. lookupf "addltem", { price: "100", item: "router", itemType: "cable" } )
- D. addltemf { payload: { price: "100", item: "router", itemType: "cable" } > )
Answer: A
NEW QUESTION 43
Refer to the exhibit.
What is a valid expression for the Choice router's when expression to route events to the documenticShipping flow?
- A. #[ payload == 'US' J
- B. #[ if(payload == "US") ]
- C. 0#[ payload = 'US' ]
- D. #[ if(payload = 'US') J
Answer: A
NEW QUESTION 44
Refer to the exhibits.

The Validation component in the private flow throws an error. What response message is returned to a client request to the main flow's HTTP Listener?
- A. Validation Error
- B. Error - main flow
- C. Error - private flow
- D. Success - main flow
Answer: D
NEW QUESTION 45
Refer to the 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. "Start"
- B. "Processing"
- C. 0
- D. Complete"
Answer: A
NEW QUESTION 46
Refer to the exhibit.
What is the response to a web client request to http://localhost:8081?
- A. Validation Error
- B. After
- C. before
- D. null
Answer: B
NEW QUESTION 47
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. Validation Error
- B. Error - Try scope
- C. Success - main flow
- D. Error - main flow
Answer: D
NEW QUESTION 48
Refer to the exhibits. The Set Payload transformer in the addltem child flow uses DataWeave to create an order object.
What is the correct DataWeave code for the Set Payload transformer in the createOrder flow to use the addltem child flow to add a router call with the price of 100 to the order?
- A. lookup( "addltem", { payload: { price: "100", item: "router", itemType: "cable" } > )
- B. addltem( { price: "100", item: "router", itemType: "cable" } )
- C. addltem( { payload: { price: "100", item: "router", itemType: "cable" > } )
- D. lookup( "addltern", { price: "100", item: "router", itemType: "cable" } )
Answer: A
NEW QUESTION 49
Refer to the exhibit.


What payload is returned from a request to http//localhost.8081/
Refer
to the exhibits, what payload is returned from a request to http://localhost;8081/?
- A. 0
- B. 1
- C. 2
- D. 3
Answer: C
NEW QUESTION 50
Refer to the exhibits.

A
web client submits a request to http://localhQst:8081. What is the structure of the payload at the end of the flow?
A)
B)
C)
D)
- A. Option A
- B. Option D
- C. Option B
- D. Option C
Answer: A
NEW QUESTION 51
Refer to the exhibits.
The main flow contains a Flow Reference to the child flow.
A web client sends a GET request to the main flow's HTTP Listener that includes a make query parameter.
What values are accessible in the child flow?
- A. payload
make query param model var - B. payload
make query param - C. payload
- D. payload
model var
Answer: A
NEW QUESTION 52
A Mule application contains an ActiveMQ JMS dependency. The Mule application was developed in Anypoint Studio and runs successfully in Anypoint Studio.
The Mule application must now be exported from Anypoint Studio and shared with another developer.
What export options create the smallest JAR file that can be imported into the other developer's Anypoint Studio and run successfully?
- A. Option A
- B. Option D
- C. Option B
- D. Option C
Answer: B
NEW QUESTION 53
Refer to the exhibits.
A Mule application has an HTTP Request that is configured with hardcoded values. To change this, the Mule application is configured to use a properties file named config.yaml.
what valid expression can the HTTP Request host value be set to so that it is no longer hardcoded?
- A. #[training.host]
- B. #[training:host]
- C. ${trcaining.host}
- D. ${training:host}
Answer: B
NEW QUESTION 54
Refer to the exhibits.

A
web client submits a request to http://localhQst:8081. What is the structure of the payload at the end of the flow?
A)
B)
C)
D)
- A. Option A
- B. Option D
- C. Option B
- D. Option C
Answer: B
NEW QUESTION 55
Refer to the exhibits.
The Set Payload transformer's value is set to {'year': '2020'}.
What message value should be added to the Logger component to output the message 'The year is 2020', without hardcoding 2020?
- A. #["The year is "++ payload.year].
- B. '#[The year is $(pay load .year)]*
- C. The year is #[payload.year]'
- D. '#[The year is " + paytoad.year]'
Answer: A
NEW QUESTION 56
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?
- A. Deploy the dependency to MuleSoft's Maven repository
- B. Install the dependency to the computer's local Maven repository
- C. Edit the dependency in the Mule project's pom.xml file
- D. Add the dependency to the MULE_HOME/bin folder
Answer: B
NEW QUESTION 57
Refer to the exhibit.
What data is expected by the POST /accounts endpoint?
A)
B)
C)
D)
- A. Option A
- B. Option D
- C. Option B
- D. Option C
Answer: B
NEW QUESTION 58
Refer to the exhibit.
What Database expression transforms the input to the output?
A)
B)
C)
D)
- A. Option A
- B. Option D
- C. Option B
- D. Option C
Answer: B
NEW QUESTION 59
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?
A)
B)
C)
D)
- A. Option D
- B. Option B
- C. Option A
- D. Option C
Answer: B
NEW QUESTION 60
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 property m the Consume operation equal to the destination query parameter
- B. set a SOAP payload before the Consume operation that contains 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: D
NEW QUESTION 61
What path setting is required for an HTTP Listener endpoint to route all requests to an APIkit router?
- A. /'
- B. /()
- C. /(*)
- D. /
Answer: A
NEW QUESTION 62
Refer to the exhibits.

A
web client submits a request to http://localhQst:8081. What is the structure of the payload at the end of the flow?
A)
B)
C)
D)
- A. Option A
- B. Option D
- C. Option B
- D. Option C
Answer: B
NEW QUESTION 63
Refer to the exhibits.
The web client sends a POST request to the ACME Order API with an XML payload. An error is returned.
What should be changed in the request so that a success response code is returned to the web client?
- A. Set a response header with the name Content-Type to a value of applkation/xml
- B. Set a request header with the name Content-Type to a value of applicatron/octet-stream
- C. Set a request header with the name Content-Type to a value of application/xml
- D. Set a response header with the name Content-Type to a value of application/octet-stream
Answer: C
NEW QUESTION 64
Refer to the exhibits.
The Set Payload transformer In the addltem subflow uses DataWeave to create an order object.
What is the correct DataWeave code for the Set Payload transformer in the createOrder flow to use the addltem subflow to add a router cable with the price of 100 to the order?
- A. lookupf "addltem", { payload: { price: "100", item: "router", itemType: "cable" } } )
- B. addltemf { price: "100", item: "router", itemType: "cable" })
- C. lookupf "addltem", { price: "100", item: "router", itemType: "cable" } )
- D. addltemf { payload: { price: "100", item: "router", itemType: "cable" } > )
Answer: A
NEW QUESTION 65
Refer to the exhibit. The Batch Job processes, filters and aggregates records, What is the expected output from the Logger component?

- A. [20. 40] [60]
- B. [20, 40, 60]
- C. [10. 20, 30. 40, 50, 60]
- D. [10. 20] [30, 40] [50, 60]
Answer: A
NEW QUESTION 66
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?
- A. other error
- B. success - main flow
- C. APP: API RESOURCE NOT FOUND
- D. HTTP: NOT FOUND
Answer: C
NEW QUESTION 67
......
Dumps Brief Outline Of The MCD-Level-1 Exam: https://www.exam4docs.com/MCD-Level-1-study-questions.html

