Free MuleSoft Certified Developer MCD-Level-1 Ultimate Study Guide (Updated 226 Questions) [Q91-Q114]

Share

Free MuleSoft Certified Developer MCD-Level-1 Ultimate Study Guide (Updated 226 Questions)

Get to the Top with MCD-Level-1 Practice Exam Questions


To become a MuleSoft Certified Developer - Level 1, you need to have a strong understanding of Mule 4, Anypoint Studio, and Anypoint Platform. MCD-Level-1 exam tests your knowledge in areas such as building, testing, and deploying Mule applications, using connectors, dataweave, and error handling. It also assesses your ability to troubleshoot issues and optimize performance.


The MCD-Level-1 exam covers a wide range of topics, including Anypoint Studio, Mule configuration files, dataweave transformations, error handling, message routing, and API design. MCD-Level-1 exam also covers basic concepts of MuleSoft's Anypoint Platform, such as API management, runtime manager, and exchange.


To prepare for the MCD-Level-1 exam, candidates can take advantage of various resources provided by MuleSoft, including training courses, documentation, and online forums. Hands-on experience with Mule 4 is also essential to pass the exam. MCD-Level-1 exam consists of 60 multiple-choice questions that must be completed within 120 minutes. The passing score for the exam is 70%.

 

NEW QUESTION # 91
How are query parameters dynamically passed to an outbound REST request using an HTTP Request operation?

  • A. As flow variables
  • B. As URI parameters in the HTTP Request operation
  • C. In the Mule event's payload
  • D. As query parameters in the HTTP Request operation

Answer: D

Explanation:
In General > Request > Query Parameters, click the plus icon (+) to add a parameter to a request. Type a name and value for the parameter or use a DataWeave expression to define the name and value.


NEW QUESTION # 92
What DataWeave expression transforms the example XML input to the CSV output?

A)

B)

C)

D)

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

Answer: D


NEW QUESTION # 93
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. summary statistics with NO record data
  • C. The original payload: [1,2,31
  • D. The records processed by the last batch step: [StepTwol, StepTwo2, StepTwo3]

Answer: B

Explanation:
This is a trcik question. On complete phase pyalod consists of summary of records processed which gives insight on which records failed or passed. Hence option 4 is correct answer MuleSoft Documentation Reference : https://docs.mulesoft.com/mule-runtime/4.3/batch-processing-concept#on-complete


NEW QUESTION # 94
A REST connect module is generated for a RAML specification. and then the rest connect module is imported in mule application in Anypoint Studio. For each method of the RAML specification , what does the REST connect module provide?

  • A. A scope
  • B. An operation
  • C. A flow
  • D. An event source

Answer: B

Explanation:
Correct answer is an operation. For each method of the RAML specification , REST connect module provide an operation.
Please refer to the below screenshot.


NEW QUESTION # 95
According to Semantic Versioning, which version would you change for incompatible API changes?

  • A. No change
  • B. MINOR
  • C. MAJOR
  • D. PATCH

Answer: C

Explanation:
Correct answer is MAJOR
MAJOR version when you make incompatible API changes, MINOR version when you add functionality in a backwards compatible manner, and PATCH version when you make backwards compatible bug fixes.
For details refer to this documentation : https://semver.org/


NEW QUESTION # 96
What payload is returned by a Database SELECT operation that does not match any rows in the database?

  • A. Empty Array
  • B. false
  • C. Exception
  • D. null

Answer: A

Explanation:
Empty array is returned when no rows are matched.
MuleSoft Doc Ref : https://docs.mulesoft.com/db-connector/1.9/database-connector-select


NEW QUESTION # 97
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 header In 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 property m the Consume operation equal to the destination query parameter

Answer: B

Explanation:
As can be seen in error message , SOAP service findFlights expects the SOAP paylaod. This can be set using transform message processor which forms SOAP payload before the Consume operation that contains the destination query parameter


NEW QUESTION # 98
Refer to the exhibits. What payload is logged at the end of the main flow?

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

Answer: C


NEW QUESTION # 99
Where is metadata stored in a Mule project

  • A. Config.yaml file
  • B. Global Element
  • C. application-types.xml
  • D. POM.xml file

Answer: C

Explanation:
Metadata is stored in application-types.xml flle located under src/main/resources.
Mule 4 applications contain an application-types.xml file, which is where metadata around your data types is stored. For example, if you create a new CSV type, that metadata will be added to this file. This new file is easy to share, commit, and merge when conflicts arise, which enables you to do more metadata-driven development.
MuleSoft Doc Ref : https://docs.mulesoft.com/mule-runtime/4.3/intro-studio#metadata-storage


NEW QUESTION # 100
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. Install the dependency to the computer's local Maven repository
  • B. Edit the dependency in the Mule project's pom.xml file
  • C. Deploy the dependency to MuleSoft's Maven repository
  • D. Add the dependency to the MULE_HOME/bin folder

Answer: A

Explanation:
As dependency is not present in Mulesoft Maven repository, we need to install the dependency on computer's local Maven repository. Option 3 is correct choice.


NEW QUESTION # 101
Refer to the exhibits.


The my-app xml file contains an Error Handier scope named "global-error-handler" The Error Handler scope needs to be set to be the default error handler for every flow in the Mule application Where and how should the value "global-error-handler" be added in the Mule project so that the Error Handler scope is the default error handler of the Mule application?

  • A. In the Validation folder as the value of a global element in the error-handling yaml file
  • B. In the mule-artifact json file, as the value of a key-value pair
  • C. In the my-app.xml file, as an attribute of a configuration element
  • D. In the pom.xml file, as the value of a global element

Answer: C


NEW QUESTION # 102
Refer to the exhibits.


A web client sends a POST request with the payload {"oid": "1000", "itemid": "AC200", "qty": "4" } to the Mule application. The File Write operation throws a FILE:CONNECTIVITY error.
What response message is returned to the web client?

  • A. "OTHER ERROR"
  • B. ''FILE:CONNECnvnY'
  • C. "File written"
  • D. "ORDER:NOT_CREATED"

Answer: D


NEW QUESTION # 103
Refer to the exhibits.


The <when> expression for the Choice router needs to be written.
What is a valid <when> expression to route Mule events to the non-default flow?

  • A. #[ if( company = "MuleSoft") ]
  • B. #[ company = "MuleSoft" ]
  • C. #[ if( 'MuleSoff == payload.company) ]
  • D. #['MuleSoft' == paytoad.company]

Answer: D


NEW QUESTION # 104
Refer to the exhibits.

The Set Variable transformer is set with value #[ [ first "Max" last "Mule"} ].
What is a valid DataWeave expression to set as the message attribute of the Logger to access the value "Max" from the Mule event?

  • A. vars "customer first"
  • B. "customer first"
  • C. customer first
  • D. vars "customer" "first"

Answer: D


NEW QUESTION # 105
What MuleSoft product enables publishing, sharing, and searching of APIs?

  • A. API Designer
  • B. API Notebook
  • C. Runtime Manager
  • D. Anypoint Exchange

Answer: D

Explanation:
Anypoint Exchange provided a way to publish , share and search API's.
MuleSoft Doc Ref : https://docs.mulesoft.com/exchange/


NEW QUESTION # 106
Refer to the exhibit.

What should be changed to fix the 415 error?

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

Answer: C

Explanation:
The HTTP 415 Unsupported Media Type client error response code indicates that the server refuses to accept the request because the payload format is in an unsupported format. The format problem might be due to the request's indicated Content-Type or Content-Encoding , or as a result of inspecting the data directly. In this case as per RAML specification data is expected in application/json and in request Content-Type is set as "text/plain" which is incorrect. Hence solution is set the request Content-Type header to application/json


NEW QUESTION # 107
A Mule application contains a global error handler configured to catch any errors.
Where must the global error handler be specified so that the global error handler catches all errors from flows without their own error handlers?

  • A. The pom.xml file
  • B. A configuration properties file
  • C. A global element
  • D. Nowhere, the global error handler is automatically used

Answer: C

Explanation:
Correct answer is A global element
Global error handlers are to be created in global element .
Quick note to remember here is Global error handlers come in to picture only when there are no error handlers specified as flow level.
Steps to create Global error handler
1) Click Global Elements to open Global Configuration Elements. Global Elements is located below the Studio canvas
2) In Global Configuration Elements, click Create to open the Choose Global Type dialog

3) From the dialog, select Global Configuration -> Configuration, and then click OK to open the Configuration dialog.

4) From the select Configuration dialog, select allErrorHandler for the Default Error Handler field, and click OK.


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

Answer: D


NEW QUESTION # 109
Refer to the below exhibit. A Mule application configures a property placeholder file named config.yaml to set some property placeholders for an HTTP connector.
What is the valid properties placeholder file to set these values?

  • A. 1. {
    2. http:
    3. basePath: "api",
    4. port: "8081",
    5. host: " localhost"
  • B. 1. http:
    2. basepath: "api"
    3. host : "localhost"
    4. port : "8081"
    (Correct)
  • C. 1. http.host = localhost
    2. http.port = 8081
  • D. 1. http:
    2. host = "localhost"
    3. port = "8081"

Answer: B

Explanation:
Correct answer is as below as it follows the correct syntax
http:
basepath: "api"
host : "localhost"
port : "8081"


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

Answer: D


NEW QUESTION # 111
Refer to the exhibit. The main flow contains an HTTP Request in the middle of the flow. The HTTP Listeners and HTTP request use default configurations.
What values are accessible to the Logger at the end of the flow after a web client submit request to http://local:801/order?color=red?

  • A. payload color query param
  • B. payload quantity var
  • C. payload
  • D. payload quantity var color query param

Answer: B

Explanation:
Correct answer is as below. Query parameters are replaced when external HTTP call is invoked.
payload
producer var


NEW QUESTION # 112
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 $(pay load .year)]*
  • B. '#[The year is " + paytoad.year]'
  • C. '#["Theyear is++payload-year"]'
  • D. The year is #[payload.year]'

Answer: D


NEW QUESTION # 113
A RAML specification is defined to manage customers with a unique identifier for each customer record.
What URI does MuleSoft recommend to uniquely access the customer identified with the unique ID 1234?

  • A. /customers/custid=1234
  • B. /customers?custid=true&custid=1234
  • C. /customers?operation=get&custid=1234
  • D. /customers/1234

Answer: B


NEW QUESTION # 114
......

Pass MuleSoft MCD-Level-1 exam - questions - convert Tets Engine to PDF: https://www.prepawayete.com/MuleSoft/MCD-Level-1-practice-exam-dumps.html

Contact Us

If you have any question please leave me your email address, we will reply and send email to you in 12 hours.

Our Working Time: ( GMT 0:00-15:00 )
From Monday to Saturday

Support: Contact now