MCD-Level-1 Exam Preparation Material with New MCD-Level-1 Dumps Questions [Q36-Q58]

Share

MCD-Level-1 Exam Preparation Material with New MCD-Level-1 Dumps Questions

MCD-Level-1 2023 Training With 226 QA's

NEW QUESTION # 36
A Database On Table Row listener retrieves data from a CUSTOMER table that contains a primary key userjd column and an increasing kxjin_date_time column. Neither column allows duplicate values.
How should the listener be configured so it retrieves each row at most one time?

  • A. Set the watermark column to the user_Id column
  • B. Set the watermark column to the bgin_date_time column
  • C. Set the target value to the last retrieved login_date_time value
  • D. Set the target value to the last retrieved user_jd value

Answer: B


NEW QUESTION # 37
A Mule project contains a DataWeave module file WebStore dvA that defines a function named loginUser The module file is located in the projects src/main/resources/libs/dw folder What is correct DataWeave code to import all of the WebStore.dwl file's functions and then call the loginUser function for the login "[email protected]"?
A)

B)

C)

  • A. Option B
  • B. Option A
  • C. Option D
  • D. Option C

Answer: C


NEW QUESTION # 38
Refer to the exhibit. The Batch Job processes, filters and aggregates records, What is the expected output from the Logger component?

  • A. [10. 20] [30, 40] [50, 60]
  • B. [20. 40] [60]
  • C. [10. 20, 30. 40, 50, 60]
  • D. [20, 40, 60]

Answer: B


NEW QUESTION # 39
Refer to the exhibit.

What should be changed to fix the 415 error?

  • A. set the request Content-Type header to text/plain
  • B. Set the request Content-Type header to application/] son
  • C. set the response Content-Type header to application/json
  • D. set the response Content-Type header to text/plain

Answer: B


NEW QUESTION # 40
What is the default port used by Mule application debugger configuration in Anypoint Studio?

  • A. 0
  • B. 1
  • C. 2
  • D. 3

Answer: D

Explanation:
By default, Debugger listens for incoming TCP connections on localhost port 6666 You can change this in a project's run configuration.
MuleSoft Doc Ref : https://docs.mulesoft.com/studio/7.5/visual-debugger-concept


NEW QUESTION # 41
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: D

Explanation:
The flow can be described as below. 1) First HTTP POST requets is made in which paylaod is set to 1 and it gets returned to our mail flow. 2) Second call is initiated for JMS Publish Consume JMS: num1 which add 1 to the payload which makes it as 2. Note that pubih consume is a synchronous operation. Hence paylaod is returned to main flow. 3) Third call is initiated for JMS Publish JMS: num2 which add 1 to the payload . Note that pubih is asynchronous operation. Hence paylaod is never returned to main flow. So payload in main flow is still 2. 4) Finally Set Payload increments payload by 1 making payload as 3 which is returned by the flow. Hence option 3 is the correct answer.


NEW QUESTION # 42
Refer to the exhibit.

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

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

Answer: D


NEW QUESTION # 43
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 A
  • B. Option B
  • C. Option C
  • D. Option D

Answer: B


NEW QUESTION # 44
Refer to the exhibits.
A web client sends a GET request to the HTTP Listener.
What response message is returned to the web client?

  • A. "End"
  • B. "Start"
  • C. "String is not blank"
  • D. ""

Answer: C

Explanation:
1. Set Payload "Start"
2. 'Is Balnk String' Creates an Error object with #[error.description] ="String is not blank"
3. Default Error Handler catches and Propagates error
4. 'On Error Propogate' is 'RED IN RED OUT'. It Returns Status Code : 500 & #[error.description]
-------------------------------------------------------------------------------------------------------------------------- Correct answer is String is not blank. Because validation component will throw an error as payload is not blank.


NEW QUESTION # 45
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
  • C. payload
    model var
  • D. payload
    make query param

Answer: A


NEW QUESTION # 46
What of the below is not a feature of API Notebooks?

  • A. Creates a client for an API
  • B. Creates a mock service for an API
  • C. API documentation
  • D. Perform authenticated live calls on a real server

Answer: B

Explanation:
Correct answer is Creates a mock service for an API
API Notebook is an open source, shareable web application for API documentation, interactive API tutorial and example generatation, and a client for your API endpoints. Using API Notebook, you can make requests and quickly transform the responses into readable format. However it cannot be used to mock service for an API.
MuleSoft Doc Ref : https://docs.mulesoft.com/api-manager/1.x/api-notebook-concept


NEW QUESTION # 47
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 D
  • D. Option C

Answer: C


NEW QUESTION # 48
A mule project contains MySQL database dependency . The project is exported from Anypoint Studio so that it can be deployed to Cloudhub. What export options needs to be selected to create the smallest deployable archive that will successfully deploy to Cloudhub?

  • A. Select only below option 2) Include project module and dependencies
  • B. No need to select any of the below options 1) Attach project sources 2) Include project module and dependencies
  • C. Select only below option 1) Attach project sources
  • D. Select both the options 1) Attach project sources 2) Include project module and dependencies

Answer: A

Explanation:
You can choose Attach Project Sources to include metadata that Studio requires to reimport the deployable file as an open Mule project into your workspace. You must keep the Attach Project Sources option selected to be able to import the packaged JAR file back into a Studio workspace. But requirement here is to create smallest deployable archive that will successfully deploy to Cloudhub. Hence we can ignore this option.
We need to select Include project module and dependencies
As actual modules and external dependencies required to run the Mule application in a Mule runtime engine Hence correct answer is Select only below option 2) Include project module and dependencies MuleSoft Doc Ref : https://docs.mulesoft.com/studio/7.5/import-export-packages#exporting-a-studio-project-to-a-deployable-mule-application


NEW QUESTION # 49
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 method attribute value to "*"
  • B. Change the protocol attribute value to "HTTPS"
  • C. Change the path attribute value to "/api/ship"
  • D. Change the allowed method attributes value to "POST"

Answer: D

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 # 50
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. addltem( { payload: { price: "100", item: "router", itemType: "cable" > } )
  • B. lookup( "addltern", { price: "100", item: "router", itemType: "cable" } )
  • C. lookup( "addltem", { payload: { price: "100", item: "router", itemType: "cable" } > )
  • D. addltem( { price: "100", item: "router", itemType: "cable" } )

Answer: C


NEW QUESTION # 51
Refer to the exhibit.

The API needs to be updated using the company-wide standard for the Plan data type. The Object data type has already been published in Anypoint Exchange with the global reference .
ACME/DataTypes/PlanDataType.raml.
What is a valid RAML specification that reuses the Plan data type?
A)

B)

C)

D)

  • A. Option B
  • B. Option A
  • C. Option D
  • D. Option C

Answer: C


NEW QUESTION # 52
Refer to the exhibit. The input array of strings is passed to the batch job, which does NOT do any filtering or aggregating. What payload is logged by the Logger component?

  • A. [ "Apple", "Banana" ]
  • B. Summary report of processed records
  • C. [ "Apptel2", "Bananal2" ]
  • D. [ "Apptel", "Bananal", 2 ]

Answer: B


NEW QUESTION # 53
Refer to the exhibits.

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

  • A. Nothing
  • B. The JSON payload
  • C. The payload convert to CVS
  • D. An error message

Answer: B


NEW QUESTION # 54
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 # 55
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 A
  • B. Option B
  • C. Option C
  • D. Option D

Answer: B


NEW QUESTION # 56
Refer to the exhibits. A web client sends a POST request to the HTTP Listener and the Validation component in the Try scope throws an error.
What response message is returned to the web client?

  • A. "END"
  • B. ''ERROR2"
  • C. Validation Error
  • D. "ERROR1"

Answer: B


NEW QUESTION # 57
An API instance of type API endpoint with API proxy is created in API manager using an API specification from Anypoint Exchange. The API instance is also configured with an API proxy that is deployed and running in CloudHub.
An SLA- based policy is enabled in API manager for this API instance.
Where can an external API consumer obtain a valid client ID and client secret to successfully send requests to the API proxy?

  • A. In the organization's public API portal in Anypoint Exchange, from an approved client application for the API proxy
  • B. In Anypoint Studio, from components generated by Rest Connect for API specification
  • C. In Runtime Manager, from the properties tab of the deployed approved API proxy
  • D. In Anypoint Studio, from components generated by APIkit for the API specification

Answer: A

Explanation:
* When a client application is registered in Anypoint Platform, a pair of credentials consisting of a client ID and client secret is generated.
* When the client application requests access to an API, a contract is created between the application and that API.
* An API that is protected with a Client ID Enforcement policy is accessible only to applications that have an approved contract.
--------------------------------------------------------------------------------------------------------------------------------------------- Correct answer: In the organization's public API portal in Anypoint Exchange, from an approved client application for the API proxy


NEW QUESTION # 58
......

Quickly and Easily Pass MuleSoft Exam with MCD-Level-1 real Dumps: https://examsdocs.lead2passed.com/MuleSoft/MCD-Level-1-practice-exam-dumps.html