100% Pass Top-selling MCD-Level-1 Exams - New 2022 MuleSoft Pratice Exam [Q38-Q55]

Share

100% Pass Top-selling MCD-Level-1 Exams - New 2022 MuleSoft Pratice Exam

MuleSoft Certified Developer Dumps MCD-Level-1 Exam for Full Questions - Exam Study Guide

NEW QUESTION 38
A web client submits a request to http://localhost:8081?accountType=personal. The query parameter is captured using a Set Variable transformer to a variable named accountType.
What is the correct DataWeave expression to log accountType?

  • A. Account Type: #[flowVars.accountType]
  • B. Account Type: #[vars.accountType]
  • C. Account Type: # [attributes.accountType]
  • D. Account Type: #[message.inboundProperties.accountType]

Answer: B

Explanation:
vars: Keyword for accessing a variable, for example, through a DataWeave expression in a Mule component, such as the Logger, or from an Input or Output parameter of an operation. If the name of your variable is myVar, you can access it like this: vars.myVar Hence correct answer is Account Type: #[vars.accountType]

 

NEW QUESTION 39
Which of the following is invalid type of event processor which can be used as a router ?

  • A. Choice
  • B. Round Robin
  • C. First Successful
  • D. Pick First

Answer: D

Explanation:
Pick First is not valid type. Rest all are valid type of event processor.
Choice : https://docs.mulesoft.com/mule-runtime/4.3/choice-router-concept Round Robin : https://docs.mulesoft.com/mule-runtime/4.3/round-robin First Successful : https://docs.mulesoft.com/mule-runtime/4.3/first-successful

 

NEW QUESTION 40
Refer to the exhibit.

What is the correct DataWeave expression for the Set Payload transformer to call the createCustomerObject flow with values for the first and last names of a new customer?

  • A. lookupf "createCustomerObject", { first: "Alice", last: "Green" > )
  • B. lookupC createCustomerObJect( "Alice", "Green- ) )
  • C. createCustomerObject( { first: "Alice", last: "Green" > )
  • D. createCustomerObject( "Alice", "Green")

Answer: A

 

NEW QUESTION 41
What valid RAML retrieves details on a specific customer by its customerId as a URI parameter?

  • A. 1. /customers:
    2. /customerId:
    3. get:
  • B. 1. /customers:
    2. get:
    3. /{customerId}:
  • C. 1. /customers:
    2. /get:
    3. /customerId:
  • D. 1. /customers:
    2. /{customerId}:
    3. get:

Answer: D

Explanation:
Correct answer is below as it follows the correct syntax.
/customers:
/{customerId}:
get:

 

NEW QUESTION 42
Refer to the exhibits.


What payload and quantity are logged at the end of the main flow?

  • A. [[1,2,3,4], 10]
  • B. [[1,2,3,4], 14]
  • C. [orderlorder2order3order4,14]
  • D. [[order1, order2, order3, order4], 14]

Answer: B

 

NEW QUESTION 43
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: "Error" Default response status code: 200
  • B. Error response body: error, description Default error response status code: 500
  • C. Response body: "Success - End" Default response status code: 200
  • D. Response body: "Success - Begin* Default response status code: 200

Answer: A

 

NEW QUESTION 44
An API implementation has been deployed to CloudHub and now needs to be governed. IT will not allocate additional vCore for a new Mule application to act as an API proxy.
What is the next step to preseive the current vCore usage, but still allow the Mule application to be managed by API Manager?

  • A. Deploy the same API implementation behind a VPC and configure the VPC to connect to API Manager
  • B. Modify the API implementation to use auto-discovery to register with API Manager
  • C. Register the same API implementation in Runtime Manager to connect to API Manager
  • D. Upload the Mule application's JAR file to the API instance in API Manager

Answer: B

Explanation:
Correct answer is Modify the API implementation to use auto-discovery to register with API Manager API Autodiscovery Configuring autodiscovery allows a deployed Mule runtime engine (Mule) application to connect with API Manager to download and manage policies and to generate analytics data. Additionally, with autodiscovery, you can configure your Mule applications to act as their own API proxy.
When autodiscovery is correctly configured in your Mule application, you can say that your application's API is tracked by (green dot) or paired to API Manager. You can associate an API in a Mule setup with only one autodiscovery instance at a given time.
MuleSoft Doc Ref : https://docs.mulesoft.com/api-manager/2.x/api-auto-discovery-new-concept

 

NEW QUESTION 45
According to Mulesoft, how are Modern APIs treated as?

  • A. Code
  • B. SOAP API's
  • C. Rest API's
  • D. Products

Answer: D

Explanation:
Correct answer is Products
Modern API has three features 1) Treated as products for easy consumption 2) Discoverable and accessible through self-service 3) Easily managed for security , scalability and performance

 

NEW QUESTION 46
Refer to the exhibits. In the choice router, the When expression for the domestic shipping route is set to "#[payload= "FR"]".
What is the output of logger after the execution of choice router is completed?

  • A. "Domestic"
  • B. "US"
  • C. A dataweave syntax error
  • D. "International"

Answer: C

Explanation:
(Correct)
Explanation:
To compare, DataWeave syntax is #[payload == "FR"]. In this case only one = is used so it will give syntax error.

 

NEW QUESTION 47
What execution model is used by For Each and Batch Job scopes?

  • A. Both are single-threaded
  • B. For Each is single-threaded and Batch Job is multi-threaded
  • C. Both are multi-threaded
  • D. Batch Job is single-threaded and For Each Is multi-threaded

Answer: B

 

NEW QUESTION 48
Pick the component with which DataWeave is tightly integrated.

  • A. Flow Designer
  • B. Exchange
  • C. Mule runtime
  • D. All APIs

Answer: C

Explanation:
Correct answer is Mule runtime
DataWeave is the MuleSoft expression language for accessing and transforming data that travels through a Mule app. DataWeave is tightly integrated with the Mule runtime engine, which runs the scripts and expressions in your Mule app.
Mule Doc Reference : https://docs.mulesoft.com/mule-runtime/4.3/dataweave

 

NEW QUESTION 49
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?

  • A. Save the payload from the Database SELECT operation to a variable
  • B. Put the Database SELECT operation inside a Cache scope
  • C. Put the Database SELECT operation inside a Message Enricher scope
  • D. Nothing, previous payloads are combined into the next payload

Answer: A

 

NEW QUESTION 50
Refer to the exhibits.
A web client sends sale data in a POST request to the Mule application. The Transform Message component then enrich the payload by prepending a vendor name to the sale data.
What is written to the sales.csv file when the flow executes?

  • A. An error message
  • B. The enriched payload in JSON format
  • C. The enriched payload in CSV format
  • D. The enriched payload in XML format

Answer: B

 

NEW QUESTION 51
Which of the below is used by Mule application to manage dependencies which make sharing the projects lightweight and easier?

  • A. Cloudhub
  • B. Global element
  • C. Configuration file
  • D. POM.xml

Answer: D

Explanation:
POM.xml contains info about the project and configurationn details used by Maven to build the project

 

NEW QUESTION 52
An app team is developing a mobile banking app. It took them two months to create their own APIs to access transaction information from a central database. The app team later found out that another team had already built an API that accesses the transaction information they need.
According to MuleSoft, what organization structure could have saved the app team two months of development time?

  • A. MuleSoft Support Center
  • B. Center of Excellence
  • C. Center for Enablement
  • D. Central API Review Board

Answer: C

Explanation:
Reference:
Center for Enablement is correct answer .It is a cross-functional team typically staffed with members from central IT, line-of-business departments, and digital innovation teams charged with productizing, publishing, and harvesting reusable assets and best practices. In this case , app team would have checked first with Center for Enablement before developing their own API's. Hence could have avoided re-work

 

NEW QUESTION 53
Refer to the exhibit.

What is the correct syntax to add an employee ID as a URI parameter in an HTTP Listener path?

  • A. ${emp!oyeelD}
  • B. {employeelD}
  • C. (employeelD)
  • D. # [employeelD]

Answer: B

 

NEW QUESTION 54
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: B

 

NEW QUESTION 55
......

Authentic Best resources for MCD-Level-1 Online Practice Exam: https://freecert.test4sure.com/MCD-Level-1-exam-materials.html